Skip to content

Latest commit

 

History

History
1416 lines (488 loc) · 45.2 KB

CHANGELOG.md

File metadata and controls

1416 lines (488 loc) · 45.2 KB

Change Log

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

28.2.0 (2022-06-20)

Bug Fixes

Features

  • css-to-js: abs vs rel imports (162c0be)
  • webpack: webpack@5 support (2de5396)

28.1.4 (2022-06-16)

Bug Fixes

  • only include direct deps in compositions (#857) (58f65c4)

28.1.3 (2022-06-15)

Bug Fixes

28.1.2 (2022-05-25)

Bug Fixes

28.1.1 (2022-04-08)

Bug Fixes

28.1.0 (2022-03-11)

Features

28.0.0 (2022-02-25)

Code Refactoring

  • svelte: <style> tags need type="text/m-css" (713b107)
  • svelte: break apart a bit (5f74c1e)

Features

BREAKING CHANGES

  • svelte: Having both <style type="text/m-css"> and a <link> element in a component will no longer throw. <style> takes precedence over <link>.
  • svelte: Previous all <style> tags would be transformed, now only ones that have type="text/m-css" on them will be transformed.

27.2.0 (2022-02-13)

Bug Fixes

  • path-aliases: escape regex characters (fecbf3b)
  • svelte: escape regex characters (9345aed)

Features

  • www: add sveltekit aliases (695c69b)
  • www: notifier for imported .md files (cd1f948)

27.1.1 (2022-02-09)

Bug Fixes

27.1.0 (2022-02-03)

Bug Fixes

  • processor: cleaning up (897a2c5)
  • svelte: support non .css extensions (8bf5a18)
  • test-utils: don't try to check non-strings (4fb497e)
  • webpack: remove deprecated cjs option (3489907)

Features

  • css-to-js: extract css-to-js from rollup (85aac89)
  • vite: vite plugin (46c80da)
  • www: m-css.com on sveltekit (d434f92)

27.0.3 (2021-12-17)

Bug Fixes

Code Refactoring

BREAKING CHANGES

    • Only supports postcss@8 and higher
  • composes and @values that reference other entries will need to be listed in dependency order.

27.0.2 (2021-07-18)

Bug Fixes

27.0.1 (2021-07-18)

Bug Fixes

27.0.0 (2021-07-06)

Bug Fixes

Code Refactoring

Features

  • Add .warnings to processor (eb0e117)

BREAKING CHANGES

    • Requires postcss@8 be installed alongside to function.

26.0.0 (2021-02-25)

Bug Fixes

Features

BREAKING CHANGES

  • postcss@8 drops support for node version 6.x, 8.x, 11.x, and 13.x.

25.8.2 (2020-09-02)

Bug Fixes

25.8.1 (2020-07-30)

Bug Fixes

25.8.0 (2020-06-29)

Bug Fixes

  • remove rule if there's no other decls (#769) (9215873)

Features

25.7.0 (2020-05-15)

Features

  • Support escaped characters in composed class names (#755) (6cd4d8a)

25.6.0 (2020-04-21)

Bug Fixes

  • processor: better error :external can't find a file (469c859)
  • processor: better error when importing missing @value (0d06afa)
  • rewriter: don't explode on external chunks (#749) (be741bb), closes #688
  • rollup: walk full tree for dependencies (#748) (3ba7c3e)
  • svelte: case-sensitive matching on (#744) (8577e3f), closes #711
  • webpack: don't try to emit if there were errors (#725) (e9de291), closes #724
  • www: better font, faster load (0237987)
  • www: corrected font sizing (b97149e)

Features

25.5.0 (2020-03-09)

Bug Fixes

  • processor: better error :external can't find a file (469c859)
  • processor: better error when importing missing @value (0d06afa)
  • webpack: don't try to emit if there were errors (#725) (e9de291), closes #724
  • www: better font, faster load (0237987)
  • www: corrected font sizing (b97149e)

Features

  • website: port site to svelte3 (35e7a96)

25.4.1 (2020-02-12)

Note: Version bump only for package modular-css

25.4.0 (2020-02-05)

Features

  • add .root() to avoid re-parsing inputs when possible (#717) (fdb010b)

25.3.1 (2020-01-23)

Bug Fixes

  • processor: don't assume plugin key on messages (#712) (3a5279c)

25.3.0 (2019-11-26)

Features

  • svelte: warn on unquoted class attributes (#690) (846f4db)

25.2.0 (2019-10-30)

Bug Fixes

Features

25.1.0 (2019-09-23)

Features

25.0.0 (2019-09-16)

Bug Fixes

  • use this.emitFile() API from rollup (#666) (108a4a1)
  • www: stub out module since resolve-from uses it now (e11947c)
  • www: trying this again... (b3d9221)

Features

  • support from global for composes (#669) (0a7996e)
  • processor: allow composes anywhere in a rule (#646) (31b57a2), closes #645
  • rollup-rewriter: let loader option be a function (#667) (a57cddf)
  • stylelint-config: add @modular-css/stylelint-config package (#637) (bc3b711)

BREAKING CHANGES

  • processor: previously modular-css would require that composes be the first declaration in a rule. This restriction has been removed due to better solutions for enforcing that behavior existing now (stylelint-order).

24.2.2 (2019-07-08)

Bug Fixes

  • generate parsers before publishing (2c72008)

24.2.0 (2019-07-06)

Features

24.1.0 (2019-06-17)

Features

24.0.1 (2019-05-29)

Bug Fixes

  • rollup: properly include dependencies (#602) (c581e3d)

24.0.0 (2019-05-08)

Code Refactoring

  • processor: add dupewarn option and no longer resolve path case (#582) (01581f9), closes #581

BREAKING CHANGES

  • processor: It was causing massive slowdowns to synchronously resolve files using true-case-path, and making it async wasn't a guaranteed win either. So it's removed, which should solve #581 pretty neatly. Instead now there's a warning if two files are included that differ in case only. It can be disabled by setting dupewarn : false as part of the config object.

23.0.6 (2019-04-30)

Bug Fixes

  • svelte: properly trigger components to re-render on change (#580) (831ed50)

23.0.5 (2019-04-09)

Bug Fixes

23.0.4 (2019-04-03)

Bug Fixes

  • rollup-rewriter: include static dependencies (#577) (ca499c6)

23.0.3 (2019-03-29)

Bug Fixes

  • don't mutate arrays while iterating (0f63ea2)

23.0.2 (2019-03-29)

Note: Version bump only for package modular-css

23.0.1 (2019-03-29)

Bug Fixes

23.0.0 (2019-03-28)

Bug Fixes

Features

  • replacing missing css.fooga with stringified version (#574) (2084b62)

BREAKING CHANGES

  • Previously missing css.fooga references would be left as-is, now they're wrapped in quotes to prevent them from causing JS errors. If you want missing classes to break things you should enable strict mode. Also no longer injecting a <script> block just to import css if there isn't already a <script> block defined in the module.

22.3.0 (2019-03-20)

Features

  • support supressing empty CSS files in rollup plugin (#569) (f9240a3)

22.2.0 (2019-03-07)

Features

  • Include Style String in Webpack Loader Output (#567) (6d883ac)

22.1.4 (2019-02-16)

Bug Fixes

  • add homepage & repo directory fields (f9c1606)

22.1.3 (2019-02-10)

Bug Fixes

  • add repo link to header (b47c1ad), closes #564
  • add some spacing after content (d84579a)
  • clean up netlify deploys (#566) (39c11d5)
  • flatten out all static calc()s (4518d75)
  • try to get netlify to use node@10 (955c4f6)

22.1.2 (2019-02-09)

Bug Fixes

  • dependency processing race condition (#565) (436c1c8)

22.1.1 (2019-02-06)

Bug Fixes

  • force rollup output to use .css (#563) (8f4348e)
  • work around rollup-pluginutils globbing cwd (4c0bdd8)

22.1.0 (2019-02-06)

Bug Fixes

  • invalidate files when they're changed (cb34c08)
  • log file invalidations (0b1476e)
  • remove newlines after composes (#561) (23569dc)

Features

22.0.2 (2019-01-28)

Bug Fixes

  • metadata output breaks when common.css is output (#556) (bf50079)

22.0.1 (2019-01-27)

Bug Fixes

22.0.0 (2019-01-25)

Bug Fixes

BREAKING CHANGES

  • Bundles will now have a assets and dynamicAssets array on them, and the metadata file will now contain an assets and dynamicAssets keys on them as well.

Both assets and dynamicAssets will only contain assets directly required by the bundle, instead of the bundle and all its dependencies.

21.2.1 (2019-01-24)

Bug Fixes

21.2.0 (2019-01-24)

Bug Fixes

Features

21.1.2 (2019-01-23)

Bug Fixes

21.1.1 (2019-01-21)

Bug Fixes

21.1.0 (2019-01-21)

Features

21.0.1 (2019-01-18)

Bug Fixes

21.0.0 (2019-01-18)

Bug Fixes

Features

BREAKING CHANGES

  • The previous release would stick all unreferenced CSS at the beginning of the first bundle. This was a mistake, and has been rectified.

20.0.1 (2019-01-16)

Bug Fixes

  • handle dynamic imports removed by tree-shaking (#538) (c2a09e1)

20.0.0 (2019-01-15)

Bug Fixes

BREAKING CHANGES

  • Source maps are written directly to the filesystem now, instead of going through rollup's asset pipeline. This is due to some limitations inherent in how the asset pipeline works and may be changed back once those can be resolved.

19.2.0 (2019-01-11)

Features

  • Update Webpack plugin to accept existing processor (#535) (15f1e15)

19.1.0 (2019-01-10)

Bug Fixes

  • better error if resolver returns bad file (513c2a9)
  • check for files via processor.has() (b5a539b), closes #533
  • remove random async from processor.string (d5ca5c0)
  • rollup outputs non .css files in the correct order (2b8fec6)

Features

  • add processor.has to check for known files (df5ac6f)

19.0.0 (2019-01-01)

Features

BREAKING CHANGES

  • requires rollup@1.0

18.0.0 (2018-12-22)

Features

BREAKING CHANGES

  • changed rollup plugin CSS output so it better matches rollup output chunk format & bumped minimum rollup version to 0.68.0

17.1.2 (2018-11-26)

Bug Fixes

17.1.1 (2018-11-08)

Bug Fixes

  • tweak value support in svelte preprocessor (7cc0f22)

17.1.0 (2018-10-24)

Features

  • Rework svelte for race-condition fix (#524) (9d465db)

17.0.0 (2018-10-22)

Features

  • rework svelte as class, disable default removal (a6e3ee6), closes #522

BREAKING CHANGES

  • if you want to remove files as they're re-processed (for standalone usage, for instance), you'll now need to pass { clean : true }.

16.2.0 (2018-10-12)

Features

16.1.0 (2018-09-21)

Features

16.0.0 (2018-09-01)

Chores

  • move all packages under modular-css org (50341f7)

BREAKING CHANGES

  • All package names have changed!

15.0.1 (2018-08-29)

Bug Fixes

15.0.0 (2018-08-28)

Bug Fixes

  • deps: update dependency meow to v5 (#495) (e92795f)
  • deps: update dependency postcss-url to v8 (#497) (b270db5)
  • run after plugins against files serially (#508) (14bae1d)

Features

BREAKING CHANGES

  • Processor instances must be instantiated with new, they're no longer auto-instantiating
  • The default file name when json : true has changed from whatever the CSS file was called to exports.json

14.4.0 (2018-08-10)

Features

14.3.0 (2018-08-09)

Features

14.2.1 (2018-08-01)

Bug Fixes

  • remove files when re-preprocessing for svelte (#463) (113cfa1), closes #462

14.2.0 (2018-07-25)

Bug Fixes

Features

14.1.0 (2018-07-18)

Features

14.0.1 (2018-07-16)

Bug Fixes

14.0.0 (2018-07-13)

Bug Fixes

BREAKING CHANGES

  • Common chunks will only be created if necessary now.

13.0.0 (2018-07-13)

Bug Fixes

Features

BREAKING CHANGES

  • Processor.remove() no longer removes the specified files AND their dependencies.

12.1.3 (2018-07-05)

Bug Fixes

  • Actually fix erroneous deletes from rollup (caee07d)

12.1.2 (2018-07-05)

Bug Fixes

12.1.1 (2018-07-05)

Bug Fixes

12.1.0 (2018-06-26)

Features

  • rollup transform dependencies support (#438) (7347d8f)

12.0.2 (2018-06-22)

Bug Fixes

12.0.1 (2018-06-13)

Bug Fixes

  • .emitAsset() can't be called twice now (24e6562)

12.0.0 (2018-06-08)

Features

BREAKING CHANGES

  • modular-css-svelte no longer has a custom rollup integration, use modular-css-rollup instead
  • modular-css-rollup now supports a common option that will handle outputting any CSS that was removed from chunks due to treeshaking.
  • modular-css-rollup accepts a new processor option that is expected to be a fully-configured & instantiated instance of Processor from modular-css-core.

11.0.0 (2018-06-07)

Features

BREAKING CHANGES

  • This will break compatibility with all versions of rollup < 0.60.0

10.1.0 (2018-06-03)

Features

10.0.0 (2018-05-02)

Bug Fixes

BREAKING CHANGES

  • Processor.remove now always returns an array. If nothing was removed the array will be empty.

9.0.0 (2018-04-25)

Features

BREAKING CHANGES

  • svelte template syntax changed in v2, and it is now the only supported syntax.

8.2.0 (2018-03-08)

Bug Fixes

Features

8.1.1 (2018-02-21)

Note: Version bump only for package modular-css-root

8.1.0 (2018-02-21)

Features

  • Allow plugin exports via "processing" lifecycle hook (#404) (72a89de), closes #401

8.0.3 (2018-02-21)

Bug Fixes

8.0.2 (2018-02-16)

Bug Fixes

8.0.0 (2018-02-09)

Features

BREAKING CHANGES

  • Values will now be exported alongside composed classes

7.2.0 (2017-12-13)

Bug Fixes

Features

  • modular-css-core: processor.remove returns removed files (#376) (b560651)

7.1.0 (2017-12-11)

Bug Fixes

  • onwrite not returning the promise (9ab15de)

Features

7.0.0 (2017-11-16)

Bug Fixes

Features

BREAKING CHANGES

  • To prevent postcss-url from running you now specify rewrite: false instead of defining an after segment.