Angular v22.3.0-next.3

v22.3.0-next.3Pre-release

22.3.0-next.3

Added 1
  • add check for numeric CSS properties requiring units
Changed 1
  • default to Eager change detection for pre-v22 libraries in JIT
Fixed 18
  • avoid treating attributes with object prototype names as being translated
  • report errors for malformed template literal interpolations
  • skip escaped characters when looking for comments in expressions
  • account for _angularCoreVersion flag
  • accurate spans for host bindings in preprocessor
  • add guides and correct error codes in diagnostics

From Angular

compiler
CommitDescription
fix - ec9bcab279avoid treating attributes with object prototype names as being translated
fix - 3d104c0abbdefault to Eager change detection for pre-v22 libraries in JIT
fix - 8ffc232bbfreport errors for malformed template literal interpolations
fix - 5244ea781dskip escaped characters when looking for comments in expressions
compiler-cli
CommitDescription
feat - 1f1d4d1b8badd check for numeric CSS properties requiring units
fix - 89f67a04f3account for _angularCoreVersion flag
fix - a1586ac622accurate spans for host bindings in preprocessor
fix - a802ab6bfaadd guides and correct error codes in diagnostics
fix - e11093ab3ealign @NgModule + @Injectable static field and decorator order
fix - 0883f5898aalign defer block validation behavior with ngtsc
fix - c7fd4a2ed9align foreign component validations
fix - da45c9a0a3align option diagnostics behavior with ngtsc
fix - ce30bb0889align preprocessor debug name output with ngtsc
fix - ba92531467align query emission order with ngtsc
fix - eb4c9e3a3dalways validate component hostDirectives and poison on error
fix - ab6effbf14attach relatedInformation to diagnostics from external template
fix - 1ed8c92c62attach relatedInformation to out-of-bounds diagnostics
fix - 06af10f23eavoid duplicate diagnostics in invalid expressions
fix - 1f0ef60125avoid duplicate diagnostics on in and typeof expressions
fix - bff8295efcavoid false positive in export check
fix - 5a7ea6059aavoid overriding enableI18nLegacyMessageIdFormat
fix - 4f26011189avoid spurious forwardRef closure for re-exported NgModule deps
fix - a2084b8e7fclassify built-in *Constructor interfaces as type-only DI params
fix - 4b823a701ccompile indirectly exported classes
fix - b05f7ce15acorrectly classify DI tokens from ambient modules
fix - 435f92da18decouple usePoisonedData from enableTemplateTypeChecker in buildTypeCheckingConfig
fix - 9afbec76eddeduplicate pipe diagnostics in preprocessor
fix - fec57ba54adefer class static field printing until sharedPool is finalized
fix - f86766dbfedisallow bindings to on* properties in preprocessor
fix - 19fefad3eado not emit internal tags when closure is enabled
fix - 7c64deacf4do not emit new namespace imports for DI dependencies
fix - bb2530dad0do not inline transform type of imported component
fix - d7be93c520do not treat declaration files as compilation roots in preprocessor
fix - 453b5ea59cdon't analyze .d.ts files twice with rootDirs and paths in preprocessor
fix - def073ed0adon't report diagnostics against .d.ts files in preprocessor
fix - 0f0ec267c8downlevel jit: true Angular member and parameter decorators
fix - f40d321ab1emit diagnostic instead of panicking on spread query or input options
fix - fdb84e2e62emit NG1003 and NG1002 for bare @Pipe and invalid @NgModule calls
fix - 004f8be4b0emit ɵsetClassMetadata after class when custom decorators exist
fix - 45e8b809b1enable control flow content projection diagnostics
fix - 777c8c50e5enforce declaration-only emission diagnostics in preprocessor
fix - eef1db88f9ensure diagnostic spans are correct in preprocessor
fix - 918aca03d7escape non-ascii characters in ngp string literals
fix - e7c3835123extract rest constructor params and preserve value types on @Inject params
fix - 5700a5bba5fix remaining NGP compliance test failures
fix - ea11c9aa0eformat two-way bindings in preprocessor diagnostics
fix - 9d12747050handle dynamic host bindings in preprocessor
fix - df63544ed5handle input transforms without parameters
fix - 92d19c4afchandle jit: true on NgModule in preprocessor
fix - d6c4caded4handle missing tyes as injection tokens
fix - c1b047e199handle pipeline errors in preprocessor
fix - 7110603992handle unexported host directives
fix - 2766c7057cimplement compiler option validations
fix - 035e46e15fimplement component handler and service validations
fix - 06b2d2cee0implement host directive validations in preprocessor
fix - 93479241baimplement initial set of decorator validations
fix - c25d860f9eimplement initializer API checks
fix - fba7f3f45cimplement injection and lifecycle validations
fix - c7d9b28293implement input transform validations
fix - a51e7292b7implement internal compiler flag
fix - c5170a1240implement ModuleWithProviders diagnostic in preprocessor
fix - c56b9e70c4implement NgModule scope diagnostics in preprocessor
fix - df917bc9ffinclude TSImportEqualsDeclaration in importsEnd and skip hoisting in non-Angular files
fix - d6820f959findex value and type-only declarations inside ambient namespaces for export =
fix - fffcdc54ceinline type constructor when dependency are in the same file
fix - c27695f278invalidate preprocessor program queries when entry points change
fix - 16932e9825keep imports identical between local and optimized emit for @Inject params
fix - 1172ba317ematch ctorParameters behavior from ngtsc
fix - 940f02e903match diagnostic for incorrect styleUrls
fix - 7fd41b0e02match ngtsc behavior for exported forward refs
fix - d0873a4533match ngtsc behavior when inspecting injectables
fix - 5668ee664dorder directives before pipes in component and @defer dependencies
fix - 8c918999c7place standalone self-reference at index 0 and preserve forwardRef closure
fix - 0fc2bfee4cplumb i18nPreserveWhitespaceForLegacyExtraction into hybrid compiler
fix - 236568ddf5port parentheses insertion logic
fix - 52f304ee8eport templat semantics checker to preprocessor
fix - 48b7e2ec86preserve AST property name and omit redundant transform in JIT signalInputsTransform
fix - 7ebff26496preserve deterministic tsconfig.json files order during FileId interning
fix - 5d929e57e4preserve isolated NgModule imports in emitDeclarationOnly mode
fix - 5df5395330preserve NgModule scope dependency insertion order and deduplicate on first seen
fix - dd5ef53817preserve pure annotations on ngp static fields through tsc
fix - d9a271a73bpreserve signal debugName insertions in sliced decorator args
fix - c1b2b931aaprevent static members from clobbering same-named instance inputs/outputs
fix - c075a34852properly handle quoted members with transforms
fix - 3346e19686record argsSpan on non-object pipe decorators in ng-analyze
fix - e0260db54creduce memory use by source maps
fix - 39f5f74534report diagnostic on specific imports item array
fix - 38c3a79b73require @jridgewell/sourcemap-codec 1.6.0 or later
fix - a1acec2998resolve @Input transform first-parameter types in coercion members
fix - aa48892e48resolve host directives on directives in preprocessor
fix - dfd30edb5dresolve indirectly referenced input transform
fix - 5d69bf4f4aresolve project-relative context file path for closure message names in ngp
fix - 29bfe100d5resolve project-relative paths across rootDirs in ngp
fix - 10d7f02f4dretain NgModule imports that transitively export providers via helper functions
fix - 16d0968e27revert breaking ngp change
fix - 876c9f52f8set up source span for host bindings
fix - 6809f99b1cshare a single ImportManager for CopySourceToTcb shims
fix - 62f0bd4442silence diagnostics on constant writes in generated code
fix - 89843cddfcsource map generated code in preprocessor
fix - fd9e5635d8spread raw options argument in ngp signal query metadata
fix - 046da17a96strip Angular decorators from static and private class members
fix - 4893561fa2surface preprocessor wasm engine errors as Error instances
fix - 8bf5f6fcd6synthesize static ctorParameters on jit: true classes
fix - 4690b54becupdate ambient module specifier check for Oxc 0.155
fix - 25d602dfbcuse canonical exported symbol in NgModule ɵmod types and skip .d.ts extra imports
fix - 0fb8466b63use flattened host directives in preprocessor
fix - eda02c3300use sequential cycle breaking and exclude type-only imports from cycle graph
fix - c2772aa836validate constructor dependencies in the preprocessor
fix - 401cb2ec0fvalidate deferredImports
fix - c511ee40efwire up strictUnclaimedEventNames flag
fix - 92b6ae2a58wire up strictUnknownElements flag
fix - c01d3adf01wire up supportJitMode flag
perf - 849403b9cdfilter non-compilation roots before canonicalizing entrypoints
core
CommitDescription
feat - fe9c0d7797expose debugging annotation
fix - 33f8855da5avoid mutating shared ICU case queue during i18n hydration
fix - 5c4b6a4867avoid reloading a resource when params is unchanged
fix - ea43e6c393catch view effect errors in targeted change detection mode
fix - b03bb7af35check every i18n attribute translation for ICUs
fix - 2adfdf0f73correctly inherit component metadata in JIT undecorated base classes
fix - 5fb2b68847do not treat outputs named class or style as styling inputs
fix - 18fd9bed76guard against integer overflow in i18n
fix - 8523b79beeimprove the warning for bindings on elements inside ICU expressions
fix - f7460e520ekeep prototype-named keys in getTransferState
fix - 41ec8aa571respect @Host boundary in embedded view injector lookup
fix - a01ba1c119update defer trigger instructions to reflect generated code
fix - ab4f64be44widen type on viewport instructions
perf - 073bc77368avoid reading linked signal debug names in production
perf - 85e7e5054aguard i18n insertion assertion with ngDevMode
forms
CommitDescription
fix - d2f5ec92deannotate field context helpers with this: void
fix - 63f4bd4c7edon't crash when formControlName has no matching control
fix - 9e99093bfereject unsupported updateOn in SignalFormControl
perf - 0a61a687c4match multi-select identities in a single pass
http
CommitDescription
fix - bc22890f53account for multiple cache control headers
language-service
CommitDescription
fix - 1445af58e6resolve symbols for inputs with restricted access
migrations
CommitDescription
feat - 9ab611de28migrate static string and array ngClass bindings to class
router
CommitDescription
feat - 8260542ce0add focusReset to NavigationBehaviorOptions
feat - e7f04bd20cadd navigate method to RouterTestingHarness
feat - 34ea5922baadd scroll input to RouterLink
feat - 4742af1435make route resources reactive and support parallel dependent loading
feat - 64502f9ae2Mark view transitions as stable
feat - 63e21a76desupport direct component param
feat - c7404dbf5aupdate RouterTestingHarness documentation
fix - e09bbed21adon't intercept downloads with the Navigation API
fix - 2dd93cd949drop null query params in createUrlTreeFromSnapshot
fix - 011675e417escape colons in parenthesized primary child segments
fix - 3320da96daproperly handle redirects during traversal navigations with Navigation API
fix - 98c0265880remove previous classes when routerLinkActive changes
fix - 21dd0171b3respect guard order when a guard throws a RedirectCommand
fix - 5048f50268skip split when piercing empty path outlets
fix - 664a9971e3unsubscribe from route data when outlet deactivates
upgrade
CommitDescription
fix - b2d3ba9f5fonly compile the template contents of a downgraded component
View original

Upgraded? How did it go?

Discussion