Releases: cloudflare/workerd
Releases · cloudflare/workerd
v1.20231010.0
What's Changed
- Fix hibernatable websocket race between auto-response and regular messages by @jqmmes in #1130
- webgpu: check for empty features list by @edevil in #1255
- Implement simple regular expression benchmark by @fhanau in #1261
- Enable for llvm-symbolizer for GitHub test workflow by @ohodson in #1254
- Accumulate reads in streams PumpToReader by @jasnell in #1264
- AbortSignal.timeout inner exception should be DISCONNECTED by @jasnell in #1177
- Add span to fetch handler by @MellowYarker in #1269
- Implement the Web Platform standard CustomEvent by @jasnell in #1270
- Webcrypto refactor, fix type of publicExponent by @fhanau in #1268
- Update capnproto for Promises with the nodiscard attribute. by @smerritt in #1271
- Add TraceEventInfo for TraceItem by @matthewdavidrodgers in #1248
- Updates to launch.json by @ohodson in #1274
- Fix the dbg config on Windows by @ohodson in #1282
- upgrade rust toolchain to 1.72.1 by @mikea in #1260
- WritableStream will now wait for socket connection before closing. by @dom96 in #1284
- Revert "Fix hibernatable websocket race between auto-response and regular messages" by @joshthoward in #1287
- Unbreak
bazel shutdown
by @ohodson in #1285 - JSExceptionThrown noexcept default by @Frederik-Baetens in #1286
- Update compatibility-date.capnp by @penalosa in #1292
New Contributors
- @matthewdavidrodgers made their first contribution in #1248
Full Changelog: v1.20231002.0...v1.20231010.0
v1.20231002.0
What's Changed
- Update api/r2* to use KJ_IF_SOME by @jasnell in #1205
- Update api/socket.* to use KJ_IF_SOME by @jasnell in #1206
- Move workerd/api/system-streams.c++ to KJ_IF_SOME by @ohodson in #1223
- Move workerd/api/util.c++ to KJ_IF_SOME by @ohodson in #1224
- Move workerd/api/actor-state.c++ and actor.c++ to KJ_IF_SOME by @ohodson in #1225
- Update api/sql.{h|c++} to use KJ_IF_SOME by @jasnell in #1231
- Update api/kv.{h|c++} to use KJ_IF_SOME by @jasnell in #1232
- Improved error handling in promise cross-context callback by @jasnell in #1221
- Cleanup maybeAddGcPassForTest more by @jasnell in #1209
- Fix randomInt 1024 number generation limit by @philipatkinson in #1234
- Adds needed KJ_DEBUG guards by @jasnell in #1236
- Fix various dropped promises by @smerritt in #1222
- Additional nullptr -> kj::none in src/workerd/io by @ohodson in #1239
- KJ_IF_SOME nullptr to kj::none conversions in src/workerd/util by @ohodson in #1240
- A few KJ_IF_SOME updates to src/workerd/api by @ohodson in #1241
- A few KJ_IF_SOME related updates to src/workerd/jsg by @ohodson in #1242
- A few KJ_IF_SOME related updates to worker/src/server by @ohodson in #1243
- A few kj::none related updates to src/workerd/tests by @ohodson in #1244
- Add SQLITE_ENABLE_MATH_FUNCTIONS compile option by @joshthoward in #1246
- [nfc] Refactor bazel dependencies by @fhanau in #1169
- Remove test fixture compileAndRunScript and compileAndInstantiateModule by @jasnell in #1249
- Adds flags for test coverage. by @dom96 in #1253
- [nfc] update rules_rust to 0.28.0 by @mikea in #1257
- repin rust crates by @mikea in #1258
- Bump compatibility date to
2023-10-02
for release by @mrbbot in #1262
New Contributors
- @philipatkinson made their first contribution in #1234
- @joshthoward made their first contribution in #1246
Full Changelog: v1.20230922.0...v1.20231002.0
v1.20230922.0
What's Changed
- Undo coroutine change for hibernatable websockets by @MellowYarker in #1194
- Revert "Undo coroutine change" and add missing co_await by @jasnell in #1195
- EW-7618: convert trace.{h,c++} to use KJ_IF_SOME by @ohodson in #1191
- EW-7618: Replace KJ_IF_MAYBE with KJ_IF_SOME in queue.{h,c++} by @ohodson in #1190
- More optimization of internal.c++ AllReader by @jasnell in #1167
- EW-7618: move io-context.{h,c++} to use KJ_IF_SOME by @ohodson in #1196
- Move various kj stream impls to separate stream-utils by @jasnell in #1189
- Update README.md by @penalosa in #1197
- Update src/workerd/jsg to use KJ_IF_SOME by @jasnell in #1152
- Replace KJ_IF_MAYBE with KJ_IF_SOME in api/url* by @jasnell in #1141
- Update multiple KJ_IF_MAYBE uses to KJ_IF_SOME in workerd/api by @jasnell in #1140
- Update api/node to use KJ_IF_SOME by @jasnell in #1143
- Update subset of workerd/io to use KJ_IF_SOME by @jasnell in #1153
- Update multiple files to use KJ_IF_SOME by @jasnell in #1154
- Move remaining files in workerd/util to KJ_IF_SOME by @ohodson in #1208
- Migrate some src/workerd/io files to use KJ_IF_SOME by @ohodson in #1210
- Handle socket proxy disconnections. by @dom96 in #1133
- Fixup extensions sample by @jasnell in #1211
- Fix comment conversion in actor-cache.h. by @kentonv in #1183
- Migrate src/workerd/api/{http,websocket}.c++ to use KJ_IF_SOME by @ohodson in #1214
- Migrate src/workerd/io/worker.c++ to use KJ_IF_SOME by @ohodson in #1216
- More KJ_IF_SOME changes to workerd/api/streams by @ohodson in #1215
- Add abortable fetch tests by @jasnell in #1212
- Fix initial executionContextId range by @ohodson in #1217
- VS-18: make Vectorize index preset a generic string by @ndisidore in #1218
- Pause before initial burst of inspector messages by @ohodson in #1220
- VS-46 Throw detailed errors properly by @ns476 in #1219
- Move workerd/api/queue.c++ to KJ_IF_SOME by @ohodson in #1226
- Move workerd/api/http.h to KJ_IF_SOME by @ohodson in #1228
- Revert "Pause before initial burst of inspector messages" by @ohodson in #1229
- Update api/crypto* to use KJ_IF_SOME by @jasnell in #1202
- Update api/html-rewriter to use KJ_IF_SOME by @jasnell in #1203
- Update api/global-scope to use KJ_IF_SOME by @jasnell in #1204
- Bump compatibility date to
20230922
for release by @jspspike in #1230
New Contributors
Full Changelog: v1.20230918.0...v1.20230922.0
v1.20230918.0
What's Changed
- webgpu: Add missing properties of GPU buffer by @edevil in #1179
- Upgrade to V8 11.7 by @fhanau in #1184
- Improve the Error thrown by a Socket's WritableStream after closure by @a-robinson in #1121
- Port more blob ew-test over to wd-test by @jasnell in #1188
- Bump compatibility date to
2023-09-18
and enable WebGPU by @jspspike in #1193
Full Changelog: v1.20230914.0...v1.20230918.0
v1.20230914.0
What's Changed
- Revert "Merge pull request #1042 from cloudflare/harris/kj-stack-arra… by @harrishancock in #1147
- webgpu: remove spirv-tools by @edevil in #1148
- Remove extraneous
"
fromlisten-inspector
control message by @mrbbot in #1151 - Revert "Merge pull request #1033 from cloudflare/bcaimano/actor-cache-no-state by @jp4a50 in #1155
- Fixup CfProperty lazy parsing by @jasnell in #1159
- Fix generated
TextEncoder#encode()
return type by @mrbbot in #1158 - Fixup MessageEvent.data regression by @jasnell in #1157
- Update src/workerd/server to use KJ_IF_SOME by @jasnell in #1150
- Coroutines Conversion: update api/streams/internal.c++ by @jasnell in #1137
- Update api/gpu to use KJ_IF_SOME by @jasnell in #1142
- Fix handling of fatal errors in server.c++. by @kentonv in #1165
- Add additional guard for internal streams AllReader by @jasnell in #1164
- Add missing types by @a-robinson in #1168
- Remove copyright headers from types/defines/*.d.ts by @a-robinson in #1176
- VS-22: create wrapped vector search binding by @ndisidore in #1170
- Add wd-test unit tests for Event, EventTarget, AbortSignal, and others by @jasnell in #1163
- Randomize the initial value of V8 Inspectors's ExecutionContextId by @ohodson in #1178
- Ensure that .then calls in maybeRunAlgorithm are guarded by @jasnell in #1175
- Remove the blob mime type sentry warning by @jasnell in #1181
- Reapply track value category, staleness, and sync state separately for ActorCache::Entries with bugfix by @bcaimano in #1162
- Webgpu improvements by @edevil in #1180
- Bump compatibility date to
2023-09-14
for release by @mrbbot in #1182
New Contributors
- @jp4a50 made their first contribution in #1155
- @ndisidore made their first contribution in #1170
Full Changelog: v1.20230908.0...v1.20230914.0
v1.20230908.0
What's Changed
- [CI] Do not allow stale cache to be used by @fhanau in #1120
- JSG Completion: use of of JsValue in api/r2-admin by @jasnell in #1117
- webgpu: fix size check by @edevil in #1126
- Revert "[nfc] using malloc hooks to benchmark memory allocations too." by @mikea in #1128
- JSG Completion: update sql.{h,c++} to use jsg::JsValue by @jasnell in #1118
- Report port inspector socket is listening on when ready by @mrbbot in #1127
- Remove direct use of v8::Exception::Error in queue-test by @jasnell in #1119
- Make randomUUID slightly more efficient by @jasnell in #1107
- Coroutines Conversion: update multiple workerd/io files by @jasnell in #1116
- Coroutines Conversion: update io-gate.c++ to use KJ_IF_SOME/kj::none and coroutines by @jasnell in #1131
- Clean up the line placement of some template declarations in io-context by @a-robinson in #1132
- webgpu: include webgpu by default by @edevil in #1129
- Coroutines Conversion: convert more of workerd server.c++ by @jasnell in #1134
- [CI] Partially remove Windows workaround by @fhanau in #1144
- JSG Completion: use JsObject for promise context tag by @jasnell in #1135
- Replace KJ_IF_MAYBE with KJ_IF_SOME in api/basics.{h,c++} by @jasnell in #1136
- Bump compatibility date to
2023-09-08
for release by @mrbbot in #1146
Full Changelog: v1.20230904.0...v1.20230908.0
v1.20230904.0
What's Changed
- Update capnproto submodule to pick up KJ_IF_SOME by @harrishancock in #1109
- Support overriding connect() behavior via callbacks for specified addrs by @a-robinson in #1103
- Convert the remaining files to idiomatic comment style by @jasnell in #1111
- Update install-deps.bat to LLVM 16 by @ohodson in #1112
- Check for githooks configuration on Windows by @ohodson in #1110
- Replace KJ_STACK_ARRAY with SboArray/Builder by @harrishancock in #1042
- [nfc] using malloc hooks to benchmark memory allocations too. by @mikea in #1113
- Bazel linker improvements and cleanup by @fhanau in #939
- Nest getActor tracing spans under "actor_subrequest" spans by @jclee in #1105
- [nfc] Lint bazel files using buildifier by @fhanau in #1114
- JSG Completion: add logUncaughtException variant taking JsValue by @jasnell in #1115
- Bump compatibility date to
2023-09-04
for release by @mrbbot in #1123
Full Changelog: v1.20230830.0...v1.20230904.0
v1.20230830.0
What's Changed
- Update to idiomatic comment style in workerd/server by @jasnell in #1038
- Implement jsg::JsValue and related types by @jasnell in #1014
- [nfc] add /local/ to gitignore by @mikea in #1037
- JSG Completion: Replace v8 PerformMicrotaskCheckpoint with js.runMicrotasks() by @jasnell in #1039
- JSG Completion: update ActorState to use jsg::JsValue by @jasnell in #1045
- JSG Completion: fill out more BufferSource features by @jasnell in #1040
- JSG Completion: use JsValue in more places by @jasnell in #1047
- webgpu: add labels to objects by @edevil in #1034
- Update README caveats. Many of these were long outdated. by @kentonv in #1049
- lazy cf property parsing by @mikea in #1023
- Improve support for clang 16+ by @fhanau in #1048
- Unpin serde and repin rust deps by @kflansburg in #1044
- [nfc] documenting benchmarking, .bazelrc benchmark config by @mikea in #1050
- [nfc] mimetype benchmark by @mikea in #1051
- [nfc] asan configuration by @mikea in #1052
- Update api/queue to use jsg::JsValue by @jasnell in #1056
- JSG Completion: Use jsg::JsValue with jsg serializer/deserializer by @jasnell in #1053
- Remove errant KJ_DBG from cf-property.c++ by @jasnell in #1058
- check for githooks configuration the same way as in EW by @mikea in #1059
- pre-commit hook to check for KJ_DBG in source files by @mikea in #1060
- [nfc] kj::HttpHeaders parse simple benchmark by @mikea in #1055
- Coroutine Conversion: update server/alarm-scheduler by @jasnell in #1061
- Update workerd/io/worker* files to idiomatic comments style by @jasnell in #1066
- Update multiple workerd/io files to idiomatic comment style by @jasnell in #1067
- Convert more of workerd/io to idiomatic comments style by @jasnell in #1068
- Add
2023-03-01
and2023-07-01
types entrypoints by @mrbbot in #1057 - Update workerd/jsg to idiomatic comments style by @jasnell in #1069
- [nfc] benchmark for GlobalScope::request serving function by @mikea in #1064
- [nfc] use the same malloc for benchmarks as for the main server by @mikea in #1062
- [nfc] wd_cc_benchmark can generate csv report by @mikea in #1063
- Relax gc visitation on streams queued ReadRequest by @jasnell in #1076
- Temporarily disable github runner for Windows 2022 by @ohodson in #1085
- Update multiple workerd/api bits to use jsg::JsValue by @jasnell in #1071
- A couple of improvements relating to clangd by @ohodson in #1073
- Bugfix: re-instate threadId guard in currentTimeMS by @ohodson in #1078
- EW-7716: fix crashing race with InspectorService initialization by @ohodson in #1077
- Use idiomatic comment style in workerd/api by @jasnell in #1084
- JSG Completion: update URLPattern to use jsg::JsValue by @jasnell in #1080
- Update CfProperty to use jsg::JsObject/jsg::JsValue by @jasnell in #1070
- Update api/web-socket to use jsg::JsValue by @jasnell in #1072
- Track value category, staleness, and sync state separately for ActorCache::Entries by @bcaimano in #1033
- Bump compatibility date for release by @penalosa in #1094
- [nfc] remove off-by-default bench tag by @mikea in #1081
- [nfc] api headers benchmark by @mikea in #1089
- optimizing mimetype serialization by @mikea in #1054
- JSG Completion: add JsValue-variant for js.toDict() by @jasnell in #1098
- actually report http etag parsing errors to users for R2 conditional by @Frederik-Baetens in #1091
- Bump
json5
to1.0.2
by @mrbbot in #1082 - Update node/buffer.{h.c++} to use jsg::JsValue by @jasnell in #1097
- JSG Completion: update api/kv.{h|c++} to use jsg::JsValue by @jasnell in #1096
- Add variant of jsg::Lock::arr(...) that takes kj::ArrayPtr by @jasnell in #1099
- [nfc] disable fail fast for builds by @mikea in #1102
- co_await forks without creating new branch by @mikea in #1086
- Resurrect Windows-2022 with LLVM 16 by @ohodson in #1092
Full Changelog: v1.20230821.0...v1.20230830.0
v1.20230821.0
What's Changed
- Roll deps by @fhanau in #1013
- fix release script: remove .gz files before building new ones by @RamIdeas in #1019
- SQLite: allowlisting
quick_check
PRAGMA, and tests to explain why by @geelen in #1017 - Implement microbenchmark by @fhanau in #1022
- Fix up node.js diagnostic channel tail worker bug by @jasnell in #1015
- webgpu: change GPUDevice to be an event handler by @edevil in #1006
- [SQLite] confirming row counts work with interleaved cursors by @geelen in #1024
- micro optimization: do not serialize PLAINTEXT mimetype by @mikea in #1025
- micro opt: avoid extra .then if response gating is not necessary by @mikea in #1026
- Implement
KJ_CO_MAGIC BEGIN_DEFERRED_PROXYING
by @harrishancock in #953 - webgpu: ensure instaceof checks work by @edevil in #1032
- webgpu: ensure api restrictions by @edevil in #1031
- Allow overriding the received (this) of a jsg::Function, update forEach impls by @jasnell in #1027
- Switch workerd/util to idiomatic comment style by @jasnell in #901
- Variation of jsg::Function that takes jgs::Argumentsjsg::Value by @jasnell in #1029
- Bump compatibility date to
2023-08-21
for release by @mrbbot in #1043
Full Changelog: v1.20230814.0...v1.20230821.0
v1.20230814.0
What's Changed
- JSG Completion: add interim jsg::Lock::v8Set and jsg::Lock::v8Get by @jasnell in #971
- Use jsg::Lock more consistently in jsg/modules.{h,c++} by @jasnell in #972
- Coroutines Conversion: convert more of server.c++/workerd.c++ by @jasnell in #967
- Avoid infinite recursion bug in server.c++ coroutine by @jasnell in #987
- webgpu continued by @edevil in #946
- JSG Completion: update jsg/ser.{h,c++} to take jsg::Lock& instead of v8::Isolate by @jasnell in #991
- JSG Completion: Use new js.withinHandleScope utility in actor-state by @jasnell in #986
- Renames RevocableWorkerInterface to RevocableWebSocketWorkerInterface. by @dom96 in #989
- JSG Completion: Convert some direct uses of v8::HandleScope to new utility by @jasnell in #990
- JSG Completion: replace direct uses of v8::Undefined by @jasnell in #993
- JSG Completion: Convert more direct uses of v8::HandleScope to new utility by @jasnell in #995
- Add a new overload of Socket::handleProxyStatus for internal use by @a-robinson in #975
- Ensure
Content-Length
set on requests with known length bodies by @mrbbot in #981 - Allow
Fetcher#queue()
to accept V8 serialised bodies by @mrbbot in #997 - Revert "Add a new overload of Socket::handleProxyStatus for internal use" by @a-robinson in #1001
- JSG Completion: update logWarning to take a jsg::Lock by @jasnell in #999
- JSG Completion: more uses of js.withinHandleScope by @jasnell in #998
- Swap order of r2 put types to fix type on onlyif by @Frederik-Baetens in #908
- JSG Completion: use getHandle(jsg::Lock&) consistently by @jasnell in #1003
- JSG Completion: use js.tryCatch in actor-state.c++ by @jasnell in #1000
- Fix exception message in Socket::handleProxyStatus by @a-robinson in #1002
- JSG Completion: more jsg consistency improvements by @jasnell in #1004
- SQL: counters for rows read and written by @smerritt in #979
- webgpu: implement compilation info by @edevil in #994
- Prevent ws send() after hibernation by @MellowYarker in #1005
- Add tracing span parameters to getActor operations by @jclee in #1007
- bump compatibility date to
2023-08-14
for release by @RamIdeas in #1012
New Contributors
Full Changelog: v1.20230807.0...v1.20230814.0