Skip to content

Commit df2cc17

Browse files
committed
v2.0.0
1 parent 1c97677 commit df2cc17

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
## Unreleased
22

3+
## 2.0.0 (November 22, 2021)
4+
5+
This major release of Ember CSS Modules primarily removes support for deprecated patterns and updates our minimum support for other elements of the ecosystem.
6+
7+
### Compatibility
8+
9+
Ember CSS Modules is now tested against the following as _minimum_ supported versions:
10+
- Ember 3.24
11+
- Ember CLI 3.24
12+
- Node 12
13+
14+
Older Ember and Node versions may incidentally work, but are no longer officially supported.
15+
16+
### Removed
17+
18+
While ECM will still work for templates backed by `Ember.Component` classes, all special handling for such components' implicit root element has been removed, in line with the broader ecosystem shift to template-only and `@glimmer/component` components. This includes the following removals:
19+
20+
- the `@localClassNames` and `@localClassName` decorators
21+
- support for `localClassNames` and `localClassNameBindings` properties
22+
- the `patchClassicComponent` configuration flag
23+
24+
Special support for `Ember.Component` was deprecated in v1.5.0 of `ember-css-modules`; see the changelog for that release for further advice on migrating to newer Octane-based component APIs.
25+
326
## 1.6.0 (November 19, 2021)
427
### Added
528
- You can now pass `patchClassicComponent: false` in your ECM config to opt out of the deprecated monkeypatching of `Ember.Component` that will be removed entirely in 2.0 (thanks @SergeAstapov!)

packages/ember-css-modules/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-css-modules",
3-
"version": "1.6.0",
3+
"version": "2.0.0",
44
"description": "CSS Modules for ambitious applications",
55
"scripts": {
66
"build": "ember build --environment=production",

0 commit comments

Comments
 (0)