Packages
postgrex
0.8.2
1.0.0-rc.1
retired
1.0.0-rc.0
retired
0.22.3
0.22.2
0.22.1
0.22.0
0.21.1
0.21.0
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.0
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.5
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.15.13
0.15.12
0.15.11
0.15.10
0.15.9
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.3
0.14.2
0.14.1
0.14.0
0.14.0-rc.1
0.14.0-rc.0
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.13.0-rc.0
0.12.2
0.12.1
0.12.0
0.11.2
0.11.1
0.11.0
0.10.0
0.9.1
0.9.0
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.2
PostgreSQL driver for Elixir
Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# v0.8.2 (2015-06-01)
* Enhancements
* Add `:socket_options` option to `Connection.start_link/1`
* Improved performance regarding binary handling
* Add hstore support
* Backwards incompatible changes
* Remove `:async_connect` option and make it the default
# v0.8.1 (2015-04-09)
* Enhancements
* Keep the postgres error code in `:pg_code`
* Support oid types and all its aliases (regclass etc)
* Backwards incompatible changes
* Rename `:msec` field to `:usec` on `Postgrex.Time` and `Postgrex.Timestamp`
* Bug fixes
* Fix numeric encoding for fractional numbers with less digits than the numeric base
* Support encoding `timetz` type
* Fix time and timestamp off-by-one bounds
# v0.8.0 (2015-02-26)
* Enhancements
* Add extensions
* Encode/decode ranges generically
* Add bounds when encoding integer types to error instead of overflowing the integer
* Log unhandled Postgres errors (when it cant be replied to anyone)
* Add support for enum types
* Add support for citext type
* Add microseconds to times and timestamps
* Add the ability to rebootstrap types for an open connection
* Backwards incompatible changes
* Remove the support for type-hinted queries
* Remove encoder, decoder and formatter functions, use extensions instead
* Use structs for dates, times, timestamps, interval and ranges
* Change the default timeout for all operations to 5000ms
* Show Postgres error codes as their names instead
# v0.7.0 (2015-01-20)
* 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 (2014-09-07)
* 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 (2014-08-20)
* Enhancements
* Reduce the amount of intermediary binaries constructed with the help of `iodata`
# v0.5.4 (2014-08-04)
# v0.5.3 (2014-07-13)
# v0.5.2 (2014-06-18)
# v0.5.1 (2014-05-24)
* Backwards incompatible changes
* `Postgrex.Error` exception converted to struct
# v0.5.0 (2014-05-01)
* Backwards incompatible changes
* `Postgrex.Result` and `Postgrex.TypeInfo` converted to structs
# v0.4.2 (2014-04-21)
* 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 (2014-01-16)
* Enhancements
* Numerics decode and encode to Decimal
# v0.3.1 (2014-01-15)
* Enhancements
* Compact state before printing to logs and hide password
* Concurrency support, safe to use connection from multiple processes concurrently
# v0.3.0 (2013-12-16)
* 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
# v0.2.1 (2013-12-10)
* Enhancements
* Add support for SSL
* Bug fixes
* Fix decoding of unknown type when using custom decoder
# v0.2.0 (2013-11-14)
* Enhancements
* Floats handles NaN, inf and -inf
* Add support for numerics
* Custom encoders and decoders works on elements in arrays
* Add support for composite types
* Add functions that raise on error
* Bug fixes
* INSERT query works with extended query parameters
* Return proper `num_rows` on PostgreSQL 8.4
* Fix race condition
* Backwards incompatible changes
* Simplify custom decoding and encoding with default function
# v0.1.0 (2013-10-14)
First release!