Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.0.40 - 2026-10-04

- 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:`, and `queries:` 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/core` import, matching ngtsc.
- Fixed decorator metadata dropping object methods, accessors, and computed keys.
- Fixed the linker for `ɵ` identifiers written as `\u0275` escapes, template literals in styles and host bindings, and the file's own `@angular/core` namespace in generated templates.
- Fixed incomplete `@let` declarations to report like Angular.
- Ported `specializeControlProperties` for 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.

## 0.0.39 - 2026-09-21

- Fixed JIT mode leaving dead bare imports when every specifier of an import statement is an inline `type` specifier.
Expand Down
10 changes: 10 additions & 0 deletions napi/angular-compiler/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
/* auto-generated by NAPI-RS */
/* eslint-disable */

/**
* Which binding artifact the generated loader actually loaded: `'native'` for
* a native addon, otherwise the `platformArchABI` of the WASI flavor. Every
* flavor napi-rs can build is listed, because `NAPI_RS_NATIVE_LIBRARY_PATH`
* can point the loader at a WASI artifact this package does not build itself.
*/
export declare const __napiBindingTarget: 'native' | 'wasm32-wasi' | 'wasm32-wasip1'

/** Angular version for version-conditional behavior. */
export interface AngularVersion {
/** Major version number (e.g., 19 for Angular 19.0.0). */
Expand Down Expand Up @@ -930,6 +939,7 @@ export interface TransformResult {
*/
dtsDeclarations: Array<DtsDeclaration>
}

export interface Comment {
type: 'Line' | 'Block'
value: string
Expand Down
Loading
Loading