Skip to content

feat(rspack)!: remove deprecated deleteOutputPath and sassImplementation options - #32756

Merged
Coly010 merged 5 commits into
next-majorfrom
nxc-3112-remove-deprecated-rspack-options
Sep 23, 2025
Merged

feat(rspack)!: remove deprecated deleteOutputPath and sassImplementation options#32756
Coly010 merged 5 commits into
next-majorfrom
nxc-3112-remove-deprecated-rspack-options

Conversation

@Coly010

@Coly010 Coly010 commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Current Behavior

The rspack package contains deprecated options that were marked with TODO(v22) comments for
removal:

  • deleteOutputPath option in the rspack executor schema (Line 79 in models.ts)
  • sassImplementation option in the rspack executor schema (Line 164 in models.ts)

These deprecated options were still being referenced in the codebase and schema files,
potentially causing confusion for users.

Expected Behavior

Remove the deprecated options from the rspack package to clean up the API for v22:

  • Remove deleteOutputPath option from the rspack executor and related configurations
  • Remove sassImplementation option from the rspack executor and related configurations
  • Add a migration to automatically update existing workspaces that use these deprecated options

Related Issue(s)

Resolves NXC-3112

…rs (#32716)

The deprecated simpleName option has been removed from the library
generators for Angular, React, Nest, and JS packages. Use the --name
option to provide the exact name for the library.

BREAKING CHANGE: simpleName option is no longer supported in library
generators

Closes NXC-3107, NXC-3098, NXC-3093, NXC-3111
@Coly010 Coly010 self-assigned this Sep 17, 2025
@Coly010
Coly010 requested review from a team as code owners September 17, 2025 10:39
@vercel

vercel Bot commented Sep 17, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Sep 23, 2025 10:37am
@nx-cloud

nx-cloud Bot commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit a242bab

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 5m 35s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 30s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 9s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 7s View ↗
nx documentation ✅ Succeeded 3m 6s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-23 17:07:47 UTC

…r v22 (#32754)

The default TypeScript plugin for Rollup has changed from
rollup-plugin-typescript2 to @rollup/plugin-typescript. To continue
using the legacy plugin, explicitly set useLegacyTypescriptPlugin: true
in your configuration.

Resolves NXC-3094

---------

Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
Comment thread packages/rspack/src/migrations/update-22-0-0/remove-deprecated-options.spec.ts Outdated
@Coly010
Coly010 force-pushed the nxc-3112-remove-deprecated-rspack-options branch from 2250301 to b860e3e Compare September 19, 2025 14:53
Coly010 and others added 2 commits September 19, 2025 15:54
…ecific options (#32755)

Remove the Rspack Application Generator in favour of generators from
`@nx/react`, `@nx/angular` and other plugins with app generators.

Resolves NXC-3109
…tTestingPreset` (#32787)

This PR removes an unnecessary logic for React component testing via
Cypress. We've made it not possible to have optional webpack configs a
while back (i.e. non-isolated config support). This means that even
legacy users _must_ have a webpack config using `composePlugin(...)`.
Thus, pass the options to that plugin function and things will continue
to work as usual for those users.
@Coly010
Coly010 force-pushed the nxc-3112-remove-deprecated-rspack-options branch from 1f918ba to f15657f Compare September 23, 2025 10:05
@Coly010
Coly010 merged commit 3616074 into next-major Sep 23, 2025
17 of 19 checks passed
@Coly010
Coly010 deleted the nxc-3112-remove-deprecated-rspack-options branch September 23, 2025 19:18
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants