Skip to content

v26.11.0

Latest

Choose a tag to compare

@saghul saghul released this 01 Nov 09:57
· 26 commits to master since this release

What's Changed

  • docs: add instructions for mise by @lukasMega in #998
  • ffi: fix size_t formatting by @brainrom in #1015
  • http: enable HTTP/2 for client and server by @saghul in #1007
  • fetch: serialize and parse FormData as multipart/form-data by @saghul in #1016
  • fs: fix 64-bit stat/statFs field truncation by @saghul in #1017
  • webcrypto: fix AES-CTR counter-length wrap by @saghul in #1018
  • httpclient: send non-default port in the Host header by @saghul in #1019
  • xhr: implement overrideMimeType() by @saghul in #1020
  • worker: dispatch error events, add self.close(), fix lifetime by @saghul in #1021
  • worker: rebuild cross-thread messaging on MessageChannel/MessagePort by @saghul in #1022
  • event-target: report listener exceptions instead of propagating by @saghul in #1023
  • eventsource: implement WHATWG EventSource (Server-Sent Events) by @saghul in #1024
  • process: fix subprocess stdin pipe jamming after the first write by @tarwin in #1028
  • ffi: add NativePointer.value and createPointer() for cross-thread pointers by @saghul in #1030
  • fetch: replace fake-private body fields with a private Body mixin by @saghul in #1031
  • ffi: expose Lib from dlopen() and document callbacks via dlopen by @saghul in #1033
  • ci: bump websocket-driver from 0.7.4 to 0.7.5 in /website by @dependabot[bot] in #1034
  • ci: bump js-yaml from 3.14.2 to 3.15.0 in /website by @dependabot[bot] in #1036
  • vm: fix teardown use-after-free for live native handles on abnormal exit by @saghul in #1035
  • fetch: add HTTP connection pooling / keep-alive by @saghul in #1038
  • ci: bump actions/setup-node from 6 to 7 by @dependabot[bot] in #1040
  • ci: bump brace-expansion from 5.0.6 to 5.0.7 in /website by @dependabot[bot] in #1041
  • ci: bump webpack-dev-server from 5.2.5 to 5.2.6 in /website by @dependabot[bot] in #1044
  • ci: bump shell-quote from 1.8.4 to 1.10.0 in /website by @dependabot[bot] in #1042
  • ci: bump body-parser from 1.20.5 to 1.20.6 in /website by @dependabot[bot] in #1043
  • httpserver: send END_STREAM for empty HTTP/2 responses by @saghul in #1045
  • ci: bump svgo from 3.3.3 to 3.3.4 in /website by @dependabot[bot] in #1048
  • Add HTTP/3 support by @saghul in #1046
  • ffi: fix missing null in pointer types by @saghul in #1052
  • ffi: fix use-after-dlclose for dlopen() symbols, use real private fields by @saghul in #1053
  • ci: bump brace-expansion from 5.0.6 to 5.0.9 by @dependabot[bot] in #1055
  • console: fix formatting of bigints, nullish values and classes by @saghul in #1057
  • ci: bump postcss from 8.5.15 to 8.5.25 in /website by @dependabot[bot] in #1058
  • ci: bump brace-expansion from 5.0.7 to 5.0.9 in /website by @dependabot[bot] in #1056
  • ci: bump linkify-it from 5.0.1 to 5.0.2 in /website by @dependabot[bot] in #1049
  • ci: bump fast-uri from 3.1.2 to 3.1.4 in /website by @dependabot[bot] in #1050
  • FFI API refactor by @saghul in #1054
  • lws: racing connects, h3-over-TCP ALPN fix, and a bounded HTTP/3 handshake by @saghul in #1059
  • deps: update QuickJS by @saghul in #1060
  • ci: bump hono from 4.12.25 to 4.12.34 in /tests/advanced by @dependabot[bot] in #1061
  • ci: bump fast-uri from 3.1.4 to 3.1.5 in /website by @dependabot[bot] in #1062
  • docs: note that building from source works on all platforms by @bangseongbeom in #1063
  • ci: bump js-yaml from 3.15.0 to 3.15.1 in /website by @dependabot[bot] in #1065
  • deps: bump libwebsockets to v5.0-stable head (ac23cae70) by @saghul in #1068
  • fetch: hand HTTP/3 discovery, upgrade, and fallback to lws by @saghul in #1071
  • ci: cache vcpkg libffi on Windows by @saghul in #1072
  • ci: bump actions/cache from 4 to 6 by @dependabot[bot] in #1074
  • wasm: memory.grow UAF fix, funcref globals, and full funcref identity/cross-instance semantics by @saghul in #1073
  • builtins: throw on unknown tjs: module instead of failing silently by @lukasMega in #1076
  • test: cover Set-Cookie Secure/HttpOnly cookie-jar persistence by @saghul in #1075
  • ci: bump postcss-selector-parser in /website by @dependabot[bot] in #1081
  • ci: bump @swc/html from 1.15.33 to 1.16.2 in /website by @dependabot[bot] in #1086
  • ci: bump fast-uri from 3.1.5 to 3.1.7 in /website by @dependabot[bot] in #1083
  • ci: bump colord from 2.9.3 to 2.10.0 in /website by @dependabot[bot] in #1087
  • ci: bump js-yaml from 3.15.1 to 3.15.2 in /website by @dependabot[bot] in #1091
  • ci: bump svgo from 3.3.4 to 3.3.5 in /website by @dependabot[bot] in #1092
  • ci: bump baseline-browser-mapping from 2.10.31 to 2.11.21 in /website by @dependabot[bot] in #1090
  • ci: bump hono from 4.12.34 to 4.13.5 in /tests/advanced by @dependabot[bot] in #1088
  • ci: bump browserslist from 4.28.2 to 4.28.9 in /website by @dependabot[bot] in #1082
  • ci: bump joi from 17.13.3 to 17.13.7 in /website by @dependabot[bot] in #1089
  • udp: add broadcast option by @matiasbarrios in #1098
  • ci: bump image-size from 2.0.2 to 2.0.4 in /website by @dependabot[bot] in #1094
  • ci: bump fast-uri from 3.1.7 to 3.1.8 in /website by @dependabot[bot] in #1103
  • ci: bump markdown-it from 14.2.0 to 14.3.2 by @dependabot[bot] in #1102
  • ci: bump brace-expansion from 5.0.9 to 5.0.12 in /website by @dependabot[bot] in #1101
  • ci: bump @babel/core from 7.29.0 to 7.29.7 in /website by @dependabot[bot] in #1106
  • ci: bump nanoid from 3.3.16 to 3.3.19 in /website by @dependabot[bot] in #1105
  • ci: bump http-proxy-middleware from 2.0.9 to 2.0.10 in /website by @dependabot[bot] in #1104
  • ci: bump hono from 4.13.5 to 4.13.7 in /tests/advanced by @dependabot[bot] in #1100
  • internal: unify TJS_HOME resolution in tjs:internal/home by @saghul in #1111
  • ci: drop setup-node from the Alpine job by @saghul in #1123
  • deps(website): override postcss-selector-parser and tinypool for security fixes by @saghul in #1124
  • deps: update mbedtls by @saghul in #1122
  • docs: fix spelling and add pronunciation key to gloss by @lionel-rowe in #1119
  • deps(website): bump express/body-parser to pull qs 6.16 for security fixes by @saghul in #1125
  • deps: combine Dependabot lockfile bumps (#1112–#1118) by @saghul in #1126
  • deps(website): override uuid and serialize-javascript for security fixes by @saghul in #1127
  • core: allocate JSClassIDs per runtime by @saghul in #1128
  • worker: hold a reference to the parent context by @saghul in #1132
  • tests: don't time out test-worker-ffi-classes under GC stress by @saghul in #1134
  • tpk: store the app cache in the tjs home dir by @saghul in #1133
  • vm: 8-byte-align SharedArrayBuffer data by @saghul in #1136
  • engine: fix evalBytecode() over-freeing its argument by @saghul in #1135
  • ci: use whole-minute timeouts for the esbuild download step by @saghul in #1137
  • deps: lws: carry upstream fix for Windows fd lookup of racing connects by @saghul in #1138
  • http: fall back to a random port when the HTTP/3 QUIC bind fails by @saghul in #1139
  • http: give each HTTP/3 server's QUIC vhost its own iface label by @saghul in #1141
  • http: resolve server.close() outside the lws vhost teardown by @saghul in #1142
  • http: send "/" instead of "//" as the request path for root URLs by @saghul in #1143
  • vm: don't abort when the unhandledrejection event can't be constructed by @saghul in #1145
  • vm: don't fire beforeunload after a fatal error by @saghul in #1146
  • deps: lws: carry upstream fixes for queuing onto a "Connection: close" connection by @saghul in #1144
  • worker: let workers use fetch/XHR/WebSocket (inherit cookie jar and CA bundle) by @saghul in #1147
  • tls: deliver application data buffered during the handshake by @saghul in #1148
  • build: enable the mbedtls threading layer for multi-threaded TLS by @saghul in #1150
  • worker: keep a running worker alive and release the parent when it stops itself by @saghul in #1151
  • tls: write the whole buffer and wait for queued writes by @saghul in #1152
  • tests: de-flake test-serve-h3-listener-failure on TCP port collisions by @saghul in #1153
  • lws: give each runtime its own log context by @saghul in #1157
  • tests: de-flake test-posix-socket on EADDRINUSE port collisions by @saghul in #1156
  • httpclient: drop connection-specific request headers, honor Connection: close; lws: a decided close stands by @saghul in #1149
  • httpserver: cancel a streaming response body when its request closes by @saghul in #1158
  • tls: encrypt large writes in bounded chunks by @saghul in #1155
  • httpserver: cancel a streaming body whose request closed before the handler returned by @saghul in #1159
  • utils: count overlapping buffer pins by @saghul in #1161
  • streams,tls,udp: keep handles alive while write requests are in flight by @saghul in #1154
  • tests: fill and check the overlapping-pin buffers natively by @saghul in #1163
  • channel,sys,streams,udp,webcrypto: refuse to transfer a pinned or immutable ArrayBuffer by @saghul in #1160
  • vm: release resources JS creates during the teardown drain by @saghul in #1162
  • fix fetch header injection, Windows connect hangs and several h2 client stalls by @tarwin in #1165
  • cli: read Windows arguments from the UTF-16 command line by @tarwin in #1164
  • cacert: update by @saghul in #1167
  • ci: bump hono from 4.13.7 to 4.13.11 in /tests/advanced by @dependabot[bot] in #1168
  • build: switch from npm to pnpm 11 by @saghul in #1173
  • docs: update AGENTS.md and sidebars comments for pnpm by @saghul in #1176
  • deps(website): bump serialize-javascript override to ^7.1.4 (GHSA-m5mm-p8h7-m29v) by @saghul in #1177
  • types: reference the dom and esnext.disposable libs by @bangseongbeom in #1179
  • ci: run docs CI on root pnpm and node config changes by @saghul in #1180
  • vm: wait for in-flight requests before tearing down the runtime by @saghul in #1181
  • deps: update libuv to v1.x HEAD (v1.53.0-56-gdd9f081c) by @saghul in #1182
  • core: throw plain Error instead of InternalError from native code by @saghul in #1183
  • deps: update QuickJS by @saghul in #1184
  • modules: load file:// URL specifiers in import(), Worker and tjs run by @saghul in #1185
  • types: fix StaticStringType's incompatible ArrayType overrides by @bangseongbeom in #1178
  • process: close the handle when uv_spawn fails instead of freeing it by @saghul in #1189
  • wasm: keep the Module alive while an Instance uses it by @saghul in #1187
  • tests: add regression test for sync throw with a digest in flight by @saghul in #1188
  • polyfills: copy BufferSources with TypedArray slice so pinned buffers can be imported by @saghul in #1186
  • fetch: copy exactly the viewed bytes for TypedArray and DataView bodies by @saghul in #1191
  • wasm: give each Instance its own imported functions by @saghul in #1190

New Contributors

Full Changelog: v26.6.0...v26.11.0