Skip to content

Latest commit

 

History

History
1688 lines (949 loc) · 112 KB

CHANGELOG.md

File metadata and controls

1688 lines (949 loc) · 112 KB

2.0.0 (2025-02-09)

Bug Fixes

  • deps: reset stylus version (50a9082)

Features

BREAKING CHANGES

  • sass: Remove official support for node-sass

1.8.0 (2023-12-22)

Features

1.7.0 (2023-12-22)

Features

1.6.0 (2023-11-30)

Features

  • rename package again (last time) (58370bc)

1.5.0 (2023-11-18)

Features

1.4.0 (2023-11-18)

Features

1.3.0 (2023-11-17)

Features

1.2.0 (2023-11-17)

Features

1.1.0 (2023-11-17)

Features

1.0.0 (2023-11-17)

Bug Fixes

  • onExtract func check and desc (4bfaac5)
  • onExtract option fix (65d74cf)
  • avoid partial names replacement when aliasing (f5aa1e2)
  • avoid postcss warning about no plugins (dbd72b7)
  • better lf placement for output (663c184)
  • better match Rollup's hashing method (1825045)
  • better typedoc (fb31286)
  • build: add dependabot and dependency badge (761e3ed)
  • build: disable minification for use with patch-package (fbba337)
  • changelog: repairs after github breakage (b01e058)
  • ci: do not release twice (fc719f2)
  • code generation: imports should precede exports (814ccdb)
  • code splitting: infinite loop on cyclic imports (4dd0ca3)
  • code splitting: potential over-extraction (0b94909)
  • correct filename for single file /w preserveModules (837f9ed)
  • correct multi-file detection (d92d6da)
  • correctly resolve file imports with query params (#148) (71bfe87), closes #132
  • deps: more precise pkg versions (403158c)
  • do not bundle mime-types (e444f04)
  • do not depend on directory structure for hashing (18c3022)
  • extract: allow paths relative to cwd (bdfc266)
  • extract: missing parts of extracted file (9afa9ac)
  • filter out only related files (0976e8f)
  • fix overwrite style file in preserveModules mode (2c13345)
  • fix production build, also speed up builds (b5b2e4f)
  • function name typo (d7574fb)
  • hashed url handling (5735a01)
  • infinite postcss loop (c8cf892)
  • injector: external @babel/runtime (129aff5)
  • injector: pass selector instead of element as container (63bc959)
  • keep references inside declaration (a6f9b35), closes #159
  • less: add plugins to less loader options type (8b502ef)
  • less: fileManager inheritance (aba12a4)
  • less: fix importer (7900186)
  • less: remove less from bundle (9dafe0a)
  • less: respect paths options (a72ab4c), closes #125
  • less: use provided less in importer (66f0fce)
  • loaders: clearly show what options are public (2ab86be)
  • loaders: run sourcemap loader first (b651be3)
  • minimize exports in extract mode as well (ab919d7)
  • misc fixes (a4d3924)
  • missing fs-extra (4173a2a)
  • missing/overwritten files (b4dc69c)
  • more reliable chunk hash augmentation (91f9b8f), closes #143
  • multi-entry: correct and consistent order of single extracted file (553ca85)
  • node: wrong supported version of Node.js (3fb9f80)
  • normalize assetFileNames dir (f551a76)
  • occasional wrong order in extract mode (52cb377), closes #153
  • options: use type (41884fb)
  • p-queue: proper default size (156ebff)
  • partials: incorrect path without dir in url (68d40be)
  • path-utils: fix relativePath (e22ca71)
  • postcss related types (df78c78)
  • prioritize sass over node-sass (e9a93ef)
  • proper declaration file (0b5502b)
  • readme: clarification (6f5b995)
  • readme: fix links (208c254)
  • readme: fix more links (c4e6690)
  • readme: tagline wording (0a55020)
  • remove from sourcemap (b1c32e8)
  • remove debugging log (e09ac09)
  • remove puppeteer (13bf4e8)
  • resolving url outside of first order place (c61f0ce), closes #126
  • respect output.file for main CSS chunk (19eb9d7)
  • respect content option for minification (59b3c07)
  • respect esm and styles for sync resolves (0c51253)
  • respect NODE_ENV (7a600c3)
  • respect programmatic manual chunks as well (311e0dc)
  • respect rollup's sourcemap (cc6ad34)
  • revert removal (8def44e)
  • runtime: safer option check (78a5922)
  • runtime: working singleTag option (5d6a5c8)
  • sass!: remove fibers support (8992356)
  • sass: do not modify non-module url (fd022c6)
  • sass: properly call custom resolvers (002366f)
  • skip parsing of invalid sourcemaps (a96d01f)
  • small misc fixes and changes (7cbb05a)
  • sourcemap: broken single line URL comments extraction (fd8ebf9)
  • sourcemap: more reliable detection (a419361)
  • sourcemaps: hashing and fixes for inlining in extract mode (c2bb12d)
  • styles-url: clarify which url is unresolved (aefc263)
  • styles: clean dist (511ea8d)
  • styles: fix CSS injector (f4ccef4)
  • stylus: proper sourcesContent (f9b4774)
  • stylus: respect local node_modules (eebbbed)
  • test and warning for already processed files (19fd942)
  • treeshakable: use es5 syntax for treeshakable object (#177) (a084834)
  • trigger release due to semantic-release failure (see here) (c9e6acf), closes /github.com/Anidetrix/rollup-plugin-styles/blob/master/CHANGELOG.md#354-2020-05-22
  • typenames too long for typedoc (13e2d49)
  • types: fix less typings (c129dec)
  • uniform sass error message (49655a4)
  • url handler: working default assetDir (7187a27)
  • url: consider all possible basedirs (62353b2)
  • use path.parse instead of regex (135b658)
  • utils: async resolve types (08ae382)
  • very rare double code extraction (d89a5fe)

Features

  • .d.ts generation and treeshakeable injector options (2990cb0)
  • allow multiple instances of the plugin (aa0d4d1)
  • code splitting rework /w preserveModules support (8f44a7a)
  • code splitting: rollup's manualChunks option support (5aeb350)
  • cssnano!: v5 (5d6ccc1)
  • dir in css modules class names (94d10b2)
  • extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)
  • importer: extensions override (74fcd39)
  • import: resolve extensions (9005ab8)
  • injector: ability to set attibutes (653e91c)
  • injector: one less polyfill needed for ie8 (97796d8)
  • modules: customizable autoModules (c3298de)
  • multi entry support (840996c)
  • node: drop v10 (5786615)
  • option to disable sourcesContent in sourcemaps (afc440b)
  • pass resulting filename to sourcemap transformer when possible (5570cf4)
  • postcss 8 upgrade (b9adee9)
  • postcss: support both object and array for plugin (7ce53b9)
  • replace postcss-load-config with custom implementation (50b19bb)
  • resolve: exports fields support (thanks @kherock) (eb22803)
  • respect for .cjs files and move towards exports fields (cc391bb)
  • respect rollup's 2.18.0 option changes (53072b0)
  • sass: exports conditions (#197) (2d390de)
  • sass: sync mode support with dart implementation (91846bc)
  • silently skip empty files (a34bdbf)
  • sourcemap transformation (ed49328), closes #160
  • styles: add singleTag option for CSS injection (b7e4ca8)
  • styles: postcss plugins without require (7db718f)
  • styles: v2 (21d2c9d)
  • support functional assetFileNames (91d4ca2)
  • support partials and ~ in Less @import statements (b4fbda5)
  • support web url and query strings inside @import (bbff4e5), closes #140
  • update package (9f4dd9c)
  • update rollup config (e3f1053)
  • url: automatically inline assets in inject mode (db7dc9a)
  • v3 (c0a7daa)

Performance Improvements

  • bundle minification (369279a)
  • global p-queue for all loaders (ccac951)
  • less: less allocations in importer (bf3710a)
  • less: less code (2717427)
  • misc optimizations (df1d1ee)
  • modules: simpler internal implementation (c1f92e1)
  • overall considerable performance improvements (6c08d55)
  • overall improvements and optimizations (a460dd0)
  • path: unneded normalization (df03c59)
  • postcss: less allocations (c9ac3f5)
  • postcss: less type checking (5611655)
  • project: refactoring and optimizations (d3405aa)
  • relace import-cwd with resolve (dd4310e)
  • removed deprecated rollup API (46b73e6)
  • replace concat-with-sourcemaps with custom function (a1b04d2)
  • replace some sets with arrays (2b7c28e)
  • resolved modules caching (7eab36d)
  • runtime: less operations (7375fe7)
  • simpler error handling (438d5b1)
  • sourcemap: less operations (178e2d4)
  • sourcemap: switch to source-map-js (0488634)
  • styles: do not call path.join twice (272bb8b)
  • styles: small CSS injector optimization (fbdd413)
  • tiny optimizations (309e37b)
  • types: trimmed down vendor types (6a52be8)
  • Use Set to optimize performance (b402687)

BREAKING CHANGES

  • resolve: resolver now prioritizes exports fields before any others, including style inside exports over independent style field
  • sass is now the default Sass implementation due to node-sass deprecation
  • node: Now support v12.20.0 and up
  • Some breaking changes occured:
  • output.assetFileNames is now respected for both CSS files and assets from CSS
  • extract's path now should be relative to output dir/output file's basedir, but not outside of it
  • extract's path no longer passed to PostCSS as to, added dedicated to option instead
  • Removed hash option from url handler (now handled by Rollup's assetFileName)
  • assetDir option for url handler no longer affects resulting URL
  • signature changes for onExtract As always, please consult documentation and API Reference for details
  • styles: A lot of API and behavior changes, please consult README and API Reference

1.0.0 (2023-11-17)

Bug Fixes

  • onExtract func check and desc (4bfaac5)
  • onExtract option fix (65d74cf)
  • avoid partial names replacement when aliasing (f5aa1e2)
  • avoid postcss warning about no plugins (dbd72b7)
  • better lf placement for output (663c184)
  • better match Rollup's hashing method (1825045)
  • better typedoc (fb31286)
  • build: add dependabot and dependency badge (761e3ed)
  • build: disable minification for use with patch-package (fbba337)
  • changelog: repairs after github breakage (b01e058)
  • ci: do not release twice (fc719f2)
  • code generation: imports should precede exports (814ccdb)
  • code splitting: infinite loop on cyclic imports (4dd0ca3)
  • code splitting: potential over-extraction (0b94909)
  • correct filename for single file /w preserveModules (837f9ed)
  • correct multi-file detection (d92d6da)
  • correctly resolve file imports with query params (#148) (71bfe87), closes #132
  • deps: more precise pkg versions (403158c)
  • do not bundle mime-types (e444f04)
  • do not depend on directory structure for hashing (18c3022)
  • extract: allow paths relative to cwd (bdfc266)
  • extract: missing parts of extracted file (9afa9ac)
  • filter out only related files (0976e8f)
  • fix overwrite style file in preserveModules mode (2c13345)
  • fix production build, also speed up builds (b5b2e4f)
  • function name typo (d7574fb)
  • hashed url handling (5735a01)
  • infinite postcss loop (c8cf892)
  • injector: external @babel/runtime (129aff5)
  • injector: pass selector instead of element as container (63bc959)
  • keep references inside declaration (a6f9b35), closes #159
  • less: add plugins to less loader options type (8b502ef)
  • less: fileManager inheritance (aba12a4)
  • less: fix importer (7900186)
  • less: remove less from bundle (9dafe0a)
  • less: respect paths options (a72ab4c), closes #125
  • less: use provided less in importer (66f0fce)
  • loaders: clearly show what options are public (2ab86be)
  • loaders: run sourcemap loader first (b651be3)
  • minimize exports in extract mode as well (ab919d7)
  • misc fixes (a4d3924)
  • missing fs-extra (4173a2a)
  • missing/overwritten files (b4dc69c)
  • more reliable chunk hash augmentation (91f9b8f), closes #143
  • multi-entry: correct and consistent order of single extracted file (553ca85)
  • node: wrong supported version of Node.js (3fb9f80)
  • normalize assetFileNames dir (f551a76)
  • occasional wrong order in extract mode (52cb377), closes #153
  • options: use type (41884fb)
  • p-queue: proper default size (156ebff)
  • partials: incorrect path without dir in url (68d40be)
  • path-utils: fix relativePath (e22ca71)
  • postcss related types (df78c78)
  • prioritize sass over node-sass (e9a93ef)
  • proper declaration file (0b5502b)
  • readme: clarification (6f5b995)
  • readme: fix links (208c254)
  • readme: fix more links (c4e6690)
  • readme: tagline wording (0a55020)
  • remove from sourcemap (b1c32e8)
  • remove debugging log (e09ac09)
  • remove puppeteer (13bf4e8)
  • resolving url outside of first order place (c61f0ce), closes #126
  • respect output.file for main CSS chunk (19eb9d7)
  • respect content option for minification (59b3c07)
  • respect esm and styles for sync resolves (0c51253)
  • respect NODE_ENV (7a600c3)
  • respect programmatic manual chunks as well (311e0dc)
  • respect rollup's sourcemap (cc6ad34)
  • revert removal (8def44e)
  • runtime: safer option check (78a5922)
  • runtime: working singleTag option (5d6a5c8)
  • sass!: remove fibers support (8992356)
  • sass: do not modify non-module url (fd022c6)
  • sass: properly call custom resolvers (002366f)
  • skip parsing of invalid sourcemaps (a96d01f)
  • small misc fixes and changes (7cbb05a)
  • sourcemap: broken single line URL comments extraction (fd8ebf9)
  • sourcemap: more reliable detection (a419361)
  • sourcemaps: hashing and fixes for inlining in extract mode (c2bb12d)
  • styles-url: clarify which url is unresolved (aefc263)
  • styles: clean dist (511ea8d)
  • styles: fix CSS injector (f4ccef4)
  • stylus: proper sourcesContent (f9b4774)
  • stylus: respect local node_modules (eebbbed)
  • test and warning for already processed files (19fd942)
  • treeshakable: use es5 syntax for treeshakable object (#177) (a084834)
  • trigger release due to semantic-release failure (see here) (c9e6acf), closes /github.com/Anidetrix/rollup-plugin-styles/blob/master/CHANGELOG.md#354-2020-05-22
  • typenames too long for typedoc (13e2d49)
  • types: fix less typings (c129dec)
  • uniform sass error message (49655a4)
  • url handler: working default assetDir (7187a27)
  • url: consider all possible basedirs (62353b2)
  • use path.parse instead of regex (135b658)
  • utils: async resolve types (08ae382)
  • very rare double code extraction (d89a5fe)

Features

  • .d.ts generation and treeshakeable injector options (2990cb0)
  • allow multiple instances of the plugin (aa0d4d1)
  • code splitting rework /w preserveModules support (8f44a7a)
  • code splitting: rollup's manualChunks option support (5aeb350)
  • cssnano!: v5 (5d6ccc1)
  • dir in css modules class names (94d10b2)
  • extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)
  • importer: extensions override (74fcd39)
  • import: resolve extensions (9005ab8)
  • injector: ability to set attibutes (653e91c)
  • injector: one less polyfill needed for ie8 (97796d8)
  • modules: customizable autoModules (c3298de)
  • multi entry support (840996c)
  • node: drop v10 (5786615)
  • option to disable sourcesContent in sourcemaps (afc440b)
  • pass resulting filename to sourcemap transformer when possible (5570cf4)
  • postcss 8 upgrade (b9adee9)
  • postcss: support both object and array for plugin (7ce53b9)
  • replace postcss-load-config with custom implementation (50b19bb)
  • resolve: exports fields support (thanks @kherock) (eb22803)
  • respect for .cjs files and move towards exports fields (cc391bb)
  • respect rollup's 2.18.0 option changes (53072b0)
  • sass: exports conditions (#197) (2d390de)
  • sass: sync mode support with dart implementation (91846bc)
  • silently skip empty files (a34bdbf)
  • sourcemap transformation (ed49328), closes #160
  • styles: add singleTag option for CSS injection (b7e4ca8)
  • styles: postcss plugins without require (7db718f)
  • styles: v2 (21d2c9d)
  • support functional assetFileNames (91d4ca2)
  • support partials and ~ in Less @import statements (b4fbda5)
  • support web url and query strings inside @import (bbff4e5), closes #140
  • update package (9f4dd9c)
  • update rollup config (bc728f0)
  • url: automatically inline assets in inject mode (db7dc9a)
  • v3 (c0a7daa)

Performance Improvements

  • bundle minification (369279a)
  • global p-queue for all loaders (ccac951)
  • less: less allocations in importer (bf3710a)
  • less: less code (2717427)
  • misc optimizations (df1d1ee)
  • modules: simpler internal implementation (c1f92e1)
  • overall considerable performance improvements (6c08d55)
  • overall improvements and optimizations (a460dd0)
  • path: unneded normalization (df03c59)
  • postcss: less allocations (c9ac3f5)
  • postcss: less type checking (5611655)
  • project: refactoring and optimizations (d3405aa)
  • relace import-cwd with resolve (dd4310e)
  • removed deprecated rollup API (46b73e6)
  • replace concat-with-sourcemaps with custom function (a1b04d2)
  • replace some sets with arrays (2b7c28e)
  • resolved modules caching (7eab36d)
  • runtime: less operations (7375fe7)
  • simpler error handling (438d5b1)
  • sourcemap: less operations (178e2d4)
  • sourcemap: switch to source-map-js (0488634)
  • styles: do not call path.join twice (272bb8b)
  • styles: small CSS injector optimization (fbdd413)
  • tiny optimizations (309e37b)
  • types: trimmed down vendor types (6a52be8)
  • Use Set to optimize performance (b402687)

BREAKING CHANGES

  • resolve: resolver now prioritizes exports fields before any others, including style inside exports over independent style field
  • sass is now the default Sass implementation due to node-sass deprecation
  • node: Now support v12.20.0 and up
  • Some breaking changes occured:
  • output.assetFileNames is now respected for both CSS files and assets from CSS
  • extract's path now should be relative to output dir/output file's basedir, but not outside of it
  • extract's path no longer passed to PostCSS as to, added dedicated to option instead
  • Removed hash option from url handler (now handled by Rollup's assetFileName)
  • assetDir option for url handler no longer affects resulting URL
  • signature changes for onExtract As always, please consult documentation and API Reference for details
  • styles: A lot of API and behavior changes, please consult README and API Reference

1.0.0 (2023-11-16)

Bug Fixes

  • onExtract func check and desc (4bfaac5)
  • onExtract option fix (65d74cf)
  • avoid partial names replacement when aliasing (f5aa1e2)
  • avoid postcss warning about no plugins (dbd72b7)
  • better lf placement for output (663c184)
  • better match Rollup's hashing method (1825045)
  • better typedoc (fb31286)
  • build: add dependabot and dependency badge (761e3ed)
  • build: disable minification for use with patch-package (fbba337)
  • changelog: repairs after github breakage (b01e058)
  • ci: do not release twice (fc719f2)
  • code generation: imports should precede exports (814ccdb)
  • code splitting: infinite loop on cyclic imports (4dd0ca3)
  • code splitting: potential over-extraction (0b94909)
  • correct filename for single file /w preserveModules (837f9ed)
  • correct multi-file detection (d92d6da)
  • correctly resolve file imports with query params (#148) (71bfe87), closes #132
  • deps: more precise pkg versions (403158c)
  • do not bundle mime-types (e444f04)
  • do not depend on directory structure for hashing (18c3022)
  • extract: allow paths relative to cwd (bdfc266)
  • extract: missing parts of extracted file (9afa9ac)
  • filter out only related files (0976e8f)
  • fix overwrite style file in preserveModules mode (2c13345)
  • fix production build, also speed up builds (b5b2e4f)
  • function name typo (d7574fb)
  • hashed url handling (5735a01)
  • infinite postcss loop (c8cf892)
  • injector: external @babel/runtime (129aff5)
  • injector: pass selector instead of element as container (63bc959)
  • keep references inside declaration (a6f9b35), closes #159
  • less: add plugins to less loader options type (8b502ef)
  • less: fileManager inheritance (aba12a4)
  • less: fix importer (7900186)
  • less: remove less from bundle (9dafe0a)
  • less: respect paths options (a72ab4c), closes #125
  • less: use provided less in importer (66f0fce)
  • loaders: clearly show what options are public (2ab86be)
  • loaders: run sourcemap loader first (b651be3)
  • minimize exports in extract mode as well (ab919d7)
  • misc fixes (a4d3924)
  • missing fs-extra (4173a2a)
  • missing/overwritten files (b4dc69c)
  • more reliable chunk hash augmentation (91f9b8f), closes #143
  • multi-entry: correct and consistent order of single extracted file (553ca85)
  • node: wrong supported version of Node.js (3fb9f80)
  • normalize assetFileNames dir (f551a76)
  • occasional wrong order in extract mode (52cb377), closes #153
  • options: use type (41884fb)
  • p-queue: proper default size (156ebff)
  • partials: incorrect path without dir in url (68d40be)
  • path-utils: fix relativePath (e22ca71)
  • postcss related types (df78c78)
  • prioritize sass over node-sass (e9a93ef)
  • proper declaration file (0b5502b)
  • readme: clarification (6f5b995)
  • readme: fix links (208c254)
  • readme: fix more links (c4e6690)
  • readme: tagline wording (0a55020)
  • remove from sourcemap (b1c32e8)
  • remove debugging log (e09ac09)
  • remove puppeteer (13bf4e8)
  • resolving url outside of first order place (c61f0ce), closes #126
  • respect output.file for main CSS chunk (19eb9d7)
  • respect content option for minification (59b3c07)
  • respect esm and styles for sync resolves (0c51253)
  • respect NODE_ENV (7a600c3)
  • respect programmatic manual chunks as well (311e0dc)
  • respect rollup's sourcemap (cc6ad34)
  • revert removal (8def44e)
  • runtime: safer option check (78a5922)
  • runtime: working singleTag option (5d6a5c8)
  • sass!: remove fibers support (8992356)
  • sass: do not modify non-module url (fd022c6)
  • sass: properly call custom resolvers (002366f)
  • skip parsing of invalid sourcemaps (a96d01f)
  • small misc fixes and changes (7cbb05a)
  • sourcemap: broken single line URL comments extraction (fd8ebf9)
  • sourcemap: more reliable detection (a419361)
  • sourcemaps: hashing and fixes for inlining in extract mode (c2bb12d)
  • styles-url: clarify which url is unresolved (aefc263)
  • styles: clean dist (511ea8d)
  • styles: fix CSS injector (f4ccef4)
  • stylus: proper sourcesContent (f9b4774)
  • stylus: respect local node_modules (eebbbed)
  • test and warning for already processed files (19fd942)
  • treeshakable: use es5 syntax for treeshakable object (#177) (a084834)
  • trigger release due to semantic-release failure (see here) (c9e6acf), closes /github.com/Anidetrix/rollup-plugin-styles/blob/master/CHANGELOG.md#354-2020-05-22
  • typenames too long for typedoc (13e2d49)
  • types: fix less typings (c129dec)
  • uniform sass error message (49655a4)
  • url handler: working default assetDir (7187a27)
  • url: consider all possible basedirs (62353b2)
  • use path.parse instead of regex (135b658)
  • utils: async resolve types (08ae382)
  • very rare double code extraction (d89a5fe)

Features

  • .d.ts generation and treeshakeable injector options (2990cb0)
  • allow multiple instances of the plugin (aa0d4d1)
  • code splitting rework /w preserveModules support (8f44a7a)
  • code splitting: rollup's manualChunks option support (5aeb350)
  • cssnano!: v5 (5d6ccc1)
  • dir in css modules class names (94d10b2)
  • extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)
  • importer: extensions override (74fcd39)
  • import: resolve extensions (9005ab8)
  • injector: ability to set attibutes (653e91c)
  • injector: one less polyfill needed for ie8 (97796d8)
  • modules: customizable autoModules (c3298de)
  • multi entry support (840996c)
  • node: drop v10 (5786615)
  • option to disable sourcesContent in sourcemaps (afc440b)
  • pass resulting filename to sourcemap transformer when possible (5570cf4)
  • postcss 8 upgrade (b9adee9)
  • postcss: support both object and array for plugin (7ce53b9)
  • replace postcss-load-config with custom implementation (50b19bb)
  • resolve: exports fields support (thanks @kherock) (eb22803)
  • respect for .cjs files and move towards exports fields (cc391bb)
  • respect rollup's 2.18.0 option changes (53072b0)
  • sass: exports conditions (#197) (2d390de)
  • sass: sync mode support with dart implementation (91846bc)
  • silently skip empty files (a34bdbf)
  • sourcemap transformation (ed49328), closes #160
  • styles: add singleTag option for CSS injection (b7e4ca8)
  • styles: postcss plugins without require (7db718f)
  • styles: v2 (21d2c9d)
  • support functional assetFileNames (91d4ca2)
  • support partials and ~ in Less @import statements (b4fbda5)
  • support web url and query strings inside @import (bbff4e5), closes #140
  • update deps (fd44c1f)
  • url: automatically inline assets in inject mode (db7dc9a)
  • v3 (c0a7daa)

Performance Improvements

  • bundle minification (369279a)
  • global p-queue for all loaders (ccac951)
  • less: less allocations in importer (bf3710a)
  • less: less code (2717427)
  • misc optimizations (df1d1ee)
  • modules: simpler internal implementation (c1f92e1)
  • overall considerable performance improvements (6c08d55)
  • overall improvements and optimizations (a460dd0)
  • path: unneded normalization (df03c59)
  • postcss: less allocations (c9ac3f5)
  • postcss: less type checking (5611655)
  • project: refactoring and optimizations (d3405aa)
  • relace import-cwd with resolve (dd4310e)
  • removed deprecated rollup API (46b73e6)
  • replace concat-with-sourcemaps with custom function (a1b04d2)
  • replace some sets with arrays (2b7c28e)
  • resolved modules caching (7eab36d)
  • runtime: less operations (7375fe7)
  • simpler error handling (438d5b1)
  • sourcemap: less operations (178e2d4)
  • sourcemap: switch to source-map-js (0488634)
  • styles: do not call path.join twice (272bb8b)
  • styles: small CSS injector optimization (fbdd413)
  • tiny optimizations (309e37b)
  • types: trimmed down vendor types (6a52be8)
  • Use Set to optimize performance (b402687)

Reverts

  • Revert "chore(release): 3.8.3 [skip ci]" (49b18ff)

BREAKING CHANGES

  • resolve: resolver now prioritizes exports fields before any others, including style inside exports over independent style field
  • sass is now the default Sass implementation due to node-sass deprecation
  • node: Now support v12.20.0 and up
  • Some breaking changes occured:
  • output.assetFileNames is now respected for both CSS files and assets from CSS
  • extract's path now should be relative to output dir/output file's basedir, but not outside of it
  • extract's path no longer passed to PostCSS as to, added dedicated to option instead
  • Removed hash option from url handler (now handled by Rollup's assetFileName)
  • assetDir option for url handler no longer affects resulting URL
  • signature changes for onExtract As always, please consult documentation and API Reference for details
  • styles: A lot of API and behavior changes, please consult README and API Reference

4.0.0 (2022-01-14)

Bug Fixes

  • code generation: imports should precede exports (814ccdb)
  • remove debugging log (e09ac09)
  • sass!: remove fibers support (8992356)

Features

Performance Improvements

  • removed deprecated rollup API (46b73e6)
  • sourcemap: switch to source-map-js (0488634)
  • Use Set to optimize performance (b402687)

BREAKING CHANGES

  • node: Now support v12.20.0 and up

3.14.1 (2021-01-28)

Bug Fixes

  • filter out only related files (0976e8f)
  • more reliable chunk hash augmentation (91f9b8f), closes #143

3.14.0 (2021-01-25)

Features

  • pass resulting filename to sourcemap transformer when possible (5570cf4)

3.13.0 (2021-01-24)

Bug Fixes

  • respect esm and styles for sync resolves (0c51253)

Features

3.12.2 (2021-01-11)

Bug Fixes

  • occasional wrong order in extract mode (52cb377), closes #153

3.12.1 (2020-12-30)

Bug Fixes

  • keep references inside declaration (a6f9b35), closes #159
  • postcss related types (df78c78)

3.12.0 (2020-12-28)

Bug Fixes

  • resolving url outside of first order place (c61f0ce), closes #126
  • less: respect paths options (a72ab4c), closes #125
  • avoid partial names replacement when aliasing (f5aa1e2)
  • utils: async resolve types (08ae382)

Features

3.11.0 (2020-10-10)

Bug Fixes

Features

Reverts

  • Revert "chore(release): 3.10.1 [skip ci]" (dc16939)

3.10.1 (2020-10-07)

Bug Fixes

  • correctly resolve file imports with query params (#148) (71bfe87), closes #132

3.10.0 (2020-06-26)

Bug Fixes

  • extract: missing parts of extracted file (9afa9ac)
  • runtime: safer option check (78a5922)
  • url: consider all possible basedirs (62353b2)

Features

  • .d.ts generation and treeshakeable injector options (2990cb0)
  • postcss: support both object and array for plugin (7ce53b9)

3.9.0 (2020-06-23)

Bug Fixes

  • very rare double code extraction (d89a5fe)

Features

  • replace postcss-load-config with custom implementation (50b19bb)
  • respect rollup's 2.18.0 option changes (53072b0)

Performance Improvements

  • misc optimizations (df1d1ee)
  • modules: simpler internal implementation (c1f92e1)

Reverts

  • Revert "chore(release): 3.8.3 [skip ci]" (49b18ff)

3.8.2 (2020-06-11)

Bug Fixes

  • missing/overwritten files (b4dc69c)
  • loaders: clearly show what options are public (2ab86be)
  • partials: incorrect path without dir in url (68d40be)

Performance Improvements

3.8.1 (2020-06-11)

Bug Fixes

  • fix overwrite style file in preserveModules mode (2c13345)
  • use path.parse instead of regex (135b658)

3.8.0 (2020-06-08)

Features

  • sass: sync mode support with dart implementation (91846bc)

Performance Improvements

  • overall considerable performance improvements (6c08d55)
  • replace concat-with-sourcemaps with custom function (a1b04d2)
  • resolved modules caching (7eab36d)

3.7.1 (2020-05-31)

Bug Fixes

  • respect content option for minification (59b3c07)

3.7.0 (2020-05-31)

Features

  • option to disable sourcesContent in sourcemaps (afc440b)

3.6.1 (2020-05-27)

Bug Fixes

  • respect programmatic manual chunks as well (311e0dc)

3.6.0 (2020-05-27)

Bug Fixes

  • build: disable minification for use with patch-package (fbba337)

Features

  • code splitting: rollup's manualChunks option support (5aeb350)
  • injector: ability to set attibutes (653e91c)

Performance Improvements

  • replace some sets with arrays (2b7c28e)

3.5.5 (2020-05-23)

Bug Fixes

  • changelog: repairs after github breakage (b01e058)

3.5.4 (2020-05-23)

Bug Fixes

3.5.3 (2020-05-20)

Bug Fixes

  • small misc fixes and changes (7cbb05a)

3.5.2 (2020-05-20)

Bug Fixes

3.5.1 (2020-05-20)

Bug Fixes

  • typenames too long for typedoc (13e2d49)

3.5.0 (2020-05-20)

Bug Fixes

  • sass: properly call custom resolvers (002366f)
  • sourcemap: broken single line URL comments extraction (fd8ebf9)

Features

  • importer: extensions override (74fcd39)
  • url: automatically inline assets in inject mode (db7dc9a)

Performance Improvements

  • overall improvements and optimizations (a460dd0)
  • types: trimmed down vendor types (6a52be8)

3.4.3 (2020-05-17)

Bug Fixes

  • code splitting: potential over-extraction (0b94909)

3.4.2 (2020-05-17)

Bug Fixes

  • correct filename for single file /w preserveModules (837f9ed)

3.4.1 (2020-05-17)

Bug Fixes

  • correct multi-file detection (d92d6da)

3.4.0 (2020-05-16)

Features

  • code splitting rework /w preserveModules support (8f44a7a)

3.3.4 (2020-05-15)

Bug Fixes

  • stylus: proper sourcesContent (f9b4774)
  • stylus: respect local node_modules (eebbbed)

Performance Improvements

3.3.3 (2020-05-14)

Bug Fixes

  • multi-entry: correct and consistent order of single extracted file (553ca85)
  • do not depend on directory structure for hashing (18c3022)
  • uniform sass error message (49655a4)

3.3.2 (2020-05-13)

Bug Fixes

  • onExtract func check and desc (4bfaac5)

3.3.1 (2020-05-13)

Bug Fixes

3.3.0 (2020-05-12)

Bug Fixes

  • minimize exports in extract mode as well (ab919d7)

Features

3.2.5 (2020-05-11)

Bug Fixes

  • loaders: run sourcemap loader first (b651be3)

Performance Improvements

3.2.4 (2020-05-10)

Bug Fixes

  • sourcemaps: hashing and fixes for inlining in extract mode (c2bb12d)
  • better match Rollup's hashing method (1825045)

3.2.3 (2020-05-09)

3.2.2 (2020-05-09)

Bug Fixes

  • sass: do not modify non-module url (fd022c6)

3.2.1 (2020-05-09)

Bug Fixes

  • respect output.file for main CSS chunk (19eb9d7)

3.2.0 (2020-05-08)

Features

  • import: resolve extensions (9005ab8)

3.1.0 (2020-05-07)

Bug Fixes

  • injector: external @babel/runtime (129aff5)

Features

  • modules: customizable autoModules (c3298de)

3.0.6 (2020-05-07)

Bug Fixes

  • sourcemap: more reliable detection (a419361)

3.0.5 (2020-05-06)

Bug Fixes

3.0.4 (2020-05-05)

Bug Fixes

3.0.3 (2020-05-05)

Bug Fixes

  • url handler: working default assetDir (7187a27)

3.0.2 (2020-05-05)

Bug Fixes

3.0.1 (2020-05-05)

Bug Fixes

  • normalize assetFileNames dir (f551a76)

3.0.0 (2020-05-05)

Features

BREAKING CHANGES

  • Some breaking changes occured:
  • output.assetFileNames is now respected for both CSS files and assets from CSS
  • extract's path now should be relative to output dir/output file's basedir, but not outside of it
  • extract's path no longer passed to PostCSS as to, added dedicated to option instead
  • Removed hash option from url handler (now handled by Rollup's assetFileName)
  • assetDir option for url handler no longer affects resulting URL
  • signature changes for onExtract As always, please consult documentation and API Reference for details

2.2.4 (2020-05-04)

Bug Fixes

2.2.3 (2020-05-04)

Bug Fixes

  • do not bundle mime-types (e444f04)

2.2.2 (2020-05-04)

Bug Fixes

  • styles-url: clarify which url is unresolved (aefc263)

2.2.1 (2020-05-04)

Bug Fixes

  • skip parsing of invalid sourcemaps (a96d01f)

2.2.0 (2020-05-03)

Features

  • injector: one less polyfill needed for ie8 (97796d8)

2.1.1 (2020-05-03)

Bug Fixes

  • injector: pass selector instead of element as container (63bc959)

2.1.0 (2020-05-02)

Features

  • extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)

2.0.5 (2020-05-02)

Bug Fixes

2.0.4 (2020-05-02)

Bug Fixes

2.0.3 (2020-05-01)

2.0.2 (2020-05-01)

Bug Fixes

  • avoid postcss warning about no plugins (dbd72b7)

2.0.1 (2020-05-01)

Bug Fixes

2.0.0 (2020-05-01)

Features

BREAKING CHANGES

  • styles: A lot of API and behavior changes, please consult README and API Reference

1.5.2 (2020-04-06)

Bug Fixes

  • better lf placement for output (663c184)

1.5.1 (2020-04-06)

Bug Fixes

  • test and warning for already processed files (19fd942)

1.5.0 (2020-04-06)

Features

  • allow multiple instances of the plugin (aa0d4d1)

1.4.0 (2020-04-04)

Features

  • dir in css modules class names (94d10b2)

1.3.15 (2020-03-30)

Bug Fixes

  • p-queue: proper default size (156ebff)

1.3.14 (2020-03-30)

Performance Improvements

  • global p-queue for all loaders (ccac951)

1.3.13 (2020-03-29)

Bug Fixes

  • fix production build, also speed up builds (b5b2e4f)

1.3.12 (2020-03-29)

Bug Fixes

1.3.11 (2020-03-29)

Performance Improvements

1.3.10 (2020-03-27)

Bug Fixes

  • proper declaration file (0b5502b)

1.3.9 (2020-03-24)

Bug Fixes

  • less: add plugins to less loader options type (8b502ef)

1.3.8 (2020-03-24)

Performance Improvements

  • runtime: less operations (7375fe7)

1.3.7 (2020-03-21)

Performance Improvements

  • postcss: less allocations (c9ac3f5)

1.3.6 (2020-03-20)

Bug Fixes

  • less: use provided less in importer (66f0fce)

1.3.5 (2020-03-20)

Bug Fixes

  • types: fix less typings (c129dec)

1.3.4 (2020-03-20)

Performance Improvements

  • less: less allocations in importer (bf3710a)

1.3.3 (2020-03-20)

Bug Fixes

  • less: remove less from bundle (9dafe0a)

1.3.2 (2020-03-20)

Bug Fixes

  • less: fileManager inheritance (aba12a4)

1.3.1 (2020-03-20)

Bug Fixes

Features

1.2.6 (2020-03-19)

Performance Improvements

  • relace import-cwd with resolve (dd4310e)

1.2.5 (2020-03-18)

Bug Fixes

  • respect rollup's sourcemap (cc6ad34)

1.2.4 (2020-03-18)

Bug Fixes

  • deps: more precise pkg versions (403158c)

1.2.3 (2020-03-18)

Bug Fixes

  • path-utils: fix relativePath (e22ca71)

1.2.2 (2020-03-18)

Bug Fixes

  • extract: allow paths relative to cwd (bdfc266)

Performance Improvements

  • path: unneded normalization (df03c59)

1.2.1 (2020-03-17)

Bug Fixes

1.2.0 (2020-03-17)

Features

  • styles: postcss plugins without require (7db718f)

1.1.11 (2020-03-16)

Bug Fixes

  • readme: tagline wording (0a55020)

1.1.10 (2020-03-16)

Bug Fixes

1.1.9 (2020-03-16)

Bug Fixes

1.1.8 (2020-03-15)

Performance Improvements

  • postcss: less type checking (5611655)
  • sourcemap: less operations (178e2d4)

1.1.7 (2020-03-15)

Performance Improvements

  • project: refactoring and optimizations (d3405aa)

1.1.6 (2020-03-15)

Bug Fixes

  • build: add dependabot and dependency badge (761e3ed)

1.1.5 (2020-03-14)

Bug Fixes

  • ci: do not release twice (fc719f2)

1.1.4 (2020-03-14)

Bug Fixes

  • node: wrong supported version of Node.js (3fb9f80)

1.1.3 (2020-03-14)

Bug Fixes

  • runtime: working singleTag option (5d6a5c8)

1.1.2 (2020-03-13)

Performance Improvements

  • styles: do not call path.join twice (272bb8b)

1.1.1 (2020-03-13)

Bug Fixes

1.1.0 (2020-03-13)

Bug Fixes

  • styles: fix CSS injector (f4ccef4)

Features

  • styles: add singleTag option for CSS injection (b7e4ca8)

Performance Improvements

  • styles: small CSS injector optimization (fbdd413)

1.0.5 (2020-03-13)