Skip to content

Releases: nrwl/nx

20.3.0

20 Dec 18:03
Compare
Choose a tag to compare

20.3.0 (2024-12-20)

🚀 Features

  • angular: support ngrx v19 (#29398)
  • core: support rollup.config.ts (#28240)
  • core: use custom resolution to resolve from source local plugins with artifacts pointing to the outputs (#29222)
  • core: add spinners when graph compute takes long time (#28966)
  • core: not exit when one plugin installation failed (#28684)
  • core: nx-plugin-checks accounts for outDir and rootDir of projects when checking file existence (#29391)
  • core: add lib/** glob to workspaces so we support it out of the box (#29403)
  • core: show progress on ci if graph construction takes longer than expected (#29392)
  • eslint: rename eslint.config.js to eslint.config.cjs to resolve them as CommonJS (#29334)
  • expo: upgrade Expo to v52 (#29142)
  • js: update vue/node app and lib generators to support TS solutions (#29299)
  • misc: handle artifact generators' path options including file extensions (#29111)
  • nx-dev: link more customer videos on enterprise page (7498e470fa)
  • nx-plugin: added support for vitest test runner (#29140)
  • release: allow automated git push from version or changelog step (#29280)
  • rsbuild: add intial package (#29147)
  • rsbuild: add inferred targets plugin (#29192)
  • rsbuild: add rsbuild configuration generator (#29321)
  • rsbuild: add react and vue support for app generation (#29349)
  • rsbuild: move plugin export to root of package (#29415)
  • storybook: use createNodesV2 for init and convert-to-inferred generators (#28092)
  • testing: allow custom address for local registry (#29050)
  • vite: add angular option to vitest generator (#29055)

🩹 Fixes

  • typo in environment-variables.md (#29294)
  • angular: handle removed angular-eslint rules in root eslint config files and update package (#29262)
  • angular: normalize prerender and appShell options of the application executor correctly (#29281)
  • angular: correctly normalize dev-server options (#29322)
  • angular: add-localize-polyfill-to-targets fails if polyfills is a string (#29324)
  • angular: normalize name when forced to build selector (#29417)
  • angular: set up host and remote ssr apps correctly #29442 (#29447, #29442)
  • bundling: ensure vitest timestamp files are ignored (#29418)
  • core: add workspaces path if package path is not included (#28824)
  • core: fix process being prevented from exiting (#29240)
  • core: defer loading package manager until necessary (#29248)
  • core: hashing fixes (#29247)
  • core: Update bundlers to not typecheck if using new TS solution setup (#29227)
  • core: ensure @nx/module-federation is listed in package group (#29292)
  • core: ensure rsbuild is part of nx package group (#29310)
  • core: avoid storing hash details for empty fileset (#29316)
  • core: resolve imports from linked workspace projects (#29328)
  • core: collect all logs from forked processes (#27778)
  • core: Update move/remove workspace generators to work with ts project references (#29331)
  • core: Adding react apps/libs to workspaces so they can be referenced. (#29202)
  • core: make packageExports metadata optional field (#29407)
  • core: graph spinners should update properly (#29433)
  • core: update yarn-parser to handle yarn v4 syntax (#29067)
  • gradle: cache gradle report (#29381)
  • js: switch from fast-glob to tinyglobby (#29141)
  • js: ensure typescript-sync generator produces formatted references when no prettier is installed (#29368)
  • js: Configure typescript plugin to handle non-buildable libs (#29393)
  • js: handle resolution from within node_module in the sync generator (#29412)
  • misc: ensure tsBuildInfoFile is generated inside outDir (#29343)
  • misc: fix misc generation issues with the ts solution setup (#29350)
  • module-federation: ensure @nx/module-federation package is installed for users (#29416)
  • module-federation: dynamic federation helpers should normalize remote names (#29427)
  • nuxt: change tsconfig path on server part (#28864)
  • nx-dev: update Nx Cloud proj created (#29272)
  • nx-dev: update hero image on blog post (#29405)
  • react: add files entry for publishable libraries (#29277)
  • react: assert test property is defined on webpack rule in nx-react-webpack-plugin (#27525)
  • react: fix issues with react ts setup (#29312)
  • react: fix tailwind for react library and component (#29319)
  • react-native: default template fails when envs are not set (#28931)
  • react-native: typescript lib schema (#27955)
  • react-native: fix react native storybook for lib (#29210)
  • release: use prepatch version for pre-release dependent package updates (#29123)
  • release: make commits separator in git log command more unique (#29261)
  • repo: cleanup old plugins promise (#29295)
  • rsbuild: set publish config correctly (#29282)
  • storybook: only install react deps for storybook 7 #29213 (#29231, #29213)
  • storybook: ensure 'storybook' dep is installed for non-crystal workspaces (#29235)
  • testing: force node10 module resolution for jest atomized tasks (#29421)
  • ⚠️ vite: generate config with esm by default (#29270)
  • vite: resolves files with dot suffixes correctly (#28518)
  • webpack: Add useTsconfigPaths to app-webpack-plugin (#29291)

⚠️ Breaking Changes

  • ⚠️ vite: generate config with esm by default (#29270)

❤️ Thank You

20.3.0-rc.0

19 Dec 22:30
0980006
Compare
Choose a tag to compare
20.3.0-rc.0 Pre-release
Pre-release

20.3.0-rc.0 (2024-12-19)

🚀 Features

  • angular: support ngrx v19 (#29398)
  • core: nx-plugin-checks accounts for outDir and rootDir of projects when checking file existence (#29391)
  • core: add lib/** glob to workspaces so we support it out of the box (#29403)
  • core: show progress on ci if graph construction takes longer than expected (#29392)
  • eslint: rename eslint.config.js to eslint.config.cjs to resolve them as CommonJS (#29334)
  • release: allow automated git push from version or changelog step (#29280)
  • rsbuild: add react and vue support for app generation (#29349)
  • rsbuild: move plugin export to root of package (#29415)

🩹 Fixes

  • angular: normalize name when forced to build selector (#29417)
  • bundling: ensure vitest timestamp files are ignored (#29418)
  • core: Adding react apps/libs to workspaces so they can be referenced. (#29202)
  • core: make packageExports metadata optional field (#29407)
  • core: graph spinners should update properly (#29433)
  • js: Configure typescript plugin to handle non-buildable libs (#29393)
  • js: handle resolution from within node_module in the sync generator (#29412)
  • module-federation: ensure @nx/module-federation package is installed for users (#29416)
  • module-federation: dynamic federation helpers should normalize remote names (#29427)
  • nx-dev: update hero image on blog post (#29405)
  • testing: force node10 module resolution for jest atomized tasks (#29421)

❤️ Thank You

20.3.0-beta.1

17 Dec 19:22
0329cad
Compare
Choose a tag to compare
20.3.0-beta.1 Pre-release
Pre-release

20.3.0-beta.1 (2024-12-17)

🚀 Features

  • core: support rollup.config.ts (#28240)
  • core: use custom resolution to resolve from source local plugins with artifacts pointing to the outputs (#29222)
  • core: add spinners when graph compute takes long time (#28966)
  • core: not exit when one plugin installation failed (#28684)
  • expo: upgrade Expo to v52 (#29142)
  • js: update vue/node app and lib generators to support TS solutions (#29299)
  • rsbuild: add rsbuild configuration generator (#29321)
  • vite: add angular option to vitest generator (#29055)

🩹 Fixes

  • typo in environment-variables.md (#29294)
  • angular: correctly normalize dev-server options (#29322)
  • angular: add-localize-polyfill-to-targets fails if polyfills is a string (#29324)
  • core: ensure rsbuild is part of nx package group (#29310)
  • core: avoid storing hash details for empty fileset (#29316)
  • core: resolve imports from linked workspace projects (#29328)
  • core: collect all logs from forked processes (#27778)
  • core: Update move/remove workspace generators to work with ts project references (#29331)
  • gradle: cache gradle report (#29381)
  • js: ensure typescript-sync generator produces formatted references when no prettier is installed (#29368)
  • misc: ensure tsBuildInfoFile is generated inside outDir (#29343)
  • misc: fix misc generation issues with the ts solution setup (#29350)
  • react: assert test property is defined on webpack rule in nx-react-webpack-plugin (#27525)
  • react: fix issues with react ts setup (#29312)
  • react: fix tailwind for react library and component (#29319)
  • react-native: fix react native storybook for lib (#29210)
  • vite: resolves files with dot suffixes correctly (#28518)
  • webpack: Add useTsconfigPaths to app-webpack-plugin (#29291)

❤️ Thank You

20.3.0-beta.0

10 Dec 20:57
a267063
Compare
Choose a tag to compare
20.3.0-beta.0 Pre-release
Pre-release

20.3.0-beta.0 (2024-12-10)

🚀 Features

  • misc: handle artifact generators' path options including file extensions (#29111)
  • rsbuild: add intial package (#29147)
  • rsbuild: add inferred targets plugin (#29192)
  • storybook: use createNodesV2 for init and convert-to-inferred generators (#28092)
  • testing: allow custom address for local registry (#29050)

🩹 Fixes

  • angular: handle removed angular-eslint rules in root eslint config files and update package (#29262)
  • angular: normalize prerender and appShell options of the application executor correctly (#29281)
  • core: add workspaces path if package path is not included (#28824)
  • core: fix process being prevented from exiting (#29240)
  • core: defer loading package manager until necessary (#29248)
  • core: hashing fixes (#29247)
  • core: Update bundlers to not typecheck if using new TS solution setup (#29227)
  • core: ensure @nx/module-federation is listed in package group (#29292)
  • js: switch from fast-glob to tinyglobby (#29141)
  • nx-dev: update Nx Cloud proj created (#29272)
  • react: add files entry for publishable libraries (#29277)
  • react-native: default template fails when envs are not set (#28931)
  • react-native: typescript lib schema (#27955)
  • release: use prepatch version for pre-release dependent package updates (#29123)
  • release: make commits separator in git log command more unique (#29261)
  • repo: cleanup old plugins promise (#29295)
  • rsbuild: set publish config correctly (#29282)
  • storybook: only install react deps for storybook 7 #29213 (#29231, #29213)
  • storybook: ensure 'storybook' dep is installed for non-crystal workspaces (#29235)
  • ⚠️ vite: generate config with esm by default (#29270)

⚠️ Breaking Changes

  • ⚠️ vite: generate config with esm by default (#29270)

❤️ Thank You

20.2.2

10 Dec 22:37
68db3e0
Compare
Choose a tag to compare

20.2.2 (2024-12-10)

🚀 Features

  • misc: handle artifact generators' path options including file extensions (#29111)
  • testing: allow custom address for local registry (#29050)

🩹 Fixes

  • angular: handle removed angular-eslint rules in root eslint config files and update package (#29262)
  • angular: normalize prerender and appShell options of the application executor correctly (#29281)
  • core: defer loading package manager until necessary (#29248)
  • core: hashing fixes (#29247)
  • core: Update bundlers to not typecheck if using new TS solution setup (#29227)
  • core: ensure @nx/module-federation is listed in package group (#29292)
  • js: switch from fast-glob to tinyglobby (#29141)
  • nx-dev: update Nx Cloud proj created (#29272)
  • react: add files entry for publishable libraries (#29277)
  • react-native: default template fails when envs are not set (#28931)
  • react-native: typescript lib schema (#27955)
  • release: use prepatch version for pre-release dependent package updates (#29123)
  • release: make commits separator in git log command more unique (#29261)
  • repo: cleanup old plugins promise (#29295)
  • ⚠️ vite: generate config with esm by default (#29270)

⚠️ Breaking Changes

  • ⚠️ vite: generate config with esm by default (#29270)

❤️ Thank You

20.2.1

06 Dec 23:43
41d0df6
Compare
Choose a tag to compare

20.2.1 (2024-12-06)

🩹 Fixes

  • core: add workspaces path if package path is not included (#28824)
  • core: fix process being prevented from exiting (#29240)
  • storybook: only install react deps for storybook 7 #29213 (#29231, #29213)
  • storybook: ensure 'storybook' dep is installed for non-crystal workspaces (#29235)

❤️ Thank You

20.2.0

05 Dec 21:50
2e98918
Compare
Choose a tag to compare

20.2.0 (2024-12-05)

🚀 Features

  • angular: add poll option to ng-packagr executors (#28909)
  • angular: add support for angular v19 (#28847)
  • angular: add migration to disable @angular-eslint/prefer-standalone when not set (#29164)
  • angular: use new test environment function from jest-preset-angular (#29169)
  • angular: update analog packages (#29187)
  • angular: add migration to remove angular eslint rules removed in v19 (#29214)
  • angular: add migration to remove the tailwindConfig option from ng-packager executors (#29220)
  • core: add eslint vscode extension on eslint init (#28573)
  • core: improve sync messages (#29149)
  • misc: replace tutorials with social links in create-nx-workspace (#29085)
  • module-federation: add initial module-federation package (#28783)
  • module-federation: consolidate module federation utils into module-federation package (#28919)
  • module-federation: migrate to latest (#29005)
  • module-federation: move withModuleFederation for angular to new package (#29021)
  • module-federation: move withModuleFederation for webpack to new package (#29031)
  • module-federation: move withModuleFederation for rspack to new package (#29045)
  • module-federation: move common executor logic to module-federation package (#29151)
  • module-federation: alias host and remote generators to consumer and producer (#29190)
  • nx-dev: version picker (#28828)
  • nx-dev: update top-level navbar (9921496d64)
  • nx-plugin: add support for the ts solution config setup to the @nx/plugin plugin (#28724)
  • react: update app and lib generators to support new TS solution setup (#28808)
  • rollup: use .cjs file extension for config files (#29196)
  • rspack: move logic for withNx to applyBaseConfig and bring in line with webpack (#28825)
  • rspack: update withReact plugin for parity with webpack plugin (#28812)
  • rspack: update executor to be in line with webpack (#28913)
  • rspack: add NxAppRspackPlugin and NxReactRspackPlugin (#28987)
  • rspack: migrate to latest rspack versions (#29004)
  • rspack: add convert-to-inferred generator (#29012)
  • rspack: Update configuration generator to support NxRspackAppPlugin (#29024)
  • storybook: upgrade @storybook/test-runner to 0.19 (#28959)
  • storybook: add support for TS solutions file (#29194)

🩹 Fixes

  • angular: when unit test runner is set to none library component should not generate spec file (#28906)
  • angular: make scam-to-standalone replace correct module (#29014)
  • angular: ngrx-root-store generator check ngModule path (#29068)
  • core: set default branch to main if no git (#28854)
  • core: lower socket path by 10 chars to reduce chances of too-long paths (#28920)
  • core: create different dummy tasks for different parent tasks an… (#28923)
  • core: typo in readme for CNW (#28942)
  • core: ensure process is kept alive when plugin communication in progress (#28948)
  • core: add missing supported CI providers to NxCloud type (#29008)
  • core: gracefully handle non-existent files in find_imports (#29027)
  • core: handle self shutdown for plugin workers is orphaned before connections and loading (1bf0e67e1b)
  • core: don't generate nxCloudId if running nx connect through nx console (#29060)
  • core: update to the async version of getting powerpack information (#29088)
  • core: fix misc issues (#29114)
  • core: provide a way to reuse cached graph in CI (#29156)
  • core: use fork to execute nx generate workspace:preset (#29122)
  • core: Update preset test snapshots and test names (#29172)
  • core: move resolving plugins back to main thread (#29176)
  • core: recreate db when unable to connect (#29207)
  • core: skip nx cloud prompt when interactive is false (#28949)
  • gradle: change gradle glob to include root gradlew (#29206)
  • gradle: read tasks from properties report (#29124)
  • gradle: fix gradle unit test (#29224)
  • js: handle outputFileName correctly when generating package json (#28915)
  • js: skip tsc batch builds for implicit dependencies (#28840)
  • js: normalize paths correctly when creating temporary tsconfig file for incremental builds (#29121)
  • js: generate multiline project references in the sync generator (#29148)
  • linter: remove legacy dependencies during convert to flat config (#28981)
  • linter: move eslint-config-prettier to the end for proper override (#28503)
  • misc: update artifact generator option descriptions and cleanup leftovers (#29077)
  • misc: use the ts sync generator with other bundler tasks (#29170)
  • module-federation: migration does not handle external nodes and errors (#29075)
  • module-federation: use 'hoisted' runtime for node to prevent issues with eager sharing (#29104)
  • nest: repair nestjs service generator schema (#28928)
  • nest: Fix generators (guard, interceptor etc...) path to not duplicate when provided (#29084)
  • nest: update project config to enable artifacts to be built as dev (#29110)
  • nextjs: fix next e2e test to ensure playwright installed (#29000)
  • nextjs: ensure next apps config is correctly checked when using jest (#29066)
  • nextjs: Add support for next.config.ts for executors (#29071)
  • nx-dev: update course API to ignore system OS Metadata file (#28886)
  • nx-dev: disable notifier for now (fc2016cc8a)
  • nx-dev: breadcrumb casing (#29032)
  • react: None buildable libs should not have a build target (#29175)
  • release: remove duplicate space character in changelog thank you header (#28664)
  • release: set make_latest legacy during github release creation (#29197)
  • release: skip changelog generation for projects without available version data (#29212)
  • remix: remove tooling packages from generated package.json since they are installed in the root (#29009)
  • remix: update app generator with valid package.json without Prettier (#29218)
  • remix: update lib generator to generate valid names in package.json (#29219)
  • rspack: ensure swc provides react runtime automatically (#28916)
  • rspack: withModuleFederationForSSR should use commonjs-module as library (#28944)
  • rspack: do not global styles as entrypoints (#28941)
  • rspack: buildLibsFromSource option (#28994)
  • rspack: Add webpack as a dependency for fork-ts-checker-plugin ([#29033](https://github.com/nrwl/n...
Read more

20.2.0-rc.0

05 Dec 16:32
7c25cf1
Compare
Choose a tag to compare
20.2.0-rc.0 Pre-release
Pre-release

20.2.0-rc.0 (2024-12-05)

🚀 Features

  • angular: add migration to remove angular eslint rules removed in v19 (#29214)
  • angular: add migration to remove the tailwindConfig option from ng-packager executors (#29220)
  • module-federation: alias host and remote generators to consumer and producer (#29190)
  • rollup: use .cjs file extension for config files (#29196)
  • storybook: add support for TS solutions file (#29194)

🩹 Fixes

  • core: recreate db when unable to connect (#29207)
  • release: set make_latest legacy during github release creation (#29197)
  • release: skip changelog generation for projects without available version data (#29212)
  • remix: update app generator with valid package.json without Prettier (#29218)
  • remix: update lib generator to generate valid names in package.json (#29219)
  • rspack: align @rspack/core versions (#29199)
  • testing: force compatible module resolution when running the jest executor (#29189)

❤️ Thank You

20.2.0-beta.7

04 Dec 15:08
bba941a
Compare
Choose a tag to compare
20.2.0-beta.7 Pre-release
Pre-release

20.2.0-beta.7 (2024-12-04)

🚀 Features

  • angular: update analog packages (#29187)

🩹 Fixes

  • core: move resolving plugins back to main thread (#29176)
  • react: None buildable libs should not have a build target (#29175)

❤️ Thank You

20.2.0-beta.6

03 Dec 21:25
3cc321d
Compare
Choose a tag to compare
20.2.0-beta.6 Pre-release
Pre-release

20.2.0-beta.6 (2024-12-03)

🚀 Features

  • angular: add migration to disable @angular-eslint/prefer-standalone when not set (#29164)
  • angular: use new test environment function from jest-preset-angular (#29169)
  • core: improve sync messages (#29149)
  • module-federation: move common executor logic to module-federation package (#29151)

🩹 Fixes

  • core: fix misc issues (#29114)
  • core: provide a way to reuse cached graph in CI (#29156)
  • core: use fork to execute nx generate workspace:preset (#29122)
  • core: Update preset test snapshots and test names (#29172)
  • js: normalize paths correctly when creating temporary tsconfig file for incremental builds (#29121)
  • js: generate multiline project references in the sync generator (#29148)

❤️ Thank You