From f0e1622d4ca4310ee45383c5e0594a04f8ce8716 Mon Sep 17 00:00:00 2001 From: brianc Date: Tue, 7 Jun 2016 16:49:21 -0500 Subject: [PATCH] Update changelog for 5.0 --- NEWS.md => CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) rename NEWS.md => CHANGELOG.md (96%) diff --git a/NEWS.md b/CHANGELOG.md similarity index 96% rename from NEWS.md rename to CHANGELOG.md index b117232c..396b91ae 100644 --- a/NEWS.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ For richer information consult the commit log on github with referenced pull req We do not include break-fix version release in this file. +### v5.0.0 + +#### Breaking Changes +- `require('pg').native` now returns null if the native bindings cannot be found; previously, this threw an exception. + +#### New Features +- better error message when passing `undefined` as a query parameter +- support for `defaults.connectionString` +- support for `returnToHead` being passed to [generic pool](https://github.com/coopernurse/node-pool) + ### v4.5.0 - Add option to parse JS date objects in query parameters as [UTC](https://github.com/brianc/node-postgres/pull/943)