Skip to content

Commit 5cc7069

Browse files
committed
v1.0.0
1 parent 2c80656 commit 5cc7069

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 1.0.0 The Big Dig (September 20, 2018)
2+
3+
## Migrating from 0.7.x
4+
The 1.0 release should largely be a drop-in replacement coming from 0.7.x, but there are a few changes to be aware of:
5+
- Referencing a `local-class` in a template that doesn't have a corresponding `styles` module is now a hard error (before it would silently fail and add no class to the target element).
6+
- Using `localClassNames` or `localClassNameBindings` on a component with no template is no longer possible. You can either create an empty template for that component or import the styles module and set `classNames` or `classNameBindings` using the imported mapping, e.g. `classNames: styles['my-local-class']`.
7+
8+
### Fixed
9+
- The type declaration for `localClassNames` now uses the right identifier
10+
- The error message when referencing a `local-class` in a template with no styles module is now more informative
11+
12+
If you're migrating from 0.7.x, see the release notes for the 1.0 betas below for additional changes and fixes.
13+
114
## 1.0.0-beta.2 Decorations (September 13, 2018)
215

316
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-css-modules",
3-
"version": "1.0.0-beta.2",
3+
"version": "1.0.0",
44
"description": "CSS Modules for ambitious applications",
55
"scripts": {
66
"build": "ember build",

0 commit comments

Comments
 (0)