Skip to content

Latest commit

 

History

History
90 lines (64 loc) · 3.09 KB

CHANGELOG.md

File metadata and controls

90 lines (64 loc) · 3.09 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.8.5] - 2017-06-22

* Chrono 0.3 -> 0.4.

[0.8.4] - 2017-06-01

+ OID 1184 (timestamptz) is now converted into a number of seconds since UNIX epoch.

[0.8.3] - 2017-05-02

! Prevent an integer overflow from overflowing the statement_timeout.

[0.8.2] - 2017-05-01

! Avoid a situation when too small a timeout prevents us from removing it.

[0.8.1] - 2017-04-28

+ The database error messages are now prefixed with the SQLSTATE code.

[0.8.0] - 2017-04-27

+ Database-level timeouts are implemented (using "SET statement_timeout")!

[0.7.1] - 2017-04-24

+ Unit tests now have the ability to emulate server errors.
! Fixed a panic happening during a database restart.

[0.7.0] - 2017-04-20

* Serde 0.8 -> 1.0.

[0.6.0] - 2017-04-07

+ PgOperation now has a callback which can be used to check on the escaped SQL.

[0.5.2] - 2017-04-03

+ The OID 705 (returned for SELECT 'foo') is now treated as an UTF-8 string in the JSON deserialization code.

[0.5.1] - 2017-03-30

! Ignore the wake-up pipe overflows.

[0.5.0] - 2017-03-21

* Serde 0.8 -> 0.9.
* InlinableString -> InlLiteral.
+ PgRow::col_deserialize unpacks a single column value.

[0.4.5] - 2017-03-20

+ Support deserializing u8 "char" type (oid 18).

[0.4.4] - 2017-03-14

! Fixed to use the PQresetStart instead of the blocking PQreset.
+ Support InlinableString literals in order not to heap so much.

[0.4.3] - 2017-02-12

+ Serializing individual columns with PgRow::col_json.

[0.4.2] - 2017-02-09

+ JSON serialization now supports PostgreSQL "boolean".

[0.4.1] - 2017-02-01

+ Implemented PgResult::deserialize, conveniently unpack query results into a Serde struct.

[0.4.0] - 2017-01-30

+ Simplify the client side of fn execute error handling by lifting the errors into the future.
+ JSON serialization for a single row.

[0.3.7] - 2017-01-24

+ Automatically reconnect after an "SSL SYSCALL error".

[0.3.6] - 2017-01-23

+ In PgResult::to_json unpack the json and jsonb PostgreSQL types.

[0.3.5] - 2017-01-19

+ Operations can now be pinned to a particular connection.

[0.3.4] - 2017-01-17

+ A way to escape binary data was added (Bytea).

[0.3.3] - 2017-01-11

+ Experimental reconnection support.
+ SQLSTATE error code is copied to PgSqlErr errors.

[0.3.2] - 2017-01-10

+ JSON conversion supports enums by stringifying any ASCII user types.
+ Patreon badge. In case you want to thank me or help me stay afloat and develop this driver.

[0.3.1] - 2016-12-31

+ Print the error details when the pipeline SQL fails.
+ Method PgResult::fname to get the name of a column.
+ Method PgRow::num to get the number of a row.
+ Errors related to JSON conversions can now be encoded in PgFutureErr.
+ PgResult::to_json converts the query results into a JSON structure.