Feature/angular v22 support - #7
Closed
JeevanMahesha wants to merge 2 commits into
Closed
Conversation
Collaborator
|
Thank you! The current goal for a v1 release of this library is no changes beyond what's necessary to publish to npm, so we keep backward compatibility with the old library. But feel free to keep this up for v2! |
|
@JasonWeinzierl, could you release v2 as soon as possible? |
Collaborator
|
We're working on getting the backward-compatible version off the ground to make migrating as easy as possible. You can follow progress in #8 |
This was referenced Aug 23, 2026
JeevanMahesha
force-pushed
the
feature/angular-v22-support
branch
from
August 24, 2026 14:46
c8ea8f6 to
639a13e
Compare
Bumps Angular packages, CLI, ng-packagr, eslint/typescript-eslint, and other dev deps from v21 to v22; drops redundant OnPush change detection default, removes unused module imports in AppComponent, and converts the demo pink-toast component's undoString to a signal.
JeevanMahesha
force-pushed
the
feature/angular-v22-support
branch
from
August 24, 2026 14:50
639a13e to
b9a26a9
Compare
Collaborator
|
Closing in favor of #17, thanks! |
JasonWeinzierl
added a commit
that referenced
this pull request
Aug 24, 2026
JasonWeinzierl
added a commit
that referenced
this pull request
Aug 24, 2026
JasonWeinzierl
added a commit
that referenced
this pull request
Aug 24, 2026
JasonWeinzierl
added a commit
that referenced
this pull request
Aug 27, 2026
* feat: support Angular 20-22 - Downgrade the repo version to Angular 20 because Angular documentation states you should build with the oldest supported version. - Install zone.js because Angular 20 needs it. - Expand peer range to all Angular versions still under active declared support. - Add CI script to validate peer compatibility. - Add `platform-browser` to peer deps to avoid hidden dependency and support pnpm * chore: add .node-version file and remove .nvmrc Thanks #7 * docs: document new supported range * refactor: simplifications thanks to #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Upgrades the demo app and tooling from Angular v21 to v22: bumps
@angular/*,@angular/cli,ng-packagr,eslint/typescript-eslint,jasmine-core,typescript, and related dev dependencies. Also cleans up code flagged by the new tooling — removes the now-defaultOnPushchange detection strategy, drops unused module imports fromAppComponent, and converts the demopink-toastcomponent'sundoStringfield to a signal.Related issues
Relates to #6
Type of change
Breaking changes
None
Test plan
npm run buildnpm testnpm run lintChecklist
Additional context
This covers the demo app + build tooling only. The library's own
peerDependencies(projects/ngx-toastr/package.json) are still^21.0.0and need a follow-up bump to^22.0.0before #6 can be closed.