Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/full-camels-build.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/rename-scope-and-globals.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/durable-isolates/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# durable-isolates

## 0.1.1

### Patch Changes

- 6c7e93b: chore: bump versions
- 00556af: Align vocabulary with iso4: rename the prepare/execute/globals/scope surface.

- **`hydrate` → `prepare`**: `DurableIsolates.hydrate` → `.prepare`, `HydrateOptions` → `PrepareOptions`. Mirrors iso4's `sandbox.prepare()` (0.4.1), the operation this wraps. `execute` is unchanged and now matches iso4's `prefix.execute()`; the kernel calls iso4's canonical `prepare()`/`execute()` instead of the deprecated `precompile()`/`run()`.
- **host callables → `globals`** (iso4's term for host-provided callables), replacing "handlers": `ModuleDefinition.handlers` → `.globals`, `ExecuteOptions.handlers` → `.globals`, with the types `HostHandler` → `HostGlobal`, `HandlerMap` → `GlobalMap`, `PerExecuteHandlers` → `PerExecuteGlobals`.
- **ambient boundary-key `prefix` → `scope`** (in-sandbox, ALS-backed), freeing "prefix" for iso4's own `Prefix` (the precompiled snapshot) — the two are unrelated concepts that previously collided across the two stacked packages.

Requires `@iso4/sandbox` >= 0.4.1 (for `prepare()`/`execute()`).

Breaking: update `hydrate(...)` → `prepare(...)`, `handlers:` → `globals:`, and any references to the renamed types.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/durable-isolates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "durable-isolates",
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"description": "The replay kernel for durable-workflows: durably execute one isolate program over a log, built on top of iso4",
"keywords": [
Expand Down
Loading