yarn @angular/compiler 22.3.0-next.3

3 hours ago

compiler

Commit Description
fix - ec9bcab279 avoid treating attributes with object prototype names as being translated
fix - 3d104c0abb default to Eager change detection for pre-v22 libraries in JIT
fix - 8ffc232bbf report errors for malformed template literal interpolations
fix - 5244ea781d skip escaped characters when looking for comments in expressions

compiler-cli

Commit Description
feat - 1f1d4d1b8b add check for numeric CSS properties requiring units
fix - 89f67a04f3 account for _angularCoreVersion flag
fix - a1586ac622 accurate spans for host bindings in preprocessor
fix - a802ab6bfa add guides and correct error codes in diagnostics
fix - e11093ab3e align @NgModule + @Injectable static field and decorator order
fix - 0883f5898a align defer block validation behavior with ngtsc
fix - c7fd4a2ed9 align foreign component validations
fix - da45c9a0a3 align option diagnostics behavior with ngtsc
fix - ce30bb0889 align preprocessor debug name output with ngtsc
fix - ba92531467 align query emission order with ngtsc
fix - eb4c9e3a3d always validate component hostDirectives and poison on error
fix - ab6effbf14 attach relatedInformation to diagnostics from external template
fix - 1ed8c92c62 attach relatedInformation to out-of-bounds diagnostics
fix - 06af10f23e avoid duplicate diagnostics in invalid expressions
fix - 1f0ef60125 avoid duplicate diagnostics on in and typeof expressions
fix - bff8295efc avoid false positive in export check
fix - 5a7ea6059a avoid overriding enableI18nLegacyMessageIdFormat
fix - 4f26011189 avoid spurious forwardRef closure for re-exported NgModule deps
fix - a2084b8e7f classify built-in *Constructor interfaces as type-only DI params
fix - 4b823a701c compile indirectly exported classes
fix - b05f7ce15a correctly classify DI tokens from ambient modules
fix - 435f92da18 decouple usePoisonedData from enableTemplateTypeChecker in buildTypeCheckingConfig
fix - 9afbec76ed deduplicate pipe diagnostics in preprocessor
fix - fec57ba54a defer class static field printing until sharedPool is finalized
fix - f86766dbfe disallow bindings to on* properties in preprocessor
fix - 19fefad3ea do not emit internal tags when closure is enabled
fix - 7c64deacf4 do not emit new namespace imports for DI dependencies
fix - bb2530dad0 do not inline transform type of imported component
fix - d7be93c520 do not treat declaration files as compilation roots in preprocessor
fix - 453b5ea59c don't analyze .d.ts files twice with rootDirs and paths in preprocessor
fix - def073ed0a don't report diagnostics against .d.ts files in preprocessor
fix - 0f0ec267c8 downlevel jit: true Angular member and parameter decorators
fix - f40d321ab1 emit diagnostic instead of panicking on spread query or input options
fix - fdb84e2e62 emit NG1003 and NG1002 for bare @Pipe and invalid @NgModule calls
fix - 004f8be4b0 emit ɵsetClassMetadata after class when custom decorators exist
fix - 45e8b809b1 enable control flow content projection diagnostics
fix - 777c8c50e5 enforce declaration-only emission diagnostics in preprocessor
fix - eef1db88f9 ensure diagnostic spans are correct in preprocessor
fix - 918aca03d7 escape non-ascii characters in ngp string literals
fix - e7c3835123 extract rest constructor params and preserve value types on @Inject params
fix - 5700a5bba5 fix remaining NGP compliance test failures
fix - ea11c9aa0e format two-way bindings in preprocessor diagnostics
fix - 9d12747050 handle dynamic host bindings in preprocessor
fix - df63544ed5 handle input transforms without parameters
fix - 92d19c4afc handle jit: true on NgModule in preprocessor
fix - d6c4caded4 handle missing tyes as injection tokens
fix - c1b047e199 handle pipeline errors in preprocessor
fix - 7110603992 handle unexported host directives
fix - 2766c7057c implement compiler option validations
fix - 035e46e15f implement component handler and service validations
fix - 06b2d2cee0 implement host directive validations in preprocessor
fix - 93479241ba implement initial set of decorator validations
fix - c25d860f9e implement initializer API checks
fix - fba7f3f45c implement injection and lifecycle validations
fix - c7d9b28293 implement input transform validations
fix - a51e7292b7 implement internal compiler flag
fix - c5170a1240 implement ModuleWithProviders diagnostic in preprocessor
fix - c56b9e70c4 implement NgModule scope diagnostics in preprocessor
fix - df917bc9ff include TSImportEqualsDeclaration in importsEnd and skip hoisting in non-Angular files
fix - d6820f959f index value and type-only declarations inside ambient namespaces for export =
fix - fffcdc54ce inline type constructor when dependency are in the same file
fix - c27695f278 invalidate preprocessor program queries when entry points change
fix - 16932e9825 keep imports identical between local and optimized emit for @Inject params
fix - 1172ba317e match ctorParameters behavior from ngtsc
fix - 940f02e903 match diagnostic for incorrect styleUrls
fix - 7fd41b0e02 match ngtsc behavior for exported forward refs
fix - d0873a4533 match ngtsc behavior when inspecting injectables
fix - 5668ee664d order directives before pipes in component and @defer dependencies
fix - 8c918999c7 place standalone self-reference at index 0 and preserve forwardRef closure
fix - 0fc2bfee4c plumb i18nPreserveWhitespaceForLegacyExtraction into hybrid compiler
fix - 236568ddf5 port parentheses insertion logic
fix - 52f304ee8e port templat semantics checker to preprocessor
fix - 48b7e2ec86 preserve AST property name and omit redundant transform in JIT signalInputsTransform
fix - 7ebff26496 preserve deterministic tsconfig.json files order during FileId interning
fix - 5d929e57e4 preserve isolated NgModule imports in emitDeclarationOnly mode
fix - 5df5395330 preserve NgModule scope dependency insertion order and deduplicate on first seen
fix - dd5ef53817 preserve pure annotations on ngp static fields through tsc
fix - d9a271a73b preserve signal debugName insertions in sliced decorator args
fix - c1b2b931aa prevent static members from clobbering same-named instance inputs/outputs
fix - c075a34852 properly handle quoted members with transforms
fix - 3346e19686 record argsSpan on non-object pipe decorators in ng-analyze
fix - e0260db54c reduce memory use by source maps
fix - 39f5f74534 report diagnostic on specific imports item array
fix - 38c3a79b73 require @jridgewell/sourcemap-codec 1.6.0 or later
fix - a1acec2998 resolve @Input transform first-parameter types in coercion members
fix - aa48892e48 resolve host directives on directives in preprocessor
fix - dfd30edb5d resolve indirectly referenced input transform
fix - 5d69bf4f4a resolve project-relative context file path for closure message names in ngp
fix - 29bfe100d5 resolve project-relative paths across rootDirs in ngp
fix - 10d7f02f4d retain NgModule imports that transitively export providers via helper functions
fix - 16d0968e27 revert breaking ngp change
fix - 876c9f52f8 set up source span for host bindings
fix - 6809f99b1c share a single ImportManager for CopySourceToTcb shims
fix - 62f0bd4442 silence diagnostics on constant writes in generated code
fix - 89843cddfc source map generated code in preprocessor
fix - fd9e5635d8 spread raw options argument in ngp signal query metadata
fix - 046da17a96 strip Angular decorators from static and private class members
fix - 4893561fa2 surface preprocessor wasm engine errors as Error instances
fix - 8bf5f6fcd6 synthesize static ctorParameters on jit: true classes
fix - 4690b54bec update ambient module specifier check for Oxc 0.155
fix - 25d602dfbc use canonical exported symbol in NgModule ɵmod types and skip .d.ts extra imports
fix - 0fb8466b63 use flattened host directives in preprocessor
fix - eda02c3300 use sequential cycle breaking and exclude type-only imports from cycle graph
fix - c2772aa836 validate constructor dependencies in the preprocessor
fix - 401cb2ec0f validate deferredImports
fix - c511ee40ef wire up strictUnclaimedEventNames flag
fix - 92b6ae2a58 wire up strictUnknownElements flag
fix - c01d3adf01 wire up supportJitMode flag
perf - 849403b9cd filter non-compilation roots before canonicalizing entrypoints

