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 #22

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

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nitropack ^0.6.1 -> ^2.9.6 age adoption passing confidence

Release Notes

unjs/nitro (nitropack)

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 chck 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
  • Include framework name in more build packages (#​1973)
  • cloudflare: Remove --local from perview 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: Stablize api (#​2178)
  • github-pages: Add --dotfiles to deploy command hint (#​2158)
📖 Documentation
  • 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)
📦 Build
🏡 Chore
✅ Tests
  • 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)
🤖 CI
  • Fix nightly release job condition (#​1975)
❤️ Contributors

v2.8.1

Compare Source

compare changes

🩹 Fixes
  • 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)
📖 Documentation
  • cache: Make default value swr: true more clear (#​1949)
🏡 Chore
✅ Tests
  • Add tests for wasm (#​1951)
  • cloudflare-pages: Remover overlapping include rules (789a13d3)
❤️ Contributors

v2.8.0

Compare Source

compare changes

🚀 Enhancements
  • Support modules to extend nitro builder (#​1789)
  • Support inline mode for serveStatic (#​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)
🩹 Fixes
  • 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)
💅 Refactors
📖 Documentation
  • 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)
🌊 Types
  • Export SerializeTuple and SerializeObject (#​1907)
🏡 Chore
✅ Tests
  • Hide winterjs due to unstability (1b50a9a1)
🤖 CI
❤️ Contributors

v2.7.2

Compare Source

compare changes

🩹 Fixes
  • cloudflare-pages: Filter out overlapping public assets dirs (#​1859)
❤️ Contributors

v2.7.1

Compare Source

compare changes

🩹 Fixes
  • Recursively simplify returned objects (#​1847)
  • cache: Fix etag and last-modified values (#​1855)
  • cache: Invalidate wrongly cached handler entities (#​1857)
🏡 Chore
❤️ Contributors

v2.7.0

Compare Source

compare changes

🚀 Enhancements
  • vercel: Support bypassToken for on-demand static reganaration (#​1723)
  • prerender: Support retry and retryDelay (#​1534)
  • Allow disabling compressed size calculation (#​1756)
🔥 Performance
  • Use native fetch for node >= 18 to reduce %40 of bundle size (#​1724)
🩹 Fixes
  • 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 as NITRO_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 returns false (#​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)
💅 Refactors
  • iis: Improve preset and docs (#​1784)
📖 Documentation
  • 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)
🏡 Chore
✅ Tests
  • Temporaily disable dev test in ci (53a96adb)
  • Update deno test with explicit host (8cce5085)
  • Update reponse type check (#​1839)
🤖 CI
  • Run tests against node 18 (#​1713)
  • Run vitest with es and sourcemap support (c4c00467)
❤️ Contributors

v2.6.3

Compare Source

compare changes

🩹 Fixes
  • 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)
📖 Documentation
  • render-com: Add note about node version (#​1693)
  • Add instructions for using nuxt edge release channel (#​1688)
  • Add instructions for bun (#​1672)
🏡 Chore
✅ Tests
  • Update test for bun headers (#​1684)
❤️ Contributors

v2.6.2

Compare Source

compare changes

🩹 Fixes
  • 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)
🏡 Chore
✅ Tests
  • Add test for prerender ignored data: urls (#​1431)
❤️ Contributors

v2.6.1

Compare Source

compare changes

🩹 Fixes
  • Correctly mark middleware: false for scanned routes (#​1631)
  • Pass relative ignore paths when scanning public assets (#​1632)
🏡 Chore
❤️ Contributors

v2.6.0

Compare Source

compare changes

🚀 Enhancements
  • 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 and prerender:done hooks (#​1519)
  • cache: Support cached event handlers with varies (#​1184)
  • app: Support request, beforeResponse and afterResponse 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 for build (#​1621)
  • cli: Add listhen options for dev command (#​1622)
  • Handle stream and Uint8Array for lambda presets (#​1624)
🔥 Performance
  • Use fsLite driver for production data: 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)
🩹 Fixes
  • rollup: Replace globalThis.process. with process. (#​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 of event.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 when cache: 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)
💅 Refactors
  • cloudflare: Use wrangler deploy instead of publish (#​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 to unjs/httpxy (#​1623)
  • Simplify normalizeLambdaOutgoingBody (58b4853b)
  • Expose body type for lambda presets (e5f095d6)
📖 Documentation
  • 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 of eventHandler (#​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)
📦 Build
🏡 Chore

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from e90b6fe to ada3b46 Compare January 30, 2023 13:20
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from cf354e3 to 97aa669 Compare February 9, 2023 07:52
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 8fe8130 to ee126a6 Compare February 21, 2023 22:54
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from d071294 to 885f58c Compare March 24, 2023 17:04
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch from 8f01c1b to 16f3e8b Compare May 28, 2023 11:40
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from bea8944 to caeb973 Compare June 28, 2023 15:44
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from e339cd5 to 9244391 Compare August 27, 2023 20:21
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from b263902 to 98c1484 Compare October 28, 2023 16:20
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 2 times, most recently from 668ee50 to 9cc6fcf Compare February 29, 2024 15:39
@renovate renovate bot force-pushed the renovate/nitropack-2.x branch 3 times, most recently from 82694fb to c7a1956 Compare March 15, 2024 19:51
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.

None yet

0 participants