Skip to content

Migrated to v2 addon format. Dropped technical support for Node 14 and Ember 3.28 LTS.

Compare
Choose a tag to compare
@ijlee2 ijlee2 released this 01 May 06:54
· 73 commits to main since this release

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 to v4 ([email protected] is also allowed for now, but is considered to be deprecated in ember-container-query@v4)
  • Removed ember-test-selectors from dependencies (a bug)

Features

  • Migrated to v2 addon format
  • Reexported types from modifiers/container-query.ts in index.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 from docs-app