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

fix(deps): update dependency undici to v4 #7705

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 16, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
undici (source) 3.3.6 -> 4.3.1 age adoption passing confidence

Release Notes

nodejs/undici

v4.3.1

Compare Source

v4.3.0

Compare Source

Improvements

  • Implement body mixin on Readable (#​907)
  • Expose Connector in the public API (#​906, #​909)
  • Improve connect option type definitions (#​899)

Fixes

  • Accept URL origin in Agent (#​892)
  • origin as optional parameter on Client and Pool types definitions (#​901, #​903)
  • Broken link for examples on website (#​897)

v4.2.2

Compare Source

Improvements

  • Creating util function to validate handlers (#​894)

Fixes

  • Always clear the connectTimeout (#​896)
  • Accept URL origin in Agent (#​892)

v4.2.1

Compare Source

Improvements

Fixes

v4.2.0

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

Improvements
  • Add support for request iterator body (#​848)
  • Same origin redirect (#​781)
Fixes
  • Add missing string[] option for passed headers (#​836)
  • Fix errors in documentation (#​846)

v4.0.0

Compare Source

This release contains multiple breaking changes. These should not affect the majority of users but it is recommended to consider the full change list.

Improvements

Fixes

  • Don't emit 'disconnect' without preceding 'connect'(#​771)
  • Don't fail when response ends before request body (#​709)
  • Don't headersTimeout while writing request body (#​646)
  • Emit 'disconnect' after destroy() (#​665)
  • Refresh timeout timer on parser resume (#​653)
  • Agent deep copy options (#​636)
  • Kill socket on request abort (#​689)
  • Add more strict check for streams in util.isStream() (#​628)
  • Remove Node 10 support (#​623)
  • Remove the esm wrapper, rely on commonjs auto detection (#​599)
  • Always detach socket on upgrade (252b676)
  • Invoke onUpgrade after detach (641e018)
  • Missing client arg (#​555)
  • Reduce queueMicrotask scope (#​572)
  • Wait for queued handlers to run before onError (#​548)
  • Add BodyTimeoutError to error types (#​546)
  • Omit path in undici.request opts (ts) (#​559)
  • Don't queue if destroyed (3d002c1)
  • Agent.dispatch catch error (8c0051f)
  • destroy IncomingMessage (#​834)
  • Handle invalid response body length (#​816)
  • Guard against user throw in onError (#​818)
  • Only emit 'disconnect' if 'connect' (#​771)

Configuration

📅 Schedule: 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 WhiteSource Renovate. View repository job log here.

@janpio
Copy link
Member

janpio commented Jun 17, 2021

Errors:

./packages/engine-core pnpm run build

> @prisma/engine-core@0.0.0 build /home/runner/work/prisma/prisma/src/packages/engine-core
> tsc -dclient
Error: src/undici.ts(17,18): error TS2694: Namespace 'Client' has no exported member 'DispatchOptions'.
Error: src/undici.ts(30,11): error TS2345: Argument of type '{ path: string; method: string; headers: { 'Content-Type': string; }; body: any; bodyTimeout: number; }' is not assignable to parameter of type 'RequestOptions'.
  Object literal may only specify known properties, and 'bodyTimeout' does not exist in type 'RequestOptions'.
Error: src/undici.ts(47,9): error TS2345: Argument of type '{ path: string; method: string; }' is not assignable to parameter of type 'RequestOptions'.
  Property 'origin' is missing in type '{ path: string; method: string; }' but required in type 'RequestOptions'.

Probably: nodejs/undici#620

@janpio
Copy link
Member

janpio commented Jun 29, 2021

Contributed PR replacing this one when merged: #7931

@renovate renovate bot force-pushed the renovate/undici-4.x branch 2 times, most recently from 9ccc0fc to 422a507 Compare July 22, 2021 18:37
@renovate renovate bot force-pushed the renovate/undici-4.x branch 2 times, most recently from 6183213 to b5ef96e Compare July 31, 2021 18:10
@renovate
Copy link
Contributor Author

renovate bot commented Aug 2, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 4.x releases. However, if you upgrade to 4.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate bot deleted the renovate/undici-4.x branch August 2, 2021 14:41
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

3 participants