Vai al contenuto
verdict:

Angular

ultima 22.2.3

  • npm @angular/core
  • github angular/angular

Cosa fare

cammino di upgrade

note: si parte dalla 21.2.25, l'ultima release della major precedente, perché non è stata data nessuna versione.

ultima22.2.3

warning: 1 intervento

release, dalla 21.2.25 alla 22.2.3
22
richiede un intervento
1
aggiornamento sicuro
2
correzioni digest che puoi saltare
19

mostra tutte le 106 release

cosa è cambiato, nell'ordine in cui aggiorni

v2222 release · 1 featured · 2 notable · 19 digest, 1 richiede un intervento

  • featured22.0.0

    Angular 22 makes OnPush the default, drops TypeScript 5.9, and removes ComponentFactoryResolver and Hammer.js

    warning: intervento richiesto · 14 breaking changes

    • breaking[1]:Components without a changeDetection property now use OnPush.
    • breaking[2]:data- prefixed attributes no longer bind inputs or outputs.
    • breaking[3]:Elements with multiple matching selectors now throw at compile time.
    • breaking[4]:TypeScript versions older than 6.0 are no longer supported.
    • breaking[5]:Leave animations are no longer limited to the element being removed.
    • breaking[6]:ChangeDetectorRef.checkNoChanges was removed.
    • breaking[7]:createNgModuleRef was removed.
    • breaking[8]:ComponentFactoryResolver and ComponentFactory are no longer available.
    • breaking[9]:min and max validation rules no longer accept string values.
    • breaking[10]:HttpXhrBackend is no longer the default backend, so upload progress reports need it explicitly.
    • breaking[11]:Hammer.js integration has been removed.
    • breaking[12]:paramsInheritanceStrategy now defaults to 'always', so route parameters are inherited from all parent routes.
    • breaking[13]:provideRoutes() has been removed.
    • breaking[14]:getAngularLib and setAngularLib have been removed.
  • digest8 release digest · 22.0.1 to 22.0.8
  • notable22.1.0

    Adds HTTP caching options and CSS variable namespacing, deprecates JSONP, and lists no breaking changes.

    ok: aggiornamento sicuro

  • digest8 release digest · 22.1.1 to 22.1.8
  • notable22.2.0

    Adds ErrorBoundary APIs, public router resources and strictUnclaimedEventNames; no breaking changes are listed.

    ok: aggiornamento sicuro

  • digest3 release digest · 22.2.1 to 22.2.3