Repository navigation
3.0.0 (2026-11-24)
- feat(platform)!: register library page globs with Angular through analog.setup (88ee690)
- feat(platform)!: remove the style preprocessor module and tailwindPreprocessor (2f07506)
- feat(router)!: align alpha typed routing with beta (04fb0e9)
- feat(vite-plugin-nitro)!: take the Nitro config as the only argument (23b6e55)
Bug Fixes
- add blog-app e2e post listing test and continuous serve config (273b143)
- add CLAUDE.md to reference AGENTS.md (715ec17)
- angular-compiler: add package.json to release config (e219ba2)
- astro-angular: add NGH client/server entries and focus hydration directive (9317bc9)
- astro-angular: fix type and argument errors in getViteConfiguration (3f36931)
- astro-angular: make Astro Angular builds work on Windows CI (e45fb72)
- astro-angular: preserve rehype import in published middleware (#2727) (cc8396d)
- astro-angular: restore the server optimizeDeps entry lists (3c2cdae)
- astro-angular: stop forcing JSX dev mode in production builds (#2692) (0756b38)
- astro-angular: support signal and aliased outputs in client bootstrap (#2684) (18ce97e), closes #2683
- content-plugin: use type-only Tree import and update eslint config (#2154) (aa42f02)
- content: align md4x and content tests with local renderer APIs (eff74be)
- content: decode HTML entities in OG image markup (#2774) (3f9677f)
- content: handle nested link targets and modified clicks in anchor navigation (#2768) (a47a164)
- content: hoist content file bindings to module scope for Rolldown compatibility (efc9767)
- content: load content resources inside the resource loader (#2776) (c3189a5)
- content: make content packages build on Windows CI (ea57af6)
- content: md4x follow-ups for heal TOC, stream cancel and peer floor (#2778) (ed452c6)
- content: split devtools into a dedicated entrypoint (8fcf903)
- content: use md4x heading ids and release the streamMarkdown reader (#2770) (0c36d38)
- create-analog: accept versioned Angular templates (#2639) (90bc193)
- create-analog: add nitro and ofetch to dependencies when using pnpm (9654db2)
- create-analog: add rollup to devDependencies in latest, blog, and minimal templates (54da765)
- create-analog: describe the build without Nitro-specific paths (2118521)
- create-analog: drop the vitest override from templates (#2803) (48064b9)
- create-analog: pin nitro and ofetch to current prerelease versions (a57018a)
- create-analog: pin typescript to ~5.9.0 in templates (4b45a59)
- create-analog: publish template-angular-v21 (#2630) (287e8a7)
- create-analog: scaffold Tailwind v4 PostCSS config (2681c11)
- create-analog: scaffold vite-tsconfig-paths 6.1.1 and nitro 3.0.260903-beta (99d992c)
- declare the workspace packages docs-analog imports (7d2f649)
- declare the workspace packages streaming-app imports (91b94a9)
- disable route type gen in blog app (aad8a55)
- fix overrides for nitropack (0eb4274)
- fix release process (4c610db)
- harden tailwind debug app HMR diagnostics (aea14b1)
- isolate QueryClient per SSR request via InjectionToken factory (b382293)
- nx-plugin: fall back to CJS require when loading @nx/angular/generators (#2819) (69e06d5)
- nx-plugin: make generator and build configs work on Windows CI (c9102ae)
- nx-plugin: register angular and nitro plugins in init generator template (#2823) (30c5098)
- nx-plugin: restore Angular schematic compatibility with named exports (#2183) (a546f7d)
- nx-plugin: seed agent context at the workspace root in the preset (380fcef)
- platform: add tailwindCss to options interface (a7ba1cf)
- platform: allow Nitro v3 stable releases in optional peer range (#2830) (dcf5ad7)
- platform: await async angular() plugin in platformPlugin (8b339f9)
- platform: await SSR dependency optimizer readiness in dev (#2580) (7eb5d7e)
- platform: build the client environment and render around its output (1fa842f)
- platform: bundle exports-only Angular libraries for SSR (#2662) (f08b0a1)
- platform: cache page-route discovery for diagnostics (d4e2d25)
- platform: declare the http sitemap and xhtml namespaces (#2765) (ec66339)
- platform: declare vite-plugin-nitro as a build prerequisite (de59629)
- platform: define the API prefix and i18n locales for custom servers (3f8a72a), closes analogjs/analog#2720
- platform: emit debug reload reasons for content changes (484d8e9)
- platform: enhance route manifest generation to handle pathless layouts and prevent collisions (#2181) (db2de8a)
- platform: fail the server build without the built document (7063ba6)
- platform: honour narrower SSR route rules and give the SSR entry the full render context (#2754) (a05a6fb)
- platform: keep a user's esbuild config on Vite 8 (096cdf8), closes analogjs/analog#2710
- platform: keep library routes opt-in (#2421) (48b69ab)
- platform: keep the transform exclusions for esbuild: false on Vite 8 (9ae3c59), closes analogjs/analog#2710
- platform: keep the user's ts/js transform config (e749335), closes analogjs/analog#2710
- platform: keep the virtual SSR renderer prerendering on nitro 3.0.260903-beta (6c69681)
- platform: limit SSR Angular package detection to fesm builds (#2672) (cf9b555), closes #2671
- platform: load the Babel release bundled with the Angular compiler for the SSR linker (d0ccbaa)
- platform: make platform builds work on Windows CI (5a42fb8)
- platform: make the server-fn transforms self-contained (78c3bb5)
- platform: match vitest.config.* and double-quoted imports in separated plugins migration (#2846) (ca3f6ec)
- platform: normalize route and content map keys to avoid absolute path leaks (#2139) (9b06af1)
- platform: only generate typed routes when explicitly enabled (3bded96)
- platform: pass the nitro option as the nitro() argument in migration (a017699)
- platform: pre-bundle Angular's secondary entry points for SSR (387d86c)
- platform: prepare Angular SSR independently of the Nitro version (8668481)
- platform: prerender the root route again (14dbb1e)
- platform: recognize dynamic redirects in route diagnostics (a1e8136), closes analogjs/analog#2709
- platform: refresh route diagnostics on route graph changes (2262f54)
- platform: reject i18n.workers: true with a custom server (3de828a)
- platform: remove Rolldown replacePlugin from SSR build patch (#2427) (1342874)
- platform: repair nitro wiring and complete the streaming route rule (8e3d8db)
- platform: resolve a relative entryServer for custom servers (f2f6354)
- platform: resolve built SSR entry with a .js extension on Nitro v3 (c2c282c)
- platform: resolve typed routes workspace root from the project root (#2756) (e3e6de0)
- platform: restore analog-app action and content examples (583f75d)
- platform: run the Nitro dev environment in process (de516a6)
- platform: safe-access event.context.params in page endpoint wrapper (5e00e91)
- platform: set ngServerMode before the SSR entry evaluates (07404f4)
- platform: set ngServerMode in the SSR entry after Angular compiles it (#2755) (1813a4d)
- platform: ship the separated plugins migration code (4e5cc00)
- platform: skip localized routes and dedupe i18n prerender routes (#2807) (2e0476f)
- platform: skip Nitro integration during tests (220c6bc)
- platform: stamp server function ids after Angular compilation (d2ac4ab)
- platform: support Nx 24 by using Analog builders for platform targets (#2674) (47fddbe)
- platform: zone.js detection, worker-preset externals, per-request SSR fetch (#2772) (e4b3c45)
- remove assert-deps from vite-plugin-angular (50098fb)
- replace @semantic-release/npm with replace-plugin for version bumps (9c3e4f2)
- resolve all oxlint errors (3800488)
- resolve stash conflict markers and fix dual Angular version SSR error (0dfedd3)
- router,platform: add vite-ignore to @angular/localize dynamic imports (ee29c28)
- router,platform: use non-literal expressions for @angular/localize dynamic imports (e6d1f1d)
- router: abort a render whose client left before the handler ran (a90453b)
- router: abort renders the client left during setup, report stream errors (9d8d5af)
- router: accept a redirect function in RedirectRouteMeta (fc605a5)
- router: defer route metadata setup during bootstrap (e5d81b0)
- router: dehydrate on first post-render app-stable, not BEFORE_APP_SERIALIZED (c85a625)
- router: don't report a render the client walked away from (25fe247)
- router: exclude Response from the serverFn result type (#2703) (f1541d4)
- router: export the i18n entry point (f5b1174)
- router: fix SSR error responses, transfer state, request bodies, query keys and meta tags (#2750) (9951424)
- router: forward prerender params and declare standard-schema peer dependency (#2247) (5f8e912)
- router: import the $Fetch type from ofetch (68653ae)
- router: include query params in the prerender transfer state cache key (c692635)
- router: keep createRoutes as a public export (#2645) (9111f17)
- router: keep Node builtins external in the server bundle (eeeaaf6)
- router: keep RESPONSE headers when dispatching a fetch-only event (#2777) (8a9d240)
- router: last-writer-wins on duplicate queryHash in TransferState merge (125807e)
- router: make router builds work on Windows CI (6576c6a)
- router: pass request conversion errors to next() (17a2bb0)
- router: pass requests on after a body parser read the body (6a2a617)
- router: prefer app routes over shared duplicates (8201d06)
- router: preserve app route precedence in production (7c7e292)
- router: preserve last-wins behavior for equal-priority collisions (52f8d61)
- router: read the streaming opt-out from the request (f996745)
- router: register route metadata listeners during app init (f246172)
- router: remove server-rendered route meta tags after hydration (#2773) (6569bbc)
- router: repair server functions after the main merge (a0c3235)
- router: report a failing server config on server function requests (f58f04a)
- router: resolve type errors in router build (b200929)
- router: run same-origin server fetches in-process (32fa048)
- router: run server functions on fetch-native hosts and return 422 for invalid input (#2753) (e7cc3dd)
- router: send TanStack Query mutation bodies as JSON and honour cancellation (#2751) (7970838)
- router: server-function status, abort and input encoding fixes (#2775) (6ec7b5f)
- router: skip HTTP transfer cache for TanStack Query helpers (#2769) (fb28994)
- router: strip route groups from every page endpoint segment (9d69dea)
- router: support Nitro v2 and v3 in server utilities (883a4fc)
- router: transfer page load data when an internal fetch is provided (7b81f29), closes analogjs/analog#2710
- router: type RouteMeta resolvers and resource context (4233dcb)
- router: use safe header accessor in detectLocale (3567b81)
- router: use the BASE_URL origin for server fetches (daa4920)
- router: use the configured API prefix for FormAction fallback endpoints (#2643) (a3f01c4)
- router: use the locale of a locale worker (57dec63)
- storybook-angular: forward applyDecorators in testing (#2236) (4d3c6c1)
- storybook-angular: make Storybook builds work on Windows CI (5f46f59)
- storybook-angular: update preset for Vite 8 compatibility (#2153) (61fbcf0)
- tsrx-angular: clean up dev type watcher and evict deleted cache entries (#2840) (18cd97b)
- tsrx-angular: harden @defer and @boundary block parsing (#2841) (b363266)
- tsrx-angular: normalize Windows paths in remapSourceMap (#2843) (bb48ba1)
- tsrx-angular: preserve event and output handler parameter types (#2844) (64a48ae)
- tsrx-angular: respect tsconfig include/exclude and paths aliases in TsrxTypeGenerator (#2842) (ac34b21)
- tsrx-angular: support default imports, namespace member APIs, and module-scoped selectors (#2845) (21a45a7)
- vite-plugin-angular: apply @Injectable/@service as a call in fastCompile JIT (#2826) (26eb96f)
- vite-plugin-angular: avoid stack overflow for large inline sourcemaps (#2796) (af69897), closes #2669
- vite-plugin-angular: build program diagnostics before prepareEmit untags shim references (#2690) (29ae58f)
- vite-plugin-angular: centralize stylesheet handling for hmr (73a004f)
- vite-plugin-angular: construct the JavaScript transformer again (d342474)
- vite-plugin-angular: decide ngServerMode after other plugins set the consumer (bfc7ab8), closes analogjs/analog#2710
- vite-plugin-angular: dedupe isTestWatchMode and DRY tailwind injection (a1c91c6)
- vite-plugin-angular: defer liveReload CSS preprocessing to Vite load (2dcf773)
- vite-plugin-angular: define ngServerMode for server environments (813dad4)
- vite-plugin-angular: define ngServerMode for server environments in dev (#2658) (295291a)
- vite-plugin-angular: define ngServerMode for server environments without an explicit consumer (74e316f), closes analogjs/analog#2710
- vite-plugin-angular: don't include angularPlugin twice in plugin array (d429a2d)
- vite-plugin-angular: emit ctorParameters and propDecorators in fastCompile class metadata (#2667) (f6df7c8)
- vite-plugin-angular: ensure @apply inside :host works with tailwindCss prefix config (#2303) (497badc)
- vite-plugin-angular: evict stale metadata on file deletion (92da97e)
- vite-plugin-angular: expand Compilation API roots from tsconfig paths and references (#2290) (d4350b2)
- vite-plugin-angular: fail build on stylesheet errors and skip type-only edges (#2771) (2d23234)
- vite-plugin-angular: fix fastCompile type-only NgModule exports and component stylesheet processing (#2752) (2e7f1df)
- vite-plugin-angular: fix NgtscProgram stylesheet resolution for external styles (#2305) (9bb7a9c)
- vite-plugin-angular: fix the Angular Compilation API dev path (#2504) (2f875b5)
- vite-plugin-angular: forward OXC compilation API and fix transform lang (#2152) (db054c9)
- vite-plugin-angular: gate liveReload stylesheet ids to watch mode (5568146)
- vite-plugin-angular: handle > inside quoted class bindings (2010565)
- vite-plugin-angular: harden Tailwind @reference handling and SSR coordination (#2289) (4060566)
- vite-plugin-angular: ignore [class.foo] in ngClass conflict guard (5ef798d)
- vite-plugin-angular: improve stylesheet registry compatibility with Tailwind (#2326) (fe6c528)
- vite-plugin-angular: keep compilation state until all parallel environment builds end (28e596e)
- vite-plugin-angular: keep optional chaining when emitting expressions (ff4cdea)
- vite-plugin-angular: keep template HMR in place after non-component file changes (#2817) (e1d5a77)
- vite-plugin-angular: lazy-load @defer dependencies in fast compile (#2784) (4ec2ae9)
- vite-plugin-angular: let Vite choose legacy builder when no config.builder is set (#2820) (aefadea)
- vite-plugin-angular: load virtual raw ids in compilation-api plugin (4a41cd0)
- vite-plugin-angular: make Angular Vite packages load configs cross-platform (4afab61)
- vite-plugin-angular: migrate legacy setup-vitest users (#2235) (73d3a1e)
- vite-plugin-angular: pass tsconfig angularCompilerOptions to NGP (#2790) (777b228)
- vite-plugin-angular: preserve import.meta during Vitest downleveling (#2737) (dfa2401)
- vite-plugin-angular: release compiler state when watched projects close (#2739) (dc95070)
- vite-plugin-angular: remove duplicate hmr option (#2204) (aa90171)
- vite-plugin-angular: remove redundant normalizeIncludeGlob import (81a6ca0)
- vite-plugin-angular: resolve builder outputPath from workspace root (#2663) (567c3eb)
- vite-plugin-angular: resolve style ?inline URLs that Vitest re-resolves from fsModuleCache (#2828) (37c9ec0)
- vite-plugin-angular: resolve symlinks in ngtsc compile plugin paths (#2787) (7ad25e2)
- vite-plugin-angular: restore alpha dependency linker configuration (#2579) (55f189d)
- vite-plugin-angular: restore imports and declarations lost in the main merge (46d1968)
- vite-plugin-angular: restore missing test imports and mocks (3d6c721)
- vite-plugin-angular: restore rxjs optimizeDeps prebundling (c994d14)
- vite-plugin-angular: restrict metadata extraction to component decorators (aec4836)
- vite-plugin-angular: run setup-vitest migration without @nx/devkit (#2659) (4863e70)
- vite-plugin-angular: scope
stylepackage-export condition to .css imports (#2330) (0920b62) - vite-plugin-angular: stop matching .tsrx in TS extension regex (b8b9048)
- vite-plugin-angular: suppress node_modules sourcemap warnings during dev (1be0e83)
- vite-plugin-angular: translate Windows paths at NGP WebAssembly boundary (#2811) (506d646)
- vite-plugin-angular: use empty string instead of undefined for mapRoot/sourceRoot overrides (#2320) (1c210e3)
- vite-plugin-angular: use preprocessed styles in fastCompile class metadata (#2827) (9c032a3)
- vite-plugin-angular: wire linker plugin into compilation-API deps optimizer (39b5a4a)
- vite-plugin-nitro: align with nitro 3.0.260903-beta (09847cb)
- vite-plugin-nitro: avoid SSR entry lookup for ssr:false apps with empty prerender routes (4200fd8)
- vite-plugin-nitro: build sitemap before server with Environment API (#2847) (691d89e)
- vite-plugin-nitro: build-output leak in Nitro renderer artifacts (#2138) (464265e)
- vite-plugin-nitro: clean alias map, emptyOutDir, dev-server rebuild watcher, and node-web-bridge error handling (#2141) (b95e39d)
- vite-plugin-nitro: emit the server-fn-id export as a build entry (d7dc36a)
- vite-plugin-nitro: enforce path boundary in generated API middleware (3a4f218)
- vite-plugin-nitro: exclude internal routes and honour per-route config in sitemap (#2808) (75e9a3b)
- vite-plugin-nitro: fail on invalid Vercel build output (73dd7dd)
- vite-plugin-nitro: make Nitro plugin builds work on Windows CI (8c6ff82)
- vite-plugin-nitro: prevent setting headers with keys starting with ':' (#2180) (c53a135)
- vite-plugin-nitro: remove client index.html shell whenever SSR is enabled (#2702) (2a3fc0c)
- vite-plugin-nitro: resolve locale worker runtime files from the build (1b4858c)
- vite-plugin-nitro: restore server function exports and lost imports (a2d883b)
- vite-plugin-nitro: update nitro to 3.0.260415-beta (#2300) (d351d28)
- vitest-angular: clean generated snapshot ids (#2238) (775ff97)
- vitest-angular: make Vitest Angular packages work on Windows CI (eb871bd)
- vitest-angular: mark Angular DevKit peers optional and document content injection context (#2832) (ad0d760)
- vitest-angular: normalize snapshot whitespace (#2237) (8853dc0)
- vitest-angular: remove duplicate TestBed init in tanstack-query-app tests (cc41d7b)
- vitest-angular: repair the test setup entry points after the main merge (a605658)
- vitest-angular: use process.once to prevent listener accumulation (#2143) (f434fd6)
chore
Features
- add bundle size analysis and comparison workflows with associated scripts and fixtures (#2230) (7a8cab1)
- add logFile option to debug system (#2228) (65d7de7)
- add Vite 8 OXC config support to storybook and astro packages (#2121) (62987d3)
- astro-angular: add a transformFilter option registered through analog.setup (a93e671)
- bump package.json to 3.0.0-alpha (19472aa)
- bump to Angular v22 packages (cd2883b)
- content: add experimental content DevTools browser panel (#2157) (d06a07a)
- content: add experimental md4x content rendering pipeline (#2156) (da1d372)
- content: enhance content-file-resource and parse-raw-content-file with schema validation (#2148) (94d274a)
- content: remove the content devtools entry point (d09ddd7)
- create-analog: add a NestJS server option behind a default (f1b36ed), closes analogjs/analog#2725
- create-analog: scaffold nitro() from @analogjs/vite-plugin-nitro (00664de)
- demo app integration with typed routes and live data (69eac8e)
- demonstrate definePageLoadQueries in tanstack-query-app (dec315e)
- docs: add AI integrations guide (#2234) (29d228b)
- nx-plugin: drop Tailwind v2/v3 support, require v4+ (d9e607e)
- nx-plugin: lower the minimum supported Nx version to 21.2 (#2694) (c0fbfab)
- nx-plugin: scaffold angular() and nitro() in the app generator (6981cb2)
- OXC test downlevel, router exports, platform plugin ordering, build improvements (#2117) (2044f7b)
- platform: add dev-time route idiom diagnostics (befa033)
- platform: add generic style-pipeline hooks for community plugins (#2245) (df8971a)
- platform: add nitro() from @analogjs/vite-plugin-nitro in migration (e92e9cf)
- platform: add shiki skipLangs option for analog v3 (#2239) (ec6bc0f)
- platform: add the server option for custom servers (e416d6e), closes analogjs/analog#2711
- platform: align Vite 8 / Rolldown integration with native Vite APIs (#2124) (cd6df36)
- platform: auto-discover library route directories and fail build on route collisions (#2217) (4569579)
- platform: drop the experimental.stylePipeline option (6150440)
- platform: export tailwindPreprocessor for Analog Vite config (971b2a8)
- platform: integrate obug structured debug logging (#2223) (9089be2)
- platform: migrate to nitro/vite and split analog() into analog() + angular() + nitro() (#2343) (a498926), closes #2035 #2188
- platform: register the content transform filter through analog.setup (c174d99)
- platform: route manifest generation, typed routes plugin, and JSON-LD manifest (4dcdc85)
- platform: simplify deps-plugin and fix shiki highlighter init (#2150) (7cc36db)
- platform: support Nitro v2 and Nitro v3 (49d46a1)
- platform: support Nitro v3 RC (#2707) (44eaec3)
- platform: support Nitro v3 RC 3.0.261103-rc (#2732) (693cf75)
- platform: support streaming SSR on Nitro v2 and v3 (0005804)
- platform: use Fetchable server entries for analog({ server }) (#2729) (2e8d867)
- release 3.0.0-alpha.1 (9b02f44)
- router: add definePageLoadQueries helper (1983157)
- router: add typed file routes with codegen and Standard Schema validation with JSON-LD support (#2125) (9ed63a6)
- router: add typed route path utilities and validation error handling (f4c63da)
- router: add typed server primitives and TanStack Query integration (#2149) (79f3e98)
- router: defineApiRoute with Standard Schema validation (69873d0)
- router: hydrate route-data __analogQueries on ResolveEnd (f9ba111)
- router: inherit ancestor route resources in ResourceContext and injectResources (205c043), closes angular/angular#70587
- router: migrate to stable Angular Query (#2598) (a2cd90f)
- router: mirror load-prefetched state into TransferState on server (92d17ee)
- router: serve Analog from any server with createAnalogRequestHandler (8b7dfb4), closes analogjs/analog#2711
- router: split content routing into @analogjs/router/content (#2216) (d0aa1af)
- router: stream SSR with a custom server (d1c195d), closes analogjs/analog#2719
- router: support for JSON-LD structured data (38ff618)
- router: typed navigation, params injection, and experimental APIs (f7bc325)
- storybook-angular: add scoped style diagnostics for Nx SCSS setup (#2243) (8173b64)
- tsrx-angular: compile TSRX components with NGP (#2795) (3dd5fce), closes analogjs/analog#2791
- tsrx-angular: experimental support for TSRX components (#2789) (5958a13)
- update Nitro to v3 alpha and h3 to v2 alpha (bac5729)
- vite-plugin-angular: add analog.setup interop hook for Vite plugins (8b9efb8)
- vite-plugin-angular: add experimental Angular NGP compilation with type checking (#2695) (7a93704)
- vite-plugin-angular: add externalizeComponentStyles to the analog.setup context (740d351)
- vite-plugin-angular: add globalThis external-registry hook for fastCompile (3526c03)
- vite-plugin-angular: add opt-in component HMR to NGP compilation (#2699) (9d34974)
- vite-plugin-angular: add stylePreprocessor and Tailwind CSS integration for component styles (#2190) (b2e4901)
- vite-plugin-angular: add tailwindCss preprocessing for component styles (87b49db)
- vite-plugin-angular: add typeChecker option for NGP type checking (#2697) (0a8c571)
- vite-plugin-angular: expand debug logging controls (9fa4140)
- vite-plugin-angular: export experimental Angular compilation plugin (#2559) (d66bac9)
- vite-plugin-angular: fold the style pipeline into the analog.setup integration (b55d4cf)
- vite-plugin-angular: improve component stylesheet hmr (15b0d8e)
- vite-plugin-angular: move transform filtering and the external registry to analog.setup (c633a66)
- vite-plugin-angular: remove the additionalContentDirs and advanced.tsTransformers options (357e922)
- vite-plugin-angular: resolve fastCompile registry on demand (#2682) (f8894b8)
- vite-plugin-nitro: add a migration to the single nitro() argument (51c3572)
- vite-plugin-nitro: drop Vite <6, refactor plugin, and enhance sitemap (76a55ea)
- vite-plugin-nitro: run on Nitro v2 alongside analog() (68cec0b)
Performance Improvements
- content: parse frontmatter at build time instead of in the browser (#2678) (d44db9d)
- vite-plugin-angular: drop typescript and cut oxc transfer cost in fastCompile (#2733) (a95ce0f)
Reverts
- platform: stop preferring the built shell as the SSR template (ae4b279)
- Revert "refactor: take the analog-app demo from the 2.x branch" (e2bb5e0)
- roll back CI configuration temporarily and disable smoke tests (#2203) (5a68f5a)
BREAKING CHANGES
nitro(options, nitroConfig)is now
nitro({ ...nitroConfig, analog: options }).
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01PEGnL2vLDZ7JfQYYCZKfhj- Replace experimental.typedRouter with experimental.typedRouting
and routePath with toRoute or LinkTo. Remove the old experimental router providers
and runtime routeTree.gen.ts imports. Include the generated routeTree.gen.d.ts
declaration in application tsconfigs. - content: The experimental @analogjs/content/devtools entry point is removed, along with
contentDevToolsPlugin, DevToolsContentRenderer, DEVTOOLS_INNER_RENDERER, and withContentDevTools.
Provide your content renderer directly.
BEFORE:
import { withContentDevTools } from '@analogjs/content/devtools';
provideContent(withContentDevTools(MarkdownContentRenderer));
AFTER:
import { withMarkdownRenderer } from '@analogjs/content';
provideContent(withMarkdownRenderer());
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Q2H1NsaoyHzPzWoLmP42hq
- vite-plugin-angular: angular() no longer accepts additionalContentDirs or advanced.tsTransformers. Neither option had
any effect: additionalContentDirs was normalized but never read, and the custom TypeScript
transformers were never handed to the compiler on any compilation path. Content directories
belong to analog(); drop the other option.
BEFORE:
angular({
additionalContentDirs: ['/libs/shared/content'],
advanced: { tsTransformers: { before: [myTransformer] } },
});
AFTER:
analog({ additionalContentDirs: ['/libs/shared/content'] });
angular();
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Q2H1NsaoyHzPzWoLmP42hq
- pageGlobs() is no longer exported from @analogjs/platform. Apps no longer need to mirror
additionalPagesDirs into angular({ include }); the platform registers the library page globs with
Angular itself.
BEFORE:
import analog, { discoverLibraryRoutes, pageGlobs } from '@analogjs/platform';
const libs = discoverLibraryRoutes(workspaceRoot);
plugins: [
analog({ additionalPagesDirs: libs.additionalPagesDirs }),
angular({ include: pageGlobs(libs.additionalPagesDirs) }),
];
AFTER:
import analog, { discoverLibraryRoutes } from '@analogjs/platform';
const libs = discoverLibraryRoutes(workspaceRoot);
plugins: [analog({ additionalPagesDirs: libs.additionalPagesDirs }), angular()];
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Q2H1NsaoyHzPzWoLmP42hq
- @analogjs/platform no longer exports tailwindPreprocessor, TailwindPreprocessorMode,
TailwindPreprocessorOptions, StylePreprocessor, StylesheetDependency, StylesheetDiagnostic,
StylesheetTransformContext, StylesheetTransformResult, composeStylePreprocessors,
normalizeStylesheetDependencies, or normalizeStylesheetTransformResult, and the
@analogjs/platform/style-preprocessor subpath export is removed. Import the stylesheet types from
@analogjs/vite-plugin-angular and inject Tailwind @reference directives from a Vite plugin's
analog.setup() hook.
BEFORE:
import { tailwindPreprocessor } from '@analogjs/platform';
import type { StylePreprocessor } from '@analogjs/platform/style-preprocessor';
const preprocess: StylePreprocessor = tailwindPreprocessor({
tailwindRootCss: resolve(__dirname, 'src/styles.css'),
});
AFTER:
import type { AnalogIntegrationPlugin } from '@analogjs/vite-plugin-angular';
const tailwind: AnalogIntegrationPlugin = {
name: 'angular-tailwind',
analog: {
setup(ctx) {
ctx.registerStylePreprocessor((code) =>
code.includes('@apply') ? @reference "${root}";\n${code} : code,
);
ctx.externalizeComponentStyles();
},
},
};
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Q2H1NsaoyHzPzWoLmP42hq
- vite-plugin-angular: The transformFilter and stylePreprocessor options on angular() have been removed,
and the fast compiler no longer reads globalThis.ANALOG_EXTERNAL_REGISTRY. Register these from a
Vite plugin's analog.setup() hook instead: ctx.registerTransformFilter() replaces transformFilter,
ctx.registerStylePreprocessor() replaces stylePreprocessor, and ctx.registerComponentRegistry()
replaces the global registry. The @analogjs/astro-angular vite.transformFilter passthrough is gone
with it.
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Q2H1NsaoyHzPzWoLmP42hq
- platform: The experimental.stylePipeline option on analog() has been removed. Add community
style-pipeline plugins to the Vite plugins array directly. @analogjs/platform no longer exports
StylePipelineContext, StylePipelineOptions, StylePipelinePluginEntry, StylePipelinePluginFactory,
defineStylePipeline, defineStylePipelinePlugins, or resolveStylePipelinePlugins, and the
@analogjs/platform/style-pipeline subpath export is gone.
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Q2H1NsaoyHzPzWoLmP42hq
- vite-plugin-angular: The stylePipeline option on angular() has been removed. Register stylesheet
preprocessors and registry configurators from a Vite plugin's analog.setup() hook instead:
ctx.registerStylePreprocessor() replaces preprocessStylesheet and ctx.configureStylesheetRegistry()
replaces configureStylesheetRegistry. @analogjs/platform no longer exports
AngularStylePipelineContext, AngularStylePipelineOptions, AngularStylePipelinePlugin,
StylePipelineStylesheetRegistry, defineAngularStylePipeline, or defineAngularStylePipelinePlugins.
The experimental.stylePipeline.plugins list on analog() is unchanged.
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Q2H1NsaoyHzPzWoLmP42hq
-
platform:
@analogjs/vite-plugin-nitro→nitro/vite@analogjs/platform'sanalog()now bundles Nitro v3's first-partynitro/viteplugin instead of@analogjs/vite-plugin-nitro. Standalone users
(those who used@analogjs/vite-plugin-nitrodirectly) must installnitroas a dev dep and addnitro()to their Vite plugin chain alongsideanalog().
BEFORE:
// vite.config.ts
import analog from '@analogjs/platform';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [analog({ /* ... */ })],
});AFTER:
// vite.config.ts
import analog from '@analogjs/platform';
import angular from '@analogjs/vite-plugin-angular';
import { nitro } from 'nitro/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
analog({ /* ... */ }),
angular({ /* ... vite object */ }),
nitro({ /* ... nitro object*/ })
],
});- The
markedpeer dependency in@analogjs/platformand@analogjs/contenthas been bumped from^15.0.xto^17.0.5, skipping the v16 major entirely.
BEFORE:
- Removed the CommonJS build — marked is now ESM-only.
- Minimum Node.js version raised to Node 20.
AFTER:
listItemrenderer signature simplified (child tokens are pre-rendered; the renderer receives a single text string instead of structured sub-tokens).- A new
checkboxtoken is emitted for task-list items. - Loose list text tokens now use the
paragraphtype instead oftext, which affects custom renderers that match on token type.
- Nitro and h2 dependencies have been updated
BEFORE:
Nitro is on v2, h2 is on v1
AFTER:
Nitro is on v3, h2 is on v2