diff --git a/.changeset/full-camels-build.md b/.changeset/full-camels-build.md deleted file mode 100644 index 064ffae..0000000 --- a/.changeset/full-camels-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"durable-isolates": patch ---- - -chore: bump versions diff --git a/.changeset/rename-scope-and-globals.md b/.changeset/rename-scope-and-globals.md deleted file mode 100644 index ea72716..0000000 --- a/.changeset/rename-scope-and-globals.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"durable-isolates": patch ---- - -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. diff --git a/packages/durable-isolates/CHANGELOG.md b/packages/durable-isolates/CHANGELOG.md index 5726214..3baae60 100644 --- a/packages/durable-isolates/CHANGELOG.md +++ b/packages/durable-isolates/CHANGELOG.md @@ -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 diff --git a/packages/durable-isolates/package.json b/packages/durable-isolates/package.json index b392cf3..002e6d2 100644 --- a/packages/durable-isolates/package.json +++ b/packages/durable-isolates/package.json @@ -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": [