serve-placeholder
serve-placeholder copied to clipboard
chore(deps): update devdependency h3 to v1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| h3 | ^0.7.2 -> ^1.11.1 |
Release Notes
unjs/h3 (h3)
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
sendIterableutil (#655) - Handler resolver (#669)
- Websocket support (#671)
🩹 Fixes
- serveStatic: Ensure
etagheader 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
acceptheader (#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-forheader (#618) - Avoid setting default
content-typefor responses with 304 status (#641)
💅 Refactors
- Use
H3Event.node.resfor 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.rawBodybeforereq.body(#604)
📖 Documentation
🌊 Types
- Add generics to
isErrorand updateDataTdefault 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
getValidatedRouterParamsutil (#573) decodeoption forgetRouterParam(#556)- Add
getRequestFingerprintutil (#564)
🩹 Fixes
- sendNoContent: Preserve custom status code if already set (#577)
📖 Documentation
- Add
@intlify/h3to community packages (#559) - Improve jsdocs (#574)
- Add package pronunciation (#569)
🌊 Types
- Add generics to
H3Errordata 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
HeadersandResponsefor 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,defineResponseMiddlewareand 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
sendNoContentfor null handling (a72a4b8) - event: Rename
event.bodytoevent.rawBody(563313d) - Cleanup event interface (#506)
- Rename
beforeResponsetoonBeforeResponse(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
onResponsecallback (#368) - useSession: Support custom session id generator (#390)
event.handledflag (#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-hostsupport 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
codetype 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
statusMessageof disallowed chars (#357)
❤️ Contributors
- Daniel Roe [email protected]
v1.6.0
🚀 Enhancements
- Expose
splitCookiesStringutility (#343) getRequestHost,getRequestProtocolandgetRequestURLutils (#351)
🩹 Fixes
- clearSession: Accept partial session config (#328)
- useSession: Add types for
dataproperty (#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
fetchWithEventandgetProxyRequestHeadersutils (#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-webcryptoto 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-cookieheader with same name (#316) - proxy: Add
hostto 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
readMultipartFormDatato parsemultipart/form-data(#280) - Add
sendNoContentutility 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
contexttype 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
onErroris 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
H3EventContextfor 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)
v0.8.6
v0.8.5
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
⚠️ Breaking changes
H3 API and exports are updated in order to reduce dependency on Node.js and future possibilities.
- All handlers should be defined with
eventHandler()wrapper otherwise a warning will be shown suggesting this change for you. - h3
appinstance created bycreateAppis not a Node.js listener with(req, res) => {}signuture anymore. You can convert h3 app into a Node.js listener usingtoNodeListener(app). - Compatibility api to support mixed
req.eventandres.eventis dropped. If you had custom utils depending on this, you might need to change them. - Node.js/Express-style middleware with
(req, res, next?) = {}signuture are not longer automatically converted to event handler format. You can convert them using newfromNodeMiddleware((req, res) => {})utility. - Some exported TypeScript interfaces and types are renamed or removed reflecting this change.
🚀 Enhancements
- Add
writeEarlyHintsutility (#184)
🩹 Fixes
- readBody, readRawBody: Use global symbol (#174)
- sendRedirect: Only encode required chars in meta tag (a9b992e)
- writeEarlyHints: Call callback if not supported too (10eab1b)
- router: Make router handler non preemtive by default (#194)
- error: Remove default
statusMessagefrom errors (#195) - router: Parse url using
URLfor pathname (#196)
💅 Refactors
- ⚠️ Reduce Node.js dependency (#178)
📖 Documentation
- Add
sendStreamto the utils list (d58fad8)
📦 Build
- Add
package.jsonto subpath exports (#186)
❤️ Contributors
- Alexander Lichter
- Christopher King
- Daniel Roe
- Pooya Parsa
v0.7.21
v0.7.20
v0.7.19
v0.7.18
v0.7.17
v0.7.16
v0.7.15
v0.7.14
v0.7.13
v0.7.12
v0.7.11
v0.7.10
v0.7.9
v0.7.8
v0.7.7
v0.7.6
v0.7.5
v0.7.4
v0.7.3
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.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: pnpm-lock.yaml
WARN The "store" setting has been renamed to "store-dir". Please use the new name.
WARN GET https://registry.npmjs.org/@nuxtjs%2Feslint-config-typescript error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/eslint error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/h3 error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/standard-version error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/typescript error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/unbuild error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/c8/-/c8-7.11.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/listhen/-/listhen-0.2.8.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/ohmyfetch/-/ohmyfetch-0.4.15.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/vitest/-/vitest-0.9.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/defu/-/defu-6.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@nuxtjs%2Feslint-config-typescript error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/eslint error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/h3 error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/standard-version error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/typescript error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/unbuild error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/c8/-/c8-7.11.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/listhen/-/listhen-0.2.8.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/ohmyfetch/-/ohmyfetch-0.4.15.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/vitest/-/vitest-0.9.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/defu/-/defu-6.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
ERR_INVALID_THIS Value of "this" must be of type URLSearchParams