github Effect-TS/effect @effect/platform-node@4.0.0-beta.102

Patch Changes

  • #6618 7a03c89 Thanks @tim-smart! - unstable/cluster: hash over-length SQL message deduplication keys to prevent message_id overflow, closes #6317.

    The composed request deduplication key (entityType/entityId/tag/primaryKey) can legally exceed the 255-character message_id column — the address columns alone allow 458 characters before the RPC primary key is appended. SqlMessageStorage now stores a SHA-256 digest (64 hex characters) of the composed key in the unique message_id column when the key exceeds 255 characters, so keys of any length work on PostgreSQL, MySQL, MSSQL, and SQLite. Keys that fit are stored as plaintext, byte-compatible with rows written by previous versions, so existing deployments keep deduplicating with no migration or schema change.

    SqlMessageStorage.layer/layerWith (and consequently SingleRunner.layer) now require Crypto.Crypto. The Node and Bun cluster convenience layers provide the platform Crypto implementation internally, so their requirements are unchanged.

  • Updated dependencies [b6392e1, 7ed9450, 45762bd, a6e8391, 4ac7e8b, 4cd40f5, 6956bc0, 0e50ec7, 9fcdade, 57367d5, 35c445f, c917bb9, bc1f358, 0e0c9d7, 73d40aa, 4f1e318, 9d8d85c, 6079fda, 5101e92, d0b3265, 7a03c89, cea1d9c, 078e1f5, 97bafea, fab0ab8, c323d8b, 6966353, 0444004, 028bbb3, ff5d6e2, 1bfce93, 7ce815c, 7271a7f, 475fe5c]:

    • effect@4.0.0-beta.102
    • @effect/platform-node-shared@4.0.0-beta.102

Don't miss a new effect release

NewReleases is sending notifications on new releases.