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 devdependency h3 to v1 #58

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
h3 ^0.7.2 -> ^1.11.1 age adoption passing confidence

Release Notes

unjs/h3 (h3)

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)

v0.8.6

Compare Source

v0.8.5

Compare Source

v0.8.4

Compare Source

v0.8.3

Compare Source

v0.8.2

Compare Source

v0.8.1

Compare Source

v0.8.0

Compare Source

compare changes

⚠️ 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 app instance created by createApp is not a Node.js listener with (req, res) => {} signuture anymore. You can convert h3 app into a Node.js listener using toNodeListener(app).
  • Compatibility api to support mixed req.event and res.event is 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 new fromNodeMiddleware((req, res) => {}) utility.
  • Some exported TypeScript interfaces and types are renamed or removed reflecting this change.
🚀 Enhancements
  • Add writeEarlyHints utility (#​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 statusMessage from errors (#​195)
  • router: Parse url using URL for pathname (#​196)
💅 Refactors
  • ⚠️ Reduce Node.js dependency (#​178)
📖 Documentation
  • Add sendStream to the utils list (d58fad8)
📦 Build
  • Add package.json to subpath exports (#​186)
❤️ Contributors
  • Alexander Lichter
  • Christopher King
  • Daniel Roe
  • Pooya Parsa

v0.7.21

Compare Source

v0.7.20

Compare Source

v0.7.19

Compare Source

v0.7.18

Compare Source

v0.7.17

Compare Source

v0.7.16

Compare Source

v0.7.15

Compare Source

v0.7.14

Compare Source

v0.7.13

Compare Source

v0.7.12

Compare Source

v0.7.11

Compare Source

v0.7.10

Compare Source

v0.7.9

Compare Source

v0.7.8

Compare Source

v0.7.7

Compare Source

v0.7.6

Compare Source

v0.7.5

Compare Source

v0.7.4

Compare Source

v0.7.3

Compare Source


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 changed the title chore(deps): update devdependency h3 to v1 Update devDependency h3 to v1 Dec 17, 2022
@renovate renovate bot changed the title Update devDependency h3 to v1 chore(deps): update devdependency h3 to v1 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/h3-1.x branch 2 times, most recently from a9ac0ad to 9a26ebb Compare March 16, 2023 06:48
Copy link
Contributor Author

renovate bot commented Nov 20, 2023

⚠ 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

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