Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 18, 2025

Bumps undici from 7.12.0 to 7.14.0.

Release notes

Sourced from undici's releases.

v7.14.0

What's Changed

New Contributors

Full Changelog: nodejs/undici@v7.13.0...v7.14.0

v7.13.0

What's Changed

New Contributors

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 18, 2025
@dependabot dependabot bot requested a review from a team as a code owner August 18, 2025 02:58
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 18, 2025
Bumps [undici](https://github.com/nodejs/undici) from 7.12.0 to 7.14.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v7.12.0...v7.14.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/packages/opentelemetry-node/undici-7.14.0 branch from 79fe3f3 to 2e40a5b Compare August 18, 2025 10:03
@david-luna david-luna self-requested a review August 18, 2025 16:53
@david-luna
Copy link
Member

Error from the tests is

    operator: error
    at: done (/home/runner/work/elastic-otel-node/elastic-otel-node/packages/opentelemetry-node/test/testutils.js:732:35)
    stack: |-
      Error: Command failed: /opt/hostedtoolcache/node/18.19.0/x64/bin/node ./fixtures/use-undici-request.js
      /home/runner/work/elastic-otel-node/elastic-otel-node/packages/opentelemetry-node/node_modules/undici/lib/web/webidl/index.js:512
      webidl.is.File = webidl.util.MakeTypeAssertion(File)
                                                     ^
      
      ReferenceError: File is not defined
          at Object.<anonymous> (/home/runner/work/elastic-otel-node/elastic-otel-node/packages/opentelemetry-node/node_modules/undici/lib/web/webidl/index.js:512:48)
          at Module._compile (node:internal/modules/cjs/loader:1356:14)

The File object was added globally in version v20 (docs](https://nodejs.org/api/globals.html#class-file)) and undici removed a fallback to node:buffer in nodejs/undici#4362

Actually undici@7 removed support for Nodejs v18

Tests in nodejs v18 have beens working because there was no change that bereak in that version until now. We need to update our tests for undici.

@david-luna david-luna closed this Aug 18, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 18, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/packages/opentelemetry-node/undici-7.14.0 branch August 18, 2025 17:31
trentm added a commit that referenced this pull request Aug 18, 2025
undici@7 dropped support for Node.js v18 (which this package still
supports) and finally *broke* v18 support in [email protected]

Refs: #949 (comment)
@trentm
Copy link
Member

trentm commented Aug 18, 2025

Tests in nodejs v18 have beens working because there was no change that bereak in that version until now. We need to update our tests for undici.

I opened #954 for this.

trentm added a commit that referenced this pull request Aug 18, 2025
undici@7 dropped support for Node.js v18 (which this package still
supports) and finally *broke* v18 support in [email protected]

Refs: #949 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants