Skip to content

feat: 🎸 upgrade to Angular v21#746

Open
chimurai wants to merge 10 commits into
ngneat:masterfrom
chimurai:ng21
Open

feat: 🎸 upgrade to Angular v21#746
chimurai wants to merge 10 commits into
ngneat:masterfrom
chimurai:ng21

Conversation

@chimurai
Copy link
Copy Markdown
Contributor

BREAKING CHANGE: 🧨 Angular 21

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Angular 20

Issue Number: N/A

What is the new behavior?

Angular 21

Does this PR introduce a breaking change?

[x] Yes
[ ] No

Angular 21

Other information

chimurai added 6 commits May 14, 2026 23:28
BREAKING CHANGE: 🧨 Angular 21
The root package uses vite 7.3.2 (from @angular/build), while vitest 4.x
internally requires vite 8.x. This loads two incompatible rolldown
native bindings (1.0.0-rc.4 and 1.0.1) into the same process, causing
the SIGSEGV on MacOS
Angular migration scripts uses prettier to format JSON. With forced
typescript parser, formatting JSON fails: "package.json: ReferenceError:
convertToJson is not defined"
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

chimurai added 4 commits May 15, 2026 10:25
"yarn test" fails TS5103: Invalid value for '--ignoreDeprecations'.
@angular/build@^21.2.11 pinned rolldown to "1.0.0-rc.4" which caused
SIGSEGV on MacOS
Comment thread package.json
"zone.js": "^0.16.2"
},
"resolutions": {
"rolldown": "^1.0.1"
Copy link
Copy Markdown
Contributor Author

@chimurai chimurai May 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"@angular/build": "^21.2.11" pinned "rolldown": "1.0.0-rc.4" which conflicts with stable: rolldown@^1.0.1

https://www.npmjs.com/package/@angular/build/v/21.2.11?activeTab=code

Image

This resolution can be removed once angular is on stable version of rolldown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant