Skip to content

Releases: salsify/ember-css-modules

String Theory

10 Nov 20:45
8950b75
Compare
Choose a tag to compare

Added

  • The ability to use {{local-class}} to inject classes from other modules is now public and documented (thanks @kellyselden!)

Fixed

  • localClassNameBindings now works with string values instead of just booleans (thanks @luxferresum!)
  • headerFiles and footerFiles will now accept file paths with and without extensions
  • Setup for localClassNames and localClassNameBindings now short circuits to avoid extra work for tagless components (thanks @garno!)

After All

16 Aug 20:43
ee05c34
Compare
Choose a tag to compare

Added

  • PostCSS plugins can now be specified to run against the final concatenated output of all modules using the postprocess array (thanks @alexlafroscia!)

Fixed

  • During testing, import 'ember-css-modules/extensions' is no longer required to have styles function correctly in integration tests.
  • When no styles for a component can be found, localClassNameBindings now silently binds no classes instead of throwing an error.

Everything In Its Place

20 Jul 02:27
186f8b3
Compare
Choose a tag to compare

Added

  • Modules to be included at the top or bottom of the concatenated output can now be set via the headerModules and footerModules configuration options. See the module ordering guide for details.

Changed

  • @after-module has been deprecated in favor of the new headerModules/footerModules configuration

AST But Not Least

16 Jul 23:11
ac322b6
Compare
Choose a tag to compare

Added

  • Support for Ember 2.15's new form factor for template AST transforms has been added.

Fixed

  • Styles resolution for components and controllers no longer assumes only a single : in container keys.

Plug It In

12 Jun 14:32
3688c82
Compare
Choose a tag to compare

Added

  • An initial cut of a plugin system has been implemented, allowing common PostCSS plugin sets, shared configuration, and other bits of reusable code to be packaged up and redistributed. See the README for a few implemented examples.

Changed

  • The CSS Modules pipeline has been upgraded and now uses PostCSS 6
  • Some of the more advanced topics in the README have been broken out into dedicated mini-guides in an effort to keep the main document from being so overwhelming

Fixed

  • Attempting to pull styles from an addon that doesn't exist now provides a useful error message (#65).

The Little Engine That Could

03 Apr 17:35
Compare
Choose a tag to compare
Pre-release

Changed

  • There have been some internal changes to how styles are read from the app/addon trees. This should be a non-breaking change (and fixes a number of oddities, including previous incompatibility with lazy engines), but is enough of a shift to warrant a version bump and a note.
  • Attempting to import a nonexistent @value or compose a nonexistent class is now a hard error at build time.

Removed

  • Support for the deprecated styles property has been removed.

Time Marches On

17 Mar 14:26
e2f6209
Compare
Choose a tag to compare

Fixed

  • The (deprecated) computed styles property is no longer read-only, to allow for other component APIs that expect something with that name to be passed in.
  • Avoid repurposing this.options in the addon to support Ember CLI 2.12 (#64)

RTFM

13 Dec 15:53
Compare
Choose a tag to compare

Fixed

  • Now actually avoid triggering the ember-getowner-polyfill deprecation notice.

Fix It In Post

13 Dec 01:09
Compare
Choose a tag to compare

Added

  • This addon will now run before ember-cli-postcss, enabling cooperative preprocessing as with ember-cli-sass and friends (#58).

Fixed

  • Upgraded ember-getowner-polyfill and eliminated a deprecation warning from its changed usage.

Nothing Comes from Nothing

30 Nov 20:58
Compare
Choose a tag to compare

Fixed

  • Null local class values, e.g. local-class={{if false 'foo'}} no longer result in an exception (#57).