@vzsg vzsg released this May 22, 2018

Assets 2

This release fixes a critical issue that affected parsing numeric values from the database (#76).
Updating is highly recommended.

@vzsg vzsg released this Jan 16, 2018

Assets 2

Changes:

  • The package now explicitly depends on vapor-community/cpostgresql to support successful builds in the future, no matter how Vapor repos are renamed.

@vzsg vzsg released this Dec 1, 2017 · 6 commits to master since this release

Assets 2

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.

@sroebert sroebert released this Sep 5, 2017 · 18 commits to master since this release

Assets 2

New:

  • Preliminary Swift 4 support.

@vzsg vzsg released this Jun 15, 2017 · 24 commits to master since this release

Assets 2

Fixes:

  • Some numeric values (e.g. the result of AVG(x)) were parsed incorrectly. #48

@sroebert sroebert released this May 22, 2017 · 37 commits to master since this release

Assets 2

Changes:

  • Removed the dependency on tzdata on Linux (this fixes #43).

@natebird natebird released this May 17, 2017 · 41 commits to master since this release

Assets 2

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 from host to hostname)

@sroebert sroebert released this May 13, 2017 · 45 commits to master since this release

Assets 2

Changes:

  • Moved all methods from Database to Connection, leaving Database to be a simple class containing all the information to connect to a database.
  • Updated PostgreSQLError and replaced all uses of DatabaseError 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.

@vzsg vzsg released this Apr 25, 2017 · 59 commits to master since this release

Assets 2

Fixed:

  • infinite loop when calling the execute(...) -> Node extension on a Connection.
Pre-release

@natebird natebird released this Apr 7, 2017 · 62 commits to master since this release

Assets 2

New:

  • Support for LISTEN and NOTIFY (thanks @johnbona!)
  • Add Error class for better error messaging.
  • Add Context class with isPostgreSQL var.

Changes:

  • Rename connection parameter from host to hostname. This allows for supporting master and read replica in PostgreSQL Driver.
  • Rename connected boolean to isConnected.
  • Rename connection pointer to cConnection.
  • Rename error var to lastError.
  • Move all connection tests into the ConnectionTests file.