Skip to content

feat: add support for angular 22 - #374

Merged
Ni55aN merged 1 commit into
mainfrom
feature/angular-22
Jul 9, 2026
Merged

Ni55aN merged 1 commit into
mainfrom
feature/angular-22

Conversation

@Ni55aN

@Ni55aN Ni55aN commented Jul 8, 2026

Copy link
Copy Markdown
Member

Description

Adds Angular 22 support.

  • New ng22/ build target with Angular 22, TypeScript 6, and ng-packagr 22
  • Package export via rete-angular-plugin/22 (dist/22)
  • Compatibility patches for Angular 22:
    • replace ComponentFactoryResolver with ViewContainerRef.createComponent() in ConnectionWrapperComponent
    • update reflect.ts (Proxy typing)
    • patches for classic preset, context-menu, minimap, and reroute (standalone components, trackBy in pins template)
  • Update peerDependencies: @angular/* now >= 12 < 23
  • Add build:22 to root build and postinstall scripts

Related Issues

Checklist

  • I have read and followed the contribution guidelines.
  • I have tested my changes locally.
  • I have updated documentation accordingly (if necessary).
Fix connection rendering under Angular 22 OnPush defaults by using
detectChanges in the connection wrapper and Eager CD on the connection component.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Ni55aN
Ni55aN force-pushed the feature/angular-22 branch from 6ce2b57 to 019fd93 Compare July 8, 2026 19:48
@Ni55aN
Ni55aN merged commit 286824e into main Jul 9, 2026
3 of 4 checks passed
@rete-js

rete-js Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rete-js rete-js Bot added the released label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 participant