Skip to content

Releases: simonihmig/responsive-image

@responsive-image/[email protected]

06 Jun 17:11
cc6efa9
Compare
Choose a tag to compare

Major Changes

  • #1346 b0ec36f Thanks @wkillerud! - The default imageTypes changed to 'auto'

    The default imageTypes changed from an array of image formats to the string 'auto' in order to have the CDN backend decide the format.
    Image components that assume imageTypes is an array need to be updated to accept the string 'auto'. In such cases the component should render only an <img> tag with a srcset attribute.

Minor Changes

Patch Changes

@responsive-image/[email protected]

06 Jun 17:12
cc6efa9
Compare
Choose a tag to compare

Major Changes

  • #1239 2a12953 Thanks @simonihmig! - Refactor internal LQIP implementation

    The way the build plugins would expose the image meta data for any LQIP (Low Quality Image Placeholder) features has changed, especially related to Thumbhash/Blurhash. Previously, the image component would lazily load the runtime decoding function for Thumbhash/Blurhash (dynamic import), as to not load that code when the feature is not used at all. However, this introduced some (minor) delay due to the additional chunk loading, but also made the internal implementation of the image components more complex than it needed to be due to having to handle asynchrony. Now the conditional loading is off-loaded to the build plugins, which can make the decision to pull in the decoding code only when needed at build-time, significantly simplifying the runtime image components by removing any async loading and state syncing.

    This changed the internal contract (interface) for the LQIP feature between the build plugins (Vite or webpack) and the image components. This is a breaking chance, but the only impact for users is to make sure you only use v2.x of any of the project's dependencies (@responsive-image/*). No changes in code required.

  • #1351 cfaabb7 Thanks @simonihmig! - Refactored styles for LQIP options

    This changed the interface between build plugins and image components with regard to how CSS styling information for LQIP options is passed through. While technically a breaking change, this shouldn't affect you as long as you are on V2.x versions of any build blugins and image component packages.

    It also introduces a new styles: 'inline' option for build plugins to ship LQIP tyles in the JavaScript bundle, which is needed for the web component, as external styles (external CSS file) was actually not working before due to Shadow DOM isolation.

Patch Changes

@responsive-image/[email protected]

25 Mar 22:41
4203e6f
Compare
Choose a tag to compare

@responsive-image/ember

1.1.1

Minor Changes

  • Update ember-async-data to v2

@responsive-image/[email protected]

18 Mar 19:29
af9cb77
Compare
Choose a tag to compare

Patch Changes

@responsive-image/[email protected]

13 Feb 17:32
cd6bd0e
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@responsive-image/[email protected]

13 Feb 17:32
cd6bd0e
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@responsive-image/[email protected]

13 Feb 17:32
cd6bd0e
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@responsive-image/[email protected]

13 Feb 17:32
cd6bd0e
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@responsive-image/[email protected]

13 Feb 17:32
cd6bd0e
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@responsive-image/[email protected]

13 Feb 17:32
cd6bd0e
Compare
Choose a tag to compare

Minor Changes

Patch Changes