Permalink
Fetching contributors…
Cannot retrieve contributors at this time
264 lines (181 sloc) 19 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.20.0-beta.4 (2018-10-19)

Bug Fixes

  • Fixed color values in website homepage's demo (#205). (7079a53)

Features

  • Manually throw error for Node 6 in Analyzer. (5788fcc)

0.20.0-beta.3 (2018-10-01)

Features

  • Ember CLI addon Preprocessor support. (574483d)

0.20.0-beta.2 (2018-09-25)

Bug Fixes

  • broccoli: Modification of the output does not throw on rebuild. (57b8137)

0.20.0-beta.1 (2018-09-13)

Bug Fixes

  • broccoli: Rebuild diffs input changes and output patch seperatly. (2bb5a2c)
  • Comment out failing node_modules test case breaking build in CI. (09f1a17)
  • Peg Travis' Node.js 10 version to 10.4.1 for mock-fs support. (fbb941c)
  • Use lerna@3.3.0 on Travis to fix early CI build termination. (7f32d72)
  • Use local versions of packages in ember-cli. (4c75501)

0.20.0-beta.0 (2018-08-20)

Bug Fixes

  • Allow all types for children to fix tslint error. (0dbd375)
  • jsx: Better error messages for stray references. (0d9286a), closes #170
  • Fix grammar mistake in website docs. (#181) (ed4988c)
  • Flatten entry array because it can be nested. (4f287e9), closes #157 #153
  • Remove git conflict markers from .travis.yaml. (3179998)

Features

  • broccoli: Add naive caching strategy for Broccoli. (#190) (d63626f)
  • ember-cli: Ember cli classic (#185). (865267c)

0.19.0 (2018-04-25)

Bug Fixes

  • Fix problems with JSX and Webpack integrations. (fa2a536)
  • Keep the filename convention of using *.block.css. (ac1cf16)
  • Remove accidentally committed merge conflict in CONTRIBUTING.md. (9099678)

Features

  • Support plain string and object syntax for webpack entries. (9c28ac0)
  • Use Babel 7 for JSX parsing to better enable tyed languages. (97cd2e4)

0.18.0 (2018-04-24)

Bug Fixes

  • Add 'no-duplicate-state-groups' template validator. (c1bad54)
  • add missing files into npm package. (c40f020)
  • Address numerous compilation errors after upgrades. (29f6658)
  • call seal() on element analyses before using them. (51d7a09)
  • Copy objects passed as configuration. (1d40f17)
  • Correct the SourceAttributes returned by new State model. (f03bf06)
  • Disable buggy stray reference errors for now. (44a830b)
  • Fix assertion of map. (37bb96d)
  • Fix broken test now that getGroups returns everything. (3656360)
  • css-blocks: Improve BlockPath parser switch statement (b0109eb)
  • handle inheritance in runtime class expressions. (953b734)
  • handle inheritance in runtime class expressions. (dc501f0)
  • Make remaining skipped tests pass with optimization. (26acdc8)
  • Only enforce a value's presence in a dynamic switch condition if the condition is not disabled due to a missing style dependency. (13cbd58)
  • Tagnames are analyzed. (717fb32)
  • Tagnames are analyzed. (b505b27)
  • Take inheritance into account during analysis. (ea06441)
  • The analysis array gets added to while processing it so we have to monitor the array until its length doesn't change. (eaf068f)
  • Type lint issues in broccoli-css-blocks. (97c3272)
  • Typo in scripts (script -> scripts directory). (d43f7bc)
  • Update global states to use simplified parser utils. (b953602)
  • Updated with Chris' feedback. (b4f4b9f)
  • Updated with Chris' feedback. (5de751f)
  • analyzer: Seal the analysis before using it. (bdf1580)
  • css-blocks: Fix BlockPath parser to correctly set default block and class values. Improve error message location reporting. Improve error messages for invalid identifiers. (53c3a66)
  • css-blocks: Fix BlockPath parser to correctly set default block and class values. Improve error message location reporting. Improve error messages for invalid identifiers. (b427c0a)
  • css-blocks: Improve BlockPath parser switch statement (eb039a8)
  • css-blocks: Pull in new linting rules from master. (258970e)
  • css-blocks: Remove stray console.logs (b7952d8)
  • css-blocks: Remove stray console.logs (f16d9f8)
  • css-blocks: Rename BlockTree node types, clea up exports. (f8ee8c8)
  • Use TemplateTypes in Analyzer of broccoli-css-blocks. (a31a6d3)
  • css-blocks: Updated with more of Chris' comments and use the renamed MultiMap methods (60c2f43)
  • css-blocks: Updated with more of Chris' comments and use the renamed MultiMap methods (2f04eb1)
  • jsx: Protect against already removed nodes in babel transformer (0bb137d)
  • rewriter: Don't remove nodes that are already removed. (c3b8ce1)
  • rewriter: Get rewriter via a callback instead of through options to avoid serialization. (ecf623a)
  • rewriter: glimmer requires that subexpressions be helper invocations. (bae23cb)
  • runtime: the expression must always be read. (06e3667)

Features

  • Rename ReadonlyOptions to ResolvedConfiguration. (9cc7d55)
  • analysis: Support opticss enabled analysis of css-blocks. (451b077)
  • Add @css-blocks/ember-cli and @css-blocks/playground packages. (cb43511)
  • Add footer to website. Improve website responsiveness. (4e41ec6)
  • Add tests for keys in transport object in broccoli-css-blocks. (bdd7b97)
  • Added css-blocks.com website package and custom docs theme. (b5ad979)
  • Allow css assets to be processed after concatenation. (8d5ff5a)
  • Allow styles to be set to className properties for dynamic change to the class attribute. (5df7a7e)
  • Analyzer API updates and package re-naming. (a60c1a1)
  • Analyzer API updates and package re-naming. (ff8795a)
  • Block Object asSource methods take optional Block scope. (370dfd1)
  • Broccoli plugin for css-blocks. (6ba4a29)
  • Change '.root' selector to ':scope'. (f19f559)
  • Enable root-level typedoc generation for the project. (557fd49)
  • Enable root-level typedoc generation for the project. (59c85a3)
  • Flesh out broccoli-css-blocks plugin. (e4a2b4a)
  • Generisize StateGroup and State to Attribute and AttrValue. (ebfd315)
  • Initialize tests for broccoli plugin. (3b3e8f7)
  • Only expose the Analysis interface, not the actual class. (1b420b5)
  • Only expose the Analysis interface, not the actual class. (4be2b43)
  • Pass CSS Blocks options through Broccoli/Ember-CLI. (41401b9)
  • Rename normalizeOptions to resolveConfiguration. (b422631)
  • Rename option data to importerData. (6dc6a36)
  • css-blocks: Track all declarations of the same type and validate that they have the same values, in the same order, before clearing two Styles as not-in-conflict. (29d2316)
  • Rename Options to Configuration. (23acac0)
  • css-blocks: Conflict Resolution Validator (4eb8766)
  • Rename SparseOptions to Options. (0a17f60)
  • Require Analyzers to provide optimizationOptions hash. (eeaebd3)
  • Require Analyzers to provide optimizationOptions hash. (2e10800)
  • Require the :scope pseudo for root states. (1e48882)
  • css-blocks: Track all declarations of the same type and validate that they have the same values, in the same order, before clearing two Styles as not-in-conflict. (3404c17)
  • Simplify options. (137f292)
  • css-blocks: Conflict Resolution Validator (7528458)
  • The JSX and Webpack plugins use updated Analyzer APIs. (b8151ce)
  • The JSX and Webpack plugins use updated Analyzer APIs. (921ae25)
  • css-blocks: Added BlockPath parser (e3191c8)
  • css-blocks: Added BlockPath parser (0c1fb73)
  • css-blocks: Broke up Block.ts, refactored foundational BlockObject constructs, added StateGroup concept. (6824fa8)
  • css-blocks: Casting through object is sufficient. (461dbe8)
  • css-blocks: Don't expose generic base class methods as public. (03dba9b)
  • css-blocks: Full type safety for all BlockTree objects. (63e4a45)
  • css-blocks: Remove BlockTree abstraction. (752b89f)
  • rewriter: More functional rewriting and with static class support. (38eb4e9)
  • rewriter: Raise an error if there's any stray references to a block variable. (53b0cea)
  • webpack-plugin: Extract webpack rewriting to its own plugin so that a single analysis can be used in other builds -- eg for SSR builds. (77d6398)

BREAKING CHANGES

  • To bring naming inline with the new ResolvedConfiguration type, the normalizeOptions function is now named resolveConfiguration. The module named normalizeOptions has been renamed to resolver in the configuration module folder.
  • Now that all the other options types are named after Configuration, we can rename SparseOptions to just Options.
  • ReadonlyOptions is really the configuration after having been fully resolved and populated by defaults. So the name ResolvedConfiguration makes more sense. This is the second of several commits to rename the types for our options.
  • Options are things that you can pass in and in this project they derive from the project configuration. So this is the first of a few commits that will result in SparseOptions being named just Options.
  • Some types related to options are removed/renamed.

The options code was some of the first I wrote for this project and it was awkward to use. A lot of APIs expected a concrete options reader instead of just the options interface in a read-only state.

The options reader is no longer exported, the new normalizeOptions function should be used to get a read-only options object populated with default values where necessary.

Where user-supplied options are accepted, the SparseOptions type is accepted and then normalized.

  • The data option was too general of a name to describe its intent for passing data to the importer.

0.17.0 (2017-12-08)

Bug Fixes

  • add missing files into npm package. (c40f020)
  • call seal() on element analyses before using them. (51d7a09)
  • Disable buggy stray reference errors for now. (44a830b)
  • handle inheritance in runtime class expressions. (953b734)
  • handle inheritance in runtime class expressions. (dc501f0)
  • Make remaining skipped tests pass with optimization. (26acdc8)
  • analyzer: Seal the analysis before using it. (bdf1580)
  • rewriter: Don't remove nodes that are already removed. (c3b8ce1)
  • rewriter: Get rewriter via a callback instead of through options to avoid serialization. (ecf623a)
  • rewriter: glimmer requires that subexpressions be helper invocations. (bae23cb)
  • Only enforce a value's presence in a dynamic switch condition if the condition is not disabled due to a missing style dependency. (13cbd58)
  • The analysis array gets added to while processing it so we have to monitor the array until its length doesn't change. (eaf068f)
  • runtime: the expression must always be read. (06e3667)

Features

  • analysis: Support opticss enabled analysis of css-blocks. (451b077)
  • rewriter: More functional rewriting and with static class support. (38eb4e9)
  • rewriter: Raise an error if there's any stray references to a block variable. (53b0cea)
  • Allow css assets to be processed after concatenation. (8d5ff5a)
  • Allow styles to be set to className properties for dynamic change to the class attribute. (5df7a7e)
  • webpack: Extract webpack rewriting to its own plugin so that a single analysis can be used in other builds -- eg for SSR builds. (77d6398)