unkit
unkit copied to clipboard
chore(deps): update dependency h3 to v1
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
h3 | ^0.8.6 -> ^1.12.0 |
Release Notes
unjs/h3 (h3)
v1.12.0
🚀 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
andonAfterResponse
are called with error code (#756) -
sse: Prevent
onClosed
from firing twice inEventStream
(#704) - plain: Avoid import from unenv internals (#781)
💅 Refactors
📖 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
- Fix lint issue (107ec8e)
- Update deps (9777596)
- docs: Remove unnecessary asterisks (#724)
- Update eslint (8ffe898)
- docs: Lint bun and deno page (#678)
- Fix typos (23d9047)
- Remove duplicate test (53ee4fd)
- Apply automated updates (617c8cb)
- Update dependencies (1776ac4)
- Lint (5af045b)
- Update supertest to v7 (44db181)
- Fix typos (#772)
- Apply automated updates (3249ca7)
- Prepare v1 branch (9cb2537)
🤖 CI
- Remove node 16 from test matrix (458cfac)
❤️ Contributors
- Pooya Parsa (@pi0)
- Joshua Sosso (@joshmossas)
- Yusuf Mansur Özer [email protected]
- Daniel Slepov [email protected]
- Alexander Lichter (@manniL)
- Haruaki OTAKE [email protected]
- @beer (@iiio2)
- Sébastien Chopin [email protected]
- Michael Brevard <yonshi29@gmail.com>
- Matthias Zaunseder [email protected]
- Torsten Dittmann [email protected]
- Guten [email protected]
- JoLo (@jolo-dev)
- Xjccc (@xjccc)
- Nozomu Ikuta (@NozomuIkuta)
- Dog (@dgxo)
- Israel Ortuño [email protected]
- Eckhardt (Kaizen) Dreyer [email protected]
- Estéban (@Barbapapazes)
- Mathieu Derelle [email protected]
- Deth [email protected]
- Michel Edighoffer [email protected]
- Evgenii Troinov
- Kongmoumou (@kongmoumou)
- Remonke (@remonke)
- Shyam Chen <shyamchen1994@gmail.com>
- KobZ (@devseckobz)
- _lmmmmmm <lmmmmmm12138@gmail.com>
- Vladimir Kutepov (@frenzzy)
v1.11.1
🩹 Fixes
- ws: Resolve pathname for matching (4f211f8)
📖 Documentation
- Update bun ws example (da464c3)
🏡 Chore
- Update crossws (a61f98a)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.11.0
🚀 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
- Add basic jsdocs for utils (c8aa150)
- Fix typo (#668)
- Fix typos (#665)
- Fix typo (#662)
- Fix typos (#661)
- Fix import name (#658)
- examples/from-expressjs-to-h3: Add node middleware usage (#663)
- Refine function usages (#667)
- Remove unwanted
console.log
(#675) - Add jsdoc examples (#672)
- Update jsdocs example for route utils (#673)
🏡 Chore
- release: V1.10.2 (a58d7c9)
- Apply automated fixes (f5a89fc)
- Fix does issues (#657)
- Integrate automd (5212f01)
- Lint (ddffb0e)
- Update docs (1d8b389)
- Update docs (5e3b5e5)
- Update lockfiles (272e1be)
- Apply automated updates (96eda87)
❤️ Contributors
- Pooya Parsa (@pi0)
- Estéban (@Barbapapazes)
- Bram Kamies
- Joshua Sosso (@joshmossas)
- Nozomu Ikuta
- Markthree (@markthree)
- Sacha Stafyniak (@stafyniaksacha)
- Meir Lamdan
- Joshua
- Matej Černý
- Amit Gurbani (@AmitGurbani)
- Neil Richter (@noook)
v1.10.2
🩹 Fixes
-
proxy: Ignore incoming
accept
header (#646)
❤️ Contributors
- Daniel Roe (@danielroe)
v1.10.1
🩹 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
🏡 Chore
- release: V1.10.0 (ae91fc8)
- Update lockfile (1f9393d)
- Rename vitest config file to supress warn (8345c1f)
- Update lockfile (87119a1)
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)
- Estéban (@Barbapapazes)
- Michael Brevard <yonshi29@gmail.com>
- Jaden [email protected]
- Oscar Beaumont (@oscartbeaumont)
- Kamil Kuczmera
- Jonas Thelemann [email protected]
v1.10.0
🚀 Enhancements
-
validate: Provide validate error in
data
(#594)
🩹 Fixes
-
readRawBody: Check
req.rawBody
beforereq.body
(#604)
📖 Documentation
🌊 Types
- Add generics to
isError
and updateDataT
default generic param (#582) - setResponseHeaders: Add autocompletion for header names (#601)
🏡 Chore
🤖 CI
- Fix nightly release job conditional (#587)
❤️ Contributors
- Michael Brevard <yonshi29@gmail.com>
- Pooya Parsa (@pi0)
- Estéban (@Barbapapazes)
- Gregor Becker (@CodeDredd)
- Bobbie Goede [email protected]
- Sébastien Chopin [email protected]
- Damian Głowala (@DamianGlowala)
v1.9.0
🚀 Enhancements
- Support auto complete for http header names (#542)
- Add
getValidatedRouterParams
util (#573) -
decode
option forgetRouterParam
(#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 andcreateError
(#566)
🏡 Chore
- Update lockfile (0ff34bc)
❤️ 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
🩹 Fixes
-
getRequestProtocol: Conditionaly check
connection?.encrypted
(#532)
🏡 Chore
- Update playground dependency (90f64e9)
- Update lockfile (4994334)
- Revert codecov-action to v3 (de01f41)
- Update dependencies (d18f56b)
- Fix type issue with unenv (498a540)
- Apply automated lint fixes (0610b52)
❤️ Contributors
- Pooya Parsa (@pi0)
- Michael J. Roberts
v1.8.1
🩹 Fixes
- Use safe property checks (#521)
💅 Refactors
- Use native
Headers
andResponse
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
- Pooya Parsa (@pi0)
- Sébastien Chopin (@Atinux)
- Arkadiusz Sygulski [email protected]
v1.8.0
🚀 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
toevent.rawBody
(563313d) - Cleanup event interface (#506)
- Rename
beforeResponse
toonBeforeResponse
(7cebec2)
🏡 Chore
- Update lockfile (f605b9d)
- Fix type issue (383ea43)
- Apply automated lint fixes (aa2e5d9)
- Fix import (af96497)
- Apply automated lint fixes (f3d0bc9)
- Upgrade dev dependencies (3f9c8b6)
- Sync package description (6ad4bd0)
🎨 Styles
- Format all repo with prettier (ffab809)
❤️ Contributors
- Pooya Parsa (@pi0)
- Harlan Wilton (@harlan-zw)
- Iain Sproat
v1.7.1
🩹 Fixes
- fetchWithEvent: Allow customizing fetch impl type (#414)
💅 Refactors
- Improve
H3Error
(#415)
📖 Documentation
- Update link to how it works (3dd2376)
🏡 Chore
❤️ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Med Talhaouy
v1.7.0
🚀 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
- Pooya Parsa (@pi0)
- 魔王少年 (@maou-shonen)
- Ígor Jacaúna
- Enkot (@enkot)
- Cerino Ligutom III (@zeferinix)
- Sébastien Chopin [email protected]
v1.6.6
🩹 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
- Pooya Parsa (@pi0)
v1.6.5
🩹 Fixes
- readRawBody: Resolve cached promise before normalizing buffer (2e472e8)
🏡 Chore
❤️ Contributors
- Pooya Parsa (@pi0)
v1.6.4
🩹 Fixes
- readRawBody: Always return buffer without encoding (19d133d)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.6.3
🩹 Fixes
- readBody, readRawBody: Handle raw body as buffer (#366)
📖 Documentation
- Missing parentheses (#362)
🏡 Chore
- Update changelog (e199df3)
❤️ Contributors
- Johann Schopplich (@johannschopplich)
- Roger!
- Pooya Parsa (@pi0)
v1.6.2
🩹 Fixes
-
setResponseStatus: Mark
code
type as optional (#359) - Sanitize utils and sanitize all response code and messages (#358)
❤️ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
v1.6.1
🩹 Fixes
- Sanitize
statusMessage
of disallowed chars (#357)
❤️ Contributors
- Daniel Roe [email protected]
v1.6.0
🚀 Enhancements
- Expose
splitCookiesString
utility (#343) -
getRequestHost
,getRequestProtocol
andgetRequestURL
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
- Pooya Parsa (@pi0)
- Sébastien Chopin [email protected]
- 魔王少年 (@mao-shonen)
- Oleg Khalin
- Yuki Tsujimoto
- Zhiyuanzmj
v1.5.0
🚀 Enhancements
🩹 Fixes
- proxy: Separate multiple cookie headers (#319)
📖 Documentation
- Update build status badge url (#331)
🌊 Types
- Export
MultiPartData
(#332)
🏡 Chore
❤️ Contributors
- Pooya Parsa [email protected]
- Enkot [email protected]
- Nozomu Ikuta
- Martin Meixger [email protected]
- Divyansh Singh
v1.4.0
🚀 Enhancements
- Session support improvements (#325)
❤️ Contributors
- Pooya Parsa [email protected]
v1.3.0
🚀 Enhancements
-
fetchWithEvent
andgetProxyRequestHeaders
utils (#323)
🩹 Fixes
💅 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
- Pooya Parsa [email protected]
v1.2.1
📦 Build
- Inline
iron-webcrypto
to remove buffer polyfill (c50505b)
🏡 Chore
- Ignore lib from eslint (ac28a37)
❤️ Contributors
- Pooya Parsa [email protected]
v1.2.0
🚀 Enhancements
- Session support (#315)
🩹 Fixes
-
setCookie: Override existing
set-cookie
header with same name (#316) -
proxy: Add
host
to ignored headers (d4f863f)
📖 Documentation
- Improvements (#297)
✅ Tests
- Replace useCookies with parseCookies in test (#314)
❤️ Contributors
- Pooya Parsa [email protected]
- Yuki Tsujimoto
- Ryan Frantz [email protected]
v1.1.0
🚀 Enhancements
- Utils to get and set response status (c8b4d85)
- Add
readMultipartFormData
to parsemultipart/form-data
(#280) - Add
sendNoContent
utility to create a 204 response (#250)
🏡 Chore
- Add full mit text for multipart util (42cfb99)
❤️ Contributors
- Pooya Parsa [email protected]
- Tobias Diez [email protected]
- Daniel Roe [email protected]
v1.0.2
🩹 Fixes
💅 Refactors
📖 Documentation
- Fix deprecated methods (#238)
🏡 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
- Pooya Parsa [email protected]
- Daniel Roe [email protected]
- Nozomu Ikuta [email protected]
- Larry Williamson [email protected]
1.0.1 (2022-11-15)
v1.0.1
v1.0.0
⚠ BREAKING CHANGES
- drop deprecated util aliases
Features
Bug Fixes
0.7.17 (2022-08-30)
Bug Fixes
- sendRedirect: always encode location uri (01476ac)
0.7.16 (2022-08-23)
Bug Fixes
-
context
type forCompatibilityRequestProps
(#164) (984a42b) - added missing patch router method (#166) (dff2211)
0.7.15 (2022-08-10)
Bug Fixes
- createError: preserve original error stack (#161) (8213421)
- don not log errors when
onError
is provided (#162) (ccc9c7e)
0.7.14 (2022-08-08)
Features
- add utilities for http headers (#157) (272f883)
- add utility for router params (#120) (#158) (4b83bdf)
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
0.7.10 (2022-06-17)
0.7.9 (2022-06-10)
Features
- add
H3EventContext
for type augmentation (#124) (5042e92) - createError: support string as error source (#132) (8eb9969)
- handle error cause (#131) (3c3b6bd)
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
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.