Nuxt/packages/nitro/CHANGELOG.md
Pooya Parsa 4d69c9fb55 chore: release
- @nuxt/nitro@0.2.4
 - nuxt3@0.2.5
2021-04-06 15:09:01 +02:00

21 KiB

Change Log

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

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)