All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
15.0.0 (2022-11-16)
- ng-packagr no longer supports Node.js versions
14.[15-19].x
and16.[10-12].x
. Current supported versions of Node.js are14.20.x
,16.13.x
and18.10.x
. - TypeScript versions older than 4.8.2 are no longer supported.
- Deprecated support for Stylus has been removed. The Stylus package has never reached a stable version and it's usage in the ng-packagr is minimal. It's recommended to migrate to another CSS preprocessor that the ng-packagr supports.
- add support for tailwindcss (fdc0707), closes #1943
- add support for Node.js version 18 (e70e3a3)
- drop support for TypeScript 4.6 and 4.7 (56d9a85)
- switch to sass modern API (b1ebee3)
- grammatical update error message (6d7d2a9)
- remove support for Stylus (2f92ab8)
- emit TypeScript declaration diagnostics (844ea6c), closes #2405
- exclude scanning node_modules when trying to locate README.md (b54159b), closes #2418
- exclude scanning nested node_modules when locating
README.md
(4e4c00b), closes #2459 - show actionable error when component resource is not found (5dcba25)
15.0.0-rc.0 (2022-10-21)
15.0.0-next.4 (2022-10-12)
- ng-packagr no longer supports Node.js versions
14.[15-19].x
and16.[10-12].x
. Current supported versions of Node.js are14.20.x
,16.13.x
and18.10.x
. - TypeScript versions older than 4.8.2 are no longer supported.
15.0.0-next.3 (2022-09-28)
- Deprecated support for Stylus has been removed. The Stylus package has never reached a stable version and it's usage in the ng-packagr is minimal. It's recommended to migrate to another CSS preprocessor that the ng-packagr supports.
- switch to sass modern API (b1ebee3)
15.0.0-next.2 (2022-09-08)
15.0.0-next.1 (2022-09-07)
- emit TypeScript declaration diagnostics (844ea6c), closes #2405
- exclude scanning node_modules when trying to locate README.md (b54159b), closes #2418
14.2.1 (2022-09-07)
- emit TypeScript declaration diagnostics (2176bd9), closes #2405
- exclude scanning node_modules when trying to locate README.md (90b0463), closes #2418
15.0.0-next.0 (2022-08-26)
- support Angular 15 (e3eca0a)
14.2.0 (2022-08-24)
- add support for TypeScript 4.8 (387a4e1)
14.1.0 (2022-07-20)
14.1.0-next.0 (2022-07-20)
14.0.4 (2022-07-20)
14.0.3 (2022-07-06)
- address issue were dts were not emitted fully when using entrypoint name as filename (713d940), closes #2369 #2360
- do not run ngcc when node_modules does not exist (97beddc)
14.0.2 (2022-06-10)
- error when index file is parallel to entry-point but is not configured as such (ecb55b1)
14.0.1 (2022-06-08)
No visible changes
14.0.0 (2022-06-02)
- Support for TypeScript 4.4 and 4.5 has been removed. Please update to TypeScript 4.6.
- Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
package.json
is not longer a valid method to configure ng-packagr. Useng-package.json
instead.
- support TypeScript 4.7 (5574598)
- remove handling of
package.json
as configuration (a94bd14), closes #2176 - update generated output to APF 14 (c6f6e4d)
- support more complex
assets
configurations (6776e17), closes #1497 - drop support for Node.js 12 (181ac25)
- support TypeScript 4.6.2 (9faef17)
- watch mode when using ng-packagr CLI directly (0f8f92a)
- join paths instead of resolving (0a54e7d), closes #2241
- avoid a recursive export when entryfile is named
index.ts
(4c96acb) - ignore circular dependency warnings (9b93a18)
- remove hardcoded
moduleResolution
(3f5448d) - re-allow
index.ts
as entry-files (8c5cc4f) - invalid browsers version ranges (547a11f)
14.0.0-rc.0 (2022-05-12)
14.0.0-next.10 (2022-05-09)
- avoid a recursive export when entryfile is named
index.ts
(4c96acb)
14.0.0-next.9 (2022-05-06)
- re-allow
index.ts
as entry-files (8c5cc4f)
14.0.0-next.8 (2022-05-06)
- support TypeScript 4.7 (5574598)
14.0.0-next.7 (2022-05-06)
package.json
is not longer a valid method to configure ng-packagr. Useng-package.json
instead.
14.0.0-next.6 (2022-05-05)
entryFile
can no longer be namedindex.ts
as it will conflict with the generatedindex.d.ts
. Please rename
- update generated output to APF 14 (c6f6e4d)
14.0.0-next.5 (2022-04-11)
- watch mode when using ng-packagr CLI directly (0f8f92a)
14.0.0-next.4 (2022-03-28)
14.0.0-next.3 (2022-03-17)
14.0.0-next.2 (2022-03-10)
- Support for TypeScript 4.4 and 4.5 has been removed. Please update to TypeScript 4.6.
- Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
14.0.0-next.1 (2022-01-31)
- invalid browsers version ranges (547a11f)
14.0.0-next.0 (2022-01-28)
- support Angular 14 (c153c4d)
13.2.0 (2022-01-26)
13.1.3 (2022-01-13)
- update dependency postcss-preset-env to v7
13.1.2 (2021-12-15)
- close rollup bundle after write (cf5de76)
13.1.1 (2021-12-08)
13.1.0 (2021-12-08)
- add support for TypeScript 4.5 (b4d3f5c)
13.0.8 (2021-11-24)
13.0.7 (2021-11-23)
13.0.6 (2021-11-18)
- Revert "build: update dependency postcss-preset-env to v7", due to licensing issues of
postcss-values-parser
. shellscape/postcss-values-parser#115
13.0.5 (2021-11-17)
13.0.4 (2021-11-17)
--version
doesn't work (ba835bb), closes #2157- remove
files
property from default tsconfig (c4cd3a7), closes #2156 - show warning when configuring ng-packagr in
package.json
(037ccf5)
13.0.3 (2021-11-05)
- handle multiple node_modules when resolving Sass (c7c51a3)
13.0.2 (2021-11-04)
13.0.1 (2021-11-04)
- unable to add additional conditions to entry-point subpaths controlled by ng-packagr (a63ebb7)
13.0.0 (2021-11-03)
- TypeScript versions prior to 4.4 are no longer supported.
- Compilation of libraries using VIew Engine is no longer supported.
- We no longer generate UMD bundles. The below options which were used for UMD bundle generation has also been removed;
umdModuleIds
amdId
umdId
- Support for
node-sass
has been removed. sass will be used by default to compile SASS and SCSS files.
- add package exports for node and es2015 (bd986f6)
- add support for package.json exports (047e3ca)
- drop support for node-sass (34d805d)
- emit Javascript files with
.mjs
extension (95166f3) - support TypeScript to 4.4 (40f7316)
- update
tslib
peerDependencies to^2.3.0
(12dc21e) - add package exports for node and es2015 (bd986f6)
- add support for package.json exports (047e3ca)
- drop support for node-sass (34d805d)
- emit Javascript files with
.mjs
extension (95166f3) - support Node.js version 16 (5c8ce22)
- add esm2020 conditions in APF package exports (ed79b27)
- add es2020 conditional export (e5d4296)
- do not generate UMDs (cc59146), closes #2023 #2000 #1757 #1674
- downlevel es2020 bundle to generate FESM2015 (6cf2514)
- enable Ivy partial compilations by default (46133d9), closes #1087 #382 #285 #317 #355 #656 #917
- replace es2015 with es2020 (9e37a56)
- support specifying stylesheet language for inline component styles (61cd015)
- enable providing cache directory and disabling caching via options (7d6ee38)
- error when a finding a conflicting package export (bf3a0b9)
- merge instead of overriding package exports (f238118)
- improve Safari browserslist to esbuild target conversion (23b4776)
- incorrect cache path (2c0121a)
- make cache paths safe for windows (5b58731)
- provide supported browsers to esbuild (4ed2e08)
- set browserslist defaults (8223a47), closes /github.com/browserslist/browserslist/blob/83764ea81ffaa39111c204b02c371afa44a4ff07/index.js#L516-L522
- error when a finding a conflicting package export (bf3a0b9)
- merge instead of overriding package exports (f238118)
- report typescript configuration errors (31b508d)
- don't process tslib with ngcc (925b427)
- replace
node-sass-tilde-importer
with custom sass importer (5cf363b), closes #2125 - display package versions correctly when using the version command (141fd65)
- force less version 3.5 math behaviour (a491faf), closes #2113
- only watch dependent files (5bf477d), closes #1829 #2042 #1723
- remove
@rollup/plugin-commonjs
(0d306a3) - include
esbuild-check
in the dist package (eda7f04) - support WASM-based esbuild optimizer fallback (68b5f0b)
- don't exit with non zero error code on non error compiler diagnostics (0daa33e)
- normalize NGCC tsconfig path (3846b40)
- only re-generate FESMs when ESM has changed (2a02a89)
- read esm files from memory (51ba534)
- store fesm generation state on disk (4565a8b)
13.0.0-rc.3 (2021-10-26)
- report typescript configuration errors (31b508d)
13.0.0-rc.2 (2021-10-21)
- don't process tslib with ngcc (925b427)
- replace
node-sass-tilde-importer
with custom sass importer (5cf363b), closes #2125
13.0.0-rc.1 (2021-10-20)
- display package versions correctly when using the version command (141fd65)
- force less version 3.5 math behaviour (a491faf), closes #2113
- only watch dependent files (5bf477d), closes #1829 #2042 #1723
- remove
@rollup/plugin-commonjs
(0d306a3)
- only re-generate FESMs when ESM has changed (2a02a89)
- read esm files from memory (51ba534)
- store fesm generation state on disk (4565a8b)
13.0.0-rc.0 (2021-10-14)
- support Node.js version 16 (5c8ce22)
13.0.0-next.8 (2021-10-08)
- add esm2020 conditions in APF package exports (ed79b27)
- include
esbuild-check
in the dist package (eda7f04)
13.0.0-next.7 (2021-10-06)
- add es2020 conditional export (e5d4296)
- error when a finding a conflicting package export (bf3a0b9)
- merge instead of overriding package exports (f238118)
13.0.0-next.6 (2021-10-04)
- Support for
node-sass
has been removed. sass will be used by default to compile SASS and SCSS files.
- add package exports for node and es2015 (bd986f6)
- add support for package.json exports (047e3ca)
- drop support for node-sass (34d805d)
- emit Javascript files with
.mjs
extension (95166f3)
13.0.0-next.5 (2021-09-28)
- TypeScript versions prior to 4.4 are no longer supported.
- don't exit with non zero error code on non error compiler diagnostics (0daa33e)
- normalize NGCC tsconfig path (3846b40)
13.0.0-next.4 (2021-09-27)
- enable providing cache directory and disabling caching via options (7d6ee38)
13.0.0-next.3 (2021-09-22)
- support WASM-based esbuild optimizer fallback (68b5f0b)
13.0.0-next.2 (2021-09-08)
- improve Safari browserslist to esbuild target conversion (23b4776)
13.0.0-next.1 (2021-09-02)
- incorrect cache path (2c0121a)
13.0.0-next.0 (2021-09-02)
- Compilation of libraries using VIew Engine is no longer supported.
- We no longer generate UMD bundles. The below options which were used for UMD bundle generation has also been removed;
umdModuleIds
amdId
umdId
- do not generate UMDs (cc59146), closes #2023 #2000 #1757 #1674
- downlevel es2020 bundle to generate FESM2015 (6cf2514)
- enable Ivy partial compilations by default (46133d9), closes #1087 #382 #285 #317 #355 #656 #917
- replace es2015 with es2020 (9e37a56)
- support specifying stylesheet language for inline component styles (61cd015)
- make cache paths safe for windows (5b58731)
- provide supported browsers to esbuild (4ed2e08)
- set browserslist defaults (8223a47), closes /github.com/browserslist/browserslist/blob/83764ea81ffaa39111c204b02c371afa44a4ff07/index.js#L516-L522
12.2.0 (2021-08-04)
- use esbuild as a CSS optimizer for component styles (ceb81f9)
12.2.0-next.0 (2021-07-23)
- use esbuild as a CSS optimizer for component styles (ceb81f9)
12.1.2 (2021-07-13)
- parse styles cache as JSON (f778b92)
12.1.1 (2021-07-09)
- avoid non-actionable template type-checker syntax diagnostics (63598d0)
12.1.0 (2021-06-25)
- add compilation mode in build logs (4959f8b), closes #1991
- add support for TypeScript 4.3 (d6cabcf)
- update Ivy compilation pipeline to use faster NGTSC program (9f17304)
12.1.0-next.0 (2021-06-22)
- add support for TypeScript 4.3 (d6cabcf)
- update Ivy compilation pipeline to use faster NGTSC program (9f17304)
- error shown multiple times in terminal (22322e8)
12.0.6 (2021-06-18)
- add version stamping during watch builds (4e13041)
12.0.5 (2021-06-09)
- Debug Failure. False expression when using triple slash reference directive (043c53b)
12.0.4 (2021-06-09)
12.0.3 (2021-06-03)
12.0.2 (2021-05-25)
- display file stylesheet file path when there is an error (698de4e)
12.0.1 (2021-05-25)
- ignore type definitions when building entry-point dependency graph (9a7dccb), closes #1982
- log error from stylesheet pre-processor (077fc65), closes #1983
12.0.0 (2021-05-12)
12.0.0 (2021-05-12)
12.0.0-rc.3 (2021-05-10)
- improve stylesheet caching mechanism (b4b44c8)
12.0.0-rc.2 (2021-05-06)
- add
built at
andtime
to console output (50639dc) - initialize worker options post browserlist setup (ff90621)
- cache processed stylesheets (b791429)
12.0.0-rc.1 (2021-05-05)
- disable CSS declaration sorting optimizations (4f06939)
- remove double iteration over source files (5e6afb1)
12.0.0-next.0 (2021-05-05)
- disable CSS declaration sorting optimizations (4f06939)
- remove double iteration over source files (5e6afb1)
12.0.0-rc.0 (2021-04-22)
- Bundling of dependencies has been removed without replacement. In many cases this was used incorrectly which drastically increase in size. This was also mainly used for UMD bundles which will be removed in future.
12.0.0-next.9 (2021-04-15)
- Minified UMD bundles are no longer generated.
- don't generate minified UMD bundles. (cf56f3b)
- update cssnano to version 5.0.0 (1ad8fe6)
- update supported range of node versions (3800679)
12.0.0-next.8 (2021-04-06)
12.0.0-next.7 (2021-03-31)
- During
watch
mode we no longer generate UMD bundles.
- speed up incremental mode by not generating UMD (0af0ce0)
12.0.0-next.6 (2021-03-22)
- release main thread on worker error (eb3138a)
12.0.0-next.5 (2021-03-17)
- support TypeScript 4.2 (82c173c)
- process only the typings files of packages with NGCC (9122e7f)
12.0.0-next.4 (2021-03-04)
12.0.0-next.3 (2021-02-23)
- deprecate whitelistedNonPeerDependencies in favor of allowedNonPeerDependencies (e7fc214), closes #1884
- removed default value from whitelistedNonPeerDependencies in json schema (f0d38fc), closes #1892
- replace
i
with checkmark when displaying a built entrypoint (54b8968), closes #1883
- reuse stylesheet processor (2c6bb7d)
12.0.0-next.2 (2021-02-18)
- add
postcss-preset-env
with stage 3 features (0caf3db), closes /preset-env.cssdb.org/features#stage-3
- show error when template file is unreadable (c0ba153)
12.0.0-next.1 (2021-02-12)
- add support for Angular version 12 (5fc70d0)
- update @angular/cdk to version ~11.2.0 (d96dbab)
- use
path.join
instead ofrequire.resolve
to resolve worker (6a9a23d), closes #1867
12.0.0-next.0 (2021-02-11)
-
Node.js version 10 will become EOL on 2021-04-30. Angular CLI 12 will require Node.js 12.13+ or 14.15+. Node.js 12.13 and 14.15 are the first LTS releases for their respective majors.
-
update to use Node 12 APIs (69ec8e2)
11.2.0 (2021-02-10)
11.1.4 (2021-02-05)
- remove optional dependency on tsickle (d3e46ce)
11.1.3 (2021-02-02)
11.1.2 (2021-01-20)
11.1.1 (2021-01-20)
- await async process method (361e43b)
11.1.0 (2021-01-20)
- add NGCC async integration (232fb21)
- add stylesheet processor DI (dedb3b3)
- add support for using TypeScript 4.1 (ffe3ab9)
- add tsickle as optional peer dependency (52f3988), closes #1801
- changed assets not being copied during watch mode (8d6664e), closes #1826
- set sourceRoot to empty string to correctly resolve dts sources (94dd2d8)
- termination of process when using CTRL+C (8f6c46e)
- only use ensureUnixPath when OS is Windows (d4ed2b4)
11.0.3 (2020-11-21)
- correctly resolve sourceRoot (6673dbc)
11.0.2 (2020-11-12)
- sourcemap should not differ based on build path (1504c8e)
- Revert "fix: update @rollup/plugin-commonjs to version ^16.0.0"
11.0.1 (2020-11-11)
11.0.0 (2020-11-11)
- sourcemap should not differ based on build path (6f946b7)
11.0.0-rc.0 (2020-11-05)
11.0.0-next.3 (2020-10-29)
- improve progress reporting (3a9827f)
- update @rollup/plugin-commonjs to version ^16.0.0 (75e5d51)
- update @rollup/plugin-node-resolve to version ^10.0.0 (e76b97b)
11.0.0-next.2 (2020-10-22)
- TypeScript 3.9 is no longer supported, please upgrade to TypeScript 4.0.
11.0.0-next.1 (2020-10-14)
- clear analysis cache to detect invalid imports in watch mode (d6a3920)