Skip to content

0.4.0

Choose a tag to compare

@zaiev zaiev released this 13 Oct 20:49
· 14 commits to main since this release
  • Breaking: Conninfo.t, Conninfo.endpoint and Conninfo.auth_methods are private records. Their fields are read as before, and one is made by Conninfo.of_string, so a key the driver comes to read is not a breaking change. { c with database = name } is Conninfo.with_database c name, { c with connect_timeout = Some span } is Conninfo.with_connect_timeout c span, and any other key is set in the connection string.
  • Breaking: Postgres_eio.Protocol and Postgres_eio.Auth are no longer exported, so a message the protocol gains is not a breaking change. status returns Postgres_eio.transaction_status: match Postgres_eio.Idle, not Postgres_eio.Protocol.Idle. Column.format is a type of its own, with the same constructors.