Releases: simonihmig/responsive-image
@responsive-image/[email protected]
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
- #1311
ba7a9da
Thanks @wkillerud! - Add support for Fastly IO as a CDN
Patch Changes
@responsive-image/[email protected]
Major Changes
-
#1239
2a12953
Thanks @simonihmig! - Refactor internal LQIP implementationThe 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 optionsThis 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]
@responsive-image/ember
1.1.1
Minor Changes
- Update ember-async-data to v2
@responsive-image/[email protected]
Patch Changes
- #1079
aa42f2f
Thanks @simonihmig! - Fix ThumbHash/BlurHash loading in SolidStart SSR mode
@responsive-image/[email protected]
Minor Changes
-
#891
6cd7e98
Thanks @simonihmig! - Add ThumbHash supportAdds support for ThumbHash as a LQIP option.
Patch Changes
- Updated dependencies [
6cd7e98
]:- @responsive-image/[email protected]
- @responsive-image/[email protected]
@responsive-image/[email protected]
Minor Changes
-
#891
6cd7e98
Thanks @simonihmig! - Add ThumbHash supportAdds support for ThumbHash as a LQIP option.
Patch Changes
- Updated dependencies [
6cd7e98
]:- @responsive-image/[email protected]
@responsive-image/[email protected]
Minor Changes
-
#891
6cd7e98
Thanks @simonihmig! - Add ThumbHash supportAdds support for ThumbHash as a LQIP option.
Patch Changes
- Updated dependencies [
6cd7e98
]:- @responsive-image/[email protected]
- @responsive-image/[email protected]
@responsive-image/[email protected]
Minor Changes
-
#891
6cd7e98
Thanks @simonihmig! - Add ThumbHash supportAdds support for ThumbHash as a LQIP option.
Patch Changes
- Updated dependencies [
6cd7e98
]:- @responsive-image/[email protected]
@responsive-image/[email protected]
Minor Changes
-
#891
6cd7e98
Thanks @simonihmig! - Add ThumbHash supportAdds support for ThumbHash as a LQIP option.
Patch Changes
- Updated dependencies [
6cd7e98
]:- @responsive-image/[email protected]
@responsive-image/[email protected]
Minor Changes
-
#891
6cd7e98
Thanks @simonihmig! - Add ThumbHash supportAdds support for ThumbHash as a LQIP option.
Patch Changes
-
#1044
3f9b621
Thanks @simonihmig! - Fix published files for ember packageaddon-main.cjs
was not getting published correctly. -
Updated dependencies [
6cd7e98
]:- @responsive-image/[email protected]
- @responsive-image/[email protected]