All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Support modules to extend nitro builder (#1789)
- Support
inline
mode forserveStatic
(#1864) - Add experimental
winterjs
preset (#1863) - Allow setting preset using
SERVER_PRESET
environment variable (#1870) - cloudflare-pages, cloudflare-module: Enable code splitting by default (#1905)
- Support
framework
config (#1843) - Add aws amplify hosting preset (#1912)
- Upgrade to rollup v4 (#1927)
- Improve
nitro.json
build info (#1930) - aws-amplify: Support static builds (#1933)
- Add
defineNitroErrorHandler
type helper (#1923)
- cloudflare-pages: Filter out overlapping public assets dirs (#1859)
- winterjs: 0.1.7 compatibility (#1876)
- scanner: Allow having http method as part of the route name (#1895)
- Generate route types with resolve path and stripped extension (#1897)
- Scan dirs for unimport on initialization (#1908)
- aws-amplify: Register and auto detect (0f38eb6f)
- prerender: Decode generated routes (#1914)
- Disabled public asset handler name is
null
(b7a6a1a6) - prerender: Decode uris in headers (#1932)
- error: Respect
accept: text/html
request header (#1921) - prerender: Filter encoded links starting with
#
(#1936)
- deploy: Split runtimes from providers (#1865)
- routing: Add note about middleware returns (#1884)
- Update edge links to nightly (#1902)
- deploy: Add deno to runtime list (#1899)
- cloudflare: Updatge wrangler link (#1913)
- aws-amplify: Add custom
amplify.yml
(f412af16) - amplify: Remove cache from config (7bbb723e)
- Hide winterjs due to unstability (048c8ff0)
- aws-amplify: Update regions (#1931)
- aws-amplify: Add step to enable SSR logging and remove experimental (#1934)
- aws-amplify: Remove workaround banner (#1935)
- Export
SerializeTuple
andSerializeObject
(#1907)
- release: V2.7.1 (2d803a3c)
- Add jsdoc for
cache.maxAge
(#1878) - Update lockfile (dbff232e)
- docs: Update dependencies (28867009)
- docs: Fix prerender issues (d2a7d84d)
- Update unstorage (110bc4a3)
- Update unstorage (441db6ca)
- Fix typos in aws amplify (963716dd)
- Update lockfile (926bcef4)
- Hide winterjs due to unstability (1b50a9a1)
- Disable codecov and codeql (fd4671ce)
- Pooya Parsa (@pi0)
- Siegerts [email protected]
- Passionate-bram
- Daniel Roe [email protected]
- Neil Richter (@noook)
- Xin Du (Clark) [email protected]
- Anthony Fu [email protected]
- Dario Piotrowicz (@dario-piotrowicz)
- Kalwabed Rizki
- Thunfisch987
- Oof2win2 [email protected]
- Markthree (@markthree)
- Estéban (@Barbapapazes)
- Recursively simplify returned objects (#1847)
- cache: Fix
etag
andlast-modified
values (#1855) - cache: Invalidate wrongly cached handler entities (#1857)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- vercel: Support
bypassToken
for on-demand static reganaration (#1723) - prerender: Support
retry
andretryDelay
(#1534) - Allow disabling compressed size calculation (#1756)
- Use native fetch for
node >= 18
to reduce%40
of bundle size (#1724)
- Sort dependencies in
.output/package.json
(#1708) - Add
application/javascript
mime type in lambda utils (#1737) - renderer: Allow all h3 handled body types (#1755)
- dev: Safe error message override (#1712)
- azure: Fix cookie format normalization (#1753)
- Exclude undefined from hook types (#1769)
- iis-node: Pass
PORT
asNITRO_UNIX_SOCKET
(#1783) - aws-lambda: Handle
event.isBase64Encoded
(#1779) - cache: Allow overriding integrity (#1791)
- cache: Write swr and update errors to console (#1794)
- cache: Only return validated stale value (#1795)
- cache: Only invalidate if
validate
returnsfalse
(#1796) - Watch plugins directory (#1800)
- cache: Allow setting multiple
set-cookie
headers (bad practice) (#1838) - prerender: Decode html entities in rendered links (#1824)
- storage: Validate and skip invalid mounts (#1805)
- cache: Validate
entry.value
to have value for cached handlers (84559382) - cache: Fix event handler integrity hash generation (#1820)
- cache: Set cache item before returning response on first request (#1813)
- iis: Improve preset and docs (#1784)
- Update prerender options (11a24124)
- Fix typo (#1722)
- Register error handler using hook instead of
hookOnce
(#1743) - Update lock file (#1750)
- Fix typo (#1759)
- Fix configuration file name of the custom preset (#1760)
- Typo in word "legacy" in Configuration docs (#1780)
- cloudflare: Add local dev section (#1772)
- release: V2.6.3 (9bb55262)
- Add
.devcontainer
(#1633) - Update dependencies (d225d3be)
- Fix lint issue (c3565d8c)
- Update non-major dependencies (9c2cab26)
- Update lockfile (179846c7)
- Fix type issues (0ff72e29)
- Update vitest to
1.0.0-beta
(#1776) - Update dependencies (553e4534)
- app: Fix
localFetch
type (5f3b287c) - Use pnpm
shell-emulator
for windows local development (#1828) - Update lockfile (f4e33332)
- Use
nitropack-nightly
for nightly release channel (#1841) - Increase codecov threshold (bc464032)
- Update lockfile (f53e3575)
- Temporaily disable dev test in ci (53a96adb)
- Update deno test with explicit host (8cce5085)
- Update reponse type check (#1839)
- Pooya Parsa (@pi0)
- Yasser Lahbibi (@yassilah)
- Horu
- Michael Brevard [email protected]
- Daniel Roe [email protected]
- MiniDigger < Martin>
- Estéban (@Barbapapazes)
- Heb (@Hebilicious)
- Henrique Lopes
- McPizza [email protected]
- Michael BOUVY [email protected]
- Jeremy Graziani
- Tobias Diez [email protected]
- VALERIY SINEVICH
- Roman Zipp [email protected]
- Benjamin GAYMAY (@BenjaminGaymay)
- Alexander Lichter (@manniL)
- Farnabaz (@farnabaz)
- Nils K
- Jonas Thelemann (@dargmuesli)
- Jenjen75 [email protected]
- Sébastien Chopin (@Atinux)
- firebase: Apply region for gen2 deployments (#1657)
- cloudflare-pages: Autodetect static preset (#1659)
- Resolve output dirs relative to
rootDir
(#1666) - prerender: Allow disabling html sub-folders (#1676)
- firebase: Use correct key when importing firebase
httpsOptions
(#1663) - Await on
send()
calls (#1701) - Bun dev compatibility (#1702)
- aws-lambda,netlify-lambda: Binary body v2 and cookies v1 (#1683)
- iis: Merge
web.config
(#1658)
- render-com: Add note about node version (#1693)
- Add instructions for using nuxt edge release channel (#1688)
- Add instructions for bun (#1672)
- release: V2.6.2 (9d0a383c)
- Tiny internal typo (#1668)
- Fix code comments (#1673)
- Update dependencies (3134ba6d)
- Update test for bun headers (#1684)
- Gavin Hardaker (@Hardaker587)
- Heb (@Hebilicious)
- Colin McDonnell (@colinhacks)
- Pooya Parsa (@pi0)
- Luke Nelson [email protected]
- Rajeev R Sharma [email protected]
- Markthree (@markthree)
- Daniel Roe [email protected]
- Yuichi Takebe
- Use new h3 generics for
defineCachedEventHandler
(#1640) - aws-lambda, netlify: Add
isBase64Encoded
response field (#1645) - Exclude typed body from
cachedEventHandler
(#1647) - static: Send immediate empty responses for 304 handling (#1639)
- docs: Update dependencies (d4d622c2)
- docs: Add hotfix for
micromark
import issue (b1e676e6) - Update lockfile (fffd8724)
- Update
listhen
(62ac3065)
- Add test for prerender ignored
data:
urls (#1431)
- Pooya Parsa (@pi0)
- Markthree (@markthree)
- Daniel Roe [email protected]
- Azcray
- Correctly mark
middleware: false
for scanned routes (#1631) - Pass relative ignore paths when scanning public assets (#1632)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- storage: Default data storage for
node
and dev presets (#1352) - Support regexps in external options (#1388)
- Support
exportConditions
and add worker default conditions (#1401) event.waitUntil
with cloudflare integration (#1421)experimental.typescriptBundlerResolution
flag (#1384)- Support
ignore
to ignore scanned files (#1430) - Allow ignoring public assets with
ignore
options (#945) - Add
iis
server preset (#1436) - Auto capture errors with
nitroApp.captureError
(#1463) - vercel: Enable streaming support out of the box (#1514)
- Fully resolve type paths for auto-import declarations (#1528)
- Add
prerender:config
,prerender:init
andprerender:done
hooks (#1519) - cache: Support cached event handlers with varies (#1184)
- app: Support
request
,beforeResponse
andafterResponse
hooks (#1545) - Experimental composition api via
useEvent()
ans async context support (#1546) - prerenderer: Support for query links exploration (#1474)
- cloudflare-pages: Add config to customize generated
_routes.json
(#1312) - firebase: Add support for 2nd generation functions (#1500)
- externals: Resolve actual subpaths before guessing (#527)
- externals: Support aliasing traced packages (#1553)
- wasm: Support output esm imports (#1565)
- Enable
timing
in debug mode (#1577) - prerender: Preserve prerendered asset
content-type
header (#1587) - externals: Improved output
package.json
(#1607) - firebase: Support renaming exported server function (#1377)
- azure: Support custom configuration (#1344)
- node-server: Support listening to unix sockets using
NITRO_UNIX_SOCKET
(#1201) - cloudflare-module, cloudflare-pages: Experimental dynamic imports (#1172)
- cli: Support
--preset
and--minify
/--no-minify
args forbuild
(#1621) - cli: Add listhen options for
dev
command (#1622) - Handle stream and Uint8Array for lambda presets (#1624)
- Use
fsLite
driver for productiondata:
storage (dd290763) - Use inline http-graceful-shoutdown to reduce externals (8053cca0)
- Remove
source-map-support
as node supports--enable-source-maps
(9ba8fe98) - Bundle runtime dependencies (#1554)
- Use local fetch for proxy route rules (#1609)
- rollup: Replace
globalThis.process.
withprocess.
(#1360) - types: Enable
allowSyntheticDefaultImports
option by default (#1383) - cache: Try to call
event.waitUntil
(#1422) - defineCachedFunction: Properly infer function type (#1423)
- static: Safe decode path (#1459)
- Split cookie headers (#1452)
- deno-deploy: Treat all
https://
modules as external (#1438) - cache: Call
event.waitUntil
on main resolver when expired (421d6255) - prerender: Skip redirects (#1448)
- aws-lambda,netlify: Base64 encode binary responses (#1274)
- app: Enable router preemptive mode (#1504)
- vercel: Allow arbitrary function configuration (#1508)
- Use relative paths in
tsconfig.json
(#1518) - prerender: Free up memory after each route is written to the disk (#1536)
- prerender: Call
prerender:route
before freeing up memory (#1537) - prerender: Only match
href
attribute after whitespace (#1530) - externals: Absolute paths are inlined (#1429)
- openapi: Merge handlers with same route and different method (#1497)
- prerender: Exclude encoded
href
attributes from link extraction (#1485) - externals: Increase score for npm package name patterns to avoid breaking changes (#1548)
- deno-deploy: Decode static asset path before reading from filesystem (#1494)
- Remove non-standard
module
export condition (#1559) - externals: Trace externals with their commonjs / esm status (#1562)
- Use relative paths in generated tsconfig (#1572)
- app: Use
event.path
instead ofevent.url
(41a76c0f) - cache: Don't use
_originalPath
(#1576) - types: Use relative type path to nitro
#internal/nitro
(#1584) - Disable sourcemap minify for dev (e38f3586)
- Use relative source map paths and add test (#1582)
- pkg: Remove node 14 from supported
engines
(#1585) - prerender: Use decoded asset id to access prerendered asset header overrides (#1588)
- Add
consola/core
alias (#1591) - vercel,netlify: Don't deprecate
swr
whencache: false
(#1603) - build: Workaround bun's difference in
function.toString()
(#1606) - firebase: Ignore
fsevent
dependency (#1610) - Directly pass
localFetch
to route rules handler (#1611) - stormkit: Properly send buffer responses (#1616)
- Add parent
node_modules
of nitro to modules dir for pnpm compat (#1618) - deno-server: Fix injections and enable back tests (#1625)
- cloudflare: Use
wrangler deploy
instead ofpublish
(#1372) - cloudflare: Use
wrangler deploy
in more places (#1393) - Add internal types for public assets (#1460)
- prerender: Improve console formatting for failed routes (#1471)
- Reduce usage of
event.node.req
(#1511) - Reduce usage of
event.node.res
(#1513) - timing: Hide debug logs with 0ms (8a44d19c)
- firebase: Update generated
package.json
(#1608) - Migrate from
http-proxy
tounjs/httpxy
(#1623) - Simplify
normalizeLambdaOutgoingBody
(58b4853b) - Expose body type for lambda presets (e5f095d6)
- vercel: Add note about top level
api/
directory (#1386) - Upgrade Docus (26dd16a0)
- Update nitro (1a14a312)
- Fix crawler error (c5e53cc8)
- Update (03540d98)
- Add nitro plugins examples (#1403)
- Add custom preset instructions (#1409)
- aws: Add note about inlining dynamic chunks (#650)
- Fixed typo of the word
discussions
(#1433) - Fix typo (#1446)
- Use
defineEventHandler
instead ofeventHandler
(#1442) - Remove auto-imported
defineNitroConfig
(#1441) - Add utils directory (#1451)
- storage: Add runtime storage configuration examples (#1456)
- Prefer snake_case for preset names (#1499)
- routing: Add middleware section (#1307)
- plugins: Add runtime hooks section (#1521)
- config: Add runtime config and environment variables section (#1550)
- firebase: Improve docs (#1556)
- cloudflare: Add environment variables instructions (#1547)
- Upgrade to unbuild v2 (27f2cc48)
- release: V2.5.2 (b8b6defe)
- Update lockfile (976ec35c)
- Update references to
nuxt/nuxt
(#1465) - Update github templates (#1502)
- Typo in bug report template (#1507)
- Update dependencies (#1509)
- Upgrade to
[email protected]
(#1510) - Add codeql ci (#1542)
- Add
security.md
(30b3578e) - Update lockfile (fc555506)
- Update h3 (bdf91c55)
- Update dependencies (de6d2d0b)
- firebase: Fix typos in warning message (#1561)
- Update dependencies (e86f1464)
- Lint test files as well (#1589)
- Update dependencies (6cb72e69)
- Update dependencies (8aa94ad2)
- Update dependencies (8d7e6607)
- Update dependencies (b4d86b25)
- Remove accidental console log (2ece2a3a)
- Improve external modules test (#1428)
- Run tests even if not
serveStatic
(#1590) - Add tests for environment variables and runtime config overrides (#1549)
- Fix netlify tests (880c20e4)
- netlify: Run after (8a6ed77b)
- Fix netlify dirs (8c7ca39d)
- Use conventional commit message for autofix (#1501)
- Use
h3-nightly@latest
for edge releases (#1563) - Avoid installing with edge dependency changes (c431b719)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Utsob Roy (@uroybd)
- Nick Dawson
- AlexLavoie42 (@AlexLavoie42)
- Heb (@Hebilicious)
- Dave Caruso (@paperdave)
- Anthony Fu [email protected]
- Luke Nelson [email protected]
- Eduardo San Martin Morote
- Asher White (@AWBroch)
- Nikhil Saraf (@nksaraf)
- Velka
- Andreas Botzler [email protected]
- Farnabaz [email protected]
- Leo Bourbon
- Gnoeley [email protected]
- Estéban (@Barbapapazes)
- Marshall Thompson (@marshallswain)
- Harlan Wilton (@harlan-zw)
- Qin Guan [email protected]
- Aaron Dewes [email protected]
- Ccccccjh
- Antony Konstantinidis [email protected]
- Arjun-re
- Morty Li [email protected]
- Hebilicious (@Hebilicious)
- Sébastien Chopin (@Atinux)
- Rieger
- James Ross (@Cherry)
- Add
envPrefix
toruntimeConfig.nitro
types (#1336) - prerender: Allow to fetch static files (#1340)
- options: Default target to
static
whenstatic
override is set (#1342) - Correct default
node-server
target (7976318) - vercel, netlify: Always check
nativeSWR
future flag (ccebe4e) - vercel, netlify: Handle boolean values for route rule deprecation (dfd8bbd)
- Dedup
unstorage
dependency and use subpath alias (#1164) - dev: Ensure socket path is accessable (#1115)
- Type
event.$fetch
andevent.fetch
(#1343) - Allow configuring esbuild transform plugin (#1347)
- Add reference to install azure functions core tools to the swa section (#1339)
- release: V2.5.1 (21a2595)
- Add
.data
to gitignore (cff7bf0) - Update deps and lockfile (373f34c)
- Update unimport (ef7eaf2)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Stefan Bittmann [email protected]
- Nick Dawson
- Fix typo in Flightcontrol deployment option (#1332)
- Avoid doubly-bundling runtime types (#1334)
- Avoid overriding app runtime config namespace (#1333)
- Daniel Roe [email protected]
- ModupeD
- Allow customising generated tsConfig (#1266)
- Type
useRuntimeConfig
withNitroRuntimeConfig
(#1311) - Type nitro app runtime hooks (#1316)
- Add
cloudflare-pages-static
preset (#1310) - Add experimental
deno-server
preset (#592) - Add
flightcontrol
preset (#970, #1250) - Support
jsx
andtsx
out of the box (#1303) - Add support for
failOnError
(#1294) - UseStorage generic support (#1279)
- Provide static
process.*
andimport.meta.*
build flags (#1331)
- bun: Resolve internal dependencies with
bun
export condition (#1313) - deno: Support environment variables (88b4e11)
- Respect
static
flag when auto detecting preset (#1321) - prerenderer: Don't inherit
static
config (#1324) - vercel: Add check for index route rule (#1290)
- Use
event.handled
guard before sending direct reponses (#1326) - Import
NitroRuntimeHooks
from runtime dir (#1328) - Generate types for
#imports
(#1329)
- Update docus version (848c86a)
- Update cloudflare-pages preset (#1304)
- Add an example for
devHandlers
config (#1295)
- Update dependencies (db93afa)
- Apply new lint rules (879a7c3)
- Update all non major dependencies (9bb674f)
- Update dependencies (46e6f10)
- Update unstorage (bac3b0d)
- Pooya Parsa (@pi0)
- 魔王少年 (@maou-shonen)
- Daniel Roe [email protected]
- Andrew [email protected]
- Estéban (@Barbapapazes)
- Dunqing (@Dunqing)
- Frantz Kati [email protected]
- Mike Laumann Bellika
- Sébastien Chopin (@Atinux)
- Hebilicious (@Hebilicious)
- Add cloudflare module worker support (#681)
- vercel, netlify: Introduce
isr
route rule (#1124) - Add
static
preset (#1127) - Add
vercel-static
andnetlify-static
presets (#1073) - Add
github-pages
preset (#1133) - Pass resolved config to
rollup:before
hook (#1160) - Config reload support for
nitro dev
(#1173) - Config hmr support for
routeRules
andrutimeConfig
(#1175) - Support dynamic app config and runtime config (#1154)
- Experimental
/_nitro/openapi.json
and/_nitro/swagger
for dev mode (#1162) - vercel: Add support for specifying edge regions (#1192)
future.nativeSWR
(#1212)
- Export
defineNitroConfig
fromnitro/config
(#1174)
- Separate
typesDir
fromtsConfigDir
(#1146) - cloudflare: Expose env from module context (#1147)
- proxy: Append request query params for single proxy route rules (#1163)
- vercel, netlify: Keep default behavior for
static
andswr
toisr
mapping (#1155) - Apply
chunkFileNames
on windows (#1189) - pkg: Allow installing on node v20 and above (#1204)
- Rename
build
option tostatic
(#1144) - cli: Migrate to citty (#1157)
- Move swagger/openapi behind experimental flag (2079cab)
- Fix typo (#1131)
- Update serverAssets example (#1156)
- Add edge releases channel (2793f51)
- get-started: H2 instead of h3 (ff3964e)
- routing: Add route rules (46740e6)
- routing: Add missing import (30675d4)
- Fix syntax issue in guide > storage (#1180)
- Update (1e5bb86)
- Fix typo (#1185)
- Fix typo (#1190)
- vercel: Add vercel kv storage section (#1210)
- Update branding (#1188)
- Update vercel-storage (ffff9db)
- Update dependencies (39d1f27)
- release: V2.3.3 (2d55caf)
- Update dependencies and lockfile (eea8943)
- Update unenv (ba81902)
- Update lockfile (6a4e57e)
- Update lockfile (0793451)
- docs: Move
vercel.json
(00502d0) - docs: Update deps (4a95c96)
- Update deps (6b08d37)
- Enable
vercel-edge
test (7951532)
- Pooya Parsa (@pi0)
- Sébastien Chopin (@Atinux)
- Daniel Roe [email protected]
- AaronBeaudoin [email protected]
- Oumar Barry (@oumarbarry)
- G-Cyrille
- 魔王少年 [email protected]
- Iho Somnam [email protected]
- Timhanlon [email protected]
- Upgrade to consola v3 (prerelease) (50e9f8e)
- prerender: Show generated routes with error in logs (8e06f2e)
- prerender: Respect output path from main preset (#1114)
- Fix typos in storage and cache guides (#1086)
- Use unjs logo (#1104)
- Fix typo in cachedEventHandler options (#1110)
- Use consistent quotes in the routeRules example (#1108)
- Fix typo in server assets mount point (#1119)
- Improve
publicAssets
config details (#1102)
- doc: Fix small typo in plugin filename (#1081)
- Update unenv and semver (363e2ea)
- Update consola (5d77615)
- Bump to consola v3 stable (ea5ea88)
- Update dependencies (39d1f27)
- Pooya Parsa (@pi0)
- Gabriel Cipriano (@gabrielcipriano)
- Daniel Roe [email protected]
- Yassine El Ouazzani (@kwarkjes)
- Inesh Bose
- Andre Hammons
- Michael BOUVY [email protected]
- Sanitize
statusMessage
of disallowed chars (#1057) - types: Sync vercel build config types (#1056)
- azure: Support custom baseURL (#1062)
- vercel-edge: Fix route generation (#1071)
- Mark
options.renderer
as optional (#1069) - types: Make $Fetch types less complex (#1059)
- Add type safety to auto-detected providers (#1072)
- Mahdi Boomeri [email protected]
- Daniel Roe [email protected]
- Shohei Maeda
- Lucas (@Draichi)
- Nobkd
- Honza Pobořil [email protected]
- types: Don't simplify type of serialized return (#1050)
- Add
codecov.yml
(6fe7f64)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- vercel: Add functions config (#976)
- Add support for
sourceMap
valueshidden
andinline
(#998) - lagon: Write
.lagon/config.json
on build (#996) - types: Type $fetch to match json serialization output (#1002)
- Support base in
useStorage(base?: string)
and improve docs (#1012) - cloudflare-pages: Rewrite with module syntax (#1004)
- Allow customising generated tsconfig path (#1021)
- Support app config (#1022)
- cloudflare-pages: Only allow 100 rules combined (#973)
- Only mock
debug
in production (#990) - Scan middleware and print tree list in ascending alphabetical order (#981)
- externals: Correctly specify multiple external dependencies in package.json (#1013)
- static: Use correct format for last modified (#1017)
- cache: Remove rejected cache promise from pending list. (#995)
- Expose
useStorage
with types (#1026) - prerender: Allow spaces in
href
value regex (#1030) - cache: Use stale value by default when
swr
is enabled (#1038) - Resolve types relative to custom tsconfig path (#1041)
- Remove duplicate import in generated code (#1043)
- types: Exclude non serializable options from route rules (#1047)
- Update to latest docus and various improvements (#975)
- Up docus and add back ellipsis (38b1f34)
- Remove tailwind module (b3b7e87)
- lock: Update (7efa31f)
- More improvements (#985)
- Remove fluid layout (d83f2b6)
- Update color (18674c5)
- Add unjs icon in footer (6d36ceb)
- Update docus (5fcc127)
- Add button to open on CodeSandBox (ad120ac)
- Update deployment example for configuration (#972)
- Update dependencies (c923fed)
- cache: Improve documentation and
cachedFunction
default options (#1011) - Improve readme and getting started (94d95fa)
- Fix on mobile long path (1d2f57e)
- Improvements (f78619f)
- Add
prerender.ignore
description (#1032) - Improve configuration page (554b358)
- Improve plugins section (f36a6e0)
- Update readme (c58a764)
- Update homepage hero (b848e5a)
- Update meta tags (70f00e5)
- More improvements (#1039)
- Update docus version (f31240b)
- Upgrade docus (a6ce587)
- deploy/workers: Fix typo of bundle (#1046)
- readme: Various improvements (#1009)
- Fix tests (#1014)
- docs: Use pnpm (39f117a)
- Add autofix-ci action (8f9c3e2)
- Remove old docs commands (#1042)
- Update dependencies (02c48f2)
- Maintain lockfile (ac81602)
- Use single undici version for testing (00743bc)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Felix De Montis [email protected]
- Sébastien Chopin (@Atinux)
- Hannes Küttner [email protected]
- Julie Saia
- Ted De Koning
- Jan Johansen [email protected]
- Tobias Diez [email protected]
- Elian ☕️ [email protected]
- Mahdi Boomeri [email protected]
- Anthony Fu [email protected]
- Tom Lienard (@QuiiBz)
- Alex Korytskyi (@alex-key)
- Shohei Maeda
- Add lagon preset (#964)
- node-cluster: Default number of workers (#963)
- cloudflare-pages: Exclude assets from function call (#965)
- cloudflare-pages: Handle assets only for get requests (#968)
- Render json errors for cors requests (#969)
- Use json response for errors in
/api/
routes (#971)
- externals: Sort
bundledDependencies
keys in outputpackage.json
(#967)
- cloudflare: Add info regarding
runtimeConfig
and environment variables (#958) - Prevent ellipsis overflow on small screens (#956)
- deploy: Add workers page for edge limitations (#953)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Jan-Henrik Damaschke [email protected]
- Bogdan Kostyuk [email protected]
- Hminghe (@hminghe)
- Alexander Lichter (@manniL)
- Correct
access-control-allow-methods
cors header name (#944) - Allow overriding assets
maxAge
using route rules (db6e6c2) - rollup: Use mlly as fallback resolver when externals disabled (#948)
- Don't render json response if url contains
/api/
(#951)
- vercel: Move custom test to additional tests (fb361f8)
- Pooya Parsa [email protected]
- Daniel Roe [email protected]
- static: Remove
cache-control
headers when asset is not found (e3d57fc) - Avoid circular imports (#936)
- Update changelog (8dde296)
- Pooya Parsa [email protected]
- Runtime proxy support using route rules (learn more)
- Nested fetch calls with incoming headers and context in event context (learn more)
- Binary and Raw storage operations support (learn more)
- [Cloudflare] Exposed
event.context.cf
(learn more) - Built-in session support (learn more)
- Support runtime proxy using route rules (#926)
- cloudflare:
cacheControl
support for public assets with withmaxAge
(#922) - cloudflare: Expose
event.context.cf
(#927) - firebase: Use nodejs 18 as default runtime (#925)
- Support
event.fetch
andevent.$fetch
(#930) - vercel: Auto-detect runtime version (#879)
- Pooya Parsa [email protected]
- Shohei Maeda
- Luke Nelson [email protected]
- Oleg Khalin
- Daniel Roe [email protected]
- types: Allow narrowing of the method option in
NitroFetchOptions
(#883) - vercel-edge: Add temporary workaround for
process.cwd
usage (#898) - dev: Don't overwrite proxy headers if already set (#896)
- Provide fallback string values for undefined
runtimeConfig
(#907) - vercel: Allow non-glob cache rules to apply to
/
(#908) - externals: Use stable dependency tree (#909)
- dev: Mount
src
androot
as read-only by default (#920)
- Pooya Parsa [email protected]
- SerKo
- Daniel Roe [email protected]
- Renato Lacerda [email protected]
- Chad Lew
- Mike Laumann Bellika
- Harlan Wilton [email protected]
- Dany Sluijk [email protected]
- Resolve server assets dir relative to
srcDir
(#893) - prerender: Encode urls passed to local fetch (#891)
- Pooya Parsa [email protected]
- Manh-gntvn
- Daniel Roe [email protected]
- deployment: Heroku with nginx (#873)
- netlify: Clarify placement of
_redirects
file (#870) - digitalocean: Update deployment guide (#862)
- Update dependencies (963c587)
- Pooya Parsa [email protected]
- Daniel Roe [email protected]
- MiniDigger < Martin>
- Christopher Lis
- Ola Alsaker [email protected]
- Adeyemi Adetayo [email protected]
- Pooya Parsa [email protected]
- Daniel Roe [email protected]
- externals: Apply
production
condition to package.exports (#867) - Enable auto imports from
utils
dir (#866)
- prerender: Update preview command to serve matching routes (#864)
- externals: Support orphan files in
node_modules
(#865) - Avoid hiding original rollup error message (a5586f8)
- cache: Only update cache in storage once per pending request (#861)
- Lint with
eslint --cache
and improve types in.eslintrc
(#863) - Update dependencies (c52d256)
- Remove random import (246b726)
- Pooya Parsa [email protected]
- Yasser Lahbibi [email protected]
- O-az [email protected]
- Daniel Roe [email protected]
⚠️ Upgrade rollup to 3.x (#580)- types: Correctly type $fetch based on the method (#686)
- cli:
prepare
command (#774) - cache: Allow setting custom
getKey
fordefineCachedEventHandler
(#744) - dev: Support for
/_vfs.json
(#809) - netlify: Use esm entrypoint (#833)
⚠️ Rewrite external copy with multi version hoisting support (#782)- Add
shouldInvalidateCache
option to cache utils (#746) edgio
preset (replacinglayer0
) (#858)- Support
maxAge
for public assets (#860) - Support
staleMaxAge: -1
to always respond stale value (#857)
- GitHub template (#712)
- deno: Implement readAsset (#694)
- Normalize nitro plugin paths to url in development (#732)
- Use file urls for auto-imports in development (#733)
- Initialise imports.imports (#737)
- Allow optional
output
property in user rollup config (#751) - Accept both upper/lower-case methods (#752)
- prerender: Check each segment length is less than 255 chars and whole path 1024 (#757)
- Include only compressible mime types (#761)
- Remove base url before calculating route rules (#767)
- netlify, vercel: Order route rules from most specific + avoid double-rendering root (#768)
- build: Correctly formatted fs tree (#778)
- prerender: Decode urls to allow comma in the
x-nitro-prerender
header (#799) - build: Do not override publicAssets (#817)
- dev: Improve vfs ui (#802)
- Resolve and include scanDirs within
node_modules
for auto import (#812) - netlify, vercel: Explicit server rendering with disabled cache/swr (#829)
- prerender: Check link's pathname only for extensions (#791)
- rumtime: Disable server-timing header via options.timing (#823)
- Avoid using file urls for normalized paths in options (7517293)
- Rollup treeshake is dump (2ce4edb)
- externals: Normalize
inline
andexternal
windows paths (0638f64) - netlify, aws: Omit cookies from v1 response (#834)
- Filter unique scanned handlers (#807)
- nitro: Resolve server asset dirs relative to
srcDir
(#825) - public-assets: Mock readAsset promise properly (#851)
- externals: Avoid recursive package links (b77735e)
- Fix url in auto-imports guide (#683)
- Fix spelling of cluster (#720)
- Wording change (#724)
- Fix readme grammar (#813)
- Fix deprecated function in routing example (#816)
- Add new render deployment example & steps (#811)
- Fix typo in code block (#830)
- Add cache base option example & description (#781)
- Lint repository with eslint config and format with prettier (#739)
- Limit prettier lint to src (6a735b1)
- Fix type issue (a60e4bd)
- Fix lint issues (7ee8e7f)
- Disable failing api type tests (1d9102a)
- Fix lint issue (30e4d32)
- Add missing parenthesis in header (#801)
- Add lint fix command shortcut (#835)
- Update lockfile (bb9ac5b)
- Add tests for dev server and proxy (#644)
- Re-enable api type tests and fix type assertion (#772)
- Update fixtures (a52c832)
- Lint code (15edef0)
- Run tests against windows as well (#837)
- Pooya Parsa [email protected]
- Yasser Lahbibi [email protected]
- Harlan Wilton [email protected]
- Christian Preston [email protected]
- Louis Haftmann
- Daniel Roe [email protected]
- Xin Du (Clark) [email protected]
- Jonas Thelemann [email protected]
- Shoubhit Dash [email protected]
- Anthony Fu [email protected]
- Chambers
- Patrick Schnyder
- Alvar Lagerlöf
- Pascal
- Eduardo San Martin Morote
- Johann Schopplich [email protected]
- Nathan Chase [email protected]
- Dany Sluijk [email protected]
- Alexander Lichter [email protected]
- Nobody5050
- Ʀᴀʏ [email protected]
- Nozomu Ikuta
- James Ray [email protected]
- SerKo
1.0.0 (2022-11-16)
1.0.0-1 (2022-11-16)
- upgrade hookable to 5.x (dc3383b)
1.0.0-0 (2022-11-15)
-
remove deperecated
autoImport
-
remove deperecated
autoImport
(c99fa44)
0.6.2 (2022-11-15)
- Add cloudflare-pages preset (#210)
- Support prerendering binary files (#320)
- Opt-in option to compress public assets using
gzip
andbr
(#449) - Allow specifying wasm plugin options (#450)
- Allow using
extends
alongside withpreset
(6a43985)
- azure: Fix route name (#430)
- Update types for defu usage (0f241bc)
- Add resolved side-effect for node-fetch-native (#435)
- aws-lambda: Join cookies with semicolon (#356)
- aws-lambda: Fix normalizeIncomingHeaders (#418)
- aws-lambda: Return outgoing cookies on response objects (#357)
- aws-lambda: Add
multiValueQueryStringParameters
to aws preset (#398) ⚠️ Update unenv to 0.6.x (#438)- Add code location and codeframe for rollup errors (#406)
- prerender: Allow updating route contents (#452)
- externals:
⚠️ Fall back tomlly
resolver in more cases (#431) ⚠️ NITRO_PRESET
should have highest periority (92d711f)
⚠️ Rename optionsautoImport
toimports
(#433)- Utilize knitwork to generate safe variable names (#447)
- Migrate to docus (#365)
- Simplify deploy index route (a1d7b17)
- storage: Fix typo (#424)
- Update lock (4ceeee2)
- Narrow plugin override type (b4e24f6)
- Add
@vitest/coverage-c8
(4a5e565) - Remove unused
@types/jsdom
from dependencies (#429) - Add vitest config (ab59150)
- Expose
package.json
subpath export (d0029c0) - Use changelogen to bump edge and generate chagelog (679e356)
⚠️ Update unenv to 0.6.x (#438)- externals:
⚠️ Fall back tomlly
resolver in more cases (#431) ⚠️ NITRO_PRESET
should have highest periority (92d711f)⚠️ Rename optionsautoImport
toimports
(#433)
- Ahad Birang
- Alexander Lichter
- Anthony Fu
- Daniel Roe
- Dániel Földi
- Eckhardt (Kaizen) Dreyer
- Julien Huang
- Pooya Parsa
- Sören Schwert
- Tobias Diez
- Yaël Guilloux
0.4.24 (2022-08-12)
- renderer: do not use default error fallback (80081b0)
0.4.23 (2022-08-12)
- renderer: handle unhandled errors (319b277)
0.4.22 (2022-08-11)
- fix dist dir check regex (6cad682)
0.4.21 (2022-08-11)
- properly resolve dist dir (d7c65e6)
0.4.20 (2022-08-11)
0.4.19 (2022-08-11)
0.4.18 (2022-08-09)
- netlify: update rollup output file (8965bd5)
0.4.17 (2022-08-09)
0.4.16 (2022-08-09)
- prerender: prerender
x-nitro
links without crawlLinks option (46b445f)
0.4.15 (2022-08-09)
- prerender: basic ignore support (a6cbbbe)
- prerender: apply extension filter only to parsed links (541b0b0)
- set
x-nitro-prerender
header as lower-case (9cee698)
0.4.14 (2022-08-08)
- call
render:response
hook fordefineRenderHandler
(8238f38)
- expose
RenderResponse
andRenderHandler
types (e0ec2b2)
0.4.13 (2022-08-08)
defineRenderHandler
(#395) (758b046)- add h3 auto imports preset (#397) (fbadeb7)
- auto scan plugins (0d1cd4d)
- enable response type infer for API routes with params (#222) (082d58f)
- cache: generate hashed path keys (6104c54)
- config: enable dotenv in development (#347) (ec086c6)
- include dotfiles in public assets (#361) (8a744fb)
- options: add default aliases and resolve plugins (f04560b)
- options: exclude
buildDir
for auto-imports (#355) (5219c53) - prerender: remove
baseURL
from generated file paths (#329) (26c15ca) - server-assets: escape asset file names (7aaab6d)
- sort aliases to ensure priority is given to more specific aliases (#388) (2a36b1e)
- update scule to handle runtime config with numbers (64b740e), closes nuxt/framework#6172
- update unstorage to prevent path traverse (d5d802f)
- worker: preserve esmodule symbol for dynamic imports (#354) (0cd5121)
0.4.12 (2022-07-13)
- vercel, vercel-edge: set version as number (f476cfc)
0.4.11 (2022-07-13)
- vercel-edge: properly set rollup options (ad5b735)
0.4.10 (2022-07-13)
vercel-edge
provider (#337) (ad2b976)- rollup: support
development
andproduction
export conditions (f60e6eb) - vercel: update to the v3 output api (#336) (9ac4be2)
- call
rollup:before
before generating rollup config (#335) (292b495) - vercel-edge: use esm default export (7d251f5)
- vercel: add back filesystem route handlers (bba4064)
- vercel: update output config (daecb91), closes #336
0.4.9 (2022-06-29)
- expose router in NitroApp (#302) (ef5e7f1)
- service-worker: inject registration script to all pages (#299) (486f236)
- get storage mounts type from unstorage (134f89f)
- azure: pass query params to local call (#318) (f1fe6cd)
- export runtime types directly from
nitropack
(#301) (34b8c4d) - isPublicAssetURL: assets should treat as public (#312) (e165b3b)
- prerender: avoid adding duplicate
baseURL
for local fetch (#289) (cbc7ba3) - types: allow
autoImport
option to be false (#296) (3aa3bcf)
0.4.8 (2022-06-15)
0.4.7 (2022-06-14)
- check if socket address/port/family are set (#287) (8fb3ad9)
- don't use file url when building prerenderer (#286) (2e7c548)
0.4.6 (2022-06-13)
- update unstorage to 0.5.x (c5cabbf)
0.4.5 (2022-06-12)
- add
scanDirs
to auto-import include (#277) (3f8a08e) - append .cache to the key of cached routes/functions (#249) (1d4328c)
- avoid empty scaned route (resolves #283) (a087673)
- cache: expose all cache aliases and types (361d12f)
- cache: invalidate entry before calling resolver (#271) (7358d5b)
- cache: normalize path keys for
defineCachedEventHandler
(97625ec) - cloudflare: use
@cloudflare/wrangler
until we support wrangler 2 (#265) (d7fa6ce) - exclude internal
/_*
,/api/_*
routes from NitroFetchReqeust type (#232) (00aa131) - stormkit: update request signature (#264) (78bf46a)
0.4.4 (2022-05-11)
- update
NitroFetchRequest
type to supportstring
type (#226) (3542b61) - update unenv and add
node-fetch-native/polyfill
tomoduleSideEffects
(e70a9f0)
0.4.3 (2022-05-10)
- add
NitroFetchRequest
type and enhance $fetch's request type (#209) (57b9ed0) - add
prerender:route
hook (#213) (9c9fb34) - prerender: add preview command (#217) (08614c5)
- show stack-trace of unhandled errors with
DEBUG
env (#212) (b366f3f)
- add missing include path
../../**/*
in generated tsconfig.json (#205) (8978404) - respect baseURL in prerendering (#219) (3e8eddb)
- set built-in storage mounts before nitro init (d1c6c64)
0.4.2 (2022-05-07)
- node, preereender: add handler for
unhandledRejection
(3319912) - prerender: only crawl known extensions (non or
.json
) (2dbc8b9)
0.4.1 (2022-05-06)
- support fallback for
import.meta
per chunk (5a83ec6) - use distinct prefix for lazy handler imports (0cc7be1)
0.4.0 (2022-05-05)
- cache: only accept event handler for
defineCachedEventHandler
- prerender: write html files to subfolder (resolves #166)
nitro.storage
(e1c234e)- add
X-Nitro-Prerender
header to detect prerendering (11e732b) - allow explicit middleware handlers (23d8cde)
- cache: only accept event handler for
defineCachedEventHandler
(7e72b8f) - expose all assets to
nitro.vfs
and/_vfs
endpoint (resolves #173) (9bf2d71) - extend prerender links from
X-Nitro-Prerender
(resolves #115) (9423524) - named wildcard params (233e024)
- prerender: write html files to subfolder (resolves #166) (cdcd35a)
- rollup: allow edit of commonJs plugin options (#187) (c7759e9)
- rollup: fail build when externals are not allowed and cannot resolve id (ff2dd44)
- universal
import.meta
(resolves #181) (929322b) - update unenv (04e2f26)
- cache: preserve event context (resolves #189) (6cdbc4a)
- enable lazy only when explicitly set (enable for api and rotues by default) (247cfca)
- handlers: respect default value for lazy (89da30a)
- improve bundled storage (#179) (d4cb863)
- prerender: allow all extensions (resolves #190) (4b15520)
- prerender: support relative urls (970286d)
- rollup: enable
preferBuiltins
only for node targets (32f598a) - rollup: respect
rollupConfig
options to override default config (43b1d02) - rollup: set
NODE_ENV
toprerender
when prerendering (2b7209a) - worker: use
iife
format by default (6c8cae7)
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)