unkit icon indicating copy to clipboard operation
unkit copied to clipboard

chore(deps): update dependency h3 to v1

Open renovate[bot] opened this issue 2 years ago • 0 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
h3 ^0.8.6 -> ^1.12.0 age adoption passing confidence

Release Notes

unjs/h3 (h3)

v1.12.0

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • getRequestUrl: Forward opts to getRequestProtocol (#​776)
  • readRawBody: Read chunked body (#​652)
  • proxy: Better error when upstream proxy fails (#​746)
  • node: Make sure onBeforeResponse and onAfterResponse are called with error code (#​756)
  • sse: Prevent onClosed from firing twice in EventStream (#​704)
  • plain: Avoid import from unenv internals (#​781)
💅 Refactors
  • session: Remove unnecessary async for clear (#​729)
  • Update unenv import (76736ea)
📖 Documentation
  • Fix typo (#​699)
  • Fix typo (#​707)
  • Fix typo (#​712)
  • Fix typo (#​730)
  • Fix typo (#​732)
  • Remove extra space (#​718)
  • Add semi (#​710)
  • event-handler: Fix typo (#​684)
  • Add jsdoc examples for response utils (#​677)
  • Add note for getRequestIP return value (#​726)
  • Fix session example (#​702)
  • Add jsdoc examples for request utils (#​680)
  • Fix typo (#​734)
  • Correct zod validation example (#​735)
  • Fix typos (#​738)
  • Fix typo (#​758)
  • Add usage example for handleCors (#​747)
  • Fix typo for text/html content-type (#​764)
  • Update mogen example to use combined log format (#​771)
  • Fix typo for plain adapter example (#​766)
  • examples: Add cors example (#​700)
  • Fix respondWith event object (#​775)
  • Provide async for request body (#​777)
  • error-handling: Add string vs object errors and update createError jsdoc (#​762)
🏡 Chore
🤖 CI
  • Remove node 16 from test matrix (458cfac)
❤️ Contributors

v1.11.1

Compare Source

compare changes

🩹 Fixes
  • ws: Resolve pathname for matching (4f211f8)
📖 Documentation
🏡 Chore
❤️ Contributors

v1.11.0

Compare Source

compare changes

🚀 Enhancements
  • Add utilities for server sent events (#​586)
  • response: Add sendIterable util (#​655)
  • Handler resolver (#​669)
  • Websocket support (#​671)
🩹 Fixes
  • serveStatic: Ensure etag header is set before sending 304 response (#​653)
📖 Documentation
🏡 Chore
❤️ Contributors

v1.10.2

Compare Source

compare changes

🩹 Fixes
  • proxy: Ignore incoming accept header (#​646)
❤️ Contributors

v1.10.1

Compare Source

compare changes

🩹 Fixes
  • setResponseHeaders: Fix types to allow partial header names (#​607)
  • setCookie: Allow cookies with the same name but different options (#​606)
  • getRequestWebStream: Reuse buffered body if available (#​616)
  • getSession: Use semaphore lock for unseal operation (#​612)
  • getRequestIP: Use first address of x-forwarded-for header (#​618)
  • Avoid setting default content-type for responses with 304 status (#​641)
💅 Refactors
  • Use H3Event.node.res for internal types (#​626)
📖 Documentation
  • Fix getRequestHeaders signuture (#​613)
  • Fix typo in examples (#​631)
🏡 Chore
✅ Tests
❤️ Contributors

v1.10.0

Compare Source

compare changes

🚀 Enhancements
  • validate: Provide validate error in data (#​594)
🩹 Fixes
  • readRawBody: Check req.rawBody before req.body (#​604)
📖 Documentation
  • Add h3-compression to community packages (#​524)
  • Add examples (#​539)
🌊 Types
  • Add generics to isError and update DataT default generic param (#​582)
  • setResponseHeaders: Add autocompletion for header names (#​601)
🏡 Chore
🤖 CI
  • Fix nightly release job conditional (#​587)
❤️ Contributors

v1.9.0

Compare Source

compare changes

🚀 Enhancements
  • Support auto complete for http header names (#​542)
  • Add getValidatedRouterParams util (#​573)
  • decode option for getRouterParam (#​556)
  • Add getRequestFingerprint util (#​564)
🩹 Fixes
  • sendNoContent: Preserve custom status code if already set (#​577)
📖 Documentation
  • Add @intlify/h3 to community packages (#​559)
  • Improve jsdocs (#​574)
  • Add package pronunciation (#​569)
🌊 Types
  • Add generics to H3Error data and createError (#​566)
🏡 Chore
❤️ Contributors
  • Pooya Parsa (@​pi0)
  • Nandi95
  • Horu
  • Damian Głowala (@​DamianGlowala)
  • Nozomu Ikuta
  • Alexander Lichter (@​manniL)
  • Łukasz Wołodkiewicz
  • Kazuya Kawaguchi <kawakazu80@​gmail.com>
  • Michael Brevard <yonshi29@​gmail.com>

v1.8.2

Compare Source

compare changes

🩹 Fixes
  • getRequestProtocol: Conditionaly check connection?.encrypted (#​532)
🏡 Chore
❤️ Contributors
  • Pooya Parsa (@​pi0)
  • Michael J. Roberts

v1.8.1

Compare Source

compare changes

🩹 Fixes
  • Use safe property checks (#​521)
💅 Refactors
  • Use native Headers and Response for legacy polyfills (#​523)
📖 Documentation
  • Typo for getValidatedQuery (164f68e)
🏡 Chore
✅ Tests
  • proxy: Add additional test to make sure json response is sent as is (#​512)
❤️ Contributors

v1.8.0

Compare Source

compare changes

🚀 Enhancements
  • router: Expose event.context.matchedRoute (#​500)
  • web: Add fromWebHandler (#​490)
  • Support fromPlainHandler (bc2ca33)
  • Util getRequestIP (#​503)
  • defineRequestMidleware, defineResponseMiddleware and rename object synctax hooks (#​507)
🩹 Fixes
  • sanitizeStatusCode: Input is optional (67a4132)
  • sendNoContent: Avoid overriding status code if event is already handled (3f6d99e)
  • router: Use default behavior for no-content handling (e3c9f96)
💅 Refactors
  • app: Use sendNoContent for null handling (a72a4b8)
  • event: Rename event.body to event.rawBody (563313d)
  • Cleanup event interface (#​506)
  • Rename beforeResponse to onBeforeResponse (7cebec2)
🏡 Chore
🎨 Styles
  • Format all repo with prettier (ffab809)
❤️ Contributors

v1.7.1

Compare Source

compare changes

🩹 Fixes
  • fetchWithEvent: Allow customizing fetch impl type (#​414)
💅 Refactors
📖 Documentation
  • Update link to how it works (3dd2376)
🏡 Chore
❤️ Contributors

v1.7.0

Compare Source

compare changes

🚀 Enhancements
  • proxy: Support onResponse callback (#​368)
  • useSession: Support custom session id generator (#​390)
  • event.handled flag (#​410)
🩹 Fixes
  • types: Type for get router parameter utils (#​400)
  • proxy: Split cookie headers properly with native node fetch (#​408)
  • readRawBody: Handle body as object (#​403)
  • router: Send 204 with empty string in preemptive mode instead of 404 (#​409)
  • cache, proxy, response: Avoid sending handled events (#​411)
📖 Documentation
  • Add event as first arg for proxyRequest (3e5f427)
🏡 Chore
❤️ Contributors

v1.6.6

Compare Source

compare changes

🩹 Fixes
  • getRequestURL: Normalize double slashes (b5d2972)
  • getRequestURL: Make x-forwarded-host support opt-in (2fce169)
  • event: Normalize event.path (981c89f)
🏡 Chore
✅ Tests
  • Add tests for getRequestURL (d510483)
❤️ Contributors

v1.6.5

Compare Source

compare changes

🩹 Fixes
  • readRawBody: Resolve cached promise before normalizing buffer (2e472e8)
🏡 Chore
❤️ Contributors

v1.6.4

Compare Source

compare changes

🩹 Fixes
  • readRawBody: Always return buffer without encoding (19d133d)
❤️ Contributors

v1.6.3

Compare Source

compare changes

🩹 Fixes
  • readBody, readRawBody: Handle raw body as buffer (#​366)
📖 Documentation
🏡 Chore
❤️ Contributors

v1.6.2

Compare Source

compare changes

🩹 Fixes
  • setResponseStatus: Mark code type as optional (#​359)
  • Sanitize utils and sanitize all response code and messages (#​358)
❤️ Contributors

v1.6.1

Compare Source

compare changes

🩹 Fixes
  • Sanitize statusMessage of disallowed chars (#​357)
❤️ Contributors

v1.6.0

Compare Source

compare changes

🚀 Enhancements
  • Expose splitCookiesString utility (#​343)
  • getRequestHost, getRequestProtocol and getRequestURL utils (#​351)
🩹 Fixes
  • clearSession: Accept partial session config (#​328)
  • useSession: Add types for data property (#​346)
  • fetchWithEvent: Handle undefined init (c84c811)
🏡 Chore
  • Replace deprecated methods in test and jsdocs (#​341)
  • Fix lint error (#​342)
  • readme: Update badges (7afa753)
  • readme: Use correct link (a5e9fcd)
  • Update dev dependencies (f0075c7)
❤️ Contributors

v1.5.0

Compare Source

compare changes

🚀 Enhancements
  • Add cors utils (#​322)
  • proxy: Support cookieDomainRewrite and cookiePathRewrite (#​313)
🩹 Fixes
  • proxy: Separate multiple cookie headers (#​319)
📖 Documentation
  • Update build status badge url (#​331)
🌊 Types
🏡 Chore
❤️ Contributors

v1.4.0

Compare Source

compare changes

🚀 Enhancements
  • Session support improvements (#​325)
❤️ Contributors

v1.3.0

Compare Source

compare changes

🚀 Enhancements
  • fetchWithEvent and getProxyRequestHeaders utils (#​323)
🩹 Fixes
  • proxy: Handle consumed responses (#​321)
  • proxy: Handle consumed json body (#​324)
💅 Refactors
  • session: Use upstream iron-webcrypto (a4b6f0d)
🌊 Types
  • proxy: Req can be url too (e13663b)
  • session: Session data values can be any pojo passing to JSON.stringify (22d116c)
❤️ Contributors

v1.2.1

Compare Source

compare changes

📦 Build
  • Inline iron-webcrypto to remove buffer polyfill (c50505b)
🏡 Chore
❤️ Contributors

v1.2.0

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • setCookie: Override existing set-cookie header with same name (#​316)
  • proxy: Add host to ignored headers (d4f863f)
📖 Documentation
✅ Tests
  • Replace useCookies with parseCookies in test (#​314)
❤️ Contributors

v1.1.0

Compare Source

compare changes

🚀 Enhancements
  • Utils to get and set response status (c8b4d85)
  • Add readMultipartFormData to parse multipart/form-data (#​280)
  • AddsendNoContent utility to create a 204 response (#​250)
🏡 Chore
  • Add full mit text for multipart util (42cfb99)
❤️ Contributors

v1.0.2

Compare Source

compare changes

🩹 Fixes
  • Correct types for readRawBody (#​277)
  • readBody: Handle top-level arrays in url-encoded data (#​278)
💅 Refactors
  • Update @deprecated comment (#​245)
  • createRouter: Deprecate misspelled preemptive option (#​256)
📖 Documentation
🏡 Chore
  • Add section to readme for community packages (#​262)
  • Update eslint config (0812e81)
  • Format with prettier (a0e21c1)
  • Fix type issue (a9b3187)
✅ Tests
  • Fix legacy middleware test (408f3f2)
❤️ Contributors
1.0.1 (2022-11-15)

v1.0.1

Compare Source

v1.0.0

Compare Source

⚠ BREAKING CHANGES
  • drop deprecated util aliases
Features
Bug Fixes
  • import type from correct location (#​219) (8b89f39)

  • router: throw 404 for intermediate matches (43db151)

  • drop deprecated util aliases (dc8ee81)

0.7.17 (2022-08-30)
Bug Fixes
  • sendRedirect: always encode location uri (01476ac)
0.7.16 (2022-08-23)
Bug Fixes
0.7.15 (2022-08-10)
Bug Fixes
0.7.14 (2022-08-08)
Features
0.7.13 (2022-08-01)
Features
  • send 204 response if null is returned from handler (#​154) (dbd465f)
  • sendRedirect: add refresh meta fallback for static generated responses (#​153) (606de3b)
0.7.12 (2022-07-21)
Bug Fixes
  • isError: use __h3_error__ class property to detect error (968bfee)
0.7.11 (2022-07-21)
Features
Bug Fixes
  • handleCacheHeaders: add max-age to the final object (#​142) (991d099)
0.7.10 (2022-06-17)
0.7.9 (2022-06-10)
Features
Bug Fixes
0.7.8 (2022-05-04)
Bug Fixes
  • handle typed H3Response (62aebf8)
0.7.7 (2022-05-04)
Bug Fixes
0.7.6 (2022-04-29)
Bug Fixes
0.7.5 (2022-04-27)
Bug Fixes
0.7.4 (2022-04-14)
Bug Fixes
  • handleCacheHeaders: small improvements (4fb9745)
0.7.3 (2022-04-12)
Features
  • router: allow registering multiple methods at once (#​92) (c26bd46)
0.7.2 (2022-04-08)
Features
  • add generic response type support for eventHandler (6fcdc22)
Bug Fixes
0.7.1 (2022-04-07)
Bug Fixes
  • router: compatibility matched params (07930bc)

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[bot] avatar Nov 20 '22 18:11 renovate[bot]