Repository navigation
feat(js-sdk)!: drop undici 7 and the in-flight cap, depend on undici@^8 only #1733
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
Changes from all commits
d722a06
94ceaa9
78371b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| 'e2b': minor | ||
| '@e2b/cli': minor | ||
| '@e2b/code-interpreter': minor | ||
| '@e2b/desktop': minor | ||
| --- | ||
|
|
||
| Require Node.js 22.19.0 or newer and depend on `undici@^8` only (undici 7 is dropped). | ||
|
|
||
| - undici 8 respects the server's HTTP/2 `SETTINGS_MAX_CONCURRENT_STREAMS` and opens more connections when one is saturated. | ||
| - Breaking: the SDK-level in-flight request cap is removed, along with the `E2B_API_INFLIGHT_REQUESTS`, `E2B_ENVD_INFLIGHT_REQUESTS` and `E2B_ENVD_RPC_INFLIGHT_REQUESTS` env vars. Concurrency is governed by undici's connection pools (`E2B_API_CONNECTIONS`, `E2B_ENVD_RPC_CONNECTIONS`). | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,6 +89,6 @@ | |
| "yup": "^1.7.1" | ||
| }, | ||
| "engines": { | ||
| "node": ">=22.9.0" | ||
| "node": ">=22.19.0" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,7 +64,7 @@ | |
| "vm" | ||
| ], | ||
| "engines": { | ||
| "node": ">=22" | ||
| "node": ">=22.19.0" | ||
| }, | ||
| "browserslist": [ | ||
| "defaults" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,7 +36,7 @@ | |
| "package.json" | ||
| ], | ||
| "engines": { | ||
| "node": ">=22" | ||
| "node": ">=22.19.0" | ||
| }, | ||
| "browserslist": [ | ||
| "defaults" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,13 +97,10 @@ | |
| "openapi-fetch": "^0.17.0", | ||
| "platform": "^1.3.6", | ||
| "tar": "^7.5.22", | ||
| "undici": "^7.30.0" | ||
| }, | ||
| "optionalDependencies": { | ||
| "undici8": "npm:undici@8.11.2" | ||
| "undici": "^8.11.2" | ||
| }, | ||
| "engines": { | ||
| "node": ">=22" | ||
| "node": ">=22.19.0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When the changesets release process updates Useful? React with 👍 / 👎.
devin-ai-integration[bot] marked this conversation as resolved.
devin-ai-integration[bot] marked this conversation as resolved.
|
||
| }, | ||
| "browserslist": [ | ||
| "defaults" | ||
|
|
||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.