Releases: elixir-ecto/postgrex
Releases · elixir-ecto/postgrex
v0.7.0
Enhancements
- Add asynchronous notifications through
listen
and unlisten
- Add support for range types
- Add support for uuid type
- Add
:async_connect
option to start_link/1
Bug fixes
- Fix encoding
nil
values in arrays and composite types
v0.6.0
Enhancements
- Queries can be constructed of
iodata
- Support "type hinted" queries to save one client-server round trip which will reduce query latency
Backwards incompatible changes
Postgrex.Error
postgres
field is converted from keyword list to map
Postgrex.Connect.query
params
parameter is no longer optional (pass an empty list if query has no parameters)
- The
timeout
parameter for all functions have been moved to a keyword list with the key :timeout
v0.5.5
Enhancements
- Reduce the amount of intermediary binaries constructed with the help of iodata
v0.5.1
Backwards incompatible changes
- Postgrex.Error exception converted to struct
v0.5.0
Backwards incompatible changes
- Postgrex.Result and Postgrex.TypeInfo converted to structs
v0.4.2
Enhancements
- Add timeouts to all synchronous calls. When a timeout is hit an exit error will be raised in the caller process and the connection process will exit
- Add automatic fallback to environment variables PGUSER, PGHOST and PGPASS
v0.4.0
Enhancements
- Numerics decode and encode to Decimal
v0.3.1
Enhancements
- Compact state before printing to logs and hide password
- Concurrency support, safe to use connection from multiple processes concurrently
V0.3.0
Bug fixes
- Don't try to decode values of text format
Backwards incompatible changes
- Types are stored as binaries instead of atoms, update your custom encoders and decoders