Skip to content

Releases

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:43
15a65c5

What's Changed

  • docs: add pre-PR verification matrix to AGENTS.md by @Hona in #207
  • fix: support timerless V8 hosts in slice yield and timeout cleanup by @kommander in #208
  • fix(rust): count each live StrId allocation in heap measurement by @kommander in #211
  • fix(rust): account for large BigInts in heap limit measurement by @kommander in #212
  • fix(rust): poll Returned::Block futures cooperatively under async runs by @kommander in #219
  • perf(rust): strobe gates for zero allocs, no leaks and durable snapshots by @opencode-agent[bot] in #213
  • docs(rust): add rust/AGENTS.md with Rust rules, invariants, and gates by @kommander in #217
  • perf(rust): inline packed-Slot element, bitwise, strict-eq, and i32 rem fast paths by @Hona in #206
  • perf(rust): eliminate frame-switch and spare-frame Arc refcount churn by @Hona in #203
  • perf(rust): eliminate per-call allocations and TLS hash lookups on direct and local host calls by @Hona in #205
  • perf(rust): per-instruction property slot hint IC for GetProp and GetMethod by @Hona in #204
  • perf(rust): vectorizable TypedArray.fill, integer conversion and element access fast paths by @Hona in #214
  • perf(rust): add SetProp slot-hint IC and inline .length fast path by @Hona in #220
  • perf(rust): fuse hot loop updates, local comparisons, and indexed element superinstructions by @Hona in #216
  • perf(rust): add local binary arithmetic superinstructions by @Hona in #218
  • perf(rust): inline numeric Math.* calls, num_op! arithmetic, and GetLocal2 by @Hona in #215
  • perf(rust): inline plain closure Op::Call and expand frame-switch Arc cache to 8 slots by @Hona in #221
  • perf(rust): add 3-register numeric arithmetic and u8 fast-load superinstructions by @Hona in #222
  • perf(rust): add deterministic callgrind instruction-count gate script by @kommander in #227
  • perf(rust): reuse LiveSession::enter meters, stack-alloc HostCtx::call args, and add O(1) HostCtx primitives by @Hona in #228
  • perf(rust): direct immediate arithmetic and fused 3/4-local linear-algebra ops by @Hona in #224
  • perf(rust): fuse GetLocal+GetProp into GetPropLocal and pre-reserve operand stack by @Hona in #223
  • perf(rust): add counted for-loop footer and local-immediate-to-local superinstructions by @Hona in #226
  • perf(rust): add binary CompiledModule::to_bytes and from_bytes serialization by @Hona in #229
  • fix(runtime): only resolve module aliases the alias table defines itself by @opencodejr[bot] in #232
  • perf(rust): avoid write barriers on Map/Set reads and fast-path push and literal fields by @simonklee in #210
  • fix(buffer): cap Buffer.alloc, allocUnsafe, concat and from at MAX_ARRAY_LENGTH by @opencodejr[bot] in #233
  • perf(rust): track contained objects to skip cycle walks by @simonklee in #209
  • feat: decide a host function's idempotency per call by @jlongster in #234

New Contributors

  • @opencode-agent[bot] made their first contribution in #213
  • @opencodejr[bot] made their first contribution in #232

Full Changelog: v0.10.0...v0.11.0

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:08
00dd6b6

What's Changed

  • chore(rust): pin-project-lite 0.2.19 (0.2.18 is yanked) by @kommander in #194
  • fix(rust): a resume goes on with the slice's stretch and the CPU clock's backstops by @kommander in #195
  • fix(rust): save std.crypto in snapshots; root std.crypto and std.bigint by @kommander in #196
  • feat(rust): persistent Session and zero-copy HostCtx API by @Hona in #157
  • fix(rust): pause wall slice on async host waits, preserve activeUs, fold once in checkpoint by @kommander in #198
  • fix(rust): support super member tags in tagged templates by @kommander in #200
  • test(rust): don't require <1ms per resume on slow CI runners by @kommander in #201
  • feat(rust): add precompiled named modules with per-module stacks and snapshot durability by @Hona in #159
  • fix(rust): the run drops a host's value of any depth without recursing by @kommander in #186
  • feat(rust): add LiveSession and zero-copy HostCtx primitives by @Hona in #202
  • fix: drop the driver's test-only observerEntries hook; test pruning through behaviour by @jlongster in #199

Full Changelog: v0.9.0...v0.10.0

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 21:22
0b4b60b

What's Changed

  • fix(rust): ephemeron WeakMap/WeakSet GC, MAX_STRINGS reuse, and dynamic atom heap accounting by @Hona in #155
  • chore(rust): psychoscript-mobile and psychoscript-gpu ship the MIT LICENSE by @kommander in #193
  • feat: Host.observe for durable functions, namespaces, properties and plain functions by @jlongster in #192

Full Changelog: v0.8.0...v0.9.0

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 20:03
b39f44e

