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 -
#771
b5dacfe
Thanks @simonihmig! - Remove FastBoot related workarounds inimgix
image CDN providerInstead of working around a known issue in the actual runtime code, users need to add a FastBoot config to expose needed globals like
URL
orURLSearchParams
, as documented in the Ember guide. -
#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' }, ], });
-
#783
fe2fe11
Thanks @simonihmig! - Rename image CDN functions, dropping -provider suffix -
#752
9f6c96e
Thanks @simonihmig! - Drop support for Ember < 4.12 -
#579
5a69e21
Thanks @simonihmig! - Drop service classThe
responsive-image
service has been dropped and replaced with a simple static module from the newcore
package. -
#737
55c502c
Thanks @simonihmig! - Refactor the way to set configThe
ember
package does not read fromconfig/addons.js
anymore. Instead an explicit runtime call tosetConfig()
is needed, same as for thewc
package. Thecdn
package reads its config from thecdn
namespace.
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. -
#664
bab7cae
Thanks @simonihmig! - Rename alleri-*
attributes and classes tori-*
for consistency -
#773
b09549c
Thanks @simonihmig! - Add support for Netlify image CDN
Patch Changes
-
#744
b370ed6
Thanks @simonihmig! - Refactor BlurHash usage in EmberUse dynamic import of local blurhash module instead of public asset, to let the bundler produce more robust output (e.g. custom publicPath)
-
#646
9661f86
Thanks @simonihmig! - Remove use of @ember/render-modifiers -
#726
92f957f
Thanks @simonihmig! - Extract BlurHash utils onto core -
Updated dependencies [
84abd80
,ab0e08b
,1f3b3d9
,b5dacfe
,2d10626
,92f957f
,b09549c
,7cef8c6
,fe2fe11
,55c502c
]:- @responsive-image/[email protected]
- @responsive-image/[email protected]