yarn @angular/compiler-cli 22.3.0

50 minutes ago

compiler

Commit Description
feat - e4f67442bb report unknown property bindings on explicit ng-template elements
fix - 20dd959f4c avoid compilation errors for invalid tracking functions
fix - 9fe64d48d2 avoid producing type errors for invalid @let usages
fix - 225d600314 disallow attribute and property names starting with a colon
fix - 0ee0a16c4a stop suppressing non-iterable values in @for expression

compiler-cli

Commit Description
feat - 1f1d4d1b8b add check for numeric CSS properties requiring units
feat - d23ead8d51 port preprocessor serve tool
feat - 4b6788f1fe support synchronous WASM execution in preprocessor (#71313)
fix - 89f67a04f3 account for _angularCoreVersion flag
fix - a1586ac622 accurate spans for host bindings in preprocessor
fix - 1ab73090b5 add explicit type to propDecorators
fix - a802ab6bfa add guides and correct error codes in diagnostics
fix - 47edfd51a2 add validation for defer in local compilation mode
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 - d3dedf53e4 avoid names used in the file for generated namespace imports in ngp
fix - 5a7ea6059a avoid overriding enableI18nLegacyMessageIdFormat
fix - 0c5cca61ad avoid repeating the error code in extended diagnostics
fix - cb7b7a4d75 avoid repeating the error code in preprocessor extended diagnostics
fix - 4f26011189 avoid spurious forwardRef closure for re-exported NgModule deps
fix - 0e49d96fe6 capture public methods in preprocessor
fix - a2084b8e7f classify built-in *Constructor interfaces as type-only DI params
fix - 4b823a701c compile indirectly exported classes
fix - 3e45f7b51b correctly attach pure comments
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 - 5c00d135e3 do not decorate signal APIs 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 - 69f705cf2d do not type check getter host bindings 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 - 458303fe94 emit namespace imports for standalone declarations in remote scopes
fix - fdb84e2e62 emit NG1003 and NG1002 for bare @Pipe and invalid @NgModule calls
fix - 004f8be4b0 emit ɵsetClassMetadata after class when custom decorators exist
fix - f5b0fa96a4 emit static ctorParameters for zero-arg constructor in jit: true
fix - 8c91cf2b42 emit untyped inline input transforms in local mode
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 - caa4aa9005 expand more expression types for same-file imports array
fix - c7bcc2e3b8 expand same-file imports arrays in preprocessor
fix - e7c3835123 extract rest constructor params and preserve value types on @Inject params
fix - 389db18cdd fetch data asynchronously in hybrid indexer
fix - 73911c88ca fix json parsing error in sidecar
fix - 5700a5bba5 fix remaining NGP compliance test failures
fix - ea11c9aa0e format two-way bindings in preprocessor diagnostics
fix - f7b389879f generate extra imports in local compilation mode
fix - 492c1338a2 guard forward references in jit propDecorators
fix - 9d12747050 handle dynamic host bindings in preprocessor
fix - 7d2330e459 handle generic expressions in queries
fix - ea3528fcdb handle imported templateUrl in preprocessor
fix - 8374641bcd handle imports arrays with some dynamic entries
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 - 009ec5ccbe handle optional signals in uninvoked signals check
fix - c1b047e199 handle pipeline errors in preprocessor
fix - 7110603992 handle unexported host directives
fix - 8f6fd2bdf3 hoist import x = … declarations like ngtsc's ImportManager
fix - 2766c7057c implement compiler option validations
fix - 035e46e15f implement component handler and service validations
fix - b26f09f9f1 implement core handling in the preprocessor
fix - d348fd884a implement HMR in preprocessor
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 - 78b6c53d48 implement uninvoked signal check 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 - a2617c5b96 mark ModuleWithProviders from foreign function calls as synthetic
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 - 670c17232b never drop hostDirectives entries in local compilation
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 - 26f7e70520 port custom decorator validation in local mode
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 - b3f98afcb1 preserve multiline template literals in createStaticBlock
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 - 30e3b9ee72 propagate hasNgFieldDirective in preprocessor
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 - 13627163fd remove functions in text interpolations check
fix - 672b9dcfc2 remove nullish coalescing check
fix - e150abb571 remove optional chain check
fix - 19c56bd3fc remove uninvoked track function check
fix - 0083cd0341 remove unused compiler option
fix - 39f5f74534 report diagnostic on specific imports item array
fix - a1acec2998 resolve @Input transform first-parameter types in coercion members
fix - 5ac4cf7b54 resolve ambient global values declared in tsconfig .d.ts files
fix - a614bd23cd resolve base class defined via intermediate variable in dts
fix - aa48892e48 resolve host directives on directives in preprocessor
fix - 8984e6bf3d resolve imported classes in declaration-only NgModule types
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 - 520fe13f85 resolve template stylesheets through the analyzer in the preprocessor
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 - 4fd60ae6c0 share parsed .d.ts files within same process
fix - 62f0bd4442 silence diagnostics on constant writes in generated code
fix - dd3eb346c7 skip fingerprinting when incremental compilation is disabled
fix - 6c21e65fe0 skip outputs for unchanged files in preprocessor
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 - c1b8c53505 strip UTF-8 BOM when loading external component resources
fix - 08d41a9e94 suggest ngProjectAs in control flow content projection diagnostic
fix - 393ec969e8 suppress inheritance errors for metadata in preprocessor
fix - 02a8a664ae suppress wire codegen when NgModule analysis fails
fix - 4893561fa2 surface preprocessor wasm engine errors as Error instances
fix - 96ccdc02fe sync hybrid preprocessor evaluator and cache invalidation fixes
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 - 7c9f3263d9 validate constants in local mode
fix - c2772aa836 validate constructor dependencies in the preprocessor
fix - 401cb2ec0f validate deferredImports
fix - 323495c2ec validate host directive in local compilation
fix - 91b8391b3d validate unknown element tags even when matched by attribute directives
fix - 684a89027b wire up foreign component matcher in preprocessor
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
perf - 4f3dec7b5a look up ambient globals lazily in tsconfig order
perf - 77a5094b52 memoize ambient global lookups from the start of tsconfig files
perf - 1bc2f95306 track ambient global consumers by name and cache .d.ts global names

core

Commit Description
feat - 61fd731e6a add scrollMargin to @defer viewport options
feat - fe9c0d7797 expose debugging annotation
feat - 6ea13efc20 support increment/decrement operators in expressions
fix - fd5ccc9df8 avoid infinite loop in i18n if DOM is clobbered
fix - efbab16e56 cancel obsolete resource loads when params become unavailable
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 - 5cb7c0da2f guard ngServerMode in validAppIdInitializer
fix - 1f1f1f10ab harden hydration against clobbering
fix - 4fe5d08c7e improve clobbered element detection
fix - 38816151b8 race condition when setting locale
fix - 41ec8aa571 respect @Host boundary in embedded view injector lookup
fix - a01ba1c119 update defer trigger instructions to reflect generated code
fix - 3df30ae4e6 use the custom Sanitizer for URLs in i18n attributes
fix - ab4f64be44 widen type on viewport instructions
perf - 4854f68e39 tree-shake JIT dependencies from AOT module bootstrap

forms

Commit Description
fix - f9cf82642c apply validator directives to custom form controls
fix - 11c32ff559 forms signals goldens update

http

Commit Description
feat - effbe56432 add HttpClient.query() method for HTTP QUERY requests

language-service

Commit Description
feat - a7381e14b5 add smart selection ranges for templates
fix - 73858905a2 add missing options to angularCompilerOptions schema
fix - 33dcc7acfb await hybridCompiler.ensureReady before handling project requests

router

Commit Description
feat - 8260542ce0 add focusReset to NavigationBehaviorOptions
feat - e7f04bd20c add navigate method to RouterTestingHarness
feat - 34ea5922ba add scroll input to RouterLink
feat - 262417f155 introduce route error boundaries and redirect handling
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 - 98049217e5 reset the missing error boundaries warning in tests
fix - d536c91325 warn when errorComponent is used without withErrorBoundaries
perf - e8b1afd07f run loadComponent in parallel with route resources

Don't miss a new compiler-cli release

NewReleases is sending notifications on new releases.