Releases: cloudflare/workerd
Releases · cloudflare/workerd
v1.20240903.0
What's Changed
- Add Python formatting with Ruff by @hoodmane in #2573
- update prettier and clang-format cli options in format.py by @anonrig in #2576
- Add explicit format all vscode task by @jasnell in #2579
- JSG_STRUCT_TS_OVERRIDE_DYNAMIC by refactoring JSG_STRUCT by @AdityaAtulTewari in #2545
- Add autoformatting for Bazel files by @npaun in #2577
- keep the custom event alive until promise resolution by @mikea in #2580
- [nfc] marking python tests as enormous by @mikea in #2582
- set githooks pre-push +x by @danlapid in #2584
- [nfc] lower test timeouts by @mikea in #2583
- Add ruff.toml with Python lint configuration by @hoodmane in #2587
- Enable a few more Python linting rules by @hoodmane in #2590
- add several
node:zlib
classes by @anonrig in #2519 - mark server-test as large by @mikea in #2591
- small perf improvements on workerd/api by @anonrig in #2566
- [nfc] explicit test targets by @mikea in #2594
- Fixup error propagation in Web streams to Node.js streams adapters by @jasnell in #2593
- test zlib destroy and add more tests by @anonrig in #2592
- [nfc] 08-22-24 build cleanup by @fhanau in #2595
- Fix llvm-symbolizer in CI by @npaun in #2598
- [nfc] make eslint a large test by @mikea in #2600
- Report queueMicrotask errors to the error event by @jasnell in #2597
- Use v8::LocalVector in multiple places by @jasnell in #2605
- fix buffer.transcode if both encodings are same by @anonrig in #2602
- More incremental work on new module registry impl by @jasnell in #2546
- [nfc] 08-23-24 build cleanup by @fhanau in #2601
- zlib one-shot methods by @npaun in #2533
- Revert "zlib one-shot methods" by @npaun in #2607
- Adding PipelineTransform class by @hhoughgg in #2553
- update ada to v2.9.1 by @anonrig in #2604
- improve zlib for nodejs_compat by @anonrig in #2599
- add zlib codes constants by @anonrig in #2608
- Account for the queue already having been drained by @jasnell in #2609
- add more zlib tests from node.js by @anonrig in #2612
- add more zlib tests by @anonrig in #2613
- Move the default implied on date for nodejs-compat-v2 by @jasnell in #2610
- Use V8's zlib by @npaun in #2522
- Cancel previous builds within the same PR on push by @npaun in #2614
- Fix wrongly triggered GH workflows on merge by @npaun in #2620
- zlib one-shot methods by @npaun in #2616
- Add WorkflowEvent type by @sidharthachatterjee in #2622
- Add a convenient script to create internal PRs by @npaun in #2617
- Implements globalThis.Cloudflare.compatibilityFlags API by @jasnell in #2527
- [build] Refactor zlib configuration by @fhanau in #2625
- Make some improvements to create-internal-pr tool by @npaun in #2626
- Add
replicaRouting
compat flag by @MellowYarker in #2621 - [build] Further zlib build refactor, document new hardware requirements by @fhanau in #2627
- Add some more node:zlib tests by @npaun in #2628
- Fix internal PR tool by @npaun in #2631
- implement domainToASCII and domainToUnicode by @anonrig in #2629
- parallelize formatter to speed up things by @anonrig in #2632
- Log when deleteAll is called with an alarm still set on the object by @a-robinson in #2630
- feat: Allow boolean returnMetadata for Vectorize V2 queries by @garvit-gupta in #2596
- Add PyodidePackageManager implementation by @garrettgu10 in #2633
- implement brotli classes by @anonrig in #2619
- Three more node:zlib tests by @npaun in #2635
- Http Request Cache Part 1 by @AdityaAtulTewari in #2434
- simplify zlib tests by @anonrig in #2637
- enable more node:zlib tests on workerd by @anonrig in #2641
- Release 2024-09-03 by @dom96 in #2640
New Contributors
Full Changelog: v1.20240821.0...v1.20240903.0
v1.20240821.0
What's Changed
- Use new "response stream disconnected" status for disconnections during proxying by @jclee in #2503
- fix handling of buffer slices by @anonrig in #2541
- improve nodejs buffer base64 and base64url performance by @anonrig in #2542
- VS-257: Fix Vectorize query options by @garvit-gupta in #2473
- [JSG] Use SetAccessorProperty() in registerReadonlyPrototypeProperty() by @fhanau in #2530
- Lazily initialize _cf_KV sqlite table. by @kentonv in #2515
- Removes Python memory snapshot upload code. by @dom96 in #2534
- Fix Workflow TS types by @sidharthachatterjee in #2550
- Do not allow code with warnings to pass CI by @npaun in #2544
- fix node eslintrc.json project path by @anonrig in #2554
- more user-friendly jsg exception message by @mikea in #2532
- use a specific pnpm version by @anonrig in #2555
- Mark io target static variables as const to avoid race conditions by @fhanau in #2557
- EW-8447 Add regression test for CPU profiling by @harrishancock in #2558
- Add StepConfig workflow types by @LuisDuarte1 in #2559
- EW-8447 Revert CPU profiling fix by @harrishancock in #2565
- Add TS/JS/JSON formatting to the project by @npaun in #2543
- fix pnpm-setup workflow on release.yml by @anonrig in #2567
- Add formatting infrastructure to the project by @danlapid in #2505
- NFC Fix comment in bench-tools.h by @hoodmane in #2568
- MAINT Minor improvements to format.py by @hoodmane in #2570
- EW-8447 Fix CPU profiling again by @harrishancock in #2571
- Add Python development compatibility flag for tests by @hoodmane in #2560
- Release 2024-08-21 by @harrishancock in #2574
New Contributors
- @LuisDuarte1 made their first contribution in #2559
Full Changelog: v1.20240815.0...v1.20240821.0
v1.20240815.0
What's Changed
- Create typescript tests for apis by @AdityaAtulTewari in #2480
- SQLite: allow
foreign_key_check
for whole DB, not just a single table by @geelen in #2479 - Promises in http-test for cache need to be awaited. by @AdityaAtulTewari in #2487
- IMAGES-1177: Implement wrapped Images binding by @ns476 in #2188
- add more recipes to justfile by @anonrig in #2483
- refactor bazel test setup by @garrettgu10 in #2495
- improve bazel builds for node by @anonrig in #2499
- add file class to node:buffer by @anonrig in #2484
- Load Pyodide runtime through HTTP by @garrettgu10 in #2451
- EW-8447 Fix CPU profiling by @harrishancock in #2497
- Adds APIs to jsg::Lock to perform manual external memory accounting. by @jasnell in #2494
- Refine the ExternalMemoryAdjuster API more by @jasnell in #2511
- Set SQLITE_LIMIT_FUNCTION_ARG to SQLite's normal default. by @kentonv in #2493
- Implements setImmediate for Node.js compatibility v2 by @jasnell in #2506
- Clear WritableStreamSink queue on abort with compat flag by @jasnell in #2467
- Enforce worker limits in Compression Streams API by @fhanau in #2502
- Remove experimental and add compatEnableDate to allow_custom_ports by @danlapid in #2517
- Revert "Clear WritableStreamSink queue on abort with compat flag" by @jasnell in #2520
- Allow startuptime to be reported when it isn't exceeded. by @danlapid in #2500
- Add nbytes as a dependency and reuse code from Node.js by @anonrig in #2489
- EW-8589: Add a compatDisableFlag for allow_custom_ports. by @danlapid in #2521
- node:zlib implem: Expose zlib.constants by @npaun in #2496
- [nfc] 08/10/24 Build/Docs cleanup by @fhanau in #2512
- Revert "Revert "Clear WritableStreamSink queue on abort with compat f… by @jasnell in #2523
- improve mimetype performance by @anonrig in #2525
- Revert "Enforce worker limits in Compression Streams API" by @fhanau in #2529
- bazelrc: Add incompatible_strict_action_env to prevent bazel cache invalidation when switching terminals by @npaun in #2528
- Tidy up pyodide bundle API by @hoodmane in #2504
- Fix some incorrect include statements. by @danlapid in #2526
- Add Workflow entrypoint and types by @sidharthachatterjee in #2492
- Update to V8 12.8 by @fhanau in #2441
- release 2024-08-15 by @mikea in #2535
New Contributors
- @npaun made their first contribution in #2496
- @sidharthachatterjee made their first contribution in #2492
Full Changelog: v1.20240806.0...v1.20240815.0
v1.20240806.0
What's Changed
- Generate package memory snapshot for validator. by @dom96 in #2445
- Types: add @cf/meta/llama-3.1-8b-instruct model to types by @akazwz in #2431
- Use proxy worker to serve Pyodide packages by @garrettgu10 in #2450
- Fix compilation under LLVM 19 by @fhanau in #2463
- Refactor http-test to make subsequent edits cleaner by @AdityaAtulTewari in #2466
- Improve buffering in Compression Streams API by @fhanau in #2469
- [build] Reduce STL header include overhead, O0 code size by @fhanau in #2360
- Add a compat flag for increasing the WS message size limit by @penalosa in #2164
- add buffer.transcode to nodejs_compat by @anonrig in #2462
- add initial zlib module with crc32 by @anonrig in #2477
- Adds pythonRelease annotation to compat flags. by @dom96 in #2464
- Add neededByFl flag to allow_custom_ports by @danlapid in #2481
- fix edgeworker clashing with zlib function by @anonrig in #2482
- reduce encoding serialization cost by @anonrig in #2478
- Release 2024-08-06 by @fhanau in #2485
New Contributors
Full Changelog: v1.20240729.0...v1.20240806.0
v1.20240729.0
What's Changed
- NFC Add bazel rule to generate external pyodide capnproto bundle by @hoodmane in #2456
- Python: Adjust API for Pyodide bundle to support multiple versions by @hoodmane in #2455
- EW-8589 add a compat date to support custom ports for worker subrequests by @danlapid in #2447
- Bump supported compat date by @garrettgu10 in #2457
New Contributors
Full Changelog: v1.20240726.0...v1.20240729.0
v1.20240726.0
What's Changed
- Check exception type to set retryCountsAgainstLimit for alarms by @jqmmes in #2428
- fix compile_flags.txt to include correct paths by @anonrig in #2442
- [build] Simplify V8 build configuration, minor build updates by @fhanau in #2439
- remove unnecessary initialization of buffer by @anonrig in #2446
- Implement Vectorize GA binding changes by @ndisidore in #2443
- Load Pyodide runtime from external capnproto file by @hoodmane in #2430
- Bump compatibility date. by @ndisidore in #2449
Full Changelog: v1.20240725.0...v1.20240726.0
v1.20240725.0
What's Changed
- types: Fix D1 run() type by @elithrar in #2422
- Revert "Redoing "#2073: Update Request to support cache option" with compat flags" by @kentonv in #2432
- Added test for cache functionality. by @AdityaAtulTewari in #2433
- Claim the compat flag for cache_option_enabled by @AdityaAtulTewari in #2435
- Update Vectorize types for GA release by @ndisidore in #2421
- Add KV Direct Binding compatibility flag. by @mar-cf in #2407
- Bump compatibility date. by @jp4a50 in #2440
Full Changelog: v1.20240722.0...v1.20240725.0
v1.20240722.0
What's Changed
- Log complete alarm errors in global-scope by @jqmmes in #2413
- [types] Add missing
reply
fn toForwardableEmailMessage
by @CarmenPopoviciu in #2414 - Make WebSocketPair iterable by @jasnell in #2404
- Implement rsa toPem, toDer, and fromJwk utilities by @jasnell in #2389
- Handle proxy object prototypes more correctly by @jasnell in #2406
- Bump compatibility date. by @jp4a50 in #2423
New Contributors
- @CarmenPopoviciu made their first contribution in #2414
Full Changelog: v1.20240718.0...v1.20240722.0
v1.20240718.0
What's Changed
- Change port for helloworld test, to prevent common clashes in testing by @AdityaAtulTewari in #2387
- Better SQLite error message generation. by @smerritt in #2380
- Update V8: 12.6 -> 12.7 by @harrishancock in #2342
- Unpin the port for compile-tests using control-fd by @AdityaAtulTewari in #2390
- webgpu: update dawn wire specification by @edevil in #2391
- Update ada-url to 2.9.0 by @jasnell in #2392
- [build] Roll Rust and TS versions, assorted dependencies by @fhanau in #2370
- Fixup for minor UAF in inspector client detached by @jasnell in #2394
- Make deriveBits length argument optional per spec change by @jasnell in #2381
- [BUILD] Split up bazel io target by @fhanau in #2308
- [types] Refactor doc comment injection by @penalosa in #2393
- Add more info for actor alarm retries by @jqmmes in #2399
- switch to GetPrototypeV2() by @mikea in #2401
- Add truncated flag for tail worker events by @jasnell in #2402
- Add missed setTruncated call by @jasnell in #2403
- Add WebSocketObserver by @jp4a50 in #2385
- eliminating VLAs by @mikea in #2408
- Redoing "#2073: Update Request to support cache option" with compat flags by @AdityaAtulTewari in #2409
- [types] Generate
@cloudflare/workers-types
with a Worker by @penalosa in #2405 - Bump compatibility date to trigger release by @jasnell in #2411
Full Changelog: v1.20240712.0...v1.20240718.0
v1.20240712.0
What's Changed
- Complete typescript migration for Pyodide glue code by @garrettgu10 in #2334
- fix: add Symbol.toStringTag to KeyObject instances by @panva in #2347
- Run test imports at top level, fix pydantic and numpy imports by @garrettgu10 in #2324
- More node:crypto cleanup and consolidation by @jasnell in #2340
- Update capnp and use ArrayPtr fill(arrayPtr) for node:buffer fill impl by @jasnell in #2349
- Consolidate dh code into workerd/api/crypto, impl DH keygen by @jasnell in #2344
- Improve user facing error message when dynamically dispatching to a missing script with an egress worker. by @mar-cf in #2338
- [CI] Enable remote_download_minimal for test jobs by @fhanau in #2346
- [CI] Disable Bazel remote cache Build without the Bytes on Windows by @fhanau in #2351
- Fixes Socket::startTls assert failure when request IoContext ends. by @dom96 in #2350
- add matchesGlob placeholder to node:path by @anonrig in #2354
- Account for CR in prepared statements, add tests by @KianNH in #1322
- Multiple api/crypto key related cleanups (part 1) by @jasnell in #2353
- Only ask for nodejs_als in the async-context sample by @isker in #2362
- Update code for WebSocket disconnect() signature change. by @kentonv in #2371
- Update dawn by @edevil in #2374
- adding loadShed outcome by @mikea in #2359
- webgpu: new callback mode by @edevil in #2378
- Add type definition of Rate Limit bindings by @DaniFoldi in #2170
- Remove websocket locality by @jp4a50 in #2376
- More cleaning up and reorganization of crypto key handling code.(Part 2) by @jasnell in #2355
- COMPILED_MAGIC_SUFFIX check from memcmp equals 0 -> arrayPtr equality by @AdityaAtulTewari in #2321
- Implement node:crypto X509Certificate by @jasnell in #2335
- Refactor type generation scripts by @penalosa in #2379
- Temporarily disable x509 error case check by @jasnell in #2384
- Improve illegal invocation error in the runtime by @jasnell in #2375
- webgpu: remove device.SetUncapturedErrorCallback() by @edevil in #2383
- Release 2024-07-12 by @fhanau in #2386
New Contributors
- @panva made their first contribution in #2347
- @mar-cf made their first contribution in #2338
- @anonrig made their first contribution in #2354
- @isker made their first contribution in #2362
Full Changelog: v1.20240701.0...v1.20240712.0