Sitelet https://github.com/NodeOps-app/createos-sandbox-sdk/commit/b0496a6b90c9dc5cdc2fd6c1a17eb1cb15d69524
Skip to content

Commit b0496a6

Browse files
committed
chore(release): 0.8.0
Shared per-origin Node connection pool (48 conns, up from a per-client Agent) plus CreateosSandboxClient.prewarm() for explicit burst warm-up ahead of latency-sensitive work.
1 parent 8b168a8 commit b0496a6

4 files changed

Lines changed: 25 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,28 @@ Versions follow [Semantic Versioning](https://semver.org/).
1818

1919
## [Unreleased]
2020

21+
## [0.8.0] — 2026-08-13
22+
23+
A shared Node connection pool and an explicit prewarm hook for burst work.
24+
25+
### Added
26+
27+
- **`CreateosSandboxClient.prewarm()`.** Opens the Node transport's H2
28+
connection pool ahead of latency-sensitive burst work — await it outside
29+
the request-critical path, e.g. before firing a batch of concurrent
30+
`createSandbox` calls. No-op in browsers, Workers, or when a custom
31+
`fetch` is configured.
32+
33+
### Changed
34+
35+
- **Node transport is now a shared pool keyed by origin**, not a fresh
36+
`undici.Agent` per `CreateosSandboxClient` instance. Multiple clients
37+
against the same base URL reuse one `undici.Pool` (48 connections, up
38+
from 32), so creating several clients no longer multiplies open
39+
sockets. The best-effort single-socket warm-up on first use is
40+
unchanged; `prewarm()` is additive for callers that want the whole
41+
pool hot upfront.
42+
2143
## [0.7.0] — 2026-07-16
2244

2345
HTTP/2 connection pooling, a leaner create round-trip, and an in-sandbox

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodeops-createos/sandbox",
3-
"version": "0.7.1",
3+
"version": "0.8.0",
44
"description": "TypeScript SDK for the createos-sandbox VM sandbox control plane.",
55
"keywords": [
66
"compute",

‎src/config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { runtimeTag } from "./runtime.js";
66
import type { ClientHooks, CreateosSandboxClientOptions, RetryOptions } from "./types.js";
77

88
/** SDK version, stamped into the User-Agent header. Keep in sync with package.json. */
9-
export const VERSION = "0.7.1";
9+
export const VERSION = "0.8.0";
1010

1111
const DEFAULT_TIMEOUT_MS = 60_000;
1212

‎tests/config.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe("resolveConfig — sources and precedence", () => {
5656

5757
test("default user-agent embeds the package VERSION", () => {
5858
const cfg = resolveConfig({ baseUrl: "https://api.test", fetch: fetchStub });
59-
expect(VERSION).toBe("0.7.1");
59+
expect(VERSION).toBe("0.8.0");
6060
expect(cfg.userAgent.startsWith(`createos-sandbox-sdk/${VERSION} `)).toBe(true);
6161
});
6262
});

0 commit comments

Comments
 (0)