Nuxt/packages/nitro/CHANGELOG.md

26 KiB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.7.0 (2021-05-20)

Bug Fixes

  • automock: don't externalize .ts imports (d95e002)
  • nitro: add body + body prepended scripts to template (#154) (c732873)

Features

0.6.3 (2021-04-28)

Note: Version bump only for package @nuxt/nitro

0.6.2 (2021-04-28)

Bug Fixes

  • nitro: don't externalize @nuxt, virtual: and # (5e0abbc)
  • nitro: ensure that nitro runtime is not externalized (#121) (813df27)
  • nitro: handle esm imports from cjs files (51538bf)
  • nitro: remove depd unenv alias (#120) (2a2c4d5)

0.6.1 (2021-04-23)

Bug Fixes

  • nitro: avoid using fs/promises (47c2855)

0.6.0 (2021-04-23)

Bug Fixes

  • nitro: mock consola (#106) (4c0dba2)
  • nitro: only serve placeholders for publicPath (1b10a1f)
  • nitro: ovrride by user input (8f8551c)
  • nitro: resolve default export for assets (49e4c03)
  • nitro: use globalThis (5a3f4b7)
  • issues with externals outside of rootDir (4e18653)

Features

  • nitro: allow extending nitro context (bef9f82)

0.5.2 (2021-04-17)

Bug Fixes

  • nitro: support vue-meta (compat) (4dac07a)

0.5.1 (2021-04-16)

Bug Fixes

  • nitro: workaround for vue2 global style injection (e5df083)

0.5.0 (2021-04-12)

Bug Fixes

  • nitro: absolute external resolution (#80) (9a23c2a)

Features

Performance Improvements

  • nitro: externalize buildDir in development (f8cb258)

0.4.0 (2021-04-09)

Bug Fixes

  • nitro: exclude rootDir from externals and reinstate automock warning (#66) (00c7ede)

Features

0.3.0 (2021-04-08)

Features

  • basic support for netlify_builder target (#18) (b536ab4)

0.2.4 (2021-04-06)

Bug Fixes

  • nitro: add temporary workarouind for ufo resolution in nuxt2 (f66d917)

0.2.3 (2021-04-06)

Bug Fixes

  • use globalThis instead of global (#59) (b12cbc5)
  • app, nitro: fix app:rendered hook (#53) (7f97015)

0.2.2 (2021-04-04)

Note: Version bump only for package @nuxt/nitro

0.2.1 (2021-04-04)

Bug Fixes

  • nitro: add back compat entry (9c21ea5)
  • nitro: add missing kit dependency (6e1cb62)
  • nitro: pass req, res to ssr context (resolves #39) (16cc09b)
  • nitro: resolve alias for serverMiddleware (c864c5a)

0.2.0 (2021-04-04)

Bug Fixes

  • cloudflare, lambda: preserve query parameters in url (#155) (8cc836e)
  • compat: enforce nuxt generate for static target (#148) (fdc0ffe)
  • dep: pin esbuild to 0.10.x due to module breaking changes (6fb4028)
  • allow matching dynamic page routes (0942d72)
  • allow numbers in dynamic webpack chunk names (#125) (27aef14)
  • avoid overriding hooks (5bfacf1)
  • compat: cannot read property setLegacyMiddleware of undefined (#82) (67a82a7)
  • compat: disable webpack sourcemap (#84) (1b14214)
  • config: always disasble server sourceMap (#88) (5aa3161)
  • resolveMiddleware: remove legacy handler and path props (5e6fb80)
  • _interopDefault potential cjs files (4f09b51)
  • 404 handling for static assets (387fa4a)
  • add node_modules from cwd to nodeResolve (4685108)
  • add temp fix for browser (37c7e89)
  • addresses static assets/azure issues (#49) (9c25d68)
  • bring back nuxt3 support (9e9b20e)
  • check for server webpack config (#91) (97efab4)
  • cloudflare and polyfill (cb98031)
  • default value for template path (a6936ff)
  • disable external tracing for local preset (0675191)
  • disable static manifest generation (resolves #53) (133b44d)
  • fix _interopDefault implementation (d94aec4)
  • force rebuild on new files being added (#136) (e1f409e)
  • hide rollup circular and eval (5c8ac22)
  • lazy is true by default (68fc208)
  • load webpack modules synchronously with require (#104) (c1cd37d)
  • promisify: false support (82f6db6)
  • remove runtime/ prefix (531f6b1)
  • silent proxy errors (239c69d)
  • skip static dir if not exists (6de295c)
  • static asset handling with leading slash (fd0be27)
  • temporary disable auto mock plugin (4890205)
  • temporary remove dev warning for pwa module (#40) (3c9bb27)
  • update documentPath with updated buildDir (#70) (2186d95)
  • update node-resolve options (0a2f9a3)
  • use allowlist approach to chunk name (#101) (c76bd35), closes #93
  • use globalThis for client plugin (7096119)
  • rollup: dirnames not generate a sourcemap for the transformation (#83) (2d0ff10)
  • use connect for dev server due to loading-screen issue (e56178a)
  • vercel: entry should export handle as default (d3d3c0a)
  • vercel: remove index.js from serverDir (15fff51)
  • add critical css (1a6a4cb)
  • add generate.routes and disable crawler (a4952a0)
  • add hack for encoding (5361558)
  • add more types (#16) (fc0934d)
  • add prefix to dynamic imports name (#5) (d4624ab)
  • always mock generic dependencies (b65cd78)
  • configurable publicPath (closes #21) (aff2372)
  • disable cleanTargetDir for vercel (e874d4d)
  • don't set _registeredComponents (ef4e544)
  • ensure builds are relative to buildDir (a9a262f)
  • exec require before return (e3609b6)
  • extend routes from serverless.static (4185ec8)
  • fix issues with router.base support (4f74119)
  • fix mocks and disable buffer since is unnecessary (c8f4957)
  • fix worker polyfill by adding performance (72b877f)
  • handle if serverless is not set in config (d6aea1e)
  • host ~> hostname (bec1c8e)
  • ignore close listeners (bde0c7c)
  • move hrtime polyfill to timing plugin (047761f)
  • resolve chunksDirName based on outNames dirname (vercel) (e16aee4)
  • static dir is in srcDir (#37) (16451a3)
  • support both targets by adding prepare step (b15d16a)
  • use dist for netlify as default (f638a44)
  • browser: 400.html ~> 404.html (2e329d0)
  • timing: include helpers only in entries (f2c1589)
  • only generate .sls directory when needed (696556a)
  • resolve runtime provided dependencies (16141ef)
  • use html.contents (374487e)
  • use native fetch when node is disabled (a5e70eb)
  • use same global to inject process.hrtime (e8f52bd)
  • vercel: add /index suffix to dst (2c4b857)
  • vercel: add api prefix (1df092d)
  • vercel: add missing node segment (a6c4a7e)
  • vercel: generate to config/routes.json (7347e8e)
  • worker: smaller and working hrtime polyfill (2a6d4f3)
  • worker: wrap polyfill to iife (eaf4603)

Features

  • add $fetch to client (a7d1587)
  • add azure functions preset (#45) (976dff7)
  • add firebase preset (#100) (9390acc)
  • add hint to dynamic require for netlify (f7378db)
  • add support for Azure static web apps (#92) (31a9bc2)
  • automatically mock unresolved externals (b5b585c)
  • better error handler (7e682ed)
  • better process polyfill (989f681)
  • detect target (ddccc9c)
  • dynamic chunk importer (ad4fc18)
  • dynamic-require rollup plugin (cbae59a)
  • enable externals.trace by default (19e6542)
  • expose process.env.SIGMA_PRESET (02a66ab)
  • generate meaningful chunkNames (aa71b51)
  • generate public (dist/) (0245bd6)
  • improve mocking (2384b82)
  • improve mocks (6ff7c7e)
  • improve types (#6) (dfdd466)
  • improved env support (227e04b)
  • improved externals and experimental trace with vercel/nft (5bbdc2b)
  • improved sever timing (dbce482)
  • inject sw script to pages (6e16783)
  • integrate $fetch with ohmyfetch (2c83f6e)
  • make browser target working again (9d02552)
  • make cloudflare working (5b83142)
  • mock debug (#118) (65229ff), closes #97
  • mock mime packages and fix v1 compat (2ad4a81)
  • mock stream (040af4e)
  • module utils and improvements (#38) (b3f3dc9)
  • natively parse and import async webpack chunks (609796a)
  • rewrite as nuxt module (486c881)
  • serve-placeholder (0b886cf)
  • serveStatic (#47) (a9b9d19)
  • show fs tree for output (6875d55)
  • sigma.client (abf65f2)
  • sourcemap support (daf0c3e)
  • ssr with service worker (2dbaae6)
  • support dynamic chunks, lazy middleware and cjs target (1e34041)
  • support runtimeConfig (closes #43) (ca015de)
  • support server directory (#132) (85da52d)
  • support serverMiddleware (75ed762)
  • support ssrContext.head (6e9be0e)
  • support staticAssetsBase (415db06)
  • support targer functions to consume nuxtOptions (91caf2c)
  • support typescript via esbuild (closes #42) (7ae8483)
  • support universalFetch during generate (9e638e9)
  • swtich to h2 stack for dev server (921bb15)
  • timing plugin and Server-Timing (740bf07)
  • update preset options (8a22fa3)
  • update vercel and improve internals (c7b88de)
  • use h2@10 (cd0dd00)
  • browser: inject script to js template (04a25fc)
  • worker: support process.hrtime (4b831fb)
  • use dynamic require for node targets (114b540)
  • whitelist static routes (e050556)
  • working cloudflare with vue2 and async chunks (e6fa415)

Performance Improvements

  • short circuit window type to recuce bundle size (bda5805)