core

Commit Description
feat - fe9c0d7797 expose debugging annotation
fix - 33f8855da5 avoid mutating shared ICU case queue during i18n hydration
fix - 5c4b6a4867 avoid reloading a resource when params is unchanged
fix - ea43e6c393 catch view effect errors in targeted change detection mode
fix - b03bb7af35 check every i18n attribute translation for ICUs
fix - 2adfdf0f73 correctly inherit component metadata in JIT undecorated base classes
fix - 5fb2b68847 do not treat outputs named class or style as styling inputs
fix - 18fd9bed76 guard against integer overflow in i18n
fix - 8523b79bee improve the warning for bindings on elements inside ICU expressions
fix - f7460e520e keep prototype-named keys in getTransferState
fix - 41ec8aa571 respect @Host boundary in embedded view injector lookup
fix - a01ba1c119 update defer trigger instructions to reflect generated code
fix - ab4f64be44 widen type on viewport instructions
perf - 073bc77368 avoid reading linked signal debug names in production
perf - 85e7e5054a guard i18n insertion assertion with ngDevMode

forms

Commit Description
fix - d2f5ec92de annotate field context helpers with this: void
fix - 63f4bd4c7e don't crash when formControlName has no matching control
fix - 9e99093bfe reject unsupported updateOn in SignalFormControl
perf - 0a61a687c4 match multi-select identities in a single pass

http

Commit Description
fix - bc22890f53 account for multiple cache control headers

language-service

Commit Description
fix - 1445af58e6 resolve symbols for inputs with restricted access

migrations

Commit Description
feat - 9ab611de28 migrate static string and array ngClass bindings to class

router

Commit Description
feat - 8260542ce0 add focusReset to NavigationBehaviorOptions
feat - e7f04bd20c add navigate method to RouterTestingHarness
feat - 34ea5922ba add scroll input to RouterLink
feat - 4742af1435 make route resources reactive and support parallel dependent loading
feat - 64502f9ae2 Mark view transitions as stable
feat - 63e21a76de support direct component param
feat - c7404dbf5a update RouterTestingHarness documentation
fix - e09bbed21a don't intercept downloads with the Navigation API
fix - 2dd93cd949 drop null query params in createUrlTreeFromSnapshot
fix - 011675e417 escape colons in parenthesized primary child segments
fix - 3320da96da properly handle redirects during traversal navigations with Navigation API
fix - 98c0265880 remove previous classes when routerLinkActive changes
fix - 21dd0171b3 respect guard order when a guard throws a RedirectCommand
fix - 5048f50268 skip split when piercing empty path outlets
fix - 664a9971e3 unsubscribe from route data when outlet deactivates

upgrade

Commit Description
fix - b2d3ba9f5f only compile the template contents of a downgraded component

Don't miss a new compiler release

NewReleases is sending notifications on new releases.