Releases
20.0.0
20.0.0 (2024-10-07)
🚀 Features
add rspack plugin (#143 )
add rspack plugin (#143 )
upgrade rspack to 0.4.4 (#352 )
core: allow prompts from init generators during nx init (#28003 )
core: update github action pnpm version (#27815 )
core: remove node task hasher (#28147 )
core: allow circular project dependencies to execute tasks (#28227 )
core: deprecate custom task runners (#28253 )
core: open sqlite databases with SQLITE_OPEN_FULL_MUTEX
(#28276 )
core: enable db cache by default (#28048 )
devkit: bump compatibility to Nx 19 - 21.x (#28243 )
graph: enable composite graph functionality (#27789 )
graph: show owners in pdv (#28211 )
js: add the setup-prettier generator (#27996 )
js: generate experimental simplified library with ts solution setup (#27910 )
js: new workspace uses scoped named in root package.json (#28271 )
linter: update eslint-import-plugin to a version that supports eslint v9 (#28273 )
misc: update to Nx 16 and rescoped packages (#235 )
misc: update to Nx 16 and rescoped packages (#235 )
misc: remove derived generator paths (#27714 )
misc: remove @nrwl/ scoped packages (#27858 )
misc: make directory a required option for generators (#28093 )
misc: enable new ts minimal setup by default and guard execution of generators with no support for it (#28199 )
⚠️ misc: handle v20 deprecations in plugins (#28222 )
nx-dev: powerpack landing page (#27963 )
nx-dev: add Powerpack video to the landing page (#28126 )
nx-dev: add nx powerpack to pricing page (#28232 )
nx-dev: add nx powerpack gcp & azure mentions (#28256 )
react: make vitest the default test runner since it supports ESM and different moduleResolution better (#28153 )
⚠️ release: releasePublish always returns status code per project (#28224 )
⚠️ release: version.generatorOptions.updateDependents is "auto" by default (#28231 )
⚠️ release: rewrite ChangelogRenderer to a class API and remove deprecated config (#28229 )
repo: merge main from https://github.com/nrwl/nx-labs (e9b03641ac )
repo: merge main from https://github.com/nrwl/nx-labs (b0ffe29e55 )
repo: merge main from https://github.com/nrwl/nx-labs (23c365f426 )
rspack: update to latest rspack version (#159 )
rspack: add missing features (less/sass/stylus, assets, etc.) (#160 )
rspack: add missing features (less/sass/stylus, assets, etc.) (#160 )
rspack: clean-up project setup (#161 )
rspack: clean-up project setup (#161 )
rspack: update and pin rspack to 0.1.0 (#173 )
rspack: set mode in configuration and expose option (#177 )
rspack: install latest patch when configuring (#195 )
rspack: configuration generator better ux (#201 )
rspack: builder returns outfile (#207 )
rspack: simplify app generator (#212 )
rspack: simplify app generator (#212 )
rspack: Add extractLicenses option to rspack's project configuration (#230 )
rspack: Add extractLicenses option to rspack's project configuration (#230 )
rspack: add typecheck (#338 )
rspack: add generatePackageJson plugin (#341 )
rspack: add generatePackageJson plugin (#341 )
rspack: update rspack to install the latest version (#379 )
rspack: add option to keep existing versions of packages for init generator (#378 )
rspack: support object configs (#402 )
rspack: add crystal plugin for inferring projects (#407 )
rspack: add crystal plugin for inferring projects (#407 )
rspack: bump to latest rspack (#412 )
rspack: add module federation support (#416 )
rspack: add module federation support (#416 )
rspack: add module-federation-static-server (#418 )
rspack: move rspack into main nx repo (#27969 )
storybook: remove cypress options for e2e testing (#27850 )
testing: update test generators to exclude test files from the runtime tsconfig file (#27991 )
🩹 Fixes
angular: ensure async webpack configs are awaited #28200 (#28213 , #28200 )
angular: ensure @typescript-eslint/utils is used with eslint flat config (#28267 )
bundling: remove unused babel-plugin-transform-async-to-promises
from @nx/rollup
(#27669 )
core: allow creating a db cache without linking task details (#28023 )
core: fix output text for multiple targets (#28043 )
core: sort projects after updating from context (#28024 )
core: add flag when db is disabled for task history (#28059 )
core: set windowsHide: true wherever possible (#28073 )
core: support more structured errors in sync generators (#28075 )
core: nx add should show errors (#28079 )
core: several powerpack fixes (#28088 )
core: remove wasi compatibility while db is unsupported in wasi (#28089 )
core: hide no file server process json log (#27626 )
core: fix output for 0 task (#28122 )
core: log error for runTaskInForkedProcess (#28078 )
core: remove strong-log-transformer (#28094 )
core: calculate project dependencies upfront in the schedule (#28152 )
core: only stop daemon if enabled (#28146 )
core: adjust nx import messaging without relative source dir (#28052 )
core: move getDetails to top (#28158 )
core: fix env override run command (#28156 )
core: fix link to powerpack plugins (#28182 )
core: Remove nameAndDirectoryFormat option from generators (#28110 )
core: remove axios import from main code loading (#28230 )
core: change getCache signature to only accept options (#28248 )
core: allow prompts during nx add (#28247 )
core: add stub for conformance:check, add messaging (#28250 )
core: filter out task dependencies on itself (#28261 )
core: handle unique constraint errors when adding duplicate hashes to the cache db (#28310 )
expo: change force to be an option for yarn (#28115 )
graph: add spacing between graph details top (#28055 )
js: ensure prettier is available for generators if it is meant to be installed (#28082 )
js: @nx/js:init ensures tslib is installed if importHelpers is true (#28083 )
js: handle ts project refs pointing to non-existing files and prune ts refs for projects with no deps (#28130 )
js: improve typescript-sync generator messaging (#28162 )
js: generate nx release config correctly for js libraries in new ts setup and set tags (#28218 )
js: throw an error when generating a publishable lib with --bundler=none
(#28221 )
js: resolve VerdaccioWarning on the "logs" configuration property (#28234 )
linter: do not generate docs.recommended property (#28009 )
linter: ignore dist and use compat helper for eslint-plugin-react-hooks (#28080 )
linter: add files entry to angular flat config to avoid applying TS rules to JSON files (#28102 )
misc: replace missed references to @nrwl scope (#239 )
misc: target commonjs for legacy packages (#241 )
module-federation: pin mf enhanced version (#28196 )
module-federation: exports could be objects and not strings #28129 (#28215 , #28129 )
module-federation: additionalShared should check node_modules when applying to support transitive deps #28137 (#28216 , #28137 )
module-federation: normalize kebab-cased names to snake_cased (#28237 )
nx-cloud: use create-workspace-v1 endpoint if v2 returns with 404 (#28015 )
nx-dev: adjust powerpack mobile view (fc39beae7a )
nx-dev: options of the affected are messed up (#28112 )
nx-dev: Update Power pack docs to include OSS projects (#28176 )
nx-dev: Blog url (#27597 )
nx-dev: 404 urls (#27599 )
nx-dev: fix markdoc table data alignment (#28274 )
react: vite should be default bundler in app generator (#28013 )
react: setup-ssr generator should infer bundler based on the executor for build #28128 (#28217 , #28128 )
react: host generator should pass normalized name to remote generator (#28295 )
release: allow dynamically continuing when current version is unresolvable (#28034 )
release: add groupPreVersionCommand to schema, improve logging (#28087 )
release: ensure updateDependents only works for independent projects (#28283 )
repo: fix publishing for legacy packages (#240 )
repo: fix publishing for legacy packages (#240 )
repo: add json files to assets (#243 )
rspack: use correct app dir when generating non-root projects (#162 )
rspack: use correct app dir when generating non-root projects (#162 )
rspack: fix rspack build (cab70e5487 )
rspack: handle existing stylePreprocessorOptions (#182 )
rspack: add dependency to ajv-keywords that match the version used by rspack (#187 )
rspack: pass devServer options to devServer (#193 )
rspack: set externals for target node (#194 )
rspack: add withWeb if web app (#200 )
rspack: use ensureTypescript before tsquery (#215 )
rspack: implement watch mode (#217 )
rspack: do not force cssmodules (#222 )
rspack: use builtin minify instead (#172 )
rspack: use built-in tsconfig paths support (#227 )
rspack: add back resolve.alias
configuration since resolve.tsConfigPaths
seem to be incorrect in some scenarios (#229 )
rspack: lock version to 0.1.11 (#279 )
rspack: refine output filename patterns (#280 )
rspack: add missing license-webpack-plugin dependency (#301 )
rspack: add fileReplacements support (#231 )
rspack: Add missing peer dep (#372 )
rspack: do not depend directly on ajv to allow for correct hoisting (#384 )
rspack: ensure react-refresh is installed (#385 )
rspack: User port should be respected. (#387 )
rspack: add postcss-loader for css files (#415 )
rspack: add hook for dev server to log when compilation completed (#417 )
rspack: ensure process is default import (#420 )
rspack: pin rspack to 1.0.5 (b1dae52101 )
rspack: update url repository url (#28181 )
storybook: only add @storybook/test-runner to externalDependencies if installed (#28060 )
testing: add support for playwright --last-failed (#28161 )
testing: migration for getJestProjects -> getJestProjectsAsync handles both CJS and ESM (#28299 )
testing: getJestProjectsAsync no longer duplicates project paths (#28311 )
⚠️ Breaking Changes
⚠️ misc: handle v20 deprecations in plugins (#28222 )
⚠️ release: rewrite ChangelogRenderer to a class API and remove deprecated config (#28229 )
⚠️ release: version.generatorOptions.updateDependents is "auto" by default (#28231 )
⚠️ release: releasePublish always returns status code per project (#28224 )
❤️ Thank You
You can’t perform that action at this time.