Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency nitropack to v2 #13

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 16, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nitropack ^0.5.4 -> ^2.10.4 age adoption passing confidence

Release Notes

nitrojs/nitro (nitropack)

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

v2.9.3

Compare Source

compare changes

🩹 Fixes
  • raw: Use mime to check binary types and exclude .json (#​2239)
📖 Documentation
❤️ Contributors

v2.9.2

Compare Source

compare changes

🩹 Fixes
  • database: CamelCase the connector name (#​2228)
  • Respect imports.autoImport: false (#​2226)
  • server-assets: Mark yaml, json, json5 and csv as text (#​2229)
  • import-meta: Import process from node:process for node compatible builds (deno) (#​2225)
📖 Documentation
🏡 Chore
❤️ Contributors

v2.9.1

Compare Source

compare changes

🩹 Fixes
  • Disable scheduled tasks in testing environment (#​2200)
📖 Documentation
🤖 CI
  • Skip cloudflare-pages test for windows (#​2199)
❤️ Contributors

v2.9.0

Compare Source

compare changes

🚀 Enhancements
  • 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 and shouldInvalidateCache (#​2181)
  • prerender: Add total prerender time (#​2130)
  • Add koyeb preset (#​1248)
  • providers: Support alwaysdata hosting provider (#​1790)
  • routeRules: Allow wildcard redirects (#​1976)
🩹 Fixes
  • 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 and x-forwarded-proto headers (#​2026)
  • Add baseURL to openapi generated url (#​2049)
  • dev: Correctly set x-forwarded-* headers (29ddd948)
  • azure: Add 18 and 20 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 and event.$fetch (#​2066)
  • Resolve modules with jiti directly (#​2030)
  • options: Add unwasm condition when experimental.wasm is enabled (376658ce)
💅 Refactors

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.

@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 5949202 to 68fada9 Compare March 24, 2023 18:22
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 68fada9 to 1557ef7 Compare May 29, 2023 13:59
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 5330754 to 854dba1 Compare June 23, 2023 05:03
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 854dba1 to 085fb68 Compare June 30, 2023 05:23
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from 222a707 to 0e9e527 Compare August 28, 2023 11:53
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 0e9e527 to c49821b Compare September 8, 2023 05:27
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from f400d47 to 402cbe4 Compare October 27, 2023 02:42
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 402cbe4 to f9b04c3 Compare October 29, 2023 08:14
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from f9b04c3 to b86bae8 Compare November 21, 2023 23:59
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from b86bae8 to 8ab3660 Compare November 30, 2023 14:46
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from bf8ab4c to 543b742 Compare March 1, 2024 20:37
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from 3149e56 to 18fce2a Compare March 15, 2024 20:48
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 18fce2a to ec7bfaf Compare March 25, 2024 23:44
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from ec7bfaf to 6d04ebe Compare April 3, 2024 08:55
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 6d04ebe to 4cede7a Compare June 28, 2024 05:29
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from fcf8ee3 to f2322f8 Compare November 8, 2024 02:31
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from f2322f8 to b51eed3 Compare November 10, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants