Remix Image Versions Save

A React component for responsive images in Remix

v1.3.3

1 year ago

Fixed

  • Fixed aspect ratio calculation in Image component

Changed

  • Changed parseURL util to only accept baseUrl?: string for the second parameter

v1.3.2

1 year ago

Fixed

  • Fixed placeholder images not using loader
  • Ensured Image still exists before ref operations

Changed

  • Added fallbackOutput field to Transformer type to customize default fallback for each transformer
  • Set the fallbackOutput field for pureTransformer to MimeType.PNG
  • Moved transformer defaults to useResponsiveImage hook

v1.3.1

1 year ago

Fixed

  • Fixed background image persisting when using placeholder="blur" with transparent images

v1.3.0

1 year ago

Added

  • Added Client Loader functions to enable the use of external image transformation services

Changed

  • Added optional loader prop to Image and BaseImage components
  • BREAKING: Moved loaderUrl argument of useResponsiveImage hook to the end
  • Added optional loader argument to the end of useResponsiveImage hook

v1.2.0

1 year ago

Changed

  • Modified the Image component to include image optimizations for placeholders, layout shift, and animations

Added

  • Created BaseImage component that is identical to the Image component before this update
  • Added CSS styles to "remix-image/remix-image.css"

v1.1.0

1 year ago

Added

  • Added dprVariants property to Image component and useResponsiveImage hook

Changed

  • Changed build settings to reduce dependencies and preserve function names for better debugging

v1.0.0

1 year ago

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

v0.4.0

1 year ago

Changed

  • Change sorting method of responsiveImage hook to order by maxWidth
  • Changed ImagePosition to string union with additional options
  • Converted ImageFit and FlipDirection types to string unions to match ImagePosition

v0.3.18

2 years ago

CI

  • Remove install from release CI config

v0.3.16

2 years ago

Fix

  • Fix asset not being correctly output when retrieved from cache