github nrwl/nx 19.7.0

latest releases: 20.0.12, 20.1.0-beta.3, 20.0.11...
2 months ago

19.7.0 (2024-09-09)

🚀 Features

  • bundling: add option to generate sourcemaps for Rollup build (#27539)
  • bundling: add nxCopyAssetsPlugin for Vite to use in JS libs (#27593)
  • core: add shutdown lifecycle hook to node executor (#27354)
  • core: add sqlite db for nx (#26891)
  • core: expose graph json type (#27496)
  • core: return task results from imperative task runner (#27640)
  • core: refactor graph implementation details (#27267)
  • core: allow disabling registered task sync generators (#27638)
  • core: allow skipping sync when running tasks (#27697)
  • core: add shutdown lifecycle hook to node executor" (#27794)
  • core: update PNPM GH action setup to use v4 and pnpm version 9 (#27664)
  • devkit: prefer strings over Linter enum (#27209)
  • docs: update OpenAI model to use gpt-4o-mini (#27434)
  • graph: add expandedTargets to project details on nx dev (#26911)
  • graph: update tags to render on a single line by default with expand option (#27829)
  • js: add skipPackageManager option to build executors in order to skip generating "packageManager" entry in package.json (#27518)
  • js: generate package.json with overrides and resolutions (#27601)
  • js: add metadata to the typescript inferred tasks (#27806)
  • linter: add option to exclude projects from circular deps check (#27504)
  • nx-cloud: alias for login and logout (#27358)
  • nx-cloud: remove feature flag for nx login (#27657)
  • nx-cloud: add 'generate-token' option to connect (#27678)
  • nx-cloud: remove env variable for login (#27791)
  • nx-dev: add Explain with AI to Enterprise and Pro Plans (#27455)
  • nx-dev: add Monorepo World banner to hero (#27482)
  • nx-dev: honor prefers-reduced-motion (#27541)
  • nx-dev: add deepdive callout component (daf5837a21)
  • nx-dev: add Mike Hartington in the team section (#27755)
  • nx-dev: make animations more performant (#27757)
  • nx-dev: add create-nx-workspace from nx-cloud on ci section (#27756)
  • react: add rspack module federation support (#27696)
  • react: add module federation static server (#27802)
  • remix: infer targets for remix vite in @nx/remix/plugin (#27713)

🩹 Fixes

  • missing export for setRemoteDefinition (#27491)
  • angular: generate @nx/angular in devDependencies and move to dependencies when using runtime helpers (#27405)
  • angular: module-federation-ssr-dev-server should call correct builder (#27477)
  • angular: bump ngrx version to 18.0.2 (#27506)
  • angular: ensure target default for '@nx/angular:webpack-browser' is set #26483 (#27616, #26483)
  • bundling: update snapshots for copy assets plugin (#27610)
  • core: fix importing files with special characters (#27484)
  • core: use withVerbose util (#27553)
  • core: support import detection of packages installed from git remote URL (#27569)
  • core: fix compat for old remote caches (#27574)
  • core: enable using the daemon in docker if enabled explicitly (#27585)
  • core: ensure file watcher is looking for correct config on windows (#27594)
  • core: change order of CI providers to match their popularity (#27623)
  • core: not parse hex to number (#27515)
  • core: nx migrate should determine angular devkit migration from cli or schematics #20282 (#27634, #20282)
  • core: do not stream output when static output style is enabled (#27642)
  • core: fix --e2eTestRunner for create-nx-workspace with react native (#27543)
  • core: negative workspace-root filesets should override positive filesets (#27524)
  • core: make sure env vars specified in run-commands envFile option take priority over other loaded env files (#27583)
  • core: change remoteCache to getRemoteCache (#27673)
  • core: fixes an issue where using "node:test" results in infinite loop (#27685)
  • core: handle file change conflicts between sync generators (#27695)
  • core: filter branch in preparation for nx import (#27652)
  • core: add parallelism to target defaults schema (#27710)
  • core: bump plugin pool attempts to work with slow runtimes (#27726)
  • core: optimize daemon output glob matching (#27775)
  • core: fix wasm build (#27830)
  • core: move daemon server-process.json watching to outputs watcher (#27832)
  • detox: fix name with camel case (#27602)
  • esbuild: declaration:true should find the correct package root regardless of cwd #26261 (#27560, #26261)
  • expo: add expoLibraryGenerator to export (#27520)
  • expo: fix unable to build expo local for yarn 4 (#26992)
  • expo: add cacheVersion to metro.config (#27646)
  • gradle: track childProjects in properties report (#27488)
  • gradle: fix tasksFileLines might be undefined (#27548)
  • gradle: fix child project deps (#27643)
  • gradle: fix find root for projects (#27651)
  • graph: fix "args" help tooltip in pdv and only show "args" usage in fallback example (#27808)
  • js: handle arbitrary nested ts path mappings when re-mapping them to the outputs (#27429)
  • js: only sync references when composite is true, preserve comments in other parts of file (#27530)
  • js: ensure assets option in tsc executor defaults to empty array for programmatic usage (#27565)
  • js: fix verdaccio windows for registry (#27350)
  • js: respect "watch" option when "runBuildTargetDependencies" is true (#27677)
  • linter: update the @nx/dependency-checks rule to read the package.json content from the rule context (#27476)
  • linter: fix plugin race condition (#27810)
  • misc: ensure custom reporters are usable with @nx/playwright:playwright (#27443)
  • misc: fix the URL of the @naxodev/nx-cloudflare plugin (#27723)
  • module-federation: ensure target defaults are set correctly #27448 (#27472, #27448)
  • module-federation: ensure shared packages can be shared from host #27162 (#27513, #27162)
  • module-federation: ssr uses async-node with runtime plugin (#27492)
  • nextjs: should not fail when running outside of nx cli (#27523)
  • nextjs: Should be able to run custom server targets with swc (#27526)
  • nextjs: schema type for unitTestRunner for library (#26824)
  • node: build-esbuild-options.ts browser user define envs by config (#27480)
  • node: generate webpack server apps with generatePackageJson:true by default (#27570)
  • nx-dev: Og image path generation (#27456)
  • nx-dev: bad link from home page (#27475)
  • nx-dev: fix use key instead of env to reference cache key in… (#26644)
  • nx-dev: modify prompt (#27536)
  • nx-dev: show first tab if none selected (#27701)
  • nx-dev: change connect to nx cloud link in home page (f39b995b88)
  • nx-dev: make sure graph height works and render mode is nx-docs (#27776)
  • nx-dev: update Bill's website link (#27790)
  • nx-plugin: allow create-package without e2eProject (#27572)
  • react: ensure @vitejs/plugin-react is installed for storybook (#27463)
  • react: enable vitejs-plugin-react-swc for swc compiler (#27457)
  • react: handle more scenarios when collecting component props for generating stories (#27528)
  • react: tailwind with rspack should work on generation #27028 (#27619, #27028)
  • react: ensure interop between webpack and rspack module federation (#27824)
  • react-native: remove upgrade command in migration (#27467)
  • react-native: change hermesCommand to build android (#27641)
  • release: programmatic API types should not be any (#27647)
  • release: release plan command should take filters and touched projects into account (#27706)
  • release: version plan changelogs should contain authors and refs (#27737)
  • release: support forwarding the --access flag to npm publish (#27765)
  • release: show version plan deletion log in dry-run (#27744)
  • repo: add dependsOn to native build (#27446)
  • storybook: should generate correct config for nextjs apps #27233 (#27510, #27233)
  • testing: fix misc issues in migrations (#27471)
  • testing: fix issues in static server target migrations (#27547)
  • testing: application generators should accurately configure e2e projects (#27453)
  • vite: plugin should infer serve target if server config defined #27370 (#27507, #27370)
  • vite: load the correct config file from @nx/vite:test executor (#27514)
  • vite: add typecheck inferred target for vite plugin #27501 (#27531, #27501)
  • vite: plugin should infer ts project correctly for libs (#27649)
  • vite: tsconfig paths plugin should resolve file extensions (#27774)
  • webpack: add migration for proxy config (#27621)

❤️ Thank You

Don't miss a new nx release

NewReleases is sending notifications on new releases.