What's Changed

  • fix(rust): sort Dates, BigInts and other objects without a comparator, as dev's after #116 by @kommander in #161
  • fix(rust): ToNumber of a symbol ends with a full stop, as dev's after #118 by @kommander in #162
  • fix(rust): BigInts lie in [-2^N, 2^N) for N = 2^20 - 64, as dev's after #118 by @kommander in https://github.com//pull/164
  • fix(rust): bound the text of console messages and uncaught values, as dev's after #150 by @kommander in #163
  • feat(rust): Call::raw_strings gives a host tag the raw template strings, as dev's after #156 by @kommander in #165
  • feat(rust): own properties on callable host functions, as dev's after #147 by @kommander in #166
  • feat(rust): full error stacks with async frames, as dev's after #123 (1/2) by @kommander in #167
  • feat(rust): report a failed run as its error and stack, as dev's after #123 (2/2) by @kommander in #168
  • ci(rust): check the Rust implementation and recording drift by @kommander in #160
  • feat(rust): DataView, as dev's after #151 by @kommander in #169
  • chore(rust): psychoscript 0.2.0 and psychoscript-mobile 0.3.0 by @kommander in #170
  • feat: limits.maxValueDepth, the value depth limit Rust has by @kommander in #171
  • feat(rust): Int8Array, Uint8ClampedArray, Int16Array, Float16Array, BigInt64Array and BigUint64Array by @kommander in #173
  • feat: translate functions "mark", the function marker Rust has by @kommander in #172
  • feat(rust): pluggable locale provider (Runtime::locale) by @kommander in #178
  • feat(rust): the typed-array callback, sort and copy methods for every kind by @kommander in #180
  • perf(rust): zero-alloc thread CPU clock reads and trailing heap chunk reclamation by @Hona in #154
  • fix: keep a host tag's raw strings across a suspend by @kommander in #181
  • fix(rust): deep run metadata and durable data move through bytes by @kommander in #182
  • fix(rust): bound a program's compile by its length, for deep nesting and for regex literals by @simonklee in #177
  • fix(rust): the snapshot build id hashes what a snapshot refers to by position by @kommander in #184
  • fix: the host's data of any depth through a suspend, in TS and Rust by @kommander in #185
  • fix(rust): a suspend lands at a function's entry, so loop-free recursion pauses by @kommander in #183
  • feat: Host.Options.source for a host function's name and length by @jlongster in #187
  • feat(rust): expose Run::heap_bytes without the gc-stats feature by @simonklee in #175
  • feat: Host.observe for Fn by @jlongster in #188
  • feat(rust): make source size limit configurable via Limits::max_source_bytes by @simonklee in #176
  • feat: Host.observe for the Promise API by @jlongster in #189
  • fix: Promise Host.observe hides context and survives a throwing stop by @jlongster in #190
  • fix: Host.observe review follow-ups by @jlongster in #191
  • feat(rust): cloneable Runtime, 'static Program, and Runtime::offload(false) by @simonklee in #174

Full Changelog: v0.7.0...v0.8.0

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 03:50
960bb0e

What's Changed

New Contributors

  • @Hona made their first contribution in #153

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 23:37
0fea774

What's Changed

  • feat: report a failed run as its error and stack, as Node prints it by @rekram1-node in #123

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 22:48
e5b92db

What's Changed

  • fix(rust): psychoscript-gpu accepts a device that caps max_non_sampler_bindings (0.1.1) by @kommander in #105
  • perf(vm): step uncaptured number locals in place for i++; by @rekram1-node in #106
  • perf: copy plain host results and JSON directly, and skip conversion arrays for primitive string and Math arguments by @rekram1-node in #107
  • fix(stdlib): sort arrays, Dates and BigInts without a comparator by @rekram1-node in #116
  • perf(vm): keep the main loop fast on JavaScriptCore after many programs by @rekram1-node in #121
  • test(perf): cold, warm, polluted and mixed benchmark cells with a JSC exit gate by @rekram1-node in #117
  • feat: run in browsers by @rekram1-node in #118
  • fix(snapshot): restore Native.wantsSite instead of failing to save it by @rekram1-node in #125
  • perf(vm): map, filter, sort and the other callback built-ins loop natively by @rekram1-node in #124
  • perf(runtime): reuse untouched built-ins between runs and cache compiles by text by @rekram1-node in #122
  • refactor(vm): name the flags that keep a call off the plain-frame path by @rekram1-node in #127
  • fix(rust): unused Value import in psychoscript-mobile's gpu test on hosts without GPU tests by @kommander in #129
  • fix(vm): accept sparse arrays longer than MAX_ARRAY_LENGTH in native callback loops by @simonklee in #130
  • fix(rust): relax idna_adapter to >=1.0, <1.2 so embedders can pin =1.0.0 by @simonklee in #131
  • docs: document suspend/resume durability rule for host APIs by @hearnadam in #149
  • feat(runtime): support own properties on callable host functions by @hearnadam in #147
  • fix(vm): check fuel when new and super() enter a constructor by @rekram1-node in #142
  • perf(stdlib): reduce RegExp call overhead by @rekram1-node in #132
  • perf(compiler): reduce parse and emission allocations by @rekram1-node in #146
  • perf(stdlib): skip conversion wrappers for primitive numbers by @rekram1-node in #134
  • perf(runtime): drop per-step iterator results and Object.entries pairs by @rekram1-node in #144
  • perf(vm): forward default constructors and fast-path new class fields by @rekram1-node in #143
  • perf(snapshot): track accessors while restoring properties by @rekram1-node in #135

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 14:57
cd094bf

