This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
Releases: vapor-community/postgresql
Releases · vapor-community/postgresql
2.2.0
PostgreSQL 2.1.2
This release fixes a critical issue that affected parsing numeric values from the database (#76).
Updating is highly recommended.
PostgreSQL 1.1.1
Changes:
- The package now explicitly depends on vapor-community/cpostgresql to support successful builds in the future, no matter how Vapor repos are renamed.
PostgreSQL 2.1.1 – Highly Recommended
This release fixes a memory leak in the C bindings, which caused memory to slowly trickle with every SQL operation executed by the driver. Updating is highly recommended.
Thanks to @kzaher for the fix.
PostgreSQL 2.1
New:
- Preliminary Swift 4 support.
PostgreSQL 2.0.2
Fixes:
- Some numeric values (e.g. the result of
AVG(x)
) were parsed incorrectly. #48
PostgreSQL 2.0.1
Changes:
- Removed the dependency on
tzdata
on Linux (this fixes #43).
PostgreSQL 2.0.0
Changes:
- Compatible with Node 2.0 and Fluent 2.0!
- Added support for LISTEN and NOTIFY (thanks @johnbona!)
- Improved error messaging
- Added support for Date types
- Added support for master and read replicas. (
init
parameter changed fromhost
tohostname
)
PostgreSQL 2.0.0 Beta 4
Changes:
- Moved all methods from
Database
toConnection
, leavingDatabase
to be a simple class containing all the information to connect to a database. - Updated
PostgreSQLError
and replaced all uses ofDatabaseError
with it. - Created method for performing multiple queries in one transaction, using a specific isolation level.
- Added option to the
listen
function to stop listening. - Prevented the
listen
function from crashing with a fatal error. Now an error is returned instead. - Refactored all binding code into a similar structure as Vapor MySQL.
- Implemented handling of
Date
, instead of parsing the date into a string. - Added unit tests for the new date type parsing.
PostgreSQL 2.0.0 Beta 3
Fixed:
- infinite loop when calling the
execute(...) -> Node
extension on a Connection.