Skip to content

Releases: nrwl/nx

Release 10.3.3

09 Nov 17:03
Compare
Choose a tag to compare

Bug Fixes

  • core: remove nx-cloud from the list of core deps used by migrate (19ec5d6)

Release 10.3.2

03 Nov 23:00
Compare
Choose a tag to compare

Bug Fixes

  • core: fix formatting of strings with periods (#3928) (eecde52)
  • core: fix resolving imports that cannot be resolved via typescript (5afd3ec)
  • core: fix resolving npm dependencies (#3963) (874f222)
  • core: handle spaces in workspace path (701eca7), closes #3919
  • storybook: include storybook v5 project schematics (#3996) (f86a043)

Release 10.3.1

16 Oct 17:23
Compare
Choose a tag to compare

Bug Fixes

  • linter: migration should not include patterns from node_modules (#3880) (b5de2f4)
  • react: support vendor sourcemap option for web build (#3902) (c84ad40)
  • storybook: move 10.0.12 migration to 10.3.1 because it was relea… (#3901) (30924e7)
  • testing: fix ts-jest migration (#3900) (bc6e6b9)

Features

  • nextjs: add nextConfig option for nextjs build builder to provide customization (#3899) (af15cb0)
  • repo: update nx to 10.3.1-beta.1 (#3925) (d7578d5)

Release 9.7.1

16 Oct 17:20
Compare
Choose a tag to compare

Bug Fixes

  • core: add forwardAllArgs option to run-commands builder (#3559) (507c1b6), closes #3335
  • core: enable intelligent tsconfig changes in tsconfig.base.json (#3768) (6eedf58)
  • core: fix decorate angular-cli script to work for production installs (6377cef)
  • core: fix resolving projects for imports to '..' (#3846) (439d5d8)
  • core: fix resolving projects for imports to '.' (#3839) (8c85bf9)
  • core: git hasher should handle unstaged files with spaces (ed5f3a6)
  • core: improve performance of analyzing npm dependencies (#3755) (9c5c5fe)
  • core: read tsconfig.json instead of tsconfig.base.json (#3745) (cbf12f0)
  • core: remove invalid --plain flags from affected commands (ab943ae)
  • core: update the version of yargs to fix npm audit (4ea6ef8)
  • core: update version of yargs-parser (#3754) (3f3a58f)
  • docs: Misnamed link in sidebar (#3762) (54c3d8d)
  • misc: increase buffer limit of run-commands (25c2ba0)
  • misc: upgrade version of yargs-parser (#3751) (156dd33), closes #3105
  • repo: fix broken tests (589a480)
  • repo: fix publish script (480c01d)

Features

  • core: add a prompt when using --scan without nx-cloud (52c9bc7)
  • core: add nest preset (0759213)
  • core: add scan to list of supported flags (f19c5df)
  • core: optimize project locator perf (46454aa)
  • docs: add node document generation (5904c3e)

Release 10.3.0

04 Oct 15:40
Compare
Choose a tag to compare

Notes

  • There may be some issues for users migrating from 10.2.x, you might see this error: notarget No matching version found for @nrwl/[email protected].. Please follow the instructions in the error message and do the following:
    • npm install --save-dev @nrwl/workspace@latest
    • nx migrate @nrwl/workspace@latest --from="@nrwl/[email protected]"
    • See here for more information

Bug Fixes

  • angular: add tsconfig.editor.json to catch misc files" (#3810) (6885507)
  • angular: fix ng add for angular cli 10.1 (#3771) (ae17586)
  • core: combine npm and project locators to scan files only once (970a60d)
  • core: declare cli as direct dependency (21bbd1e), closes #2944
  • core: enable intelligent tsconfig changes in tsconfig.base.json (#3768) (c2a1946)
  • core: fix decorate angular-cli script to work for production installs (5e8c57a)
  • core: fix lint failures for npm packages (#3827) (f057978)
  • core: fix linter prompt in create-nx-workspace (#3845) (b45734b)
  • core: fix possible memory leak warning from task orchestrator (6d9ff59)
  • core: fix process hanging for ctrl C (#3856) (8e519cd)
  • core: fix resolving projects for imports to '..' (#3846) (655143e)
  • core: fix resolving projects for imports to '.' (#3839) (e688541)
  • core: improve performance of analyzing npm dependencies (#3755) (6603889)
  • core: migrate to latest version of @nrwl/nx-cloud (f0bb232)
  • docs: Misnamed link in sidebar (#3762) (231e666)
  • docs: update image links for console (#3841) (0371657)
  • docs: Updating size of youtube embeds (#3798) (d1f740e)
  • linter: add root .eslintrc.json to implicit deps (#3852) (da6f987)
  • linter: fix performance issues with boundaries lint checks (4a942d9)
  • linter: remove duplicate migration of disabling explicit-module-boundary-types (#3837) (f2585ae)
  • linter: run migration for targets that are not lint (#3850) (ad56f57)
  • linter: use the tsConfig option to find tsconfigs for eslint migration (#3853) (a8db1f7)
  • node: update all webpack-dev-server versions (e50b2c2)
  • node: update yarn vulnerability in webpack-dev-server (a3a4818)
  • nx-plugin: remove root dir in tsconfig from newly generated plugins (be92108)
  • react: calculate npm project dependencies correctly (#3804) (ea71278)
  • repo: add migration for cli dependency (#3820) (01d8c98)
  • repo: lookup for installed plugins in package.json (341cc6b)
  • repo: optimize workspace aux commands test (#3830) (91ca9dd)
  • repo: tests and e2e, enable linting for workspace to set baseline (#3790) (122afe7)
  • repo: update the version of nx-cloud that set NX_BRANCH and NX_RUN_GROUP automatically (7582aab)
  • storybook: fix .eslintrc.json being undefined when adding storybook to project (#3851) (6fb780e)
  • storybook: migration of tsconfig when now tsconfig.lib.json is present (#3786) (b19d293)
  • web: adding missing @rollup/plugin-json dependency (#3783) (c382feb)

Features

  • core: add flag to set dependant libs in either peerDependencies or dependencies (#3078) (3f436fc)
  • core: add user-friendly error on invalid input (adc34f8)
  • core: sort dependencies and devDependencies (#3806) (c3334d0)
  • core: update recommended extensions for new workspaces (#3823) (ac1a0e2)
  • core: update to typescript 4 (#3814) (232fd9f)
  • docs: Adding videos for Angular tutorials (#3787) (c9e167b)
  • docs: Adding videos for React tutorials (#3791) (6e76488)
  • linter: add explicit file extension to config files (#3847) (e339ece)
  • linter: new eslint builder (#3834) (e22f937)
  • misc: add linter flag to create-nx-workspace (#3826) (c25628a)
  • repo: check package dependencies on CI (9153007)
  • repo: update to Nx 10.2.1 (#3757) (38cf2a8)
  • repo: update to nx 10.3 (#3840) (6c4aacf)
  • storybook: add support for Storybook v6 (5da9e66)
  • storybook: storybook config projectType application (#2382) (#3611) (9efa305)
  • testing: add projects into jest config (#3766) (e6e2dc6)

Release 10.2.1

17 Sep 21:31
Compare
Choose a tag to compare

Bug Fixes

  • angular: properly generate storybook stories across barrel files (#3662) (929f2f4)
  • core: allow-tsconfig.json for project graph (ed79761)
  • core: correctly alias format:write to format (ebe49c7)
  • core: update version of yargs-parser (#3754) (14987f9)
  • misc: updates the mv schematic to cope with libs created with --importPath (001b6ee), closes #3476
  • misc: upgrade version of yargs-parser (#3751) (c510cdd), closes #3105
  • node: remove the edge from the node package to angular (3e3b4be)
  • node: set noEmitOnError to always true, and show diagnostic messages from ts (#3697) (87ded43)
  • storybook: tsconfig extends mapping (d34c3e6)

Features

  • angular: update jest-preset-angular library to v8.3.1 (d07ab51)
  • core: adds ability for outputs to be files and not just folders (b548f1a)
  • core: fix typo on ci config (#3721) (faf451a)
  • web: added rollup json plugin to web package builder (#3666) (434cb21)

Release 9.7.0

17 Sep 21:23
14987f9
Compare
Choose a tag to compare

Bug Fixes

  • core: git hasher should handle unstaged files with spaces (ed5f3a6)
  • core: read tsconfig.json instead of tsconfig.base.json (#3745) (cbf12f0)
  • core: remove invalid --plain flags from affected commands (ab943ae)
  • core: update the version of yargs to fix npm audit (4ea6ef8)
  • core: update version of yargs-parser (#3754) (3f3a58f)
  • misc: upgrade version of yargs-parser (#3751) (156dd33), closes #3105
  • repo: fix publish script (480c01d)

Features

  • core: add a prompt when using --scan without nx-cloud (52c9bc7)
  • core: add nest preset (0759213)
  • core: add scan to list of supported flags (f19c5df)
  • core: optimize project locator perf (46454aa)
  • docs: add node document generation (5904c3e)

Release 10.2.0

11 Sep 20:57
Compare
Choose a tag to compare

Bug Fixes

  • angular: generate storybook configuration with proper linter (#3580) (d796731)
  • angular: replace addAll with setAll in ngrx schematic (#3699) (78576e7), closes #3698
  • angular: respect useDataPersistence flag when creating ngrx effects (#3537) (f549357), closes #2448
  • angular: use @schematics/angular when setting style defaults (2c1d99e)
  • core: add forwardAllArgs option to run-commands builder (#3559) (9b49062), closes #3335
  • core: add a workaround for potential bugs in git hasher (#3521) (ab96bcc)
  • core: do not run update task if package is not installed (#3523) (3b1a9b6)
  • core: don't alter trailing newlines from package.json during migration (8938256), closes #3628
  • core: dont override sigint (34df63d)
  • core: explicitly store workspace files instead of deriving them from hashes (f93346f)
  • core: git hasher should handle unstaged files with spaces (cb15498)
  • core: handle projects build assets option being empty (#3591) (95dd857), closes #3590
  • core: honor workspace layout with workspace move schematic (921b781)
  • core: remove an invalid link (7df4ee1)
  • core: remove defaultProject in workspace when removing project (fb01c40), closes #3511
  • core: remove invalid --plain flags from affected commands (c275dcd)
  • core: respect nxignore when using git hashing (b03a5d8)
  • core: set status code to 2 when sigint (28fbd5c)
  • core: task-orchestrator properly handles arguments (#3560) (2d1da6b), closes #3450
  • core: tests (bf3661e)
  • core: type in workspace.json (afac057)
  • core: update copy-webpack-plugin (#3514) (0644c6b), closes #3506
  • core: update the version of yargs to fix npm audit (326bff6)
  • core: use tsconfig.*?.json in root eslintrc (#3447) (4b646ec)
  • docs: apollo-react blog post link (6bc63d5)
  • docs: fix broken link in Computational Cache tutorial (#3582) (a409a2c)
  • docs: fix typo in tutorials (7476fdf)
  • docs: github links (621cef9)
  • linter: exit node process successfully when maxWarnings is set (#3646) (cee55a8), closes #3644 #3644
  • linter: include project's dts files when linting (cbb342d), closes #3193
  • misc: allow --js flag to be passed to @nrwl/web:lib schematic (#3230) (afd99b2), closes #2985
  • misc: fixed collection workspace module cannot be resolved (ea2420c)
  • misc: fixed nx help menu typo (9d8addc)
  • misc: format only workspace projects with libs-and-apps (#3498) (9c5028e)
  • misc: increase buffer limit of run-commands (f96377b)
  • misc: remove deprecated jest builder options from schematic (#3630) (556385c), closes #3505
  • nextjs: add project deps to package.json when bulding nextjs apps (#3594) (e021f74), closes #3062
  • nextjs: fix Next.js schematics to support dynamic routes and remove unnecessary next plugins (as of 9.5) (#3574) (9f35646), closes #2478 #2490
  • node: add srcRootForCompilationRoot option for node package builder (#3564) (7407aa4)
  • node: do not include rootDir in tsconfig.lib.json (#3545) (3f6aae5)
  • react: fix babel preset for web to support undefined caller (#3694) (e4485d4)
  • react: support default envName behavior for babel (e.g. set through BABEL_ENV or NODE_ENV) (#3693) (d5481e5)
  • repo: disable eslint warnings (0bc6bf6)
  • repo: fix broken tests (b1a0117)
  • repo: fix e2e react tests (#3678) (afa4588)
  • repo: fix e2e tests (4e18bc0)
  • repo: fix nx-cloud configuration (f21fb80)
  • repo: registry is set incorrectly when using --local (#3513) (498e23f)
  • storybook: pass on generateCypressSpecs from React storybook schematic (#3687) (18c675a)
  • storybook: properly resolve stories when linting (#3455) (08e4ee2)
  • testing: add jest migration for 10.1.0 (#3566) (31128c3)
  • testing: handle coverageRepoters for Jest through CLI (8abc06d)
  • testing: handle cypress parameters when invoked through Angular CLI (ee4b278), closes #3571
  • web: clean output bewtween builds (#3544) (c8cb3ce), closes #3466
  • web: clean output bewtween library builds (#3547) (7fcf136)
  • web: don't run type checking for legacy build (8c49042), closes #3349
  • web: package builder correctly copies assets on Windows (655ef4a), closes #3328
  • web: remove duplicate copy webpack plugin (#3556) (d4fe781)
  • web: support baseHref on serve (#3639) (3461a86), closes #3553

Features

  • angular: update NgRx libraries to version 10.0.0 (#3543) (270433f), closes #3542
  • core: add a prompt when using --scan without nx-cloud (a615da9)
  • core: add nest preset (10d3d0d)
  • core: add nx-cloud to list of default packages to be migrated (34a66f3)
  • core: add scan to list of supported flags (a71dd85)
  • core: compile only schematics realted source when using works...
Read more

Release 10.1.0

21 Aug 19:50
Compare
Choose a tag to compare

Bug Fixes

  • angular: generate storybook configuration with proper linter (#3580) (d796731)
  • core: add a workaround for potential bugs in git hasher (#3521) (ab96bcc)
  • core: do not run update task if package is not installed (#3523) (3b1a9b6)
  • core: dont override sigint (34df63d)
  • core: explicitly store workspace files instead of deriving them from hashes (f93346f)
  • core: honor workspace layout with workspace move schematic (921b781)
  • core: remove defaultProject in workspace when removing project (fb01c40), closes #3511
  • core: respect nxignore when using git hashing (b03a5d8)
  • core: tests (bf3661e)
  • core: update copy-webpack-plugin (#3514) (0644c6b), closes #3506
  • core: use tsconfig.*?.json in root eslintrc (#3447) (4b646ec)
  • docs: fix broken link in Computational Cache tutorial (#3582) (a409a2c)
  • docs: fix typo in tutorials (7476fdf)
  • docs: github links (621cef9)
  • misc: allow --js flag to be passed to @nrwl/web:lib schematic (#3230) (afd99b2), closes #2985
  • misc: format only workspace projects with libs-and-apps (#3498) (9c5028e)
  • misc: increase buffer limit of run-commands (f96377b)
  • nextjs: fix Next.js schematics to support dynamic routes and remove unnecessary next plugins (as of 9.5) (#3574) (9f35646), closes #2478 #2490
  • node: add srcRootForCompilationRoot option for node package builder (#3564) (7407aa4)
  • node: do not include rootDir in tsconfig.lib.json (#3545) (3f6aae5)
  • repo: fix broken tests (b1a0117)
  • repo: registry is set incorrectly when using --local (#3513) (498e23f)
  • testing: add jest migration for 10.1.0 (#3566) (31128c3)
  • web: clean output bewtween builds (#3544) (c8cb3ce), closes #3466
  • web: clean output bewtween library builds (#3547) (7fcf136)
  • web: remove duplicate copy webpack plugin (#3556) (d4fe781)

Features

  • core: add scan to list of supported flags (a71dd85)
  • core: support globs for file paths in implicitDependencies (#3554) (e859264), closes #625
  • nextjs: update nextjs and related packages to current version (9.5.1) (#3485) (4e06d83)
  • node: add nest schematics with project option (#3304) (028e54e)
  • testing: pass reporter and reporterOptions to cypress builder (#3536) (78ed02c)
  • testing: update jest to v26 (#3449) (2569b02)

Release 10.0.13

19 Aug 21:21
Compare
Choose a tag to compare

Bug Fixes

  • core: add a workaround for potential bugs in git hasher (#3521) (c21454e)
  • core: dont override sigint (1cfe419)
  • core: explicitly store workspace files instead of deriving them from hashes (f75adb8)
  • core: respect nxignore when using git hashing (550fabb)