b3a7f98e5a
CI / E2E Cloudflare (4/8) (push) Failing after 0s
CI / E2E Cloudflare (8/8) (push) Failing after 1s
CI / Lint (push) Failing after 1s
Auto Extract / Extract (push) Failing after 4s
CI / Version Check (push) Failing after 9s
CI / Integration Tests (push) Failing after 1s
CI / E2E tests (1/8) (push) Failing after 1s
CI / E2E tests (2/8) (push) Failing after 2s
CI / E2E tests (3/8) (push) Failing after 2s
CI / Browser Tests (push) Failing after 1s
CI / E2E tests (5/8) (push) Failing after 1s
CI / E2E Cloudflare (2/8) (push) Failing after 2s
CI / Typecheck (push) Failing after 1s
CI / Changeset Validation (push) Failing after 2s
CI / E2E Cloudflare (5/8) (push) Failing after 1s
CI / E2E Cloudflare (6/8) (push) Failing after 1s
CI / E2E Cloudflare (7/8) (push) Failing after 1s
CodeQL / Analyze (javascript-typescript) (push) Failing after 1s
Format / Format (push) Failing after 0s
CodeQL / Analyze (actions) (push) Failing after 4s
CI / E2E tests (4/8) (push) Failing after 1s
CI / E2E tests (6/8) (push) Failing after 1s
CI / E2E tests (7/8) (push) Failing after 2s
CI / E2E tests (8/8) (push) Failing after 1s
CI / E2E Cloudflare (1/8) (push) Failing after 1s
CI / E2E Cloudflare (3/8) (push) Failing after 2s
Preview Releases / Publish Preview (push) Failing after 0s
zizmor / Run zizmor (push) Failing after 1s
Release / Release (push) Failing after 2s
CI / Smoke Tests (push) Failing after 5m36s
CI / Tests (push) Failing after 6m36s
Release / Sync Templates (push) Has been skipped
CI / E2E Tests (push) Has been cancelled
20 KiB
20 KiB
@emdash-cms/sandbox-workerd
0.2.0
Minor Changes
- #1719
7c5de08Thanks @swissky! - Adds ataxonomies:readplugin capability with read-only taxonomy access: plugins that declare it getctx.taxonomiesto list taxonomy definitions (getAll()), fetch the terms of a taxonomy (getTerms()), and read the terms assigned to a content entry (getEntryTerms()) — in-process and in both sandbox runners.
Patch Changes
- Updated dependencies [
582ea2c,77e8968,e12f393,e4e76f5,0360900,cbc7d6b,15f4057,1526f96,b116525,7c5de08,450ea81,58f594b,c57b12b,9c0733f,60811c0]:
0.1.19
Patch Changes
0.1.18
Patch Changes
- Updated dependencies [
1866fa3,b36d15c,a3ec23d,cdca719,ee5bfe6,a9e9dde,a9e9dde,7d16d95,dd05063,e2dd273,92fd412,932f4ba,15b4d2d]:
0.1.17
Patch Changes
0.1.16
Patch Changes
- Updated dependencies [
facdcfc,f44a277,971c627,e5b95e1,13b87b7,8f7604d,5dea403,3d80be5,d1116ae,192741f,737da19,5299d38]:
0.1.15
Patch Changes
0.1.14
Patch Changes
0.1.13
Patch Changes
0.1.12
Patch Changes
0.1.11
Patch Changes
- Updated dependencies [
b4d7228,d74269d,e39984f,280b877,7fca12f,fd077e0,9ebb47e,8c7bc81,55613e1,c5f58b9,bd6cc3a,c056060,c43c412,b5ea8e7,c5f58b9]:
0.1.10
Patch Changes
- Updated dependencies [
0bfab91,cf17c9f,707edee,a36b5f3,d46abfd,ed921d8,6a97bac,c219aff,640e60a,ca47da4,cb1c689,a623c6b]:
0.1.9
Patch Changes
0.1.8
Patch Changes
- Updated dependencies [
141aa11,7688f0b,c7166b0,9c994ad,eddaf91,afc3a0f,3d423a7,b01aa9b,3e344af,7688f0b,8807701]:
0.1.7
Patch Changes
- Updated dependencies [
e96587f,023893a,f41092b,cedfcc5,c63f9ca,61ea3c9,a4c2af2,850c1b7,c39789c]:
0.1.6
Patch Changes
0.1.5
Patch Changes
0.1.4
Patch Changes
0.1.3
Patch Changes
- Updated dependencies [
cd2dcc6,62c170f,ee67273,28432b9,9422d6a,1f8190d,67f5992,a40e455,69bdc97,5e7f835,590b2f9,cd2dcc6]:
0.1.2
Patch Changes
- Updated dependencies []:
0.1.1
Patch Changes
- Updated dependencies [
e312528,668c5e1,f62c004,47a8350,5456514,60c0b2e,1a4918f,7554bd3,33f76b8,e9877e1]:
0.1.0
Minor Changes
- #426
02ed8baThanks @BenjaminPrice! - Adds workerd-based plugin sandboxing for Node.js deployments.- emdash: Adds
isHealthy()toSandboxRunnerinterface,SandboxUnavailableErrorclass,sandbox: falseconfig option,mediaStoragefield onSandboxOptions, and exportscreateHttpAccess/createUnrestrictedHttpAccess/PluginStorageRepository/UserRepository/OptionsRepositoryfor platform adapters. - @emdash-cms/cloudflare: Implements
isHealthy()onCloudflareSandboxRunner. FixesstorageQuery()andstorageCount()to honorwhere,orderBy, andcursoroptions (previously ignored, causing infinite pagination loops and incorrect filtered counts). AddsstorageConfigtoPluginBridgePropssoPluginStorageRepositorycan use declared indexes. - @emdash-cms/sandbox-workerd: New package.
WorkerdSandboxRunnerfor production (workerd child process + capnp config + authenticated HTTP backing service) andMiniflareDevRunnerfor development.
- emdash: Adds
Patch Changes
-
#1144
c50c3b2Thanks @ascorbic! - Aligns thekyselypeer dependency with the rest of the monorepo (>=0.29.0) and switches the dev/peer references to the workspace catalog so all packages bump in lockstep going forward. -
#1147
20c87feThanks @ascorbic! - Tightens the workerd sandbox internals so the package now lints and type-checks cleanly.- Bridge call bodies are validated with predicate-backed
require*/optional*helpers instead of uncheckedascasts. A misbehaving plugin that sends a malformed JSON-RPC body now gets a clear "Parameter X must be Y" error rather than triggering a downstream type confusion. - Content table access (
ec_*collections) is centralised behind a typedasContentDb()helper. Known tables (users,media,_plugin_storage) drop theiras keyof Databasecasts entirely. - HTTP
initmarshalling validates each field at the bridge boundary, including form-data parts. - The backing service uses a typed
HttpErrorclass for status-bearing errors and validates incoming chunks/body shape defensively. getPluginStorageConfig()returns the realPluginStorageConfigshape from the manifest instead ofRecord<string, unknown>.WorkerdSandboxedPluginnow implements the correctSandboxedPluginInstanceinterface (the oldSandboxedPluginsymbol did not exist).- Adds a
typecheckscript (tsgo --noEmit) so the package participates inpnpm typecheckgoing forward.
No runtime behaviour changes.
- Bridge call bodies are validated with predicate-backed
-
Updated dependencies [
02ed8ba,11b3001,fae97ee,88f544d,9a30607,d0ff94b]: