Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 13:58
· 202 commits to main since this release
ab04866
  • @streamsy/core@0.4.0
  • @streamsy/projection@0.4.0
  • @streamsy/serve@0.4.0
  • @streamsy/storage@0.4.0

Streamsy 0.4: a new library, written in Effect (ed5fc77)

Streamsy 0.4 is a complete rewrite in Effect 4. It shares only the name and the Durable Streams protocol with the 0.2 releases. No code or API carries over, so treat it as a new library and not as an upgrade.

Four packages ship together and share one version:

  • @streamsy/core has the protocol, typed stream refs, stream services, a memory Layer, the HTTP app and a remote client.
  • @streamsy/storage is new. It stores streams in SQLite on Bun and in Durable Objects.
  • @streamsy/projection is new. It runs checkpointed projections with named stream, rows and value outputs.
  • @streamsy/serve is new. It has HttpRouter routes, the Bun and Cloudflare hosts and action delivery.

effect is now a peer dependency (^4.0.5), so install it beside Streamsy:

bun add @streamsy/core effect

The guides and API reference are at streamsy.dev.