Skip to content

Release/v3.0.0 angular 21#2

Merged
ishansasika merged 6 commits into
mainfrom
release/v3.0.0-angular-21
Jan 14, 2026
Merged

Release/v3.0.0 angular 21#2
ishansasika merged 6 commits into
mainfrom
release/v3.0.0-angular-21

Conversation

@ishansasika
Copy link
Copy Markdown
Owner

[3.0.0] - 2026-01-15

📌 Version Guide: Use v3.x for Angular 21+ projects. For Angular 20 projects, use v2.x (latest: v2.3.0). Both versions have feature parity.

🚀 Breaking Changes

Angular 21 Upgrade

  • Angular 21.0.5 - Upgraded all Angular packages to version 21.0.5
  • TypeScript 5.9 - Updated to TypeScript ~5.9.0
  • Peer Dependencies - Now requires Angular ^21.0.0

API Changes

  • paste Output renamed to pasteValues - The paste event output has been renamed to pasteValues to avoid conflicts with the native DOM paste event in Angular 21's stricter AOT compilation

🔧 Internal Changes

  • Replaced CommonModule import with explicit imports (KeyValuePipe, NgTemplateOutlet)
  • Removed FormsModule from component imports (not used in template)
  • Updated demo app for Angular 21 compatibility

📦 Migration Guide

From v2.x to v3.0.0:

  1. Update Angular to 21.0.5:

    ng update @angular/core@21 @angular/cli@21
  2. Update TypeScript to 5.9:

    npm install typescript@~5.9.0
  3. If you were listening to the paste event, rename it to pasteValues:

    <!-- Before -->
    <ng-perfect-select (paste)="onPaste($event)">
    
    <!-- After -->
    <ng-perfect-select (pasteValues)="onPaste($event)">

- Update @angular/* packages to 21.0.5
- Update TypeScript to ~5.9.0
- Update peer dependencies to ^21.0.0
- Bump version to 3.0.0
- Replace CommonModule with explicit imports (KeyValuePipe, NgTemplateOutlet)
- Remove FormsModule from imports (not needed in template)
- Rename paste Output to pasteValues to avoid DOM event conflict
- Rename pasteValues method to processPastedText
- Replace keyvalue pipe with component method in controls-panel
- Remove unused CommonModule/FormsModule imports
- Use specific pipe imports (JsonPipe)
- Add v3.0.0 changelog entry with migration guide
- Update README Angular version to 21+
- Update peer dependency note for Angular CDK ^21.0.0
- Update CLAUDE.md with v3.0.0 version history
- Update all Angular version references from 20 to 21
- Add Version Compatibility section to README with table
- Show explicit install commands for Angular 20 vs 21
- Clarify v2.x is for Angular 20, v3.x is for Angular 21+
- Note that both versions have feature parity
- Simplify Installation section with reference to compatibility guide
- Update GitHub workflows to use --legacy-peer-deps flag
- Add .npmrc files to root and demo directories
- Fixes npm install failures in CI/CD pipelines
@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit fe945ff):

https://angular-perfect-select--pr2-release-v3-0-0-angul-jzgsob3z.web.app

(expires Wed, 21 Jan 2026 19:07:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 5d97b84f2c967f297cb3a0865fa9ac9ae98b16fe

@ishansasika ishansasika merged commit 8970604 into main Jan 14, 2026
2 checks passed
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