Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

chore(deps): update peerdependency nitropack to v2 #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 24, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nitropack ^1.0.0 -> ^2.11.7 age adoption passing confidence

Release Notes

nitrojs/nitro (nitropack)

v2.11.7

Compare Source

compare changes

🆙 Updates
  • cloudflare: Update node.js compatibility (node:crypto and node:tls) (#​3230)
  • netlify-edge: Update node.js compatibility (node:sqlite) (#​3231)
  • minor dependency updates and removed unused dependencies (c24f39c2, ff9c4f08)
🩹 Fixes
  • app: Import user code last to avoid initialization order issues (#​3226)
  • app: Only inherit waitUntil and platform context in direct fetch (#​3224)
  • dev: Always propagate proxy errors (#​3229)
💅 Refactors
📖 Documentation
  • Use server/ dir in all places (#​2775)
  • deno-server: Add note for compatibilityDate (#​3190)
  • netlify: Add note for compatibilityDate (#​3189)
  • firebase: Add firebase-app-hosting (#​3217)
  • Updated callout (#​3219)
❤️ Contributors

v2.11.6

Compare Source

compare changes

🩹 Fixes
  • Update enenv and cloudflare node compat (#​3187)
  • dev: Use port for bun on windows (#​3188)
💅 Refactors
  • Remove extra space in logs (#​3181)
  • Remove dependency on unenv mock utils (#​3186)
📖 Documentation
🏡 Chore
✅ Tests
❤️ Contributors

v2.11.5

Compare Source

compare changes

🩹 Fixes
  • dev: Use abstract sockets on linux with node.js >=20 (#​3178)
  • dev: Use os tmp dir for unix sockets (#​3179)
📦 Build
🌊 Types
  • Mark $global optional for NitroRouteMeta (#​3174)
❤️ Contributors

v2.11.4

Compare Source

compare changes

🩹 Fixes
  • dev: Auto fallback to port if socket listening failed (#​3165)
  • dev: Polyfill globalThis.crypto for Node.js 18 (#​3166)
  • cli: Add globalThis.crypto polyfill for Node.js 18 (#​3167)
  • dev: Polyfill globalThis.crypto for Node.js 18 (#​3168)
  • dev: Try normal socket for CI (a4569493)
📦 Build
❤️ Contributors

v2.11.3

Compare Source

compare changes

🩹 Fixes
  • cloudflare: Support wrangler.jsonc (#​3162)
💅 Refactors
  • Expose default error to custom handler (#​3161)
  • dev: Only show force close warn in debug mode (06147e7a)
🏡 Chore
❤️ Contributors

v2.11.2

Compare Source

compare changes

🩹 Fixes
  • prerender: Ignore prefixed public assets (#​3093)
  • dev: Mark event as handled before sending proxy (058819aa)
  • dev: Force close server immediately in test and ci (97ed879a)
  • dev: Close all connections when reloading (5b5e10e7)
  • config: Respect config overrides for defaults (#​3158)
💅 Refactors
  • Move handled set to proxy util (67c396ba)
🏡 Chore
❤️ Contributors

v2.11.1

Compare Source

compare changes

🩹 Fixes
  • dev: Use full socket path for windows and linux (#​3152)
  • dev: Add random number to socket name (#​3153)
  • dev: Limit /_vfs to local ips only (#​3154)
  • app: Update event before calling request hook (#​3155)
❤️ Contributors

v2.11.0

Compare Source

Check release notes

v2.10.4

Compare Source

compare changes

🔥 Performance
  • raw: Avoid extra this.resolve when possible (#​2857)
📖 Documentation
🏡 Chore
✅ Tests
❤️ Contributors

v2.10.3

Compare Source

compare changes

🩹 Fixes
  • 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)
📖 Documentation
🌊 Types
  • cache: Resolved value is not nullable (#​2848)
❤️ Contributors

v2.10.2

Compare Source

compare changes

🩹 Fixes
  • rollup: Pass options to resolve (#​2842)
📖 Documentation
  • cloudflare: Update cloudflare-module (#​2831)
  • Update nightly and experimental banners (9ff37139)
❤️ Contributors

v2.10.1

Compare Source

compare changes

🩹 Fixes
  • 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)
❤️ Contributors

v2.10.0

Compare Source

compare changes

🚀 Enhancements
  • 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 and routesDir (#​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 and cloudflare: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 for isr rule (#​2571)
  • open-api: Production mode (#​2570)
  • deno-server: Use output node_modules for start 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)
🔥 Performance
  • 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)
🩹 Fixes
  • github-pages: Prerender / by default (#​2334)
  • deno-server: Always inject process from node: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 to node-resolve extensions (#​2398)
  • Lower-case accepted handler method (#​2382)
  • Set compilerOptions.noEmit to avoid tsconfig.json warning (#​2402)
  • prerender: Only try to add / after prerender: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 merging web.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 and routesDir (#​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 with undefined value in ObjectExpression (#​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 for tasks 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 and std-env to runtimeDependencies (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)
💅 Refactors
  • 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 from consola/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)
📖 Documentation
  • 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 of npm 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)
📦 Build
  • 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 and nitropack npm packages (#​2497)
🌊 Types
  • firebase: Support 22 for nodeVersion (#​2653)
🏡 Chore
✅ Tests
  • Avoid toMatchInlineSnapshot in shared tests (966b3518)
🎨 Styles
🤖 CI
  • Make nightly versions human readable (37f0d4f4)
❤️ Contributors

v2.9.7

Compare Source

[!NOTE]
Release of Nitro 2.10 might little bit take longer (after Nitro 3.0 release) in order to make sure all major refactors are nonbreaking and tested enough. In the meantime, 2.9.7 adds important fixes.

Full changelog: nitrojs/nitro@v2.9.6...v2.9.7

🩹 Fixes
❤️ Contributors

v2.9.6

Compare Source

compare changes

🩹 Fixes
  • 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)
📖 Documentation
  • Remove outdated nightly warning (#​2317)
🏡 Chore
❤️ Contributors

v2.9.5

Compare Source

compare changes

🚀 Enhancements
  • openapi: Add experimental /_nitro/scalar endpoint (#​2252)
🩹 Fixes
  • 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 from Serialize when it extends undefined (#​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)
💅 Refactors
  • openapi: Upgrade to openapi 3.1 (#​2297)
📖 Documentation
  • 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)
📦 Build
  • Use .d.ts for runtime generated types (#​2313)
🏡 Chore
❤️ Contributors

v2.9.4

Compare Source

compare changes

🩹 Fixes
  • Handle path negations when scanning public assets (#​2250)
  • pkg: Add ioredis as unstorage peer dependency (#​2266)
📖 Documentation
🏡 Chore
✅ Tests
❤️ Contributors

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.

Sorry, something went wrong.

@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 97110a7 to ab52560 Compare January 30, 2023 13:36
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from ab52560 to 8d8fe1f Compare February 7, 2023 02:46
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 1bcbc5c to d6d3879 Compare March 16, 2023 15:59
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from d6d3879 to c7b5d19 Compare March 24, 2023 17:05
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from c7b5d19 to 56a8cf5 Compare April 17, 2023 13:11
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 56a8cf5 to 58cc9a5 Compare May 28, 2023 11:57
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 4050c5a to 6701252 Compare June 22, 2023 10:03
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 6701252 to ab188d1 Compare June 28, 2023 16:21
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from ea1694f to cdd431f Compare August 27, 2023 22:36
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from cdd431f to 18f79e1 Compare September 7, 2023 20:02
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 18f79e1 to cd192a3 Compare October 19, 2023 17:16
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 6c21d3d to c33bba0 Compare October 28, 2023 16:58
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from c33bba0 to e622331 Compare November 20, 2023 17:41
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from e622331 to c4d6587 Compare November 29, 2023 18:38
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 89b41ca to 53cd944 Compare February 29, 2024 15:12
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from f8fc3d7 to 6ed4774 Compare March 15, 2024 19:43
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 6ed4774 to 8987220 Compare March 25, 2024 19:54
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 8987220 to 36dc29a Compare April 2, 2024 23:24
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 36dc29a to 4589192 Compare June 27, 2024 17:01
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 3352832 to b519813 Compare November 3, 2024 01:16
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from d1845ae to a21b456 Compare November 9, 2024 08:33
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 7 times, most recently from b079a84 to dedeee2 Compare March 9, 2025 00:47

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from dedeee2 to a79436a Compare March 19, 2025 00:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants