All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.3.12 (2022-05-02)
- add missing
prefixStorage
import for bundled storage (defa4de) - storage: skip bundled storage for dev and prerender (31a3957)
0.3.11 (2022-05-02)
- storage: remove unused
prefixStorage
import (7376c6d) - storage: use
devStorage
for dev and prerender (93c4d85)
0.3.10 (2022-05-02)
- deps: pin
@rollup/plugin-node-resolve
due to cloudflare issue (3ecb813)
0.3.9 (2022-05-02)
- add cached shortcuts to the imports (#162) (bf6d208)
- cloudflare: normalize incoming & outgoing headers (#171) (abda66b)
0.3.8 (2022-04-27)
- cache: replace magage typo by maxage (#150) (07d8ced)
- replace
global.
in fewer instances (#155) (73db5c9) - support patch method auto-scanning (#153) (01801c2)
0.3.7 (2022-04-25)
0.3.6 (2022-04-22)
- manually merge runtime config with env (#143) (1be5ac2)
- respect
sourceMap
option (#141) (e5ab741) - wrap dynamic import in prerender to fix windows build failure (#134) (2be8aaf)
0.3.5 (2022-04-20)
- node-server: default production host to
0.0.0.0
(b7c7193)
0.3.4 (2022-04-19)
0.3.3 (2022-04-19)
- provide compatibility
#nitro
as a virtual module (6a798c6)
0.3.2 (2022-04-19)
- provide
#imports
alias and#nitro
for backward compatibility (ef2f216)
0.3.1 (2022-04-19)
0.3.0 (2022-04-19)
- rename
#nitro
to#internal/nitro
- remove
nitro:
prefix from hook names
- add layer0 preset (b748da3)
- cache: add
staleMaxAge
option for caching header (#116) (8ff6836) - netlify edge function preset (feebf8f)
- stormkit preset (#103) (7316385)
-
default fetch baseURL to runtime nitro base (#122) (00a15c1)
-
externals: normalize output paths to flat strcture (a7f451f), closes #106
-
force preset to
nitro-dev
whendev
flag used (94fc531), closes #121 -
remove
nitro:
prefix from hook names (ac2f0aa) -
rename
#nitro
to#internal/nitro
(944a348)
0.2.11 (2022-04-15)
- prerender: add
.html
for implicit html routes (1b7bc8c)
0.2.10 (2022-04-14)
0.2.9 (2022-04-14)
0.2.8 (2022-04-13)
- dev: remove global serve-placeholder (7b4f340), closes #94
- dev: watch routes changes to full reload (9d1ff93)
- escape regex for wild-card route matcher (41e27b4), closes nuxt/framework#4313
- remove
/index
from generated routes at last (09cad09), closes nuxt/framework#4314 - server-assets: assets behavior (#105) (e21134c)
0.2.7 (2022-04-12)
- rollup: also match moduleSideEffects with full path (ce2e898)
0.2.6 (2022-04-12)
- resolve to tested version of
defu
andh3
(ba2e237)
0.2.5 (2022-04-12)
- allow overriding nested runtime config (#65) (27fb68b)
- support custom error and dev error handler (#76) (cb6a84c)
- allow overriding nested variables (#75) (d7bfc96)
- allow users to override nitro error (#58) (aa660c7)
0.2.4 (2022-04-11)
0.2.3 (2022-04-11)
- always apply
#build
windows fix whenexternals.trace
is disabled (1ec2ee4)
0.2.2 (2022-04-11)
- disable externals with explicit flag (2e5de6c), closes nuxt/framework#226
- normalize
#build
windows path for dev and prerender presets (#70) (ec5db11)
0.2.1 (2022-04-07)
- use file:// for windows #build alias on dev (077b511)
0.2.0 (2022-04-07)
-
remove
nitro:document
hook -
remove
views/app.template.html
frombuild
logic -
remove
nitro:document
hook (1feb644) -
remove
views/app.template.html
frombuild
logic (0939233)
0.1.4 (2022-04-07)
0.1.3 (2022-04-07)
- avoid replaceAll for node 14 compatibility (#42) (e229115)
- externals: check for explicit externals (b4ced48)
- externals: improve fallback error handling (6b355ca)
- update azure SWA preset and update node versions detection (#43) (19c784b)
- update firebase output for package.json (#45) (7700500)
0.1.2 (2022-04-07)
0.1.1 (2022-04-07)
routes/
directory (2f96340)- method support for rotue handlers (da35ab1)
- register
[...].ext
as catch-all (2e2e283)
- also check for assets paths for
isPublicAssetURL
(4170f65) - always enable publicAssets plugin (a78e1be)
- cli: prerender before main build (9388b7d)
- mock readAsset when serveStatic is disabled (e95b9d9)
- service-worker: remove
_server
prefix (60ae8ba) - update unenv to fix proxy mock issues (fefd2e9)
- use
app.baseURL
runtime config for framework agnostic usage - expose
nitroApp
to entries - simplify storage options
- drop paths and support top level
baseURL
option - migrate to h3 0.5x with events API (#23)
- add
engines.node
field and node.js version check (#1197)
@nuxt/meta
module for head rendering (#179) (1a76f60)h3
auto imports preset (0661fa9)nitro.close()
(c1560d0)- add
engines.node
field and node.js version check (#1197) (a0ff933) - add
process.dev
(#16) (68fc5b3) - add
runtime/client
for $fetch polyfill (#11) (e241e3d) - add $fetch to client (48cf97c)
- add azure functions preset (#45) (15b20a5)
- add basic html error (d090aac)
- add firebase preset (#100) (750fa76)
- add hint to dynamic require for netlify (5fade11)
- add serve-placeholder (689aad0)
- add support for Azure static web apps (#92) (9a5ae67)
- add support for vite build (with vite-format manifest) (#450) (002469a)
- allow custom error handling (#30) (ac1b093)
- allow disabling tsconfig generation (f30a026)
- allow overriding runtime config with
NITRO_
or an alternative speficied withNITRO_ENV_PREFIX_ALT
(a27d529) - auto imports for
useConfig
anduseStorage
(5b2c950) - automatically mock unresolved externals (dac74e1)
- aws APIGatewayProxyEventV2 support (d135f01)
- basic multi dir support (376d349)
- basic support for netlify_builder target (#18) (4f90f95)
- better error handler (d8cf235)
- better process polyfill (f06a437)
- browser: inject script to js template (51712ad)
- cache api (e9a44f5)
- create
nitro.logger
to control verbosity (a91fd52) - define nitro
#storage
and#assets
types (#1377) (cf78609) - deps: update all non-major dependencies (#2252) (1b2e92e)
- detect target (ea250b3)
- dev server watch (3eb6c20)
- drop paths and support top level
baseURL
option (913f3d8) - dynamic chunk importer (0f179ab)
- dynamic-require rollup plugin (b00cfb9)
- enable externals.trace by default (303debd)
- export
defineNuxtConfig
fromnuxt3
and@nuxt/bridge
(#669) (8a02ab8) - expose
useNitroApp
to access nitroApp (3d82df1) - expose process.env.SIGMA_PRESET (8bdcc43)
- external: improved subpath detection for externals (d13b842)
- externals: smartly pick latest version and warn only on two different major (cb03c96)
- externals: write bundledDependencies and detect duplicate versions (a898c8d)
- generate
.nitro/types/tsconfig.json
(9494520) - generate meaningful chunkNames (9e22f68)
- generate public (dist/) (5f92307)
- generic devHandler support (9175a34)
- handle api routes with router (38b6631)
- handle caching headers for cachfied handlers (ace355b)
- improve base url options (#2655) (9d8cf91)
- improve cache support for event handlers (9b4b01a)
- improve dev error handling (298a36b)
- improve mocking (e76cb19)
- improve mocks (6f411b2)
- improve types (#6) (b982ae2)
- improved env support (0c22cbe)
- improved externals and experimental trace with vercel/nft (bc649ba)
- improved sever timing (95e4538)
- initial version of nu cli (#54) (47f4198)
- inject sw script to pages (b215c38)
- integrate $fetch with ohmyfetch (c0fc176)
- link crawling support (462398f)
- load and extend config/preset with c12 (e18211a)
- make browser target working again (7c35713)
- make cloudflare working (2ed7b35)
- migrate to h3 0.5x with events API (#23) (c705dd4)
- mock debug (#118) (54bb024), closes #97
- mock mime packages and fix v1 compat (c960a22)
- mock stream (435ce77)
- module utils and improvements (#38) (58605e2)
- natively parse and import async webpack chunks (14b9db4)
- new public asset handling (305c498)
- nitro app plugins (613a559)
- nitro endpoint for viewing
_vfs
(#362) (edd67c5) - nitro, vite: use native module (#252) (ad7044a)
- nitro: #config (d169f11)
- nitro: allow extending nitro context (4a3a253)
- nitro: assets driver (#511) (9a8d992)
- nitro: automatically type middleware/api routes (#708) (3163fa2)
- nitro: handle request body in workers (#537) (c3249cb)
- nitro: improve dev worker stability (#1303) (f71714d)
- nitro: raw loader (#75) (5acb394)
- nitro: server assets (#83) (f71574c)
- nitro: specify packages to copy to
.output/server/node_modules
(#2382) (acb0033) - nitro: ssl nitro support in production (#2742) (9c48d73)
- nitro: storage support (#76) (958563c)
- nitro: support adding
node_modules
as middleware (#2826) (75d2674) - nitro: support esbuild options config (#550) (bff7db3)
- nitro: support importing/inlining wasm binaries (#693) (a0ddbd2)
- nitro: support netlify zero-config deployments (#175) (ced37c2)
- nitro: update dependencies for node-fetch 3.x support (#1373) (9d12b7e)
- nuxi: add
nuxi preview
command for local testing (#2162) (b60a23a) - nuxi: bundle analyzer (#701) (5364d04)
- nuxt bridge (#459) (3de9574)
- nuxt3, bridge: useRuntimeConfig (#625) (832a9a4)
- nuxt3:
useFetch
(#721) (9b76832) - optional pages and refactor nuxt3 (#142) (39a0c4a)
- prerender support (24fb151)
- reexport common utils from
#nitro
index (3dc2ee6) - resolve aliases with reference to themselves (#26) (adb6c5d)
- resolve externals with full path (1c9b627)
- rewrite as nuxt module (6881079)
- rollup: allow custom replace entries (18ee71b)
- serve-placeholder (7a59183)
- serveStatic (#47) (af42712)
- show fs tree for output (a230bc7)
- sigma.client (1656155)
- sourcemap support (e47b266)
- ssr with service worker (971315c)
- support
NITRO_APP_BASE_URL
for buid-time (42ff5a3) - support
ssr: false
(#351) (ddc045e) - support dynamic chunks, lazy middleware and cjs target (0caa11e)
- support overriding nested runtime config (#2) (b9cdcbd)
- support runtimeConfig (closes #43) (5677d86)
- support server directory (#132) (cda0aa4)
- support serverMiddleware (e5cd009)
- support serverMiddleware (#26) (c99316f)
- support serverMiddleware (#26) (92e5015)
- support ssrContext.head (8bcf6fb)
- support staticAssetsBase (aca8be7)
- support targer functions to consume nuxtOptions (725caec)
- support typescript via esbuild (closes #42) (3dd5276)
- support universalFetch during generate (f656d3f)
- swr support with route rules (4e37f23)
- swtich to h2 stack for dev server (4dfca5a)
- timing plugin and Server-Timing (424ce0a)
- unimport support for server api (#15) (9fc9e03)
- update preset options (12e1291)
- update vercel and improve internals (9b5ac28)
- use
@nuxt/design
(#322) (b9a7033) - use dynamic require for node targets (a67944f)
- use h2@10 (8ce644a)
- use native esm for all packages (#539) (cf4d593)
- use virtual filesystem for templates (#292) (b0a9bd2)
- use webpack esm server build (#474) (009579a)
- vite: vite dev server bundler (#604) (fb91ed2)
- whitelist static routes (377a965)
- worker: support process.hrtime (a5904f5)
- working cloudflare with vue2 and async chunks (0255442)
- working poc (6f5c475)
-
_interopDefault potential cjs files (d873169)
-
404 handling for static assets (c0cb35d)
-
add
node_modules
from cwd to nodeResolve (035a6e6) -
add critical css (37f6d79)
-
add default route when generating code (df694ea)
-
add default value for assets.dirs (4d7c6ac)
-
add default value for buildDir and generateDir (565a27c)
-
add generate.routes and disable crawler (ec89296)
-
add hack for encoding (20b8f22)
-
add missing default for
devHandlers
(43b2f41) -
add nitro client plugin ($fetch support) (#223) (93213f4), closes #213
-
add temp fix for browser (d197716)
-
allow matching dynamic page routes (88d0676)
-
allow not overriding env, and allow disabling prefix (#40) (1d6a802)
-
allow numbers in dynamic webpack chunk names (#125) (3bfa916)
-
allow use of nuxt3 in non-wsl windows environment (#308) (da6da9c)
-
always mock generic dependencies (f210304)
-
automock: don't externalize .ts imports (077bf13)
-
avoid
replaceAll
for platform compatibility (3cde549) -
avoid closing on dev command (b6cca1a)
-
avoid overriding hooks (d722e9f)
-
avoid reloading worker when entry not exists (5d3ca2f)
-
await for reload process before responding (f441b30)
-
bring back nuxt3 support (a87c2a5)
-
browser: 400.html ~> 404.html (7c68add)
-
clone config and preserve overrides for prerender instance (08c65b8)
-
cloudflare and polyfill (dc967bc)
-
cloudflare, lambda: preserve query parameters in url (#155) (b59986d)
-
compat: add template variables for compat module (#162) (126920a)
-
compat: cannot read property setLegacyMiddleware of undefined (#82) (29b368e)
-
compat: enforce nuxt generate for static target (#148) (8e0b095)
-
components: augment 'vue' module rather than overwriting (#305) (c631f11)
-
default value for template path (b334942)
-
dep: pin esbuild to 0.10.x due to module breaking changes (879a5bc)
-
deps: update
h3
to0.5.2
(ce14f33) -
deps: update dependency ohmyfetch to ^0.4.4 (#1705) (27f238f)
-
dev: add conditional check for
removeAllListeners
call (6529f60) -
dev: handle unhandledRejection and uncaughtException to avoid failing worker state (4e8a661)
-
dev: use localhost for emited host in port mode (eb6ebdb)
-
disable cleanTargetDir for vercel (9d8a95b)
-
disable external tracing for local preset (0d7d102)
-
do not inline whole
rootDir
(0929bcd) -
don't set _registeredComponents (89b1958)
-
enable vue-resolution workaround (17c3c60)
-
ensure builds are relative to buildDir (ba687f8)
-
exec require before return (a3fb537)
-
expose types (66b4973)
-
extend routes from serverless.static (75ae176)
-
externals: handle non pkg paths (0831bac)
-
externals: use normalizeid for external files (b9db0e9)
-
externals: windows compatibility with parseNodeModulePath (935f39a)
-
fix _interopDefault implementation (faa7245)
-
fix error template formatting (545ccf6)
-
fix issues with router.base support (5a7e0fa)
-
fix mocks and disable buffer since is unnecessary (ecdf2cd)
-
fix preview and deploy command info (1c1bf04)
-
fix worker polyfill by adding performance (a30fed4)
-
handle if serverless is not set in config (f055ddd)
-
handle undefined error stack in production (39ef2b3)
-
hide rollup circular and eval (e5f9900)
-
host ~> hostname (7c663c2)
-
ignore close listeners (ae22387)
-
ignore resolving vue alias when not found (5f12eaa)
-
improve externals handling (a5262e4)
-
improve prerender logs (32ff5e4)
-
issues with externals outside of rootDir (a7cbfbe)
-
lazy is true by default (04d28b9)
-
less verbose logs when testing (00177d0)
-
load webpack modules synchronously with
require
(#104) (c20e813) -
move hrtime polyfill to timing plugin (fe9d073)
-
netlify: update output templates (4f46310)
-
nitro, nuxi: add runtimeConfig types (for
#config
anduseRuntimeConfig()
) (#1783) (486be51) -
nitro: add back compat entry (70bf183)
-
nitro: add body + body prepended scripts to template (#154) (f348588)
-
nitro: add missing kit dependency (dfa3d8d)
-
nitro: add temporary workarouind for ufo resolution in nuxt2 (e5ecf6b)
-
nitro: allow inlining subpath of externals (#2759) (30023f7)
-
nitro: avoid using fs/promises (bd25e87)
-
nitro: correct vercel fs api static directory (#488) (cd0616e)
-
nitro: detect routes and middleware starting with dots (#2771) (9b3d6c2)
-
nitro: disable
moduleSideEffects
by default (#377) (ec207e9) -
nitro: do not modify
event.request
for worker entries (#1279) (cc9a4cd) -
nitro: do not overwrite output files for browser-preset (#516) (69fd546)
-
nitro: ensure that nitro runtime is not externalized (#121) (d78237d)
-
nitro: exclude
rootDir
from externals and reinstate automock warning (#66) (5d9344f) -
nitro: export named function rather than default export (#490) (3ade210)
-
nitro: firebase package.json is not exported (#809) (31454ea)
-
nitro: fix externals regex for scoped packages (349c1d0), closes #238
-
nitro: generate netlify
_redirects
in public (#298) (2534dc6) -
nitro: handle esm imports from cjs files (8decd90)
-
nitro: handle static assets and api routes for
service-worker
preset (#518) (9808f05) -
nitro: handle terminating uninitialized worker (9132a67)
-
nitro: import rollup as cjs (1d9602c)
-
nitro: inject entryURL at beginning of entrypoint (#468) (cb3affa)
-
nitro: modify contents rather than compiled , remove template
compiled
(#1154) (5d7740c) -
nitro: narrow replace call for template name (#1626) (4e0f597)
-
nitro: omit
/index
from generated api urls (#1371) (f1a17f2) -
nitro: only serve placeholders for
publicPath
(1cf0844) -
nitro: ovrride by user input (306b96f)
-
nitro: pass query params to localCall in service worker (#530) (2af7359)
-
nitro: pass req, res to ssr context (resolves #39) (0e651d8)
-
nitro: pass sourcemap option through to rollup plugins (#2387) (2122f5c)
-
nitro: read body stream on post requests for
service-worker
(#527) (cf19a6a) -
nitro: resolve alias for serverMiddleware (79ef2fb)
-
nitro: resolve default export for assets (60c1b6b)
-
nitro: resolve firebase package versions with
pkg-types
(#1490) (971a9dd) -
nitro: respect fs structure for traced files (#2107) (e3faaed)
-
nitro: revert to main rollup import (closes #1445) (5056059)
-
nitro: set
makeAbsoluteExternalsRelative
to false (resolves #160) (df28558) -
nitro: set content-type header before html 404 (#2301) (68ab584)
-
nitro: show all ERR_MODULE_NOT_FOUND errors (#561) (1a98e26)
-
nitro: skip copying symlinks and directories (#1510) (5a0d1a1)
-
nitro: sort middleware fron long to short (340bc61)
-
nitro: support ~/@ aliases and explicitly externalize buildDir (242207a)
-
nitro: support vue-meta (compat) (f0cd329)
-
nitro: terminate active worker before replacing (#1302) (1b93a42)
-
nitro: type inference for api routes returning promise (#1483) (3f5bba1)
-
nitro: update dot-prop import (81f51d5)
-
nitro: update firebase preset to handle mjs output (#1360) (7797383)
-
nitro: use
generate:page
hook for browser to inject sw (134431b), closes #522 -
nitro: use file url for
#build
alias in windows dev (#469) (d4a9f23) -
nitro: use globalThis (5a0d9e7)
-
nitro: use nuxt2 compatible template (#268) (48e2dfa), closes #265
-
nitro: watch .mjs and .cjs extensions (closes #352) (cab8faa)
-
nitro: workaround for vue2 global style injection (f1b74d0)
-
nuxt3: provide
NuxtWelcome
component from design (#745) (2d13716) -
only generate .sls directory when needed (de51381)
-
pkg: downgrade node version to 14.16.x due to stackblitz issue (18d2a90)
-
pkg: downgrade node version to 14.17.x due to codesandbox issue (f00f9d4)
-
pkg: expose
defineNitroPreset
(4846247) -
pkg: support node 17.x in the engines field (#1443) (3416d8c)
-
preset types (5574f7e)
-
promisify: false support (768081b)
-
properly resolve runtimeDir from chunks (9adfacd)
-
remove extra
console.log
(82c2767) -
remove runtime/ prefix (0be4ba1)
-
remove windows workaround for now (4af4f32)
-
render: don't override statusCode (f166cfa)
-
resolve chunksDirName based on outNames dirname (vercel) (e82cfcc)
-
resolve runtime provided dependencies (3e9e27e)
-
resolveMiddleware: remove legacy handler and path props (1de3717)
-
rollup: dirnames not generate a sourcemap for the transformation (#83) (a8c02df)
-
schema: extend
NuxtOptions
for nitro & bridge types (#2131) (4d8e184) -
schema: handle null/undefined values in
runtimeConfig
(#2456) (7ad2764) -
serve public assets in production (2dfad65)
-
service-worker: check for asset urls (aab6fbf)
-
silent proxy errors (63a083c)
-
skip static dir if not exists (3b87c28)
-
small bug fixes (26046ee)
-
static asset handling with leading slash (2303c7d)
-
storage: replace non-word characters with underscore (#542) (01628ae)
-
support both targets by adding prepare step (36bfc43)
-
temporary disable auto mock plugin (414dfb6)
-
timing plugin helper import (d9b28da), closes nuxt/framework#3399
-
timing: include helpers only in entries (fe5a33e)
-
update
service-worker
preset (ce3aaf6) -
update changed mw.path => route (359a959)
-
update h3 for static asset handling (2861c61)
-
update node-resolve options (e33b658)
-
update runtime/config (b979f74)
-
update service-worker entry (5874d01)
-
use allowlist approach to chunk name (#101) (42f2269), closes #93
-
use connect for dev server due to loading-screen issue (67d78c8)
-
use dist for netlify as default (d4d5285)
-
use globalThis for client plugin (34dbae8)
-
use html.contents (97d0ebe)
-
use native fetch when node is disabled (4271c65)
-
use nitro plugin with explicit mjs extension (78135ac)
-
use output/public for prerenderer (70c0866)
-
use same global to inject process.hrtime (0303912)
-
vercel: add
/index
suffix to dst (601b413) -
vercel: add api prefix (1fc0d9a)
-
vercel: add missing node segment (b68b4c9)
-
vercel: entry should export handle as default (c8b1346)
-
vercel: generate to config/routes.json (f9e35f6)
-
vercel: remove index.js from serverDir (9ba1281)
-
workaround for
vue
3.2.18+ esm bundle issue and revert #566 (#578) (#578) (e60d22a) -
worker: smaller and working hrtime polyfill (2f60ea4)
-
worker: wrap polyfill to iife (3049212)
-
expose
nitroApp
to entries (4aa955f) -
simplify storage options (cffb900)
-
use
app.baseURL
runtime config for framework agnostic usage (59196a6)