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(node): support undici headers as strings or arrays #10938

Merged

Conversation

jessezhang91
Copy link
Contributor

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

@jessezhang91 jessezhang91 marked this pull request as ready for review March 5, 2024 18:29
@AbhiPrasad
Copy link
Member

AbhiPrasad commented Mar 5, 2024

Change looks good to me! But let's see what they decide from nodejs/undici#2708 - if they rollback the change we can close this, otherwise let's merge it in and cut a release.

Actually we should include this regardless because we want to support all possible Undici versions.

@mydea
Copy link
Member

mydea commented Mar 6, 2024

I also opened an issue here: gas-buddy/opentelemetry-instrumentation-fetch-node#14 to ensure this can also be handled there!

@AbhiPrasad AbhiPrasad merged commit 560a774 into getsentry:develop Mar 7, 2024
51 checks passed
@AbhiPrasad AbhiPrasad mentioned this pull request Mar 7, 2024
TBonnin added a commit to NangoHQ/nango that referenced this pull request Apr 11, 2024
undici version was bumped yesterday but the sentry lib version 7.105
doesn't support it. Bumping sentry to 7.106 where the issue was fixed.
https://github.com/getsentry/sentry-javascript/releases/tag/7.106.0
getsentry/sentry-javascript#10938
TBonnin added a commit to NangoHQ/nango that referenced this pull request Apr 11, 2024
undici version was bumped yesterday but the sentry lib version 7.105
doesn't support it. Bumping sentry to 7.106 where the issue was fixed.
https://github.com/getsentry/sentry-javascript/releases/tag/7.106.0
getsentry/sentry-javascript#10938
TBonnin added a commit to NangoHQ/nango that referenced this pull request Apr 11, 2024
undici version was bumped yesterday but the sentry lib version 7.105
doesn't support it. Bumping sentry to 7.106 where the issue was fixed.
https://github.com/getsentry/sentry-javascript/releases/tag/7.106.0
getsentry/sentry-javascript#10938
TBonnin added a commit to NangoHQ/nango that referenced this pull request Apr 11, 2024
undici version was bumped yesterday but the sentry lib version 7.105
doesn't support it. Bumping sentry to 7.106 where the issue was fixed.
https://github.com/getsentry/sentry-javascript/releases/tag/7.106.0
getsentry/sentry-javascript#10938
TBonnin added a commit to NangoHQ/nango that referenced this pull request Apr 11, 2024
undici version was bumped yesterday but the sentry lib version 7.105
doesn't support it. Bumping sentry to 7.106 where the issue was fixed.
https://github.com/getsentry/sentry-javascript/releases/tag/7.106.0
getsentry/sentry-javascript#10938

## Checklist before requesting a review (skip if just adding/editing
APIs & templates)
- [ ] I added tests, otherwise the reason is: 
- [ ] I added observability, otherwise the reason is:
- [ ] I added analytics, otherwise the reason is:
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.

3 participants