npm @analogjs/vite-plugin-angular 2.5.0
v2.5.0

latest releases: 3.1.0-beta.1, 3.0.2-beta.4, 3.0.2-beta.3...
7 months ago

2.5.0 (2026-04-28)

Bug Fixes

  • add angular-compiler to publish script (5c86802)
  • angular-compiler: add type-only import elision to angular compiler (#2249) (f66f042)
  • angular-compiler: auto-import decorator classes for signal api downleveling in jit (d8a6265)
  • angular-compiler: construct setClassMetadata entries as plain objects (546f427)
  • angular-compiler: correct signal aliases, query refs, inheritance (d57bc61)
  • angular-compiler: dedupe declarations across imports and module exports (919009a)
  • angular-compiler: default contentChild() descendants to true (4849312)
  • angular-compiler: defensive BinaryOperator map for Angular v19/v20 (1a91f93)
  • angular-compiler: defensive isAssignment check for Angular 20.0.0 (8583dd1)
  • angular-compiler: emit /@PURE/ on Ivy field assignments (c0d4f69)
  • angular-compiler: emit bracket access for non-identifier field keys (956c703)
  • angular-compiler: emit defer deps as import().then(m => m.X) (56d9fd5)
  • angular-compiler: emit invalidfactory for explicit import type di tokens (2f2204f)
  • angular-compiler: extract output() alias in registry (e7b1d0d)
  • angular-compiler: forward @Injectable provider config to compileInjectable (ed9c264)
  • angular-compiler: hoist helpers via appendLeft when insertPos is 0 (8a15184)
  • angular-compiler: hoisted helpers survive type-only import elision (99e1ba4)
  • angular-compiler: hostDirectives, emitExpr safety, TDZ hoisting, misc compilation fixes (#2255) (796e3e0)
  • angular-compiler: improve handling of type elision for imports/exports (#2257) (1605a7b)
  • angular-compiler: make hoisting dependency-aware to prevent TDZ (#2286) (f33f6b5)
  • angular-compiler: merge styleUrl into existing inline styles array (56b109f)
  • angular-compiler: parse signal query read/descendants options (175356c)
  • angular-compiler: preserve @Injectable in JIT mode for providedIn registration (1a9745c)
  • angular-compiler: preserve constructor di token imports from elision (#2270) (9de43fa)
  • angular-compiler: preserve ivy fields when lowering trailing class field (79cd5c1)
  • angular-compiler: preserve operator precedence in emitted binary expressions (#2275) (e2dfb5a)
  • angular-compiler: provide flat defer fields on Angular v17 (70a4d9b)
  • angular-compiler: reject ambiguous union/intersection DI tokens (c379707)
  • angular-compiler: set componentMeta.interpolation for partial mode on v19/v20 (a09ff88)
  • angular-compiler: skip arrow fn types when finding assignment = … (#2274) (992e180)
  • angular-compiler: strip ESM .js extension when probing dts re-exports (d1f65ef)
  • angular-compiler: track hasTransform on signal inputs in registry (fd8acd4)
  • angular-compiler: unwrap forwardRef inside @Inject decorator (dcb221a)
  • angular-compiler: use original export name for aliased defer imports (6ab34dd)
  • angular-compiler: wrap switch cases in blocks for biome lint (8fc75d9)
  • angular-compiler: wrap Write*Expr emissions in parens for nesting precedence (48f80e4)
  • content: scope slash-containing slugs to file's subdirectory (#2318) (ee69df7)
  • correct release config replacement file path (c91ce2d)
  • platform: reset cached tViews between SSR requests for correct i18n locale switching (#2301) (a29465d)
  • router: reset cached tViews between SSR requests for correct i18n locale switching (#2295) (d2ce3e5)
  • storybook-angular: forward applyDecorators in testing (#2236) (31d996c)
  • storybook-angular: use oxc config instead of esbuild for Vite 8 (#2313) (ef16e7e)
  • vite-plugin-angular,angular-compiler: support Vite 6-8 and fix type-elision helper loss (0aa26e0)
  • vite-plugin-angular: add Vite Plugin Registry compatibility (#2314) (c3444d1)
  • vite-plugin-angular: bypass server.fs restrictions on ?raw template imports (#2259) (87512a2)
  • vite-plugin-angular: fix vitest sourcemap plugin for Vite 7 (74d52e7)
  • vite-plugin-angular: handle .ts files not in Angular program (#2265) (fda852d)
  • vite-plugin-angular: honor Vitest test.css semantics to skip CSS preprocessing (#2298) (d7bd331)
  • vite-plugin-angular: keep barrel registry in sync at dev time (f5f7ef1)
  • vite-plugin-angular: let CSS ?inline imports flow through Vite's pipeline (#2311) (ae803bb)
  • vite-plugin-angular: return empty CSS instead of raw SCSS when test.css is disabled (#2306) (eef84de)
  • vite-plugin-angular: route template/style imports through virtual module ids (#2287) (98cfe64)
  • vite-plugin-angular: stop matching .tsrx in TS extension regex (2d23b19)
  • vite-plugin-angular: use empty string instead of undefined for mapRoot/sourceRoot overrides (beta) (#2322) (cfd6cd6)
  • vite-plugin-angular: use virtual modules for external JIT styles (#2283) (add0337)
  • vitest-angular: clean generated snapshot ids (#2238) (ac933ba)
  • vitest-angular: normalize snapshot whitespace (#2237) (d1ba31f)

Features

  • add @analogjs/angular-compiler package (#2221) (d2dfbe0)
  • angular-compiler: add partial compilation mode for library support (#2269) (bfe0c62)
  • angular-compiler: expand tuple barrel imports for spartan-style libs (bf4595f)
  • angular-compiler: resolve ${var} interpolation in metadata strings (79ade33)
  • angular-compiler: structured debug logging via obug (b155f53)
  • angular-compiler: support useDefineForClassFields: false (#2267) (f0a5908)
  • astro-angular: add support for client hydration with Angular components (#2212) (d36de5b)
  • docs: add AI integrations guide (#2234) (545f8fc)
  • improve hmr with dynamic ivy field copying and directive/pipe support (d568bf2)
  • platform: add shiki skipLangs option for analog v2 (#2282) (d6e932c)
  • platform: passthrough fastCompile and fastCompileMode to vite-plugin-angular (f085ecc)
  • resolve ngmodule exports to correct sub-entry import paths (07bc3d1)
  • runtime i18n support with $localize (#2268) (7dbc7df)
  • vite-plugin-angular: add globalThis external-registry hook for fastCompile (aabb5ab)
  • vite-plugin-nitro: add recursive option to PrerenderContentDir (#2318) (42a5524)

Performance Improvements

  • angular-compiler: optimize using oxc, add tests, consolidate strings (#2260) (64a4696)

Don't miss a new vite-plugin-angular release

NewReleases is sending notifications on new releases.