Skip to content

16.8.0

Compare
Choose a tag to compare
@FrozenPandaz FrozenPandaz released this 06 Sep 01:36
· 3530 commits to master since this release
af53c7c

16.8.0 (2023-09-06)

Bug Fixes

  • core: apply target defaults properly for executors defaults (#18655) (f670e74)
  • core: fix ghost alias when parsing yarn lockfile (#18646) (43b802d)
  • core: fix schema links (#18395) (ded1543)
  • core: handle symlinks on debian for watch events (#18636) (cf0b2fd)
  • core: improve error handling for copy and remove (#18656) (13925ba)
  • core: name collisions during project inference should not error out if corrected by a project.json's name (#18665) (94cc716)
  • core: nx should not break if packages were not installed (#18687) (20acfbe)
  • core: set consistent working directory when calculating runtime hash inputs (#18643) (e2ac4e3)
  • core: use Date.now() everywhere for tasks start and end times to avoid negative durations (#18595) (98a7477)
  • core: use existing version when calling "yarn set version" (#18669) (7d55f49)
  • devkit: convert-nx-executor should read projectNodes (#18684) (2ff1364)
  • js: expose schematic using the generator function with a default for the project name and root format (#18681) (61d73fc)
  • linter: Normalize paths when in getSourceFilePath (#18601) (1f9b3c4)
  • nextjs: make next build package manager agnostic (#18661) (2e1bccd)
  • core: ensure preinstall is only run once on repo (#18671) (adb39c4)
  • core: handle symlinks better for watch events on arch (#18743) (f230078)
  • core: load .env after .env.local (#18746) (4a25576)
  • core: projects within folders that start with a . should be found (#18748) (9548714)
  • core: skip local yarn patches for lock file pruning (#18700) (97c5ecf)
  • devkit: await prettier format for v3 compatibility (#18664) (2638bb0)
  • js: fix swc opens swc.js instead of compiling on windows (#18723) (078cf9a)
  • misc: fix import path to project name and root helper (#18711) (195c5bf)
  • nx-dev: include section slug in ai source links (#18722) (5ff8722)
  • nx-dev: reverse sort indicators (#18706) (d3b4c70)
  • react: fix remote generation devServerPort (#18603) (1a0962f)
  • storybook: dont fail if targets dont exist (#18745) (0448317)
  • testing: fix outputs for vitest generator (#18709) (7900d56)
  • testing: make playwright nxE2EPreset options optional (#18729) (7024108)
  • angular: add @angular/pwa to migrations #18731 (#18736) (791171e)
  • angular: mark esbuild as optional peer dep #18526 (#18771) (1440f5c)
  • angular: normalize remote directory correctly when using new project root format (#18765) (9123271)
  • core: fix wrong yarn patch key mapping (#18759) (42d93b0)
  • linter: error on dependencies that are only in devDependencies instead of production dependencies (#18780) (9ffea2b)
  • linter: fixes usages of lintProjectGenerator without eslintFilePatterns provided (#18741) (34f4148)
  • misc: fix normalizing e2e project name and root (#18757) (b3a0c0e)
  • misc: format must exclude ignored patterns (#18670) (c479a54)
  • react: normalize remote name and directory correctly when using new project root format (#18770) (d1da057)
  • storybook: install nx/vite for non-buildable libs (#18778) (57463ed)
  • storybook: re-enable angular e2e build test (#18764) (5389397)
  • web: generate .swcrc file with modern defaults when creating new webapps (#18749) (750f485)
  • core: bring back setWorkspaceRoot util (#18811) (a146fcc)
  • core: do not use joinPathFragments for generating files (#18753) (bbae14b)
  • devkit: show example in deprecation message (#18823) (02c5aeb)
  • linter: enable analyzeSourceFile as needed when generating new lint project (#18769) (4846ae5)
  • testing: improve error message for ct generators (#18597) (f5d55e3)
  • vite: support incremental building when running 'serve' (#18797) (14506d2)
  • angular: buildable libs should lint correctly #18802 (#18837) (889f315)
  • angular: style=none should not create file #18785 (#18836) (577f820)
  • angular: use the correct output path for mf ssr #18849 (#18906) (5a06343)
  • bundling: fallback to manual file resolution if tsconfig-paths fails (#18477) (e3b513b)
  • core: check for lerna before parsing lockfiles to prevent errors (#18884) (e188775)
  • core: convert to monorepo generator should respect nested libs (#18795) (413e57f)
  • core: Ensure when converting to monorepo standalone libs have a readable name (#18887) (c48f3aa)
  • core: handle empty lines in dotenv files (#18829) (aa9526f)
  • core: keep existing name when converting project to a monorepo (#18910) (ec647e7)
  • core: load core plugins as part of loading plugins (#18826) (cf1175f)
  • core: merge implicit project dependencies only if found on new and matching projects (#18896) (7e50274)
  • core: sort objects when hashing them instead (#18897) (db31f30)
  • core: use correct break line char in deprecated generator message printed by the generate command (#18879) (86c21c6)
  • linter: do not break migration if eslint file is missing (#18762) (9fe9afd)
  • nextjs: Deprecate adding NX_ vars to Webpack Define (#18892) (da2a08e)
  • nextjs: improve e2e test by reusing the project (#18827) (34a7279)
  • node: pass projectNameAndRootFormat to js lib generator from nest lib generator (#18891) (74e5879)
  • nx-dev: fix intro page icons on safari (#18877) (00f68a9)
  • nx-dev: improve button shadow handling in nx-dev (#18870) (53da4e6)
  • nx-dev: improve mobile documentation header (#18871) (2383f7d)
  • nx-dev: rspack link in getting-started section (#18908) (45ec8ba)
  • nx-plugin: fix explicity obsolete type (#18888) (759c5e1)
  • nx: correct the message for the removal of a project that is still a dependency of other projects. (#18903) (70d3728)
  • storybook: increase timeout of angular e2e (#18831) (a009523)
  • testing: omit indexHtmlFile option for cy >12.17.0 for ng ct (#18839) (829076d)
  • webpack: use new watcher for webpack build coordination plugin (#18822) (c175f9b)
  • webpack: WebpackNxBuildCoordinationPlugin cancels inflight builds on new changes detected (#18883) (b5380d0)
  • angular: ngrx-feature-store should respect paths in names #18905 (#18913) (818d04c)
  • bundling: add faux-ESM files so "import" in Node works with both named and default exports (#18916) (99c44f9)
  • js: set external nodes when lockfile is not reprocessed (#18944) (7f76c2b)
  • angular: use production build for static-serve for MF (#18942) (60da797)
  • core: re-expose strip-source-code (#18955) (610ac97)
  • js: properly throw error when processing lockfile during postins… (#18968) (a5a522e)
  • nextjs: Ensure build-custom-server is only added once to nx.json (#18972) (b42be17)
  • nx-dev: restore the name of the supabase env var (#18960) (79678d6)
  • vite: Update typings and fix when converting lib to vite (#18956) (8f1429d)
  • js: change TS standalone preset to generate at the root (#19003) (ce172d8)

Features

  • angular: add flag to include hydration when setting up ssr (#18675) (b9ca7ce)
  • angular: update module federation node (#18513) (8390b9e)
  • angular: use helper to determine project name and root directory in project generators (#18607) (47f8b7a)
  • core: support prettier v3 as a formatter (#18644) (54496e8)
  • misc: save directory and name format to nx json defaults (#18683) (e2ff519)
  • nx-dev: highlight lines in code samples (#18690) (77bc1e8)
  • nx-dev: types in devkit toc (#18594) (71d2994)
  • react: use helper to determine project name and root directory in project generators (#18615) (eb9caa1)
  • detox: use helper to determine project name and root in application generator (#18674) (9002662)
  • devkit: warn users the project name and root will not be derived (#18718) (b309d83)
  • nextjs: use helper to determine project name and root in projects generators (#18733) (18ba93a)
  • node: use helper to determine project name and root directory in project generators (#18620) (d566055)
  • expo: use helper to determine project name and root in project generators (#18678) (a668e0b)
  • express: use helper to determine project name and root in application generator (#18679) (bb9f880)
  • linter: add flat config support to generators (#18534) (e34219a)
  • misc: remove dotenv from executors (#18719) (9d5a383)
  • misc: use helper to determine project name and root in npm-package generator (#18710) (1b0439b)
  • nest: use helper to determine project name and root in project generators (#18701) (e1b76e2)
  • nx-plugin: use helper to determine project name and root in project generators (#18739) (016c89f)
  • react-native: use helper to determine project name and root in project generators (#18734) (a2f7613)
  • web: use helper to determine project name and root in application generator (#18737) (6640c32)
  • core: add migration script to escape $ in env (#18796) (68407ca)
  • core: replace dotenv with dotenv-expand (#18622) (6a09105)
  • js: remove ts implementation of ts processing (#18752) (165250e)
  • nx-dev: move openai call to edge function (#18747) (bd76b62)
  • repo: add pm version field to issue template (#18647) (138ffd6)
  • bundling: update esbuild version (#18634) (dc3c62e)
  • js: carry-over known build options (main, tsConfig, etc.) when running setup-build generator (#18742) (226dfaf)
  • linter: add option to ignore files based on pattern (#18863) (90ca436)
  • linter: migrate projects using dep-check lint rule to ignore build config files (#18882) (f7a7690)
  • nx-dev: use textarea for prompts and show a better "no results"error (#18798) (e4755cb)
  • web: use daemon file-watcher for file-server executors (#14284) (660f0a6)
  • core: ensure @nx/js plugin is installed for all JS workspaces (#18919) (c9ea9e0)
  • core: update TS target to ES2021 (#18948) (6d68656)
  • nx-dev: move all the querying logic to edge function (#18834) (1abe35c)
  • storybook: add projectNameAndRootFormat as-provided in tests (#18936) (b17b30d)
  • nx-dev: get the correct query for ai feedback (#18961) (ed6d7f7)
  • nx-dev: improve link text for ai docs (#18943) (1931390)
  • testing: support cypress v13 (#18899) (193206a)
  • misc: introduce a way to set the project name/root format for all generators (#18971) (bd1b0b7)
  • misc: stop generating empty apps/libs/packages libs in new work… (#18979) (9fbfe4a)
  • misc: support new format to determine new project name and destination in move generators (#18878) (8564d9b)