Releases: simonihmig/responsive-image
@responsive-image/[email protected]
Major Changes
-
#614
2d10626
Thanks @simonihmig! - Use Record-based API for cloudinary transformationsInstead of passing cloudinary transformations as a string according to the Cloudinary Transformation URL API, you need to pass them as an object. If you want to use chained transformations, pass an array of objects.
// using @resposive-image/cdn const simpleTransformation = cloudinaryProvider('foo/bar.jpg', { transformations: { co: 'rgb:20a020', e: 'colorize:50' }, }); const chainedTransformation = cloudinaryProvider('foo/bar.jpg', { transformations: [ { co: 'rgb:20a020', e: 'colorize:50' }, { ar: '1.0', c: 'fill', w: '150' }, { r: 'max' }, ], });
@responsive-image/[email protected]
Patch Changes
- #604
63e0336
Thanks @simonihmig! - Fix broken published webpack package
@responsive-image/[email protected]
Major Changes
- #586
84abd80
Thanks @simonihmig! - Rename all packages to be under a new @responsive-image scope
Minor Changes
- #598
025ccef
Thanks @simonihmig! - Refactored BlurHash implementation to be ESM based
Patch Changes
- Updated dependencies [
84abd80
]:- @responsive-image/[email protected]
@responsive-image/[email protected]
Major Changes
-
#586
84abd80
Thanks @simonihmig! - Rename all packages to be under a new @responsive-image scope -
#598
025ccef
Thanks @simonihmig! - Refactored BlurHash implementation to be ESM based -
#579
5a69e21
Thanks @simonihmig! - Drop service classThe
responsive-image
service has been dropped and replaced with a simple static module from the newcore
package.
Minor Changes
-
#585
ab0e08b
Thanks @simonihmig! - Move CDN providers to a single dedicated cdn package.Ember helpers are now exposed from the main
@responsive-image/ember
package again, wrapping the function from the new@responsive-image/cdn
package.
The previous dedicated addons@ember-responsive-image/cloudinary
and@ember-responsive-image/imgix
have been removed again.
Patch Changes
- Updated dependencies [
84abd80
,ab0e08b
]:- @responsive-image/[email protected]
- @responsive-image/[email protected]
@responsive-image/[email protected]
Major Changes
- #586
84abd80
Thanks @simonihmig! - Rename all packages to be under a new @responsive-image scope
@responsive-image/[email protected]
Major Changes
- #586
84abd80
Thanks @simonihmig! - Rename all packages to be under a new @responsive-image scope
Minor Changes
-
#585
ab0e08b
Thanks @simonihmig! - Move CDN providers to a single dedicated cdn package.Ember helpers are now exposed from the main
@responsive-image/ember
package again, wrapping the function from the new@responsive-image/cdn
package.
The previous dedicated addons@ember-responsive-image/cloudinary
and@ember-responsive-image/imgix
have been removed again.
Patch Changes
- Updated dependencies [
84abd80
]:- @responsive-image/[email protected]
[email protected]
Patch Changes
-
#573
fed835d
Thanks @simonihmig! - Fix broken build when no addon config is found -
Updated dependencies [
f8d3ebb
]:- @ember-responsive-image/[email protected]
@ember-responsive-image/[email protected]
Patch Changes
-
#571
f8d3ebb
Thanks @simonihmig! - Fix broken blurhash package -
Updated dependencies []:
- @ember-responsive-image/[email protected]
@ember-responsive-image/[email protected]
Major Changes
-
#547
fe2b113
Thanks @simonihmig! - Major rewrite as a v2 addonThe main addon is now a fully static v2 addon. No more broccoli, all processing of local images has moved to Webpack-native loaders, invoked by ember-auto-import for classic builds or Embroider.
The main breaking change here is that when using the
<ResponsiveImage/>
component you don't refer to the image by a string-based reference anymore. In the pull-based world of v2 addons, you need to explicitly import the image file. This triggers the Webpack loaders, applying the image processing. This has t he benefit of only processing what is actually used, and being able to apply specific image processing options per import.For organizational purposes, the different concerns (image processing, image CDN providers etc.) have been split into separate packages that you need to add as dependencies if you make use of them:
@ember-responsive-image/webpack
for local image processing@ember-responsive-image/cloudinary
for supporting the Cloudinary image CDN@ember-responsive-image/imgix
for supporting the Imgix image CDN@ember-responsive-image/blurhash
for BlurHash LQIP support
The configuration of the addon has been moved from
ember-cli-build.js
to separate configurations for each of the above packages. Please refer to their respective documentation.
Patch Changes
- Updated dependencies [
fe2b113
]:- @ember-responsive-image/[email protected]
Release 4.0.0
💥 Breaking Change
- #419 Drop support for Ember <3.28 (@simonihmig)
- #418 Drop node 12 support (@simonihmig)
🚀 Enhancement
- #431 Update to new Glint addon best practices (@simonihmig)
🏠 Internal
- #420 Update Glint to 0.9.1 (@simonihmig)
- #417 Run ember-cli-update (@simonihmig)
Committers: 2
- Simon Ihmig (@simonihmig)
- konrad kujawa (@testrocket)