- Failed like ngtsc on bad legacy animation event names, like
(@fade.typo), instead of turning them into DOM listeners. - Kept regex literals that end in an escaped slash (
/^\//) and escaped quotes when looking for//comments. - Matched ngtsc for safe reads like
a?.[b()?.c]?.d: calls in the guard run once, and temp variables come in the same order. - Kept the SSR server entry's own imports first, so an entry that loads
@angular/compilerfirst works. - Made big templates compile faster: whitespace handling and several pipeline steps no longer slow down badly as templates grow.
- Updated Oxc to 0.160, and other dependencies.
- Reported a known HTML element that is self closed, like ngtsc.
- Reported an empty event handler and a two-way binding that cannot be written to, matching ngtsc on each Angular version.
- Updated Oxc to 0.159, and other dependencies.
- Supported
@boundaryblocks with@error(Angular 22.3):letaliases,whenconditions, several@errorblocks,$error/$reset, and nesting, in full and linked partial output. - Supported
++/--in event listeners and arrow functions (Angular 22.3), with Angular's errors for bad uses such as bindings,a?.b++or5++. - Failed like ngtsc on i18n placeholders in or around
@boundary/@error, and kept the parentheses in(-count).toFixed(). - Matched ngtsc for
animate.*and host[@trigger]bindings on each Angular version, includingɵɵAnimationsFeatureforanimate.leaveon 20.2.0–20.3.0 and[(animate.x)]two-way bindings. - Matched ngtsc host output: quoted keys and stripped brackets in partial host maps,
aria-*bindings as attributes per version, NG5001 for empty[]/()keys from 21.2.8, no__proto__bindings, and@HostBindingreads throughthis. - Fixed
hostDirectives: the linker unwrapsforwardRefand reads quoted keys, and aliased/namespace imports and string export names match ngtsc in partial output and.d.ts. - Read more NgModule list entries like ngtsc:
forwardRef,dep['X'], spreads,let/var/constlists,ModuleWithProviders<T>, and imports declared after the module. - Added Ivy members to more
.d.tsoutputs: rolldown/tsdown chunks,vite-plugin-dts,@rollup/plugin-typescript, and plaintscthrough the newaugmentDeclarations(@oxc-angular/vite/dts); classes from other files come through a namespace import, and.d.ts.mapstays in sync. - Fixed SSR:
ngServerModeper Vite environment (vite build --app), the built clientindex.htmlin the server build,vite build --app --watchrebuilds, and linking packages inoptimizeDeps.exclude. - Escaped non-ASCII text in generated strings like ngtsc, and stopped the linker from writing
changeDetection: 1for Angular 19 to 21. - Updated Oxc to 0.158, napi-rs to 3.16.2, and other dependencies.
- Supported named
deferredImportsblocks (Angular 22.2), and kept native?.when linking v22 declarations. - Defaulted the Vite plugin's
angularVersionto the installed@angular/coreversion. - Added
transformForBrowser: TypeScript with Angular's settings, matching tsc, with async lowered for zone.js. - Downleveled async/await for zone.js in the Vite plugin like the Angular CLI, and respected package
sideEffectswhen marking top-level calls pure. - Merged compile passes and moved more plugin logic to Rust.
- Closed many ngtsc output gaps: shared long strings and literals in the constant pool, implicit signal
debugName, the sanitizers added in 22.0.1, dynamic host attribute values, project-widepreserveWhitespaces, and legacy i18n message ids. - Fixed DI tokens: namespace-qualified and same-file interface/type-alias param types, string
@Injecttokens,@Attribute()outside components, flag arrays inuseFactory/useClassdeps, and constructor overloads. - Gave each
@deferblock its own deps function, lazy-loadedforwardRef(() => X)imports, deferred imports used only inside@defer, and emittedɵɵenableIncrementalHydrationRuntimefor incremental hydration. - Fixed partial output and the linker: NgModule component scope, pipe ctor deps and inherited factories in
ɵɵngDeclareFactory, escaped metadata strings,@deferdependencies, lazy NgModule lists, and declarations in any position. - Fixed import elision to keep imports the output still uses, and the optimizer's pure wrapping of classes with static members or blocks.
- Read decorator metadata with the partial evaluator, folded number consts in template literals, and wrapped signal query predicates in
forwardRef. - Compiled every stacked
@HostListener/@HostBindingon a member, andanimate.enter/animate.leavelisteners. - Fixed parser and lexer cases: a hang on NUL, HTML void names in svg/math, non-ASCII selectors,
<inside@let, escaped strings, and key spans. - Kept the Vite dev server from serving a stale file while its component fails to compile.
- Updated Oxc to 0.157, napi-rs to 3.16, and other dependencies.
- Linked with the application's
angularVersion, soimg/video[src]keepsɵɵsanitizeUrlon runtimes before 22.2.2. - Resolved template locals inside
$safeNavigationMigrationin listeners and arrow functions. - Tied closure lifetimes to
Semanticin validation. - Updated Oxc to 0.155, keeping string values with lone surrogates exact or treating them as unreadable.
- Updated oxlint and other npm dependencies.
- Matched Angular 22.2.2 emit: dropped
img|src/video|srcfrom URL sanitization and stripped the namespace on control-flow insertion-point tag names. - Hoisted template arrow functions through
ɵɵarrowFunction, and resolved arrow function parameters in template expressions. - Evaluated decorator
hostandstylesmetadata statically like ngtsc, and resolved decorator metadata imported from other files. - Reported incomplete control-flow blocks like Angular, and kept capitalised element names as elements.
- Rewrote template HMR updates to write the new template's fields instead of redefining the live definition.
- Reported missing ngtsc diagnostics for inputs, outputs, queries, and signal APIs.
- Deduped generated
i0namespace imports against all file identifiers. - Emitted
queries/viewQueriesinɵɵngDeclareComponent. - Lowered all
@angular/coremember decorators into JITpropDecorators, prepended synthesized signal-API decorators, and matched ngtsc'spropDecoratorsmember shape insetClassMetadata. - Ignored
@HostBinding/@HostListeneron static members. - Checked ctor param decorators (arity and unexpected) like
di.ts, emittedtype: undefinedforctorParamannotations without a runtime value, and downleveledjit: trueon anonymous classes. - Kept spread arguments in call/new expressions, defaults/async/rest in metadata arrow functions, and parentheses that JavaScript requires.
- Kept the comments ngtsc keeps on
ngAcceptInputType_*declaration types. - Updated Oxc to 0.154, napi-rs, and other dependencies.
- Aligned the DOM sanitization schema with Angular v22: SVG, i18n, and host-binding sinks, plus promoting unknown bare elements for element bindings.
- Compiled
inputs:,outputs:, andqueries:declared in decorator metadata, and validated input transforms like ngtsc. - Added
ngAcceptInputType_*typing from the transform's parameter type. - Recognized Angular decorators and signal APIs by their
@angular/coreimport, matching ngtsc. - Fixed decorator metadata dropping object methods, accessors, and computed keys.
- Fixed the linker for
ɵidentifiers written as\u0275escapes, template literals in styles and host bindings, and the file's own@angular/corenamespace in generated templates. - Fixed incomplete
@letdeclarations to report like Angular. - Ported
specializeControlPropertiesfor Angular >= 21.2 (Angular 22.2 compat). - Fixed i18n parity for attribute and ICU messages.
- Fixed template HMR component ids containing
@. - Updated Oxc to 0.152, napi-rs, and other dependencies.
- Fixed JIT mode leaving dead bare imports when every specifier of an import statement is an inline
typespecifier. - Updated Oxc, napi-rs, and related dependencies.
- Fixed template HMR so changes reach every component that shares a template without forcing a full-page reload.
- Fixed style HMR for shared resources, multiple components in one file, imported resources, and components that remove their last style.
- Updated Oxc and related dependencies.