Releases: Josh-McFarlin/remix-image
Releases · Josh-McFarlin/remix-image
Release 1.3.3
Fixed
- Fixed aspect ratio calculation in
Image
component
Changed
- Changed
parseURL
util to only acceptbaseUrl?: string
for the second parameter
Release 1.3.2
Fixed
- Fixed placeholder images not using
loader
- Ensured
Image
still exists before ref operations
Changed
- Added
fallbackOutput
field toTransformer
type to customize default fallback for each transformer - Set the
fallbackOutput
field forpureTransformer
toMimeType.PNG
- Moved transformer defaults to
useResponsiveImage
hook
Release 1.3.1
Fixed
- Fixed background image persisting when using
placeholder="blur"
with transparent images
Release 1.3.0
Added
- Added Client Loader functions to enable the use of external image transformation services
Changed
- Added optional
loader
prop toImage
andBaseImage
components - BREAKING: Moved
loaderUrl
argument ofuseResponsiveImage
hook to the end - Added optional
loader
argument to the end ofuseResponsiveImage
hook
Release 1.2.0
Changed
- Modified the
Image
component to include image optimizations for placeholders, layout shift, and animations
Added
- Created
BaseImage
component that is identical to theImage
component before this update - Added CSS styles to
"remix-image/remix-image.css"
Release 1.1.0
Added
- Added
dprVariants
property toImage
component anduseResponsiveImage
hook
Changed
- Changed build settings to reduce dependencies and preserve function names for better debugging
Release 1.0.0
Added
- Created transformer packages for Sharp (
remix-image-sharp
) and WebAssembly (remix-image-wasm
)
Changed
- Modified repo to use npm packages
- Moved several transformation-related types to
src/types/transformer
for clarity - Changed default image fit to
cover
Docs
- Update documentation to use new links for packages
Release 0.4.0
Changed
- Change sorting method of responsiveImage hook to order by maxWidth
- Changed
ImagePosition
to string union with additional options - Converted
ImageFit
andFlipDirection
types to string unions to matchImagePosition
Release 0.3.18
CI
- Remove install from release CI config
Release 0.3.16
Fix
- Fix asset not being correctly output when retrieved from cache