Changelog of @hackage/valiant 0.1.0.0

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0.0 - 2026-04-25

Initial release. Runtime library on top of pg-wire. Re-exports the connection and pool APIs and adds:

  • Binary codecs for the common PostgreSQL types: numerics, text, time, UUID, JSON / JSONB, hstore, inet, macaddr, point, ranges, arrays, composites, enums.
  • A typed Statement p r value, query execution (fetchOne/fetchAll/fetchScalar/fetchExists/...), command execution (execute/executeReturning/executeBatch), pipelined batch execution.
  • Server-side cursor streaming (withCursor, fetchBatch, fetchAllCursor).
  • COPY in/out (binary and CSV), large objects, LISTEN/NOTIFY, advisory locks, transactions with isolation levels.
  • refine and refineWith combinators in Valiant.Binary.Decode for validating decoded values against extra invariants without a full PgDecode instance.
  • fetchAllUnboxed: an unboxed-vector variant of fetchAllVec for fixed-size primitive result columns. Eliminates per-element pointer indirection for Int32 / Int64 / Double / Bool and tuples of those.