What's Changed

  • docs: add Not supported section to README by @jlongster in #70
  • feat: JSON.parse of an object or array says it is probably already parsed by @kommander in #71
  • feat: a default sort over numbers only is numeric, and one over objects asks for a comparator by @kommander in #72
  • fix: reference fixes found while porting the language to Rust by @kommander in #59
  • feat: Runtime.compile runs a program compiled once many times by @kommander in #68
  • perf: skip the cycle walk for inserted values that hold no objects, and list own keys in one pass by @kommander in #74
  • perf: build property slots without object spread by @kommander in #73
  • feat(website): launch flow, talking Sun terminal tour, static page, and perf pass by @jlongster in #77
  • release: deploy website updates to production by @jlongster in #78
  • fix: JSON.parse of an object or array returns it unchanged by @kommander in #79
  • feat: add a Rust implementation of the language by @kommander in #6
  • feat: ArrayBuffer and buffer-backed Uint8Array by @rekram1-node in #75
  • fix(rust): TextDecoder.decode takes an ArrayBuffer, as dev's after #75 by @kommander in #81
  • feat(rust): psychoscript-gpu and psychoscript-mobile, generic; the widget layer moves to opencode by @kommander in #83
  • bench(rust): a corpus of typical programs by phase, and what a waiting run holds by @hearnadam in #84
  • feat(rust): errors from the host's code at the program's line, with their kind (psychoscript 0.1.2, psychoscript-mobile 0.2.0) by @kommander in #96
  • fix(website): remember the visitor as soon as the tab is taken by @thdxr in #97
  • perf(rust): the fresh runtime is made once per process and copied by each run by @hearnadam in #85
  • perf(rust): the object heap in fixed chunks, and arenas that move rather than realloc by @hearnadam in #86
  • perf(rust): 16-byte property entries, with room for exactly what an object is made with by @hearnadam in #87
  • perf(rust): a run reads the image's built-ins in place until it writes one by @hearnadam in #88
  • perf(rust): a run collects while it waits for the host by @hearnadam in #89
  • perf(rust): BigInt in the value word under 31 bits, in its heap slot up to 128 by @hearnadam in #90
  • perf(rust): toFixed in machine arithmetic by @hearnadam in #91
  • perf(rust): substring search with memchr, split without a string per piece by @hearnadam in #92
  • perf(rust): JSON.parse reads a string without escapes in place by @hearnadam in #93
  • perf(rust): keep the parse arena per thread, skip the nesting scan for short programs by @hearnadam in #94
  • chore(rust): psychoscript 0.1.3 with the perf stack (#85–#94) by @kommander in #101
  • feat: Function.prototype.toString returns a program function's source text by @rekram1-node in #103

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 05:18
73bcea7

What's Changed

  • feat: add BigInt with a size cap by @rekram1-node in #33
  • feat: add landing page under website/ by @kitlangton in #45
  • fix: add Uint8Array byteLength and byteOffset by @rekram1-node in #48
  • fix: matchAll iterator, String.raw string raw, and string keys by code unit by @rekram1-node in #50
  • fix: reject Promise.try non-functions and accept bound executors by @rekram1-node in #51
  • fix: JSON.parse reviver context, Array toString via join, add Array.fromAsync by @rekram1-node in #57
  • fix: match JS for Object.fromEntries values, own-property checks and toString tags by @rekram1-node in #58
  • fix: add type, clone() and reader.closed to host fetch responses by @rekram1-node in #54
  • fix: match JS for RegExp(r) identity, match groups, and RegExp.prototype getters by @rekram1-node in #49
  • fix: honor locales and options in Number, BigInt and Array toLocaleString by @rekram1-node in #52
  • fix: fill Uint8Array, Buffer and TextEncoder gaps with Bun by @rekram1-node in #55
  • fix: console prints nested undefined, tables with functions, and adds assert, count, group, trace, time by @rekram1-node in #53
  • fix: support Symbol.toPrimitive, Symbol.toStringTag and Symbol.prototype by @rekram1-node in #56

New Contributors

Full Changelog: v0.2.1...v0.3.0

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 15:45
4fff259

What's Changed

  • fix(effect): run Effects from plain host functions, keep host fn name and length by @jlongster in #10

Full Changelog: v0.2.0...v0.2.1