Skip to content

Releases: Josh-McFarlin/remix-image

Release 1.3.3

24 Sep 19:43
Compare
Choose a tag to compare

Fixed

  • Fixed aspect ratio calculation in Image component

Changed

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

Release 1.3.2

06 Jul 00:49
Compare
Choose a tag to compare

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

Release 1.3.1

02 Jul 20:37
Compare
Choose a tag to compare

Fixed

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

Release 1.3.0

01 Jul 23:27
Compare
Choose a tag to compare

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

Release 1.2.0

30 Jun 23:49
Compare
Choose a tag to compare

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"

Release 1.1.0

28 Jun 22:02
Compare
Choose a tag to compare

Added

  • Added dprVariants property to Image component and useResponsiveImage hook

Changed

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

Release 1.0.0

27 Jun 01:42
Compare
Choose a tag to compare

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

21 Jun 22:45
Compare
Choose a tag to compare

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

Release 0.3.18

23 Apr 19:11
Compare
Choose a tag to compare

CI

  • Remove install from release CI config

Release 0.3.16

01 Mar 20:09
Compare
Choose a tag to compare

Fix

  • Fix asset not being correctly output when retrieved from cache