Releases: cloudflare/workerd
Releases · cloudflare/workerd
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
v1.20230807.0
What's Changed
- Revert "Coroutines Conversion: update api/html-rewriter.c++" by @jasnell in #954
- [nfc] porting downstream's urlpattern test by @mikea in #955
- Use jsg::Lock more consistently by @jasnell in #947
- Coroutines Conversion: update cache.c++ by @jasnell in #938
- Use js.parseJson more consistently by @jasnell in #956
- Use jsg::v8StrIntern more consistently by @jasnell in #957
- [jsg] rtti support for context builtin modules by @mikea in #964
- Implement disk directory service
DELETE
method by @mrbbot in #933 - Implement
Fetcher#scheduled()
for dispatchingscheduled
events by @mrbbot in #961 - Coroutines Conversion: Convert most of worker.c++ by @jasnell in #963
- Coroutines Conversion: update io/worker-interface.c++ by @jasnell in #965
- Coroutines Conversion: convert worker-entrypoint maybeAddGcPassForTest by @jasnell in #966
- Revert "Coroutines Conversion: rewriting AllReader into coroutines" by @mikea in #973
- [nfc] additional stream test by @mikea in #974
- fix reading from ended compression stream with high minBytes by @mikea in #977
- Github Actions fixes/cleanup by @fhanau in #980
- Introduce js.withinHandleScope(...) utility by @jasnell in #950
- Add jsg::Lock taking variant of tryGetHandle by @jasnell in #978
- Implement
Range
edGET
s for disk directories by @mrbbot in #942 - r2: Fix truncated metadata handling regression from coroutine conversion by @harrishancock in #982
- Bump compatibility date to
2023-08-07
for release by @jspspike in #984
Full Changelog: v1.20230801.0...v1.20230807.0
v1.20230801.0
What's Changed
- JSG completion: avoid direct use of v8::Isolate* in actor-state by @jasnell in #903
- JSG completion: avoid using v8::Isolate directly in url by @jasnell in #891
- JSG completion: Avoid direct use of v8::Isolate* in form-data by @jasnell in #895
- fix v8 deprecation warning by @mikea in #909
- JSG completion: Avoid directly using v8::Isolate* in encoding.c++ by @jasnell in #896
- Fix linux-arm64 build release process by @1000hz in #914
- Revert "fix v8 deprecation warning (#909)" by @jasnell in #916
- JSG completion: Avoid using v8::Isolate* directly in global-scope by @jasnell in #894
- Coroutines Conversion: rewriting AllReader into coroutines by @mikea in #883
- Clarify max log size limit error message by @irvinebroque in #910
- Downgrade proc-macro-hack to 0.5.19 by @fhanau in #922
- re-organized webgpu code and implemented first objects by @edevil in #913
- Remove the experimental gate on node.js crypto by @jasnell in #923
- [jsg] replace internal module bundle flag with module type by @mikea in #915
- Allow pumpTo() from unlocked, disturbed readable streams by @jasnell in #912
- [jsg] introduce jsg::ContextGlobal base class by @mikea in #917
- implement more webgpu objects by @edevil in #925
- [SQLite] Add
.columnNames
property on Cursor by @geelen in #911 - Refactored
sql-test.js
by @geelen in #839 - Coroutines Conversion: update api/html-rewriter.c++ by @jasnell in #924
- Use jsg::Lock consistently in web-socket.{c++,h} by @jasnell in #931
- Use jsg::Lock passing variant of jsg::Promise::then by @jasnell in #926
- Update V8 to 11.6 by @fhanau in #919
- Update r2-rpc.{h,c++} to use jsg::Lock consistently. by @jasnell in #932
- Use jsg::Lock& taking variants of jsg::Promise::Resolver methods by @jasnell in #927
- Coroutine Conversion: convert parts of api/http.c++ by @jasnell in #921
- Coroutines Conversion: update api/socket.c++ by @jasnell in #928
- [jsg] declarative installation of js bundles by @mikea in #930
- implement additional webgpu objects by @edevil in #935
- Ensure proper socket error handling when write controller abort fails by @a-robinson in #934
- Remove deprecated jsg::newPromiseAndResolver variant by @jasnell in #929
- Coroutines Conversion: update parts of workerd.c++ and server.c++ by @jasnell in #907
- Update bazel, enable Windows 2022 again by @fhanau in #888
- Fix use-after-free when deserializing
QueueMessage
on Windows by @mrbbot in #943 - Update capnproto dependency to C++20 version by @harrishancock in #944
- Coroutines Conversion: update api/r2-rpc by @jasnell in #937
- Coroutines Conversion: internal streams part 2 by @mikea in #886
- [jsg] lazy js property support by @mikea in #936
- Coroutines Conversion: update api/util.c++ by @jasnell in #945
- [jsg] rtti support for js properties by @mikea in #949
- Fix some unusual spacing around Isolate constructor by @ohodson in #941
- Support for breakpoint debugging by @ohodson in #710
- Bump Rust Dependencies by @kflansburg in #948
- bump compat date to 2023-08-01 by @RamIdeas in #952
New Contributors
Full Changelog: v1.20230724.0...v1.20230801.0