Skip to content

Releases: salsify/ember-css-modules

Eventually Consistent

28 Aug 12:10
1ae7706

Choose a tag to compare

Fixed

  • Ensure ember-css-modules is initialized before ember-cli-htmlbars. This almost always was coincidentally the case already, but ordering constraints from other addons could cause ECM to init later, causing local-class in colocated templates not to be processed, as in ember-concurrency-async#4

Primetime

21 Apr 13:06
0a7ee08

Choose a tag to compare

This is a stable release of the changes included in 1.3.0-beta.1 and -beta.2. Headline additions include support for building in projects using @embroider/compat and for defining styles when writing components in the component/template colocation layout.

Help Me Out

10 Apr 12:33
037f7c9

Choose a tag to compare

Help Me Out Pre-release
Pre-release

Added

  • Support for Embroider's staticHelpers flag. #188

Fixed

  • Timing changes to when ECM calculates its configuration caused some addons that late-defined their options (e.g. in their included() hook) not to be picked up correctly. This timing has been reverted to match that of ECM stable. #186
  • ECM no longer emits a nonsense error message without actionable information when a bad import path is specified for a @value or composes directive. #186

Come Together

02 Oct 19:39
88f3386

Choose a tag to compare

Come Together Pre-release
Pre-release

Added

  • Experimental support for apps built using @embroider/compat. Note that, until embroider-build/embroider#309 is fixed, CSS changes will likely not show up on rebuilds (though corresponding JS changes will)
  • Experimental support for components in the Octane "colocation" layout (see the README for details.)
  • A new includeExtensionInModulePath option that, when set to true, will include .css (or whatever your configured extension is) in the import path for your modules. Note that the extension is always included in the module name for colocated styles in order not to conflict with the component definition itself.

Form Over Function

08 Jul 11:52
fef0ccc

Choose a tag to compare

Fixed

  • Support new template factory format coming in Ember 3.13. #146

What's Old is New Again

16 Apr 09:35
6210fad

Choose a tag to compare

Added

  • ember-css-modules now works in projects using either stage 1 or stage 2 of the decorators proposal, regardless of whether you're using @ember-decorators/*, ember-decorators-polyfill, or built-in decorator support via ember-cli-babel >= 7.7 and Ember 3.10.

Parallelogram

04 Apr 10:08
93d6468

Choose a tag to compare

Fixed

  • ECM's template AST transform no longer prevents ember-cli-babel from performing parallel transpilation.

Stage Fright

26 Nov 23:06
dfc795d

Choose a tag to compare

Added

  • @localClassNames and @localClassName now support projects using either stage 1 or stage 2 of the decorators proposal.

High Resolution

08 Nov 22:14
6a24e0f

Choose a tag to compare

Fixed

  • Resolving @values and class names from addons no longer fails for addons that aren't dependencies of the root application. #125
  • Projects using ember-css-modules with other preprocessors (like ember-cli-sass) should no longer see those preprocessors fully rebuild when unrelated files (like templates) change. #120

I Can't Get No Satisfaction

08 Nov 22:13
2e30029

Choose a tag to compare

Fixed

  • The @localClassName decorator now properly works with getters across various Babel and TypeScript versions. #118

Changed

  • We're now using broccoli-postcss@4 (which itself uses postcss@7) for postprocess plugins. This should be a non-breaking change for our usage in this addon. #124