Skip to content

Latest commit

 

History

History
328 lines (266 loc) · 47.1 KB

CHANGELOG.md

File metadata and controls

328 lines (266 loc) · 47.1 KB

0.2.14 (2023-10-23)

Bug Fixes

  • add conditional import for Angular v17 (99f0aa3)
  • nx-plugin: use nx namespace for any nx version above version 16 (#709) (2b3f287)
  • trpc: adding host and port env variables to nitro dev process & … (#695) (bd013fe)

Features

  • update build and add support for Nx 17 to app generator and preset (#715) (5af632b)
  • upgrade packages to Angular v17 RC (#704) (5f6bbe6)

0.2.12 (2023-10-10)

Bug Fixes

  • astro-angular: warn about shiki in mdx astro integration and override with prism (#691) (10ed7e5)
  • create-analog: pin Nx packages to 16.8.1 (#689) (2a33363)

0.2.11 (2023-10-02)

Features

  • vite-plugin-angular: add snapshot testing support for vitest (#678) (54166d7)

0.2.10 (2023-09-27)

Bug Fixes

  • create-analog: fix templates included with create-analog (299d907)
  • vite-plugin-nitro: update import detection for zone.js in node (#674) (4ae6dd8)

0.2.9 (2023-09-25)

0.2.8 (2023-09-25)

Features

  • content: ContentRenderer is able to return a TOC (#659) (55ee2e1)

0.2.7 (2023-09-21)

Bug Fixes

  • vite-plugin-nitro: enable prerendering of root index.html (#663) (c231f56)

0.2.6 (2023-09-21)

0.2.5 (2023-09-19)

Bug Fixes

  • platform: remove global define, update platform-server replacements (#661) (e9a14df)

0.2.4 (2023-09-19)

Bug Fixes

  • astro-angular,vite-plugin-angular: update zone.js deep imports for compatibility (#651) (704e2e9)

Features

  • add support for non-node/Cloudflare builds (#638) (0ee7965)

0.2.3 (2023-09-14)

Bug Fixes

  • trpc: avoid hard coding of host/port by using $fetch/fetch when … (#639) (a30ac8a)

Features

  • astro-angular: implement output forwarding on client-side hydrated components (#641) (3e836cb)

0.2.2 (2023-09-04)

Features

  • content: support prismjs diff highlight (#624) (f2c8805)

0.2.1 (2023-08-28)

Bug Fixes

  • nx-plugin: normalize outputs for standalone Nx projects (#617) (1c045fd)
  • vite-plugin-nitro: add config root fallback paths and update renderer paths (#618) (d07a566)

Features

  • vite-plugin-nitro: add server event to load function and types (#614) (b69987a)

0.2.0 (2023-08-21)

Bug Fixes

  • add common Angular libraries for ssr transform (#475) (4ef3872)
  • add mermaid dependency to new projects (#570) (525c6c9)
  • add transform filter to vite plugin (#516) (9b0b211)
  • astro-angular: fix sourcemaps for build (#462) (b9c7873)
  • content: add async flag to marked highlight config (#509) (dc50600)
  • content: do not run change detection when loading mermaid (#562) (0436b6f)
  • content: ensure prism toolbar is loaded first, use external mermaid loader (#564) (9ab2884)
  • content: fix deprecation warnings for marked package (#487) (87a978b)
  • content: make mermaid tree shakable (#563) (b7cef8a)
  • content: render markdown content in resolver for markdown route (#415) (096b45e)
  • create-analog: add @analogjs/content dependencies to v15 template (3c7a46f)
  • create-analog: add skipLibCheck to template generator (6e11a2a)
  • create-analog: pin Angular v15 template to Nx v15 (e543dba)
  • create-analog: pin vie-plugin-angular version in Angular v15 template (d750116)
  • create-analog: restrain node 16 to 16.17. (#533) (cd099ad)
  • create-analog: update Vitest for Nx 16.x (7b39c21)
  • nx-plugin: add counter code to welcome component, update templates (#466) (5a27202)
  • nx-plugin: add linter dependency for nx app generator, preset (#568) (f3b8028)
  • nx-plugin: add missing properties to preset generator schema.json (#387) (72bee17)
  • nx-plugin: cleanup styles, minor naming inconsistency, add missing await (#549) (a58cdd6)
  • nx-plugin: fixing linting in nx project (#539) (dfda110)
  • nx-plugin: hide preset generator from nx console (#542) (77f52d5)
  • nx-plugin: make nx plugin templates compatible with rxjs trpc client (#430) (5748077)
  • nx-plugin: remove @nx/angular import from preset (0d60a89)
  • nx-plugin: remove dependency of nx-plugin to linter (#572) (43f30e8)
  • only assign ngDevMode during build (#373) (b89a47a)
  • platform: cache content attributes if they have not changed (#561) (e4387f2)
  • platform: display error overlay in SSR mode (#375) (3af5ab3)
  • platform: include Angular libs for optimization, only clear page endpoints on build (df9dc60)
  • platform: make route invalidation checks more flexible (#338) (e7bc83f)
  • platform: update versions for Nx generators (#339) (534cc76)
  • router: add support for server-side data fetching with catch-all routes (#602) (dd8922f)
  • router: allow dynamic routes in the root route array (#381) (c5ef38e)
  • router: do not run unnecessary change detections cycles when markdown modules are loaded (#557) (7646549)
  • router: remove assertInInjectionContext check for v15 compatibility (#461) (27a52e1)
  • trpc: allow to pass custom headers to trpc client (#441) (a2b7eae)
  • trpc: cache-state turns to inactive once app is stable (#522) (ac2226a)
  • trpc: remove hard coded superjson transformer in favor of trpc client options & add e2e tests (#378) (6ee5a75)
  • vite-plugin-angular: add compatibility support for Angular v16.2+ (#600) (b82e9fe)
  • vite-plugin-angular: add fallback for config root (02463ad)
  • vite-plugin-angular: add import fixes and support for Angular v16.1 (#458) (613fd5f)
  • vite-plugin-angular: apply babel transformations for safari 15 s… (#427) (8ddb9ad)
  • vite-plugin-angular: cache already resolved style and template URLs (#566) (b5b6d69)
  • vite-plugin-angular: cache style URLs by matched styleUrls expression (#571) (ce348f6)
  • vite-plugin-angular: check whether external template/stylesheet is already watched (#569) (3313a7b)
  • vite-plugin-angular: correctly inline external styles/templates in JIT mode (#389) (ce5ddcc)
  • vite-plugin-angular: do not execute hot module update if host is not set (#558) (2daa5b9)
  • vite-plugin-angular: remove caching of watched component templates (#587) (fcc7aa4)
  • vite-plugin-angular: use raw loader to handle external templates in jit mode (#607) (9288570)
  • vite-plugin-nitro: add check for exported load function for page endpoints (#596) (d903fd4)
  • vite-plugin-nitro: normalize page handler path for Windows (#591) (#603) (a265229)
  • vite-plugin-nitro: pass public output path to sitemap builder (#601) (94e7568)
  • vite-plugin-nitro: use built-in $fetch for GET API requests (b127964)
  • vite-plugin-nitro: use proxy to relay requests without api prefix (#404) (0d74281)

Features

  • add default prerender route (#365) (3ded798)
  • add filterFn argument to the injectContentFiles function (#348) (018b70d), closes #347
  • add initial support to pages for server-side data fetching (#446) (9d1b0f8)
  • add ng update support (#380) (98ed521)
  • add trpc client and trpc-app as example (#371) (9b3382c)
  • astro-angular: add support for render and client component providers (#376) (bbfcb40)
  • content: add customFilename param to injectContent (#597) (4f3dd68)
  • content: add support for mermaid in markdown (#555) (28f2c20)
  • content: add support for using slug from markdown frontmatter (#496) (a1de310)
  • handle default build/output/test config paths internally (#425) (1aeaaed)
  • make nx plugin work without angular preset and add tailwind option (#370) (c8ee37c)
  • move nitro integration into separate vite plugin package (#341) (aeea815), closes #318
  • nx-plugin: fix angular 15.x and 16.x install support (#481) (acbdf14)
  • nx-plugin: initial commit page generator/schematic (#577) (4a2de22)
  • platform: improve nx plugin and add tRPC support (#382) (5a25787)
  • router: overhaul route discovery engine (#444) (d99869c), closes #237 #273
  • trpc: add rxjs observable compatible trpc client (#385) (1ba886a), closes #379
  • trpc: make CreateTRPCProxyClient publicly available (#453) (8a432a9)
  • trpc: use consistent naming for Trpc exports and use in Nx plugin (#454) (6ea71fb)
  • update template app dependencies to Angular v16.1.x, Nx 16.4.x (#479) (12e501c)
  • vite-plugin-angular: add support for JIT mode for testing (#374) (07af493)
  • vite-plugin-nitro: add BUILD_PRESET as a deployment preset alias (#402) (ab800bc)
  • vite-plugin-nitro: add initial support for sitemap generation (#497) (8485648)
  • vite-plugin-nitro: add support for running hooks during pre-rendering (#548) (46af10e)
  • vite-plugin-nitro: add support for XML content in API routes (#518) (56766d9)
  • vite-plugin-nitro: adjust output paths for vercel preset (#525) (1ec80f0)
  • vite-plugin-nitro: upgrade Nitro dependency to 2.x (#431) (6c3f387)

Reverts

  • Revert "build: add implicit dependency on nx-plugin to platform package (#443)" (c02e797), closes #443

0.2.0-beta.0 (2023-04-13)

Bug Fixes

  • add configurations to analog-app (23a4b6f)
  • add vite plugin as dependency on platform package (bb21e9a)
  • add working StackBlitz link (#323) (2d77c7d)
  • angular-vite-plugin: account for direct links to external styles/templates (77e6559)
  • apply content plugin to serve (02dab18)
  • astro-angular: check the component inputs before setting (#81) (c440629), closes #79
  • astro-angular: inline sourcemaps into compiled output (#99) (0c73e1a), closes #96
  • astro-angular: update zone.js import to zone.js/node (#189) (84e9139)
  • create-analog: add @nrwl/angular package to support Nx 15.4.x (#204) (33d729f)
  • create-analog: add tsconfig references so IDE can recognise projects (#65) (08c7467)
  • create-analog: exclude router for StackBlitz (870d982)
  • create-analog: fail silent when commit cannot be created (#63) (4a66a0c)
  • create-analog: fix initial commit and gitignore file in template app (#84) (c431cd8)
  • create-analog: move index.html to root in template app (e595ed2)
  • create-analog: pin @nrwl/vite package to 15.3.x (#187) (443038c)
  • create-analog: register router and initial client/server routes (#152) (11288d0)
  • create-analog: set composite to false and include ts files in tsconfig (#76) (c287041), closes #75
  • invalid cached routes on when routes are added/deleted (1beda39), closes #119
  • only use Nitro during serve, build (#156) (4b5b30a), closes #151
  • platform: absolute paths must be valid file URLs on windows #270 (#275) (d9721f4)
  • platform: add handling of routes array for prerendering (#227) (4f2afef)
  • platform: apply Nitro options after defaults (#179) (015844c)
  • platform: convert runtime files to JS for pre-rendering (#183) (07e5b34)
  • platform: exclude @analogjs/content from being eagerly bundled (c8202ab)
  • platform: exclude @analogjs/content from being eagerly bundled (0a3c1c3)
  • platform: keep router package from being eagerly optimized (b3d643b)
  • platform: only apply nitro SSR options during build (#191) (151717c)
  • platform: only transform xhr2 to default import one time (#297) (4a1f2b3)
  • platform: optimize content package if installed (ebc3815)
  • platform: update directory for public assets (dfed7f0)
  • platform: update path for route invalidation (1f6b8a4)
  • platform: use slash in event handler for api middleware(#325) (c8e65ea)
  • router: lazy load markdown routes (#233) (16688e5), closes #200
  • router: update regex to correctly parse catch-all routes (#330) (3c188ba)
  • routes: fix nested dynamic routes path (#305) (8abb61c)
  • simplify plugin flags (ebd8e61)
  • vite-plugin-angular: add check for undefined viteServer for build in test mode (#279) (301cffd)
  • vite-plugin-angular: add condition for sass styles (#186) (6ec883a)
  • vite-plugin-angular: add listeners to watch file add/deletion of files for compilation (58d6732)
  • vite-plugin-angular: add plugin to remove inline resource imports (#111) (3ceb470)
  • vite-plugin-angular: add rxjs and rxjs/operators to dep optimizations (#267) (aa82373)
  • vite-plugin-angular: add workspaceRoot to plugin options (5b90fbc)
  • vite-plugin-angular: allow build-angular v15 (#162) (3e56717)
  • vite-plugin-angular: always strip license comments from builds (#29) (5af9f28)
  • vite-plugin-angular: check for data query param for inlnine styles (3c7ac2a)
  • vite-plugin-angular: fix parsing of tsconfig option (#135) (a993a86), closes #134
  • vite-plugin-angular: fix resolution of external templates for builds (#93) (c99f0a0)
  • vite-plugin-angular: mark plugin options as optional (b4fc93a)
  • vite-plugin-angular: process/transform styles before Angular compilation (#167) (a2f3aa6), closes #142
  • vite-plugin-angular: remove sass from resolve conditions (a14df45)
  • vite-plugin-angular: remove sass from resolve conditions (#177) (f821d60)
  • vite-plugin-angular: skip transforming inline scripts (#98) (d54258e), closes #96
  • vite-plugin-angular: support watch mode for multiple templateUrls (#264) (7f96057), closes #257
  • vite-plugin-angular: update plugin to ignore tsx files (#102) (8bf9854), closes #100
  • vite-plugin-angular: use babel to make transform results compati… (#231) (c70e5dc), closes #202

Features

  • add Angular Vite plugin and setup initial app (6c9a98c)
  • add create-analog package (c9261a4)
  • add SSR support for dev/build (#182) (965ed61), closes #21
  • add support for pages directory and .page.ts routes (#281) (4240cf5), closes #274
  • angular-vite-plugin: add initial support for external styles/templates (#9) (e5c5da1), closes #5
  • astro-angular: add ability to pass vite options to integration (#130) (6769d1d), closes #129
  • astro-angular: add props (inputs) processing (#67) (2503e19), closes #60
  • astro-angular: enabled angular prod build (#66) (b0235fc), closes #64
  • astro-angular: update Astro integration with Angular v14.2 APIs (#58) (b385869), closes #24
  • astro-integration-angular: move astro integration to analog monorepo (#28) (dfbd57b), closes #24
  • change output directory from "server" to "analog" (#300) (2267afc), closes #295
  • content: add injectable token/service that provides list of content w/frontmatter (#225) (62aeb66), closes #222
  • content: add slug to metadata based on filename (#248) (bf8581a), closes #247
  • content: add support for accessing content files within nested folders (#286) (19acf0c), closes #282
  • content: add support for front-matter in routes using markdown (#205) (5b4292a), closes #198
  • content: add support for lazy loading content files (#235) (4709629), closes #234
  • content: update injectContent function to return content object… (#229) (19beed1), closes #228
  • content: use angular router for internal links (61813d0)
  • create-analog: add angular 15 template (#116) (#158) (df44122)
  • create-analog: add git initialization after app creation (aadf018)
  • create-analog: add SSR support to v15 template app (#190) (08ff148)
  • create-analog: add tailwind gen to create-analog script (#315) (80fe21c)
  • create-analog: add template for Angular v16 pre-release (#296) (f7748b1)
  • create-analog: set start command based on package manager (#43) (b9e5f28)
  • create-analog: update Angular v15 template to use @nrwl/vite package (#168) (73b6180)
  • enable ssr by default for analog platform plugin (#301) (95aa678)
  • introduce @analogjs/platform package for initial support for API routes (#132) (519c40c), closes #6
  • introduce file-based @analogjs/router library (#101) (480e8e1), closes #1
  • move plugins under platform package (#146) (cbc0264)
  • platform: add initial Nx plugin support (#308) (3a84ced), closes #293
  • platform: allow for configurable API route path prefix (#319) (26c78a1)
  • platform: allow nx-plugin to be packaged with @analogjs/platform (#313) (c842919)
  • platform: update prerender option to discover and resolve routes (#211) (99a7bb2)
  • router: add ability to provide meta tags using RouteMeta (#230) (004289d), closes #214
  • router: add experimental support for markdown as routes (#185) (55b1fde)
  • router: add RouteMeta type (f682c60)
  • router: add support for angular v15 (c99a84c)
  • router: add support for named index routes (#149) (1dc54d2), closes #148
  • router: deprecate defineRouteMeta in favor of RouteMeta (5d94827), closes #223
  • router: set title and meta tags for markdown pages (#236) (d6ef56b), closes #215
  • update nitropack to 0.6.x (#145) (295bdac)
  • update package.json deps for Angular v16 support (#298) (f1c25e4)
  • update template application to use platform and router packages (#147) (c4f1619)
  • upgrade dependencies to the latest Angular v16.0.0-next.7 release (#322) (0fe23c6)
  • vite-angular-plugin: update to Vite 3.0.x and Vitest 0.20.x (#18) (711bdae), closes #7
  • vite-plugin-angular: add caching to compilation host (1331039)
  • vite-plugin-angular: add optimizer plugin for builds (b78cfad)
  • vite-plugin-angular: add support for css preprocessing in component styles (#88) (418c52e), closes #82
  • vite-plugin-angular: add support for Vitest and update create-analog template (#15) (b0fb790), closes #13
  • vite-plugin-angular: add tsTransformers config (#213) (e733cd1), closes #210
  • vite-plugin-angular: change tsTransformers parameter type (#221) (3fd3ffa)
  • vite-plugin-angular: inline esbuild compiler plugin (#252) (8088439), closes #139 #2
  • vite-plugin-angular: support Angular Material custom package.json exports (#141) (cee43a9), closes #112

Performance Improvements

  • vite-plugin-angular: add perf changes from esbuild browser builder (#27) (168170f), closes #14

BREAKING CHANGES

  • platform: The prerender option has been renamed to static, and prerender is now a config object to auto-discover routes to be pre-rendered, and to add support for resolving additional routes async.

BEFORE:

analog({
  prerender: true,
});

AFTER:

analog({
  static: true,
  prerender: {
    discover: true,
    routes: async () => ['/', '/blog', '/extra/route'],
  },
});