Skip to content

16.2.0

Compare
Choose a tag to compare
@vsavkin vsavkin released this 17 May 13:34
· 4788 commits to master since this release
6f9c58c

16.2.0 (2023-05-17)

Bug Fixes

  • angular: handle ngrx imports for apps that do not migrate to config file (#16812) (6728bbb)
  • angular: improve prefix handling across generators (#16913) (284feda)
  • angular: read angularjson from the dir provided by the angular cli (428b0c9)
  • angular: update import paths relative to app config file location in migration extracting the config (#16863) (7d42d88)
  • angular: warn in ng-packagr executors when finding conflicting package export conditions (#16905) (bdfb10d)
  • core: add missing await when processing task for batches (#17027) (5141c9f)
  • core: ensure yarn findOriginalKeys matches mixed aliases (#16886) (e481cd5)
  • core: fix handling of simple dependsOn target string (#16932) (d853ba2)
  • core: fix version report when version is missing (#16888) (c9a7cd8)
  • core: handle schema property with const value (#16797) (d83184d)
  • core: keep all explicit dependencies in the graph (#16576) (ae5cdcb)
  • core: match all occurences when substituting tokens in targetDef… (#16783) (f0a1c33)
  • core: migrate using yarn when nxJson has another package manager configured (#16844) (0654776)
  • core: normalize path in tree when accessing recorded changes (#17016) (9b4ba3a)
  • core: normalize workspace name before creating directory so it matches what downstream generators expect (#17028) (7aff48d)
  • core: obey nx.json package manager property (#16777) (5b94159)
  • core: prevent breaking error when registering transpiler (#16929) (8460c63)
  • core: provide more info for "findOriginalKeys is not a function" errors (#16883) (d26f26a)
  • core: register task timings correctly in task profiling life cycle (#16801) (1d8be1c)
  • core: resolve nx against command root if workspace not provided (#16859) (504a639)
  • core: set max listeners to avoid warning when running high numbers of parallel tasks (#16993) (c71027f)
  • devkit: catch errors resolving configs while formatting files (#16872) (ec22b7e)
  • devkit: ensure ignore has been initialized in visitNotIgnoredFiles (#16820) (83cbba2)
  • devkit: fix issue replacing package dependencies in malformed pa… (#16823) (514e4fa)
  • expo: fix expo detox test (#16779) (9423508)
  • expo: update package.json eas build scripts to fix eas build (#16742) (ad77b91)
  • graph: fix outdated imports to nx graph (#16954) (d1ad58e)
  • js: info about jest global setup/teardown + swc (#16681) (5743f15)
  • js: use valid file paths on Windows when executing program (#16911) (20f25bf)
  • linter: import from .tsx file lint fix now works correctly (#16995) (881067b)
  • linter: support directories for relative path fix (#16854) (62fb39d)
  • misc: change wording on legacy package pages (#17030) (c2ce8f8)
  • misc: ensure workspace directory is normalized correctly (#16855) (cc9e650)
  • misc: ignore more binary formats during migration (#16784) (c15c4dd)
  • misc: make Nx 16 migration safer when treee throws an exception (#16782) (95594d2)
  • misc: nx version should report global version outside of an nx repo (#16918) (09525e8)
  • misc: update URL to point to live page for plugin registry (#16817) (c4e51ed)
  • nextjs: add workspace dependencies to transpilePackages automatically (#16774) (8d35eda)
  • nextjs: enable Next.js 13.4 support (#16819) (8861515)
  • nextjs: increase timeout on styles e2e test (#16800) (1e8e847)
  • nextjs: inline dev-only dependencies and add e2e test to catch issues (#16890) (854b180)
  • nextjs: read serverActions config safely (#16909) (c9d73d2)
  • nextjs: withNx works with production build (#16867) (dc91105)
  • node: build-esbuild-options.ts code-generated "exactMatch" prope… (#16655) (55d40c0)
  • react-native: add checks for storybook migration (#17029) (8533314)
  • react-native: fix buildable react native library (#16749) (8347e61)
  • react: add app directory in the default tailwind.config.js (#16656) (402ccbf)
  • react: add ts extension to tailwindcss utility glob (#16971) (cf0aa59)
  • react: bump migration version (#16822) (832fa71)
  • react: extracting the tsconfig base should also copy existing paths (#16936) (392312f)
  • react: fix react windows e2e tests (#16959) (e8c31d7)
  • react: fix windows style paths when generating with --directory (#16961) (539ed5f)
  • react: remove outdated packages (#16786) (4750a1d)
  • repo: fix nightly registry failing on windows (#16804) (747050e)
  • repo: ignore failed daemon reset on e2e tests (#16902) (6aac7ba)
  • repo: remove outdated caching config from CI (#16796) (c8688a6)
  • testing: prevent ct and e2e generators overwriting configs (#16651) (dfd5163)
  • core: use right deprecated schema option (#17038) (7df8550)
  • misc: migration for run-commands output-path should handle null … (#17040) (a81b90b)
  • core: nx init should setup default base correctly (#17050) (c7a6b4b)
  • devkit: uppercase constant name correct transformation (#17046) (9866595)
  • misc: ensure outputs prefaced by workspaceRoot after transfom (343edf5)
  • nextjs: undo migration to Next.js 13.4 (#17049) (cf1a2d5)
  • react-native: remove unknown command for build-ios (#17052) (8931f0b)
  • web: undo core-js removal (#17048) (826befa)
  • misc: workspaces using nx wrapper do not contain a package.json, so don't read the scope from it (ae6e90c)
  • nx-dev: copy command when using the terminal fence (#17055) (7919668)
  • react: do not require webpackConfig for cypress component testing (#16966) (be267a7)

Features

  • angular: add ngrx feature store generator (#16806) (54eb7be)
  • angular: add ngrx root store generator (#16811) (e59c930)
  • angular: deprecate ngrx generator (#16953) (d0c6f5d)
  • angular: update jest-preset-angular to support angular v16 (#16852) (67a5e8e)
  • angular: update ngrx packages to v16 (#16763) (f2e48e4)
  • core: ability to save task graph to a file when running --graph (#16350) (b2470de)
  • core: add --affected to show only affected projects (#16970) (b20e906)
  • core: add commandExternalDependencies hash input (#16916) (f5ae995)
  • core: add error when root project would be '.' (#16999) (024193f)
  • core: add skipTypeCheck option to rollup plugin options (#16710) (878df9a)
  • core: allow using project patterns rather than just project names with nx watch (#16768) (842c412)
  • core: include entire external node dependency tree in hash (#16926) (9d74b58)
  • core: log a note after an interactive migration run with skipped package updates (#16802) (6ebfbbe)
  • core: support third-party packages for surgical hashTarget hashing (#16903) (b55aa8f)
  • js: improve @nx/js:node executor to be more resilient to many file change events (#16924) (dc71229)
  • js: refactor usages of npmScope (#16947) (6b928bc)
  • linter: allow ESLint Flat Config to be opted into manually (#16858) (7920fb6)
  • misc: migrate nx:run-commands outputPath property to outputs array (#16785) (548f8d7)
  • nextjs: update Next.js to 13.4.1 and default to App Router for new apps (#16948) (95421c6)
  • node: allow executing esm compiled scripts (#10414) (1c791db)
  • nx-plugin: replace @nx/plugin:e2e with @nx/jest:jest (#16866) (318b1cf)
  • react-native: upgrade react-native to version 0.71.8 (#16997) (5419811)
  • react: remove deprecated code (#16981) (25e8439)
  • react: support allowJs customization in the rollup executor (#16789) (575c6a1)
  • repo: add CI check for valid codeowners patterns (#16729) (c7ce767)
  • repo: add test e2e build scripts in package.json (#16951) (2e16017)
  • repo: enable daemon for nightly tests (#16808) (c55630b)
  • storybook: update storybook packages to support typescript v5 (#16853) (d02c2cb)
  • testing: add --strict flag for jest-preset-angular test env opts (#16467) (50ad516)
  • vite: add option to generate a package.json to build executor (#16428) (402a00f)
  • nx-plugin: generated generators should have a named export (#17036) (b02d169)