Releases: ijlee2/ember-container-query
Migrated to ember-modifier. Dropped technical support for Node 12 and Ember 3.24 LTS.
Summary of changes since v2
Breaking changes
- Dropped technical support for Node 12 and Ember 3.24 LTS
Features
- Introduced TypeScript
- Replaced
@ember/render-modifiers
withember-modifier
- Extracted core logic into
{{container-query}}
modifier (allows you to query a container how you see fit) - Added Ember 4.8 LTS to test matrix
Bug fixes
- Updating
@dataAttributePrefix
or@features
would result in stale data attributes
v3.0.0-alpha.0
Plan for v3.0.0
release includes:
- Drop technical support for Node 12 and Ember 3.24 LTS
- Add Ember 4.8 LTS to test matrix
- Replace
@ember/render-modifiers
withember-modifier
Replaced @ember/render-modifiers with ember-modifier. Fixed autotracking bug.
The <ContainerQuery>
component now relies on packages that will likely be maintained in the future (namely, ember-modifier
).
From v1.0.0
to v2.1.0
, updating @dataAttributePrefix
or @features
(both are uncommon use cases) would result in stale data attributes. This bug has been fixed.
Please note, v2.1.1
will be the last release version that supports Node 12 and Ember 3.24 LTS.
Introduced TypeScript. Updated ember-on-resize-modifier to v1.1.0.
A rare minor release. 🎉 I have introduced TypeScript to start documenting the <ContainerQuery>
component and {{cq-*}}
helpers. In addition, the code for the demo app has been typed and refactored.
Finally, ember-on-resize-modifer
has been updated to v1.1.0
. This will remove deprecation messages that had appeared in v1.0.0
.
Removed named exports for helpers
Many thanks to @bertdeblock for prompt feedback.
Installing this patch release will fix the warning messages that you might have seen in an Embroider app:
WARNING in ./helpers/cq-aspect-ratio.js 1:0-103
export 'cqAspectRatio' (reexported as 'cqAspectRatio') was not found in '../node_modules/ember-container-query/helpers/cq-aspect-ratio' (possible exports: default)
@ ./assets/build-time-monitor.js 155:13-53
WARNING in ./helpers/cq-height.js 1:0-92
export 'cqHeight' (reexported as 'cqHeight') was not found in '../node_modules/ember-container-query/helpers/cq-height' (possible exports: default)
@ ./assets/build-time-monitor.js 158:13-47
WARNING in ./helpers/cq-width.js 1:0-90
export 'cqWidth' (reexported as 'cqWidth') was not found in '../node_modules/ember-container-query/helpers/cq-width' (possible exports: default)
@ ./assets/build-time-monitor.js 161:13-46
The risk in upgrading ember-container-query
from v2.0.1
to v2.0.2
should be between none and small.
Added named exports for helpers
Installing this patch release will fix the warning messages that you might have seen in an Embroider app:
WARNING in ./helpers/cq-aspect-ratio.js 1:0-103
export 'cqAspectRatio' (reexported as 'cqAspectRatio') was not found in '../node_modules/ember-container-query/helpers/cq-aspect-ratio' (possible exports: default)
@ ./assets/build-time-monitor.js 155:13-53
WARNING in ./helpers/cq-height.js 1:0-92
export 'cqHeight' (reexported as 'cqHeight') was not found in '../node_modules/ember-container-query/helpers/cq-height' (possible exports: default)
@ ./assets/build-time-monitor.js 158:13-47
WARNING in ./helpers/cq-width.js 1:0-90
export 'cqWidth' (reexported as 'cqWidth') was not found in '../node_modules/ember-container-query/helpers/cq-width' (possible exports: default)
@ ./assets/build-time-monitor.js 161:13-46
ember-element-helper
has also been updated from v0.6.0
to v0.6.1
.
The risk in upgrading ember-container-query
from v2.0.0
to v2.0.1
should be between none and small.
Migrated to ember-on-resize-modifier. Dropped technical support for Node 10 and Ember 3.20 LTS.
Hi, everyone. You can expect the following changes in v2.0.0
:
- Removed technical risk by migrating from
ember-did-resize-modifier
toember-on-resize-modifier
- Dropped technical support for Node 10, Ember 3.16 LTS, and Ember 3.20 LTS
- Enable
embroider-safe
workflow in CI - Improved demo app
v2.0.0-alpha.0
Current plan for v2.0.0
release includes:
- Drop support for Node v10 and Ember v3.16 LTS
- Replace
ember-did-resize-modifier
withember-on-resize-modifier
- Enable
embroider-safe
workflow in CI
The release of v2.0.0-alpha.0
will help me (and hopefully you) test backwards compatibility.
Updated ember-source to v3.27.5
The patch release updates several development dependencies, including ember-source
, to their latest version. It's planned to be the last 1.x release that allows supporting Node 10 and Ember 3.16 LTS.
Added embroider-safe to ember-try scenarios
This patch release updates ember-element-helper
to v0.5.0 and checks in CI that ember-container-query
is Embroider Safe. (Hopefully, the demo app for CI can pass Optimized Embroider Safe soon.)
The risk in upgrading ember-container-query
from v1.1.7 to v1.1.8 should be between none and small.