Skip to content

1.2.0

Choose a tag to compare

@unadlib unadlib released this 24 Feb 14:34
· 576 commits to main since this release

coaction v1.2.0

This release focuses on runtime correctness, sync reliability, and adapter hardening across the monorepo.

Highlights

  • Strengthened async client/server synchronization in core:
    • Added strict validation for fullSync payloads.
    • Prevented stale sequence rollbacks and stale fallback acceptance.
    • Improved sequence mismatch recovery behavior.
    • Added compatibility for legacy execute transport responses.
    • Ensured transformed patch output is what gets emitted to clients.
  • Improved transport error handling:
    • Avoided error-envelope collisions with user payloads.
    • Guarded update listeners from unhandled fullSync failures.
  • Improved action execution consistency:
    • Worker transport now correctly awaits async action results.

Middleware and Collaboration Improvements

  • @coaction/history
    • Added cycle-safe snapshot/equality handling.
    • Ignored inherited properties during snapshotting.
    • Fixed DTS-safe snapshot typing for build stability.
  • @coaction/persist
    • Hydration now completes correctly even on rehydrate errors.
    • Added microtask fallback when queueMicrotask is unavailable.
    • Catches async storage write rejections safely.
  • @coaction/yjs
    • Added microtask fallback when queueMicrotask is unavailable.
    • Expanded multiplayer sync hardening and integration coverage.

Adapter Hardening

  • @coaction/redux
    • Sanitization now strips only own payload properties.
    • Properly unsubscribes Redux listeners on store destroy.
  • @coaction/pinia
    • Ignores inherited and non-function getters during binding.
  • @coaction/logger
    • Always closes action log groups even when setState throws.
  • @coaction/react, @coaction/vue, @coaction/solid, @coaction/alien-signals
    • Switched selector generation to own-key iteration to avoid inherited-key
      pollution.

Quality and CI

  • Expanded branch/integration coverage across packages.
  • Fixed Node CI failure in DTS generation for @coaction/history.
  • Full build/test/e2e pipelines pass on the release branch.

Breaking Changes

  • None intended for standard usage.

Full Changelog: v1.1.0...v1.2.0