Repository navigation
Releases
Releases · cloudflare/workerd
v1.20261120.1
What's Changed
- Add Worker::Actor::getRunningAlarmTime() by @jtolio in #8633
- Reject fetch() with a TypeError for a response head that doesn't parse by @littledivy in #8535
- Clamp JsFunction::length() to the range of size_t by @littledivy in #8625
- Rust JSG: #[jsg_traced] for enums and &'static T by @littledivy in #8578
- Stop flushing every isolate's Liftoff code when an isolate starts by @littledivy in #8645
- Name the field or index in Rust JSG struct field and array element errors by @littledivy in #8632
- Keep iso-2022-jp decoder state after a fatal streaming error by @littledivy in #8596
- Throw a failing Rust builtin module's own error in the new module registry by @littledivy in #8581
- Convert UTF-16 to UTF-8 with simdutf in rust::String::lossy by @littledivy in #8586
- Give node:net's rejected connect hosts Node's ENOTFOUND properties by @littledivy in #8648
- Name a missing MemoryCache key 'string' in the Rust MemoryCache by @littledivy in #8584
- Split Python workers bazel configs by @ryanking13 in #8489
- feat(types): merge Browser Run scriptInSession() into a script() overload by @blackmountainb in #8538
- Make Rust JSG Nullable follow dont_substitute_null_on_type_error by @littledivy in #8646
- Don't throw from the fail-open KJ_DEFER in request() by @git-bruh in #8670
- Keep the worker_do_not_log marker on a jsg::Error from a KJ exception by @bartlomieju in #8619
- Implement structuredClone() in TypeScript behind an autogate by @bartlomieju in #7977
- Rust JSG: support WebAssembly.Module handles by @bartlomieju in #8616
- Drop the duplicated try_catch in the Rust MemoryCache's read() by @littledivy in #8662
- Export Workers user spans over OTLP by @danlapid in #7686
- Implement connect handler immediate TLS support by @fhanau in #8471
- Make a Rust JSG TracedGlobal moved out in Drop strong by @littledivy in #8600
- Add R2 buckets to workerd by @ry in #8507
- Keep the body of a cloned Request in the WPT harness by @littledivy in #8682
- Let bubblewrap create user namespaces in WPT triage by @npaun in #8680
- Update WPT by @workers-devprod in #8478
- Locate the code cache's source hash by V8 version in code-cache-test by @erikcorry in #8691
- Allocate Rust JSG resources in their Wrappable's allocation by @nathanwhit in #8689
- Retire the C++ MessageChannel impl by @jasnell in #8458
- Collect garbage without stack scanning in io-context-test by @nathanwhit in #8696
- Reach bazelflare through its edge-TLS front door by @danlapid in #8693
Full Changelog: v1.20261119.1...v1.20261120.1
v1.20261119.1
What's Changed
- Skip metadata-read-overflow in downstream builds by @danlapid in #8563
- Add support for span links by @wperron in #8218
- kj-rs-tokio: Test that a zero timeout doesn't park, not how long it takes by @nathanwhit in #8568
- jsg: call Rust function callbacks through a C++ trampoline by @csjh in #8522
- Keep the critical section on every reentry callback call by @nathanwhit in #8423
- Remove dead callPipelineFulfiller from JS RPC call handling by @nathanwhit in #8557
- Make Rust JSG's C++ shims inlinable under cross-language LTO by @nathanwhit in #8248
- Give workflows-test the large test budget by @littledivy in #8549
- Re-enable the disabled fetch WPT files by @littledivy in #8546
- Move runtime and Python tests out of src/workerd/server/tests by @danlapid in #8567
- Keep relative node:fs symlink targets as written by @littledivy in #8463
- Use null-prototype descriptors in per-call node code by @littledivy in #8520
- Release each iteration's handles in the bench-jsstring NonFlat loops by @littledivy in #8552
- Accept JWK alg "Ed25519" when importing an Ed25519 key by @littledivy in #8553
- Remove unused Python workers flags and values by @ryanking13 in #8583
- Reserve sidecar ports below the ephemeral range by @littledivy in #8587
- Report wrappables' shallow size to V8 as external memory by @littledivy in #8496
- Store get_bad_entropy_flag when creating a Python dedicated snapshot by @ryanking13 in #8487
- Rewrite the CLI help by @ry in #8577
- Let registerPythonCommonModules() take a ModuleSource by @erikcorry in #8542
- Fix two races in queues-test by @littledivy in #8585
- Follow the WebSocket spec for http(s) URLs, url and extensions by @littledivy in #8551
- Rust JSG: external memory accounting by @bartlomieju in #8411
- Extend startup snapshot support by @dbezhetskov in #8405
- Add await_js() to Rust IoContext and use it for waitUntil() by @bartlomieju in #8337
- Skip zero-byte copies when restoring a startup snapshot by @littledivy in #8590
- Re-enable the http.request(url) with url.headers test by @littledivy in #8607
- Add Node's error codes to the one-shot node:zlib APIs by @littledivy in #8610
- Match Node's canonicalizeIP for IPv6 zone ids by @littledivy in #8609
- Reject 2^63 and 2^64 when converting a number to int64_t and uint64_t by @littledivy in #8612
- Report captured lambdas, iterators and the module registry in heap snapshots by @littledivy in #8613
- Carry Rust JSG resources through the startup snapshot by @littledivy in #8521
- Run wd_cc_benchmark() benchmarks once under
bazel testby @mikea in #8545 - node:net: Don't start reading a paused socket when it closes by @gabivlj in #8502
- Print the server's URL when serving by @ry in #8595
- Fix unhandledrejection going silent after a handler rejects a promise by @vicb in #8603
New Contributors
Full Changelog: v1.20261118.1...v1.20261119.1
v1.20261118.1
What's Changed
- Use null-prototype descriptors in the lazy stdio module graph by @littledivy in #8462
- Support "brotli" in CompressionStream and DecompressionStream by @littledivy in #8483
- Rust JSG: check the fields of a jsg_traced struct for GC references by @littledivy in #8465
- Add Pyodide patch to remove redundant Python calls during the bootstrap by @ryanking13 in #8386
- Rust JSG: don't upgrade a Weak to a condemned resource by @littledivy in #8473
- Detach a Rust JSG resource's Rcs before a field's Drop runs by @littledivy in #8466
- Cache Rust JSG struct field names and DictionaryTemplate per realm by @littledivy in #8484
- Add the WPT xhr/formdata suite by @littledivy in #8523
- Resolve relative EventSource URLs in the WPT harness by @littledivy in #8530
- Add the WPT navigator suite by @littledivy in #8531
- Generate compile caches for TypeScript bundles by default by @floitsch in #8339
- Don't evaluate a module that is still evaluating on dynamic import by @csjh in #8517
- Add jsg::TracedOwn so visited handles survive their owner moving by @littledivy in #8103
- Support the endings option in the Blob and File constructors by @littledivy in #8461
- Fix deferred external memory decreases in C++ JSG by @bartlomieju in #8497
- Count machine code moves in IsolateBase's code statistics by @csjh in #8515
- Renew a cluster node's lease again as it starts serving by @danlapid in #8509
- Keep a DigestStream alive while its sink runs by @littledivy in #8533
- Document kNullProtoObject and compat flag rules in src/node/AGENTS.md by @littledivy in #8527
- Retry nested dynamic import links after evaluation by @git-bruh in #8541
- Wrap a uint64_t of 2^63 or more as a positive BigInt by @littledivy in #8526
- rc by @mikea in #8505
- Remove Rust JSG's length-only Array::new by @littledivy in #8519
- Bump next from 16.3.8 to 16.4.5 by @dependabot[bot] in #8512
- Stop giving large bazelflare tests an executor each by @danlapid in #8547
- Collect garbage on external memory pressure without incremental marking by @littledivy in #8464
- Rust JSG: rename jsg_traced! to jsg_traced_unchecked! by @littledivy in #8518
- Read into a lazily committed buffer in metadata-read-overflow by @danlapid in #8554
- Update SQLite via update-deps.py by @KirillTim in #8284
- Keep delayed channel tokens working past the sender's request by @danlapid in #8499
- Reduce Rust JSG FFI overhead and expose Rust transcoding by @logan-gatlin in #8316
- Bind a cluster CONNECT to the instance it is for by @piscisaureus in #8555
- Visit the cached digest in node:crypto Hash and Hmac handles by @littledivy in #8524
Full Changelog: v1.20261117.1...v1.20261118.1
v1.20261117.1
What's Changed
- Add WebSocket.bufferedAmount by @danlapid in #8479
- Update AGENTS.md for Python bundles and snapshots by @ryanking13 in #8432
- Cleanup remaining Python isolate pool related codes by @ryanking13 in #8431
- Revert "Report CPU limits hit in a microtask at startup and dynamic import (#8216)" by @dcarney-cf in #8488
- Give the WebSocket kill-switch test the large test budget by @floitsch in #8492
- Require callCppForRef's class to be exactly the Rust type's by @littledivy in #8481
- Check for room for the terminator in Rust JSG's write_utf8 by @littledivy in #8482
- Throw rather than abort for a Rust JSG method callback without a signature by @littledivy in #8485
- Add built-in D1 databases by @ry in #8486
- Let cxx bridges pass a kj::Exception by value by @bartlomieju in #8406
- Remove JSG_CONTEXT_JS_BUNDLE by @bartlomieju in #8493
- Zero native buffers before V8 copies a string into them by @guybedford in #8443
- Destroy a let_cxx_string! string only once it is constructed by @guybedford in #8455
- Static assets, in standalone workerd by @ry in #8475
- Allocate over-aligned types with their alignment in UniquePtr::new by @guybedford in #8456
- Refuse CONNECT in new Request() by name by @mar-cf in #8250
- Fail a JS RPC call whose argument's delayed channel token is refused by @danlapid in #8501
Full Changelog: v1.20261116.1...v1.20261117.1
v1.20261116.1
What's Changed
- [build] clean up Rust to speed up remote builds by @fhanau in #8425
- Bound module fallback redirects in the legacy module registry by @littledivy in #8467
- kj-rs-tokio: fire already-due KJ timers without sleeping by @danlapid in #8476
Full Changelog: v1.20261115.1...v1.20261116.1
v1.20261115.1
What's Changed
- Rust JSG: bound jsg_traced!( X) by HoldsNoGcReferences by @littledivy in #8401
- Detach a Rust JSG resource's Rcs before its Drop runs by @littledivy in #8403
Full Changelog: v1.20261114.1...v1.20261115.1
v1.20261114.1
What's Changed
- dtor-throw-during-unwind fixes by @mikea in #8170
- Clearer cluster error messages and an owner record test that can fail by @piscisaureus in #8414
- Report a conditional bucket write refused on a retry as of unknown outcome by @piscisaureus in #8372
- Default-initialize TestFixture::SetupParams' bools by @danlapid in #8396
- Never run a cron occurrence twice on a clock that is behind by @piscisaureus in #8374
- Convert remaining continuation captures; enable the capture check by @danlapid in #7950
- Omit the timing-dependent WPT zero-settimeout subtest by @danlapid in #8419
- Check the cron lagging-owner test's plan instead of sleeping by @danlapid in #8422
- [bazel] Fetch generated sources for editors after bazelflare builds by @mikea in #8409
- Keep a cluster node's lease through a stalled bucket request by @piscisaureus in #8353
- Relocate files that are used for the Pyodide bundle by @ryanking13 in #8229
- Clean up Python pool-related codes and remove emscriptenSetup from Pyodide bundle by @ryanking13 in #8360
- Skip invalidate_caches() call on Python dedicated snapshot path by @ryanking13 in #8253
- Allow the Wasm WPT suite to finish in downstream debug builds by @floitsch in #8404
- Add copyToExternalString() over the isolate's ExternalStringAllocator by @erikcorry in #8397
- Startup snapshots: transfer embedder bindings in env by @dcarney-cf in #8428
- Startup snapshots: carry the new module registry over by @dcarney-cf in #8429
- Workflows, in standalone workerd and in a cluster by @ry in #8331
- feat(types): add Browser Run script binding methods by @blackmountainb in #8313
- TS DOMException by @jasnell in #8272
- Count the onset's memory in streaming tail sessions by @danlapid in #8413
- Let an embedder subclass CompiledWasmModuleHolder by @floitsch in #8101
- Bounds-check jsg::v8 String write and write_one_byte by @guybedford in #8440
- Avoid reading the string length multiple times by @jasnell in #8412
- Minor DO improvements by @cacheburner in #8324
- Keep the host of a Rust-bridged connect() alive for the service by @guybedford in #8451
- Bounds-check jsg::v8 ArrayBufferView slices against the buffer by @guybedford in #8444
- Bound a Rust JSG method's receiver borrow by its callback by @guybedford in #8445
- Mark the jsg::v8 ArrayBuffer is_shared shim unsafe by @guybedford in #8448
- Destroy a KjMaybe's value only when the KjMaybe is dropped by @guybedford in #8453
- Mark kj_rs::new_callbacks_promise_future unsafe by @guybedford in #8454
- Tie Rust-held kj::HttpHeaders to the table and source they borrow by @guybedford in #8450
- Keep rust::Vec intact when copy assignment throws by @guybedford in #8457
- capnp update by @mikea in #8460
- Reject header ids outside KJ's builtin set in the Rust KJ bridge by @guybedford in #8449
- Attach a Rust JSG resource only to a constructor's new object by @guybedford in #8446
- Wait for output locks before a TS WritableStream flush resolves by @jasnell in #8415
- Seal the C signature of a Rust JSG Fast API callback by @guybedford in #8452
New Contributors
- @blackmountainb made their first contribution in #8313
Full Changelog: v1.20261113.1...v1.20261114.1
v1.20261113.1
What's Changed
- TS URLPattern implementation by @jasnell in #8270
- Add util.diff to node:util by @littledivy in #8332
- Document that a canceled JSRPC call doesn't stop a Durable Object by @danlapid in #8381
- Move worker-loader-test's Python cases into their own test by @danlapid in #8376
- Tag wpt wasm/jsapi cpu:2 by @danlapid in #8377
- Don't sleep in unsafe-module-test's alarm deletion case by @danlapid in #8378
- Require
Tracedtrait implementors to beSendby @nathanwhit in #8355 - Speed up kv-test's streamedPut and remove blobGc's sleeps by @danlapid in #8373
- Don't sync Durable Object storage in workerd test by @danlapid in #8375
- rust jsg: read array elements without a TracedGlobal each by @nathanwhit in #8323
- Add canBeForwarded to ForwardableEmailMessage types by @cjol in #8371
- Port MemoryCache to Rust, behind an autogate by @bartlomieju in #8066
- Don't eagerly load stdio if process is mentioned by @erikcorry in #8265
- Rust JSG: iterable resources and intrinsic inheritance by @bartlomieju in #8264
- Improve management of bundled sources by @erikcorry in #8387
- Fix node:crypto diffieHellman with an imported public key by @littledivy in #8393
- Add mock.property to node:test by @littledivy in #8383
- Allow setAuthTag() after update() for GCM Decipheriv by @littledivy in #8392
- Implement path.matchesGlob by @littledivy in #8390
- Implement KeyObject.toCryptoKey by @littledivy in #8384
- Add jsg::Lock::exception_to_kj() to Rust JSG by @bartlomieju in #8338
- Implement the node:console Console constructor by @littledivy in #8359
- Add jsg-js-reentry clang-tidy check by @littledivy in #8280
- Include Node.js' license in the node:console Console sources by @littledivy in #8399
- Say where await_io_and_run() first polls its future by @littledivy in #8398
- Give the encoding and compression stream benches a longer CI timeout by @littledivy in #8407
- Fail cross-request awaits of promises that can no longer settle by @danlapid in #8395
- Add kvData to Durable Object snapshot restores by @maxmcd in #8098
- Remove the streams try sync autogate by @jasnell in #8366
New Contributors
Full Changelog: v1.20261112.1...v1.20261113.1
v1.20261112.1
What's Changed
- Run the workers-sdk test suites concurrently by @danlapid in #8352
- Implement util.getSystemErrorName and friends by @littledivy in #8330
- Implement http.setMaxIdleHTTPParsers by @littledivy in #8327
- Implement util.transferableAbortController and transferableAbortSignal by @littledivy in #8326
- Queues, in standalone workerd and in a cluster by @ry in #8328
- Reuse Python introspection module from dedicated snapshot by @ryanking13 in #8251
- Enable minimal snapshot roundtrip by @dbezhetskov in #7880
- Dcarney/7880 internal build by @dcarney-cf in #8362
- Dcarney/7880 internal build 2 by @dcarney-cf in #8363
- Retire the DEFER_CROSS_CONTEXT_ACTIONS autogate by @jqmmes in #8342
- Report CPU limits hit in a microtask at startup and dynamic import by @dcarney-cf in #8216
- [build] Assign larger RBE runner for linking workerd by @fhanau in #8349
- Add the node:assert Assert class by @littledivy in #8358
- Add util.convertProcessSignalToExitCode and util.setTraceSigInt by @littledivy in #8329
- Support Google Cloud Storage buckets in cluster mode by @piscisaureus in #8322
- Remove the fast textencoder autogate by @jasnell in #8345
- Implement the TS URL by @jasnell in #8266
- Trace uncaught kj::Exceptions without the isolate lock by @piscisaureus in #8245
- Implement snapshotClone for more API types by @csjh in #8367
- Abort on a GC inside a snapshot deserializer callback by @csjh in #8368
- Require the isolate lock for jsg::Rc, jsg::Weak and jsg_cpp::Ref by @nathanwhit in #8319
Full Changelog: v1.20261111.1...v1.20261112.1
v1.20261111.1
What's Changed
- Run CI tests without a separate build step by @danlapid in #8321
- Make service binding scheduled() and queue() promises disposable by @danlapid in #8309
- kj-hyper: resend a request the peer closed its pooled connection on by @danlapid in #8325
- rust jsg: convert Latin-1 strings to UTF-8 with simdutf by @nathanwhit in #8252
- Cut the cluster test's waits by @danlapid in #8299
- Count queued outgoing WebSocket messages as isolate memory by @git-bruh in #8306
- Add WorkerTracer::hasTailStreamWriter() by @dom96 in #8263
- Consume compile hints in the new module registry by @floitsch in #8148
- Include coldstart metrics in workerd bench by @jasnell in #8314
- Answer Runtime.getHeapUsage in the runtime by @csjh in #7866
- Serialize classes implemented in JavaScript by @jasnell in #8225
- Split Buffer's Thue-Morse lastIndexOf stress test out, skip TSan by @danlapid in #8344
- Back out SQLite CTE regression in 3.54.1 by @zeebo in #8347
- Unbind every Wrappable from its isolate at teardown by @nathanwhit in #8315
- Let container port pumps reach the capnp streams by @gabivlj in #8273
Full Changelog: v1.20261110.1...v1.20261111.1