Skip to content

Releases: elixir-ecto/postgrex

v0.7.0

20 Jan 16:17
Compare
Choose a tag to compare

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

07 Sep 15:55
Compare
Choose a tag to compare

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

20 Aug 16:47
Compare
Choose a tag to compare

Enhancements

  • Reduce the amount of intermediary binaries constructed with the help of iodata

v0.5.2

18 Jun 21:15
Compare
Choose a tag to compare
Release v0.5.2

v0.5.1

24 May 12:20
Compare
Choose a tag to compare

Backwards incompatible changes

  • Postgrex.Error exception converted to struct

v0.5.0

01 May 18:32
Compare
Choose a tag to compare

Backwards incompatible changes

  • Postgrex.Result and Postgrex.TypeInfo converted to structs

v0.4.2

22 Apr 20:02
Compare
Choose a tag to compare

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

22 Apr 20:02
Compare
Choose a tag to compare

Enhancements

  • Numerics decode and encode to Decimal

v0.3.1

15 Jan 19:14
Compare
Choose a tag to compare

Enhancements

  • Compact state before printing to logs and hide password
  • Concurrency support, safe to use connection from multiple processes concurrently

V0.3.0

15 Jan 19:12
Compare
Choose a tag to compare

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