- Renamed to
pog
. - Configuration and query API redesigned.
- Introduced the
Date
,Time
, andTimestamp
types. - The default connection pool size is now 10.
- Ensure
ssl
andpgo
are running before usinggleam_pgo
.
- Add ability to return rows as maps instead of tuple.
- Host CA certs are now used to verify SSL by default.
- Added the
transaction
function andTransactionError
type.
- Provided functions for handling date values. The
date
function coerces a#(Int, Int, Int)
value representing#(year, month, day)
into aValue
. Thedecode_date
function can be used to decode a dynamic value returned from the database as a date in the same tuple format.
- The
uri_config
function now accepts thepostgresql://
scheme as well as thepostgres://
scheme.
- Provided functions for handling timestamp values. The
timestamp
function coerces a#(#(Int, Int, Int), #(Int, Int, Int))
value representing#(#(year, month, day), #(hour, minute, second))
into aValue
. Thedecode_timestamp
function can be used to decode a dynamic value returned from the database as a timestamp in the same nested tuple format.
- Added
array
column handling, accepting aList
as value.
- The password is now optional in the
url_config
function, defaulting to no password if none is given.
- Relaxed the stdlib version constraint.
- Updated for Gleam v0.32.0.
- Updated for Gleam v0.30.0.
- Updated for Gleam v0.27.0.
- IPv6 is now supported through a config option.
- Added the
ConnectionUnavailable
error variant.
- Migrate to the Gleam build tool.
- API redesigned.
- Dependencies updates and versions relaxed.
- Initial release.