All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- raw: Avoid extra
this.resolve
when possible (#2857)
- config: Tiny typos (#2859)
- Add tests for #2838, #2836 (#2838, #2836)
- Fix windows issue (924eaa52)
- Enable dev tests on ci (#2858)
- @beer (@iiio2)
- Pooya Parsa (@pi0)
- Arkadiusz Sygulski arkadiusz@sygulski.pl
- Allow adding custom
Vary
to static assets handler (#2835) - netlify: Only include env polyfill in
netlify-edge
(#2851) - Scan env specific handlers without method in their name (#2852)
- config: Add back default storage mounts (#2853)
- cloudflare: Fix typo (#2849)
- cache: Resolved value is not nullable (#2848)
- Pooya Parsa pyapar@gmail.com
- Sandro Circi (@sandros94)
- Jaga Santagostino jagasantagostino@gmail.com
- Philippe Serhal philippe.serhal@netlify.com
- Danila Rodichkin (@daniluk4000)
- rollup: Pass options to
resolve
(#2842)
- imports: Use explicit import for
useDatabase
(#2837) - rollup: Check raw extensions against resolved id (#2838)
- imports: Use explicit imports (#2839)
- Update
node_cluster
entry name (#2840)
- Pooya Parsa (@pi0)
- Generate types for runtime config (#2306)
- serverAssets: Support
ignore
option (#2302) - Expose
getRouteRulesForPath
from nitro runtime (#2238) - openapi: Support configuration via
openapi
(#2299) - Environment specific event handlers (#2272)
- Experimental
defineRouteMeta
(#2102) - cloudflare-pages: Generate
wrangler.toml
(#2353) - Allow customizing
apiBaseURL
,apiDir
androutesDir
(#1763) - aws-lambda: Experimental streaming support (#2412)
- providers: Add
gitlab-pages
static provider (#2420) - netlify: Experimental support v2 functions ISR via targeted cache-control headers (#2406)
- Add compatibility date support (#2511)
- cloudflare-module: Support
cloudflare:email
andcloudflare:queue
hooks (#2487) - defineCachedEventHandler: Add
event.context.cache
(#2519) - core: Warn if runtime config is not serializable (#2542)
- netlify: Use new
durable
cache-control directive forisr
rule (#2571) - open-api: Production mode (#2570)
- deno-server: Use output
node_modules
forstart
task (#2687) - Add genezio preset (#2637)
- Add zerops preset (#2698)
- dev-server: Redirect requsts without base url (#2713)
- firebase: Upgrade default runtime to node 20 (#2654)
- Upgrade to jiti v2 (#2742)
- raw: Add
.sql
to raw file extensions (#2745) - scan: Route groups (#2664)
- renderer: Add
render:before
hook (#2770) - Add pdf and wasm to compressible mime types (#2766)
- ws: Upgrade crossws to 0.3.x (#2776)
- vercel: Allow fine-grained isr config via route rules (#2780)
- Update db0 to v0.2 (3d5216be)
- cloudflare-module: Expose all handlers as runtime hooks (#2795)
- cloudflare-module: Use new workers static assets (#2800)
- Experimental
cloudflare-durable
preset (#2801) - aws-lambda: Add streaming support to main preset (#2786)
- Include preset config in
.output/nitro.json
(#2807) - cache: Set
ttl
for native expiration (with swr disabled) (#2783)
- Limit open files in generateFSTree (#2458)
- netlify-legacy: Exclude static paths from server handler (#2823)
- netlify, netlify-edge: Exclude static paths from server handler (#2822)
- github-pages: Prerender
/
by default (#2334) - deno-server: Always inject
process
fromnode:process
(#2372) - deno-server: Explicitly remove cert/key from options if either is not set (#2373)
- Deduplicate plugins (#2391)
- iis: Deep merge configs (#2358)
- externals: Compare package paths against normalized
id
(#2371) - azure: Correctly handle
maxAge
cookie option (#2400) - Add
.tsx
and.jsx
tonode-resolve
extensions (#2398) - Lower-case accepted handler method (#2382)
- Set
compilerOptions.noEmit
to avoidtsconfig.json
warning (#2402) - prerender: Only try to add
/
afterprerender:routes
hook (#2348) - azure: Correctly handle maxAge cookie option (#2403)
- aws-lambda-streaming: Fix global lambda import pointing to wrong (#2422)
- netlify: Match ISR route rules when path has a query string (#2440)
- preset-iis: Parse without
explicitArray
to allow mergingweb.config
(#2457) - Pass custom entry filename when resolving prerenderer (#2461)
- vercel: Support custom
baseURL
(#2464) - Use relative paths in
nitro-config.d.ts
(#2471) - netlify: Added missing quotes in utils (#2472)
- Avoid named exports from
package.json
(e6097ed7) - cloudflare-pages: Remove
.html
extension from_routes.json
(#2498) - More compatibility for import from
nitropack/runtime/*
(#2501) - build: Correctly watch custom
apiDir
androutesDir
(#2502) - public-assets: Do not shadow paths that share prefix (#2516)
- core: Resolve modules with esm compatibility (#2514)
- prerender: Extract links from explicit html routes (#2517)
- Upate
cli
preset with esm module format (#2539) - Make sure nitro runtime goes to one chunk (#2547)
- types: Infer types correctly when method is omitted (#2551)
- renderer: Check full path for
/favicon.ico
placeholder (#2553) - netlify: Ensure preview command is correct (#2561)
- Backward compatibility types for v2 (#2563)
- handler-meta: Check for
.name
withundefined
value inObjectExpression
(#2565) - Hide unhandled error messages in prod (#2591)
- prerender: Allow ignoring errors in
prerender:generate
hook (#2610) - Only hide message of unhandled errors in prod (#2619)
- prerender: Skip protocol relative links (#2661)
- Ensure legacy runtime config types are populated (#2724)
- Ensure legacy hook types are populated (#2725)
- Do not generate runtime config types with external framework (#2732)
- prerender: Log error stack traces (#2720)
- cache: Use top level
function
to avoid rollup chunk ordering issues (#2741) - cli: Respect custom
buildDir
option fortasks
subcommand (#2635) - Initialize nitro app before plugins run (#1906)
- cloudflare-module: Use correct types for email and queue events/hooks (#2711)
- azure-functions: Follow symlinks in zip bundle (#2769)
- Use jiti with
{ default: true }
for importing modules (d77288c2) - firebase: Validate custom
serverFunctionName
(#2773) - Add
db0
andstd-env
toruntimeDependencies
(a399e189) - error: Add
cache-control: no-cache
for 404 responses (#2793) - renderer: Check
ctx.response
(7a97b0a2) - cache: Catch error when getting cache entry (#2609, #2820)
- cache: Try decode path (#2658)
- cloudflare: Support custom
baseURL
(#2821) - Handle incompatible compatibility date for presets (#2828)
- openapi: Update swagger-ui version to v5 for OpenAPI v3.1 support (#2343)
- cloudflare-pages: Update root
wrangler.toml
in CI (#2355) - Strict typechecks (#2370)
- Convert
CapturedErrorContext
to interface to allow type augmentation (#2393) - Overhaul presets structure (#2446)
- Structure overhaul (#2473)
- Remove dependency on
/runtime/internal/*
subpaths (#2524) - Migrate to
colors
fromconsola/utils
(#2574) - Remove
fs-extra
dependency (#2743) - cache: Remove unnecessary nullish coalescing operator (#2608)
- dev: Attach worker reload error as
cause
(#2651) - Improve type definitions for
CacheOptions
(#2700) - cloudflare-module: Extract reusable logic (#2799)
- Remove duplicate option definition (#2339)
- fetch: Unexpected spaces (#2368)
- Correct env variable to
NITRO_SHUTDOWN_DISABLED
(#2377) - caching: Fix typos and rephrase for clarity (#2380)
- Add a usage example for server sent events (#2379)
- Correct directory name (#2417)
- Use
npx nypm install
in instead ofnpm install
(#2421) - websocket: Correct nuxt sse url (#2430)
- node: Fix
node-listener
example (#2456) - Prefix
NITRO_
in.env
file (#2486) - Fix typo autoSubFolderIndex ~> autoSubfolderIndex (#2494)
- Correct h3 docs link to
event-handler
(#2500) - Move
await
to explicit line for clarity (#2577) - Fix typos (#2578)
- Fix typos (#2589)
- storage: Add await before
setItem
(#2588) - Convert to underscore preset names (#2592)
- Fix title format (#2594)
- cloudflare: Add missing
await
(#2601) - compressPublicAssets: Adjust formatting (#2603)
- routing: Add nested example (#2625)
- Fix mdc component usage and cloudflare preset reference (#2600)
- Fix grammar (#2669)
- server routes: Fix typo (#2675)
- utils: Update github link (#2596)
- config: Fix url for log level (#2699)
- Remove old components (fc6c2fae)
- config: Fix typos (#2728)
- cache: Fix code format (#2740)
- config: Fix typo prerender retries -> retry (#2746)
/_nitro/scalar
general availability (#2754)- Notice for OpenAPI paths changing in future versions (#2755)
- node: Fix typo (#2761)
- routing: Fix grammer (#2763)
- routing: Add error handling section (#2733)
- tasks: Fix grammar (#2768)
- server-utils: Fix typos (#2790)
- Update reference to old radix3 link (#2787)
- typescript: Tiny typos (#2805)
- server-routes: Typo (#2808)
- Fix nitro runtime hooks link (#2826)
- Use nitro.build as canonical (78cd3e7b)
- Explicitly add
nitropack
to externals (nightly) (b2831dd5) - Load presets from unbundled
nitropack/presets
(#2459) - Update unbuild to 3.x (c95dae55)
- Introduce
nitropack/meta
(ca2282bb) - Improve chunk names (4106750c)
- Hotfix unbuild to resolve jiti stub await issue (01128017)
- Mirror
nitro
andnitropack
npm packages (#2497)
- firebase: Support
22
fornodeVersion
(#2653)
- release: V2.9.6 (6f159205)
- docs: Update lockfile (7bfe4449)
- Update deps (b444f173)
- Lint and migrate to eslint flat config (#2352)
- cf-pages: Only create wrangler.toml if config is not empty (#2356)
- Update deps (8add14c7)
- Fix typos (#2386)
- Update eslint preset (78ec24d1)
- Update deps (ad100f49)
- Format (f95c4f53)
- Update lockfile (a14b1532)
- Disable flaky db test on windows (ececd699)
- Update deps and lockfile (9642ef6c)
- Update eslint and biome (00097738)
- Ignore biome formatting
package.json
(fe5da142) - Update dependencies (1fae1ce3)
- Update
@rollup/plugin-commonjs
(eeae2262) - Update
config.d.ts
(0083c104) - Add compatibilityDate to fixture (ced80b21)
- playground: Does not overwrite
tsconfig.paths
(#2507) - Add missing
magicast
dep (c84f676d) - Update ci node version to 20 (09c8267c)
- Prepare v2 branch (d549634e)
- Lint with biome (#2525)
- Improve internal
tsconfig.json
(#2529) - Remove unused dependency
is-primitive
(#2556) - Fix typegen script (a4abb222)
- Remove extra space in banner (#2573)
- Update deps and lockfile (c7435f07)
- Fix types (2298d246)
- Update tests (3594a189)
- Update undocs (b37875ac)
- Update undocs (7d9619fd)
- Update non-major dependencies (bb8c2071)
- Fix type issues (2615d392)
- renovate: Ignore crossws (95095fb3)
- Update to jiti 2.0.0 (cb3fe58d)
- Update unbuild (60502e4e)
- Add
compatibilityDate
for playground (2c404995) - Update deps (9092e2e2)
- Add codeowners file (1709b16c)
- Add
compatibilityDate
to all config files (f70b03c6) - Lint (811511ef)
- Enable
interopDefault
for stub mode (69b05a5e) - Update undocs (062a2214)
- Update jiti and deps (817518bd)
- Update deps (12d3723a)
- Update deps (e874c4ca)
- Update deps (313eac90)
- examples: Clarify post handler (#2781)
- Update deps (92519e02)
- Update deps (9d483939)
- examples: Provide
event
indefineEventHandler
function (#2788) - devcontainer: Update node.js to v22 (#2817)
- examples: Change name in package.json (#2816)
- Update deps (642c1009)
- Update croner to v9 (cffb3cd4)
- Remove unused
mri
dependency (#2825) - Update deps (32a4f867)
- Update nitro org (9b02f572)
- Avoid
toMatchInlineSnapshot
in shared tests (966b3518)
- Make nightly versions human readable (37f0d4f4)
- Pooya Parsa (@pi0)
- @beer (@iiio2)
- Alexander (@hywax)
- Sébastien Chopin (@atinux)
- Connor Pearson (@cjpearson)
- Philippe Serhal philippe.serhal@netlify.com
- Dax d@ironbay.co
- Dawit (@oneminch)
- João Carmona (@jpsc)
- Aarvin Roshin aarvinr@outlook.com
- Jan-Henrik Damaschke jdamaschke@outlook.de
- Marvin (@marvin-j97)
- Timur (@Rewwoken)
- Horváth Bálint (@horvbalint)
- Horu (@HigherOrderLogic)
- Balázs Németh (@zsilbi)
- Yoones Khoshghadam yooneskh@gmail.com
- Gautier Ben Aïm (@GauBen)
- Lionel Paulus (@LionelPaulus)
- Gorbasch (@mbegerau)
- Harlan Wilton (@harlan-zw)
- Tobias Diez code@tobiasdiez.com
- Tim Blommestijn (@TMBL-DEV)
- Daniel Roe (@danielroe)
- Luke Nelson luke@nelson.zone
- Nermal (@nermalcat69)
- Tudor Pipernea (@tudorpip)
- Adam DeHaven (@adamdehaven)
- Gerome Grignon (@geromegrignon)
- Anbraten (@anbraten)
- Chris Saganic (@Saganic)
- Juho Rutila (@nice-game-hints)
- JinU Choi (@dalbodeule)
- Estéban (@Barbapapazes)
- Maik Kowol (@94726)
- VisuSubbaiyan visu.subbaiyan@gmail.com
- Ashcolor (@ashcolor)
- Guten ywzhaifei@gmail.com
- Matteo Rigoni (@Rigo-m)
- Brandon Roberts (@brandonroberts)
- Ariesly Ariesly.Mao@hotmail.com
- Star Knight (@starknt)
- Jonas Thelemann e-mail@jonas-thelemann.de
- Dominik Rajkowski (@dominiq007)
- Julien Blatecky (@julien1619)
- Ígor Jacaúna (@igorjacauna)
- Leex jsonleex@163.com
- Martins Zeltins
- Markthree (@markthree)
- Matej Černý (@CernyMatej)
- Julien Huang julien.huang@outlook.fr
- Viktor Szépe (@szepeviktor)
- Nicolas Payot (@nicolaspayot)
- BaboonKing changfan.xu.up@qq.com
- Ēriks Lapiņš (@eriksLapins)
- Yuurin (@byyuurin)
- Hans Pagel
- Sby1ce (@sby1ce)
- Rahul Mishra blankparticle@gmail.com
- Generate root/src directory aliases (#2318)
- externals: Skip resolving virtual ids start with
\0
(#2321) - types: Account for
undefined
value for$fetch
return type (#2327) - cloudflare-pages: Use predefined wildcards in
routes.exclude
(#2319)
- Remove outdated nightly warning (#2317)
- Peter Graugaard git@graugaard.me
- Damian Głowala (@DamianGlowala)
- Pooya Parsa (@pi0)
- Daniel Roe (@danielroe)
- Stefan
- openapi: Add experimental
/_nitro/scalar
endpoint (#2252)
- openapi: Use dynamic host + port (#2216)
- openapi: Add
schema
to generated parameters (#2235) - openapi: Avoid double slash for base (fdf7e70a)
- options: Set
scheduledTasks
to an empty object by default (#2285) - prerender: Call
nitroApp
close hook when done prerendering (#2287) - types: Return
T
fromSerialize
when it extendsundefined
(#2286) - raw: Exclude yaml from raw plugin (#2275)
- externals: Check explicit inline rules on resolved id (#2288)
- raw: Allow importing relative paths (#2289)
- types: Make c12 env types available for
NitroConfig
(#2292) - netlify-edge: Write
_headers
and_redirects
(#2291) - cloudflare-pages: Write
_headers
and_redirects
for non static builds (#2290) - netlify: Allow writing
config.json
(#2264) - Allow importing utils from
nitropack/runtime
(#2314)
- openapi: Upgrade to openapi 3.1 (#2297)
- routing: Add note about middleware execution order (#2282)
- routing: Fx link to h3 object syntax handler (#2281)
- Update tasks return value (8a62e7db)
- cache: Add a note for serverless environment (dc83a2e2)
- Fix typo (#2298)
- Use
.d.ts
for runtime generated types (#2313)
- Lint (f7330329)
- Update docs (00c308c1)
- Update deps and lockfile (55fd222b)
- Remove unused imports (#2293)
- Update deps and lockfile (40883766)
- Update radix3 and lockfile (7429465f)
- Pooya Parsa (@pi0)
- Matt Kane matt.kane@netlify.com
- Hans Pagel
- Jamaluddin Rumi 16121031@student.mercubuana-yogya.ac.id
- Julien Huang julien.huang@outlook.fr
- Bobbie Goede bobbiegoede@gmail.com
- Damian Głowala (@DamianGlowala)
- Daniel Roe (@danielroe)
- Sébastien Chopin (@Atinux)
- Neil Richter (@noook)
- Samuel Burkhard sxburk@gmail.com
- Shoshana Connack (@moshetanzer)
- Yuurin (@byyuurin)
- Markthree (@markthree)
- Handle path negations when scanning public assets (#2250)
- pkg: Add
ioredis
as unstorage peer dependency (#2266)
- Fix server assets example path (#2248)
- Remove duplicate
integrity
key (#2246) - Fix wording (#2261)
- Remove nightly notice (39bc3f2e)
- tasks: Update dev server usage (#2240)
- cache: Add example usage for
cache.varies
(#2241)
- Increase timeout (0f089d3e)
- Adam DeHaven (@adamdehaven)
- Neil Richter (@noook)
- Pooya Parsa (@pi0)
- Alexander Lichter (@manniL)
- KobZ (@devseckobz)
- Klein Petr petr@kleinpetr.com
- Daniel Roe (@danielroe)
- raw: Use mime to check binary types and exclude
.json
(#2239)
- Fix typo (a445fae6)
- Pooya Parsa pyapar@gmail.com
- Keigo Nakao (@kspace-trk)
- database: CamelCase the connector name (#2228)
- Respect
imports.autoImport: false
(#2226) - server-assets: Mark
yaml
,json
,json5
andcsv
as text (#2229) - import-meta: Import
process
fromnode:process
for node compatible builds (deno) (#2225)
- deploy: Add link to zero config providers (#2206)
- fetch: Fix typo (#2209)
- Fix typo (#2211)
- Fix typo (#2205)
- Remove lagon (#2204)
- Update url for experimental database feature (#2210)
- providers: Improve formatting & use new
undocs
components (#2202) - Improve cache page (674089b3)
- release: V2.9.1 (d8491cdc)
- examples: Update hello-world (169ec572)
- Update deps and lockfile (3875e50d)
- Update lockfile (e3f555ac)
- Remove lagon (#2203)
- Update
hello-world
example (920b399e) - Update lockfile (08da539f)
- Improve notes in pr template (#2212)
- Update dependencies (be2c70be)
- Use type import in tests (1cb410db)
- Increase test timeout (7a65d1ef)
- Pooya Parsa (@pi0)
- Divy Srivastava (@littledivy)
- Alexander Lichter github@lichter.io
- Daniel Roe (@danielroe)
- Sébastien Chopin (@Atinux)
- Christian Preston (@cpreston321)
- Phan Khắc Đạo daopk.dev@gmail.com
- Maxime Pauvert (@maximepvrt)
- Jeff Galbraith (@hawkeye64)
- Rajeev R Sharma i.rarsh@gmail.com
- Julien Vanelian (@JulienVanelian)
- Gangan (@shinGangan)
- Disable scheduled tasks in testing environment (#2200)
- Skip
cloudflare-pages
test for windows (#2199)
- Pooya Parsa pyapar@gmail.com
- Roman Nuritdinov (@Ky6uk)
- Stefan stefan.heim@hotmail.com
- Shoshana Connack
- Support function/RegExp for
prerender.ignore
(#1966) - Show meta framework name on server build success (#1955)
- Add zeabur preset (#1942)
- Experimental nitro tasks (#1929)
- Add
types:extend
hook (#1715) - Allow oveeridng nested runtime config with env (#1831)
- wasm: Universal support with esm import syntax (#2017)
- wasm: Migrate to unjs/unwasm (#2037)
- zeabur: Support
zeaburStatic
and auto detect preset (#2014) - runtime-config: Experimental env expansion support (#2043)
- Support binary server assets (#2107)
- Experimental websocket support (#2170)
- dev: Expose upgrade handler (5374429f)
- Experimental database layer (#1351)
- Experimental scheduled tasks (#2179)
- cache: Support async
shouldBypassCache
andshouldInvalidateCache
(#2181) - prerender: Add total prerender time (#2130)
- Add koyeb preset (#1248)
- providers: Support alwaysdata hosting provider (#1790)
- routeRules: Allow wildcard redirects (#1976)
- rollup: Avoid preserving relative externals (#1972)
- wasm: Directly generate chunk exports (#2003)
- iis-node: Correctly escape backslashes for port fix (#2020)
- deno-deploy: Shim
x-forwarded-for
andx-forwarded-proto
headers (#2026) - Add
baseURL
to openapi generated url (#2049) - dev: Correctly set
x-forwarded-*
headers (29ddd948) - azure: Add
18
and20
to supported node versions (#2077) - azure: Pass body to the context as-is (#2079)
- Only mock consola in production (#2110)
- Default to
bundler
module resolution (#2120) - Handle optional
routeHandler.route
in rollup chunk (#2152) - File extension stripping in
writeTypes
function (#2139) - cache: Detect malformed data read from storage (#2161)
- cacheEventHandler: Provide
event.fetch
andevent.$fetch
(#2066) - Resolve modules with jiti directly (#2030)
- options: Add
unwasm
condition whenexperimental.wasm
is enabled (376658ce)
- Include framework name in more build packages (#1973)
- cloudflare: Remove
--local
from preview commands (#1979) - cloudflare: Remove unused import (#1980)
- rollup: Improve generated chunk names (#2004)
- Use name exports in presets entry (1abfc3e5)
- Reimplement wasm plugin (#2031)
- Various improvements around tasks api (#2175)
- tasks: Stabilize api (#2178)
- github-pages: Add
--dotfiles
to deploy command hint (#2158)
- routing: Update request filtering to match the type of
getRequestURL
(#1977) - config: Fix
setResponseHeader
example params (#2027) - netlify: Add note to make sure publish dist is set to
dist
(#2035) - cloudflare: Various updates, cleanups and fixes (#1981)
- Deprecate lagon (17f922aa)
- Update the routing page (#2085)
- Update the cache page (#2087)
- Close code-group in cache section (#2093)
- routing: Escape filename paths and prepend routes folder (#2097)
- storage: Fix unstorage links (#2101)
- routing: Fix typo for
getRouterParam
(#2098) - Update the storage page (#2086)
- Add object syntax for event handler (#2091)
- Update the configuration page (#2083)
- Update the assets page (#2088)
- Create a page on built-in fetch (#2089)
- Add warning about azure functions stability (#2092)
- cloudflare: Update deployment guide (#2074)
- Fix icon of fetch page (#2115)
- Update getting started page (#2082)
- Fix links to /guide/auto-imports (#2131)
- Fix typo in defineCachedFunction example (#2133)
- Clarify difference between dir and baseURL (#2144)
- Migrate to undocs (#2163)
- index: Fix utils link (#2172)
- websocket: Fix typo (#2173)
- Fix typo (3017e6e2)
- vercel: Add monorepo info (#2183)
- Fix typo (#2182)
- cloudflare: Add local bindings usage (#2135)
- Fix link to h3 utils (#2184)
- deploy: Add
platform.sh
(#1630) - Fix db config (#2188)
- Better dist chunk names (#2005)
- release: V2.8.1 (48c79556)
- Add missing
cloudflarePagesStatic
(5ead36f7) - Update lockfile (884a1e24)
- Update dev dependencies (76776513)
- Downgrade
@azure/functions
back to v3 (0a765f2d) - Downgrade undici until upgrading miniflare (0b2e3b8e)
- docs: Update lockfile (0c216cf3)
- Update lockfile (444c9f22)
- Update type test (50cd9173)
- Update type test to pass linter (cbcafa14)
- Update undocs (e2fa76b0)
- Remove extra
.npmrc
(55a22b9f) - Update readme (d840eb9a)
- Update dependencies (#2169)
- Update docs (5b0e150e)
- cloudflare: Migrate to miniflare v3 (#2018)
- Enable azure tests behind a flag (#2076)
- Enable binary response test for all presets (#2078)
- Avoid prerendering
icon.png
(cb220f7e)
- Fix nightly release job condition (#1975)
- Pooya Parsa (@pi0)
- Cas Du Plessis go4cas@gmail.com
- Julien Huang julien.huang@outlook.fr
- Jasper Zonneveld
- M4dz (@m4dz)
- Dominik Opyd dominik.opyd@gmail.com
- Justin Ellingwood justin.ellingwood@gmail.com
- Connor Pearson cjp822@gmail.com
- Alexander Lichter (@manniL)
- David De Sloovere
- Dario Piotrowicz dario@cloudflare.com
- Balázs Németh
- Mehmet hi@productdevbook.com
- Markthree (@markthree)
- Arkadiusz Sygulski aareksio@gmail.com
- Jamaluddin Rumi jamal.rumi@icloud.com
- McPizza gh@l1.io
- Shoshana Connack
- Anthony Fu anthonyfu117@hotmail.com
- Jackson Tenclay
- Rihan (@RihanArfan)
- Remonke
- Daniel Roe (@danielroe)
- Estéban (@Barbapapazes)
- Gerard Wilkinson gerard.wilkinson@me.com
- Tobias Lebeitsuk
- Alexander (@cany748)
- Kasper Kronborg kasper@kronborg.info
- Gustavo Alfredo Marín Sáez aterbonus@gmail.com
- Alexandr
- Yuanlin Lin im.yuanlinlin@gmail.com
- Mcremer-able marc.cremer@able-group.de
- Jasonleong jasonliangbiz@gmail.com
- METO (@metowolf)
- Michael Brevard yonshi29@gmail.com
- Bobbie Goede bobbiegoede@gmail.com
- Becem (@becem-gharbi)
- Mukund Shah
- Ayo Ayco (@ayoayco)
- dev: Conditionally access worker address for build info (#1947)
- Force use wasm import strategy for windows (e73b849f)
- netlify-lambda: Handle base64 encoded body (#1940)
- cloudflare: Wasm support with dynamic chunks (#1957)
- prerenderer: Write responses with json signature to original path (#1963)
- cache: Make default value
swr: true
more clear (#1949)
- Pooya Parsa (@pi0)
- Becem becem.gharbi@live.com
- Mick Lawitzke (@MickL)
- 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 stephen.siegert@gmail.com
- Passionate-bram
- Daniel Roe daniel@roe.dev
- Neil Richter (@noook)
- Xin Du (Clark) clark.duxin@gmail.com
- Anthony Fu anthonyfu117@hotmail.com
- Dario Piotrowicz (@dario-piotrowicz)
- Kalwabed Rizki
- Thunfisch987
- Oof2win2 honza.koco44@gmail.com
- 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 daniel@roe.dev
- 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)
- Temporarily disable dev test in ci (53a96adb)
- Update deno test with explicit host (8cce5085)
- Update response type check (#1839)
- Pooya Parsa (@pi0)
- Yasser Lahbibi (@yassilah)
- Horu
- Michael Brevard yonshi29@gmail.com
- Daniel Roe daniel@roe.dev
- MiniDigger < Martin>
- Estéban (@Barbapapazes)
- Heb (@Hebilicious)
- Henrique Lopes
- McPizza gh@l1.io
- Michael BOUVY michael.bouvy@gmail.com
- Jeremy Graziani
- Tobias Diez code@tobiasdiez.com
- VALERIY SINEVICH
- Roman Zipp ich@ich.wtf
- Benjamin GAYMAY (@BenjaminGaymay)
- Alexander Lichter (@manniL)
- Farnabaz (@farnabaz)
- Nils K
- Jonas Thelemann (@dargmuesli)
- Jenjen75 jean-michel.khou@vivlab.com
- 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 luke@nelson.zone
- Rajeev R Sharma i.rarsh@gmail.com
- Markthree (@markthree)
- Daniel Roe daniel@roe.dev
- 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 daniel@roe.dev
- Azcray
- Correctly mark
middleware: false
for scanned routes (#1631) - Pass relative ignore paths when scanning public assets (#1632)
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev
- 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
h3@1.8-rc
(#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 daniel@roe.dev
- Utsob Roy (@uroybd)
- Nick Dawson
- AlexLavoie42 (@AlexLavoie42)
- Heb (@Hebilicious)
- Dave Caruso (@paperdave)
- Anthony Fu anthonyfu117@hotmail.com
- Luke Nelson luke@nelson.zone
- Eduardo San Martin Morote
- Asher White (@AWBroch)
- Nikhil Saraf (@nksaraf)
- Velka
- Andreas Botzler andreas.botzler@googlemail.com
- Farnabaz farnabaz@gmail.com
- Leo Bourbon
- Gnoeley leonpelech@gmail.com
- Estéban (@Barbapapazes)
- Marshall Thompson (@marshallswain)
- Harlan Wilton (@harlan-zw)
- Qin Guan qinguan20040914@gmail.com
- Aaron Dewes aaron@runcitadel.space
- Ccccccjh
- Antony Konstantinidis ak@digitalessence.de
- Arjun-re
- Morty Li a0988891318@gmail.com
- 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 accessible (#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 daniel@roe.dev
- Stefan Bittmann stefan@clinic.tools
- Nick Dawson
- Fix typo in Flightcontrol deployment option (#1332)
- Avoid doubly-bundling runtime types (#1334)
- Avoid overriding app runtime config namespace (#1333)
- Daniel Roe daniel@roe.dev
- 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 responses (#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 daniel@roe.dev
- Andrew mshote@gmail.com
- Estéban (@Barbapapazes)
- Dunqing (@Dunqing)
- Frantz Kati bahdcoder@gmail.com
- 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 daniel@roe.dev
- AaronBeaudoin aaronjbeaudoin@gmail.com
- Oumar Barry (@oumarbarry)
- G-Cyrille
- 魔王少年 q267009886.work@gmail.com
- Iho Somnam ihosomnam4741@gmail.com
- Timhanlon tim@timhanlon.com
- 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 daniel@roe.dev
- Yassine El Ouazzani (@kwarkjes)
- Inesh Bose
- Andre Hammons
- Michael BOUVY michael.bouvy@gmail.com
- 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 mahdi@boomeri.dev
- Daniel Roe daniel@roe.dev
- Shohei Maeda
- Lucas (@Draichi)
- Nobkd
- Honza Pobořil honza@poboril.cz
- types: Don't simplify type of serialized return (#1050)
- Add
codecov.yml
(6fe7f64)
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev
- 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 daniel@roe.dev
- Felix De Montis hi@felix.dm
- Sébastien Chopin (@Atinux)
- Hannes Küttner kuettner.hannes@gmail.com
- Julie Saia
- Ted De Koning
- Jan Johansen nizopezo@gmail.com
- Tobias Diez code@tobiasdiez.com
- Elian ☕️ hello@elian.codes
- Mahdi Boomeri mahdi@boomeri.dev
- Anthony Fu anthonyfu117@hotmail.com
- 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 daniel@roe.dev
- Jan-Henrik Damaschke jdamaschke@outlook.de
- Bogdan Kostyuk bogdankostyuk12@gmail.com
- 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 pooya@pi0.io
- Daniel Roe daniel@roe.dev
- static: Remove
cache-control
headers when asset is not found (e3d57fc) - Avoid circular imports (#936)
- Update changelog (8dde296)
- Pooya Parsa pyapar@gmail.com
- 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 pooya@pi0.io
- Shohei Maeda
- Luke Nelson luke@nelson.zone
- Oleg Khalin
- Daniel Roe daniel@roe.dev
- 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 pooya@pi0.io
- SerKo
- Daniel Roe daniel@roe.dev
- Renato Lacerda renato.ac.lacerda@gmail.com
- Chad Lew
- Mike Laumann Bellika
- Harlan Wilton harlan@harlanzw.com
- Dany Sluijk me@dany.dev
- Resolve server assets dir relative to
srcDir
(#893) - prerender: Encode urls passed to local fetch (#891)
- Pooya Parsa pooya@pi0.io
- Manh-gntvn
- Daniel Roe daniel@roe.dev
- deployment: Heroku with nginx (#873)
- netlify: Clarify placement of
_redirects
file (#870) - digitalocean: Update deployment guide (#862)
- Update dependencies (963c587)
- Pooya Parsa pooya@pi0.io
- Daniel Roe daniel@roe.dev
- MiniDigger < Martin>
- Christopher Lis
- Ola Alsaker ola.alsaker@gmail.com
- Adeyemi Adetayo adeyemiadetayo07@gmail.com
- Pooya Parsa pyapar@gmail.com
- Daniel Roe daniel@roe.dev
- 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 pooya@pi0.io
- Yasser Lahbibi yasser.lahbibi@apenhet.com
- O-az github@omaraziz.dev
- Daniel Roe daniel@roe.dev
⚠️ 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)
- runtime: 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 pooya@pi0.io
- Yasser Lahbibi yasser.lahbibi@apenhet.com
- Harlan Wilton harlan@harlanzw.com
- Christian Preston christianpreston@ymail.com
- Louis Haftmann
- Daniel Roe daniel@roe.dev
- Xin Du (Clark) clark.duxin@gmail.com
- Jonas Thelemann e-mail@jonas-thelemann.de
- Shoubhit Dash shoubhit2005@gmail.com
- Anthony Fu anthonyfu117@hotmail.com
- Chambers
- Patrick Schnyder
- Alvar Lagerlöf
- Pascal
- Eduardo San Martin Morote
- Johann Schopplich mail@johannschopplich.com
- Nathan Chase nathan@nathanchase.com
- Dany Sluijk me@dany.dev
- Alexander Lichter github@lichter.io
- Nobody5050
- Ʀᴀʏ nn_201312@163.com
- Nozomu Ikuta
- James Ray james.a.ray@jpl.nasa.gov
- 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 deprecated
autoImport
-
remove deprecated
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 scanned 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 NitroFetchRequest 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 structure (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 specified 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 build-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 target functions to consume nuxtOptions (725caec)
- support typescript via esbuild (closes #42) (3dd5276)
- support universalFetch during generate (f656d3f)
- swr support with route rules (4e37f23)
- switch 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 emitted 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 from 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)