ℹ️ Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| nitropack | ^1.0.0 → ^2.13.1 |
Release Notes
nitrojs/nitro (nitropack)
v2.13.1
This release mainly updates dependencies (696dc3a9)
h3@​1.15.5released with security fix (release notes)unstorage@v1.17.4released withchokidar,lru-cache, andh3dependency bumps (release notes)
v2.13.0
🚀 Enhancements
- vercel: Add support for skew protection (#3850)
- bun: Support
NITRO_BUN_IDLE_TIMEOUTenv variable (#3294)
🔥 Performance
🩹 Fixes
- firebase: Update gen 1 import to match latest sdk (28406449)
- Correct
cryptopolyfill (5caca6c0) - vercel: Handle ISR requests with
passQuery: true(#3539) - dev: Automatically use
Content-Encoding: gzipfor.gzstatic files (#3381) - static: Add vary: accept-encoding for assets with compressed version (#3443)
- dev: Respect
opts.jsonwhenfalsefor error handler (#3920) - dev: Apply headers from route rules for static assets (c74d7a17, f059e4ba, be316b49)
- vercel: Avoid adding o11y links for prerendered paths (#3927)
- cloudflare-durable: Expose env bindings in durable handler (#3931)
💅 Refactors
q
- Update
firebase-functionstype import (d27fbe86)
📖 Documentation
📦 Dependencies
- Update
esbuildto 0.27 (a0176dfa) - Update
unwasmto 0.5 (85b057b8) - Update
@vercel/nftto v1 (5aeb9f89) - Update
@rollup/plugin-commonjsto v29 (58d2ff13) - Update
@rollup/plugin-aliasto v6 (3f493325) - Update
globbyto v16 (7b8da4c0)
🤖 CI
❤️ Contributors
- Pooya Parsa (@pi0)
- Ori (@oritwoen)
- Dmitry Istomin (@tirojal)
- Typed SIGTERM (@typed-sigterm)
- Daniel Roe (@danielroe)
- Oyama Michinoku (@yamanoku)
- WIP (@paulcrussell)
- Kricsleo (@kricsleo)
- Jamaluddin Rumi (@jamaluddinrumi)
- Sébastien Chopin (@Atinux)
v2.12.9
⚠ BREAKING CHANGES
- use
app.baseURLruntime config for framework agnostic usage - expose
nitroAppto entries - simplify storage options
- drop paths and support top level
baseURLoption - migrate to h3 0.5x with events API (#23)
- add
engines.nodefield and node.js version check (#1197)
Features
@nuxt/metamodule for head rendering (#179) (1a76f60)h3auto imports preset (0661fa9)nitro.close()(c1560d0)- add
engines.nodefield and node.js version check (#1197) (a0ff933) - add
process.dev(#16) (68fc5b3) - add
runtime/clientfor $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
useConfiganduseStorage(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.loggerto control verbosity (a91fd52) - define nitro
#storageand#assetstypes (#1377) (cf78609) - deps: update all non-major dependencies (#2252) (1b2e92e)
- detect target (ea250b3)
- dev server watch (3eb6c20)
- drop paths and support top level
baseURLoption (913f3d8) - dynamic chunk importer (0f179ab)
- dynamic-require rollup plugin (b00cfb9)
- enable externals.trace by default (303debd)
- export
defineNuxtConfigfromnuxt3and@nuxt/bridge(#669) (8a02ab8) - expose
useNitroAppto 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_modulesas 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 previewcommand 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
#nitroindex (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_URLfor 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)
Bug Fixes
_interopDefault potential cjs files (d873169)
404 handling for static assets (c0cb35d)
add
node_modulesfrom 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
replaceAllfor 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
h3to0.5.2(ce14f33)deps: update dependency ohmyfetch to ^0.4.4 (#1705) (27f238f)
dev: add conditional check for
removeAllListenerscall (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)
disable static manifest generation (resolves #53) (df69cfa)
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
#configanduseRuntimeConfig()) (#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 issues rendering
payload.js(#466) (584a14d)nitro: correct vercel fs api static directory (#488) (cd0616e)
nitro: detect routes and middleware starting with dots (#2771) (9b3d6c2)
nitro: disable
moduleSideEffectsby default (#377) (ec207e9)nitro: do not modify
event.requestfor 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
rootDirfrom 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: fix regex for tracedFiles scanning (#1509) (6054d5b)
nitro: generate correct netlify entrypoint (#372) (49a5ebd)
nitro: generate netlify
_redirectsin public (#298) (2534dc6)nitro: handle esm imports from cjs files (8decd90)
nitro: handle static assets and api routes for
service-workerpreset (#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
/indexfrom generated api urls (#1371) (f1a17f2)nitro: only serve placeholders for
publicPath(1cf0844)nitro: ovrride by user input ([
306b96f](https://redirect.github.com/n
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.