Migrated to v2 addon format. Dropped technical support for Node 14 and Ember 3.28 LTS.
As of v4.0.0
, ember-container-query
is shown to be compatible with the strictest settings for Embroider, Glint, and <template>
-tag.
Thanks to @buschtoens, @opatajoshua, @NullVoxPopuli, and @st-h for helping with development and providing feedback for the pre-release versions.
Summary of changes since v3.2.0
Breaking changes
- Migrated to v2 addon format (the consuming Ember app must have
ember-auto-import@v2
) - Dropped technical support for Node 14 and Ember 3.28 LTS
- Removed the deprecated helpers
{{cq-aspect-ratio}}
,{{cq-height}}
, and{{cq-width}}
- Updated
ember-modifier
tov4
([email protected]
is also allowed for now, but is considered to be deprecated inember-container-query@v4
) - Removed
ember-test-selectors
fromdependencies
(a bug)
Features
- Migrated to v2 addon format
- Reexported types from
modifiers/container-query.ts
inindex.ts
How you can consume types
// In [email protected]
import type { Dimensions } from 'ember-container-query/modifiers/container-query';
import { containerQuery } from 'ember-container-query';
// In [email protected]
import { containerQuery, type Dimensions } from 'ember-container-query';
Internal
- Updated
docs-app
to show examples of<template>
-tag components - Removed
ember-css-modules
fromdocs-app