Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 18:11
· 20 commits to main since this release
7e48f3b
  • Add runtime.reconciliation.outcomesFor() and
    runtime.reconciliation.instancesFor(), SQL-only batch reads of up to 1,000
    ids that leave out ids without a row. outcomesFor() returns each message's
    status, error, rejection, attempts, idempotency key, effect id for an effect
    callback, and the dead-letter retry links in both directions, under the
    administration action outcomesFor. instancesFor() returns each actor's
    stored state version, revision, and paused status without activating or
    migrating it, under the administration action instancesFor. Document the
    effect callback keys effect:<effectId>:success and
    effect:<effectId>:failure as a stable contract, and that idempotency keys
    deduplicate only within message retention.

  • Behavior change: a message that completes or is rejected after failed
    attempts no longer reports an earlier attempt's error, on both the SQL and
    Durable Objects adapters, matching Solid Objects Ruby.
    messageReference.outcome() and runtime.reconciliation.outcomesFor() report
    error: undefined for every completed or rejected message, including rows an
    older version stored with an error, without a migration. Dead messages keep
    their last error, messages waiting to retry keep theirs, and attempts still
    counts every try. Callers that read error on completed messages should
    decide from status instead.

  • Update GitHub Actions and development dependencies. actions/setup-node
    moves from 6.5.0 to 7.1.0, and softprops/action-gh-release from 2.6.2 to
    3.0.4. The minor-and-patch group updates @cloudflare/vitest-plugin from
    1.1.4 to 1.8.5, @cloudflare/workers-types from 5.20260904.1 to
    5.20261120.1, @playwright/test from 1.62.1 to 1.65.1, mysql2 from
    3.23.3 to 3.24.6, pg from 8.23.0 to 8.23.1, @types/pg from 8.21.0 to
    8.23.1, prettier from 3.9.6 to 3.10.1, redis from 6.2.1 to 6.3.1,
    signal-polyfill from 0.2.2 to 0.2.3, vite from 8.3.4 to 8.3.8,
    wrangler from 4.129.0 to 4.165.0, ws from 8.21.3 to 8.23.0, and
    @types/ws from 8.18.1 to 8.18.2.

Install with npm install solid-objects@1.2.0.

See the full changelog and correctness boundaries.