328 Commits

Author SHA1 Message Date
Brian M. Carlson
abe7583512 Pin child modules to tighter semver ranges 2017-08-22 15:06:12 -05:00
Brian M. Carlson
1769cff397 Bump version 2017-08-12 22:10:58 -05:00
Brian M. Carlson
7e7ff7f581 Bump version 2017-08-12 16:34:35 -05:00
Brian M. Carlson
48543bfad0 Fix vulnerability 2017-08-12 16:34:22 -05:00
Brian M. Carlson
56d262fdfa Bump version 2017-08-03 23:55:07 -05:00
Brian Carlson
c6ee20081f Bump version 2017-07-21 15:03:10 -07:00
Brian M. Carlson
0921daa7f4 Bump version 2017-07-18 15:41:31 -05:00
Charmander
482c06bfc8 Update minimum Node version to 4.5.0
`Buffer.alloc` and `Buffer.from` were only backported then.
2017-07-18 13:38:13 -07:00
Brian Carlson
cbbd8d45a7 Bump version 2017-07-17 22:08:31 -05:00
Brian M. Carlson
f37acc4a6e Use valid semver in package.json 2017-07-16 16:25:35 -05:00
Brian M. Carlson
111e08d0d7 Cleanup 2017-07-16 16:25:35 -05:00
Brian C
8798e50ad3 Re-enable eslint with standard format (#1367)
* Work on converting lib to standard

* Finish updating lib

* Finish linting lib

* Format test files

* Add .eslintrc with standard format

* Supply full path to eslint bin

* Move lint command to package.json

* Add eslint as dev dependency
2017-07-15 12:05:58 -05:00
Brian Carlson
27450d07e6 Throw on reconnect attempt
Clients are not reusable.  This changes the client to raise errors whenever you try to reconnect a client that's already been used.  They're cheap to create: just instantiate a new one (or use the pool) 😉.

Closes #1352
2017-07-15 11:02:09 -05:00
Brian M. Carlson
94a628a16f Update engine support 2017-06-18 15:34:44 -05:00
Brian M. Carlson
a4b42ac36b Add co to dev deps 2017-06-15 10:32:38 -05:00
Brian M. Carlson
d615ebee17 Start cleaning up tests 2017-06-15 10:32:38 -05:00
Brian M. Carlson
a829eee334 Merge origin/master 2017-06-09 16:24:39 -05:00
Brian M. Carlson
bbbd6e99f9 Use built-in util.deprecate 2017-06-09 15:41:27 -05:00
Brian M. Carlson
31ee7590fd Deprecate pg.* singleton methods 2017-06-09 15:41:27 -05:00
Brian M. Carlson
58691218af Bump version 2017-06-09 12:33:55 -05:00
Charmander
934ca3af16 Remove fallbacks for unsupported Node versions (#1304)
* Remove unsupported Node versions 0.10 and 0.12 from CI

* Replace deprecated Buffer constructor with .from/.alloc

* Remove Promise polyfill

* Make use of Object.assign

* Remove checks for versions of Node earlier than 4

* Remove Buffer#indexOf fallback for Node 0.10
2017-06-07 22:45:32 -05:00
Brian M. Carlson
3757ff7300 Bump version 2017-05-24 09:05:31 -05:00
Brian M. Carlson
c32316df77 Bump version 2017-05-15 12:21:32 -05:00
Brian M. Carlson
4659d5d75f Bump version 2017-05-15 09:54:09 -05:00
Brian C
db5f4ae1ab Upgrade packet reader (#1287) 2017-05-15 09:36:18 -05:00
Brian Carlson
f42924bf05 Bump version 2017-04-24 13:34:03 -05:00
Brian Carlson
3de22ba991 Bump version 2017-03-20 12:01:56 -05:00
Brian M. Carlson
4fae7a9a7f Bump version 2017-03-09 15:06:29 -06:00
Brian Carlson
ff5ceb4304 Bump version 2017-03-06 11:06:08 -06:00
Brian Carlson
2c636c750f Bump version 2016-12-13 11:53:57 -06:00
Brian Carlson
c4879e321d Bump version 2016-12-10 18:58:27 -06:00
brianc
42689dac11 Bump version 2016-08-11 10:18:19 -05:00
brianc
a95d9ac711 Bump version 2016-08-10 15:15:43 -05:00
hoegaarden
f857bbf623 pgpass: Upgrade to 1.x (#1098)
pgpass is using semver versioning now, thus a dependency on
version 1.x should be safe.
2016-08-10 15:15:09 -05:00
brianc
9274f08fa2 Bump version 2016-07-19 10:18:56 -05:00
Brian C
b1b2801c71 Add onFailure to query#then (#1082)
The promise adapter I had implemented wasn't spec compliant: it didn't accept both `onSuccess` and `onFailure` in the call to `query#then`.  This subtly broke yield & async/await because they both rely on `onError` being passed into `Promise#then`.  The pool was also not returning the promise after a client was acquired, which broke awaiting on `pool.connect` - this is also fixed now.
2016-07-19 10:16:48 -05:00
brianc
bd7fc59635 Bump version 2016-07-10 16:29:04 -05:00
brianc
c35adf6f68 Bump version 2016-06-24 01:23:19 -05:00
brianc
d4d56261ab Bump version 2016-06-21 22:03:56 -05:00
brianc
e809055174 Bump version 2016-06-21 09:56:39 -05:00
Brian C
796a44f54f Remove internal pool (#1049)
* Initial work on removing internal pool

* Port backwards-compabible properties

* Cleanup test execution & makefile cruft

* Attempt to fix flakey error test
2016-06-21 09:53:09 -05:00
brianc
d1c5fc694b Bump version 2016-06-10 17:21:32 -05:00
brianc
8918c95f61 Bump version of semver 2016-06-07 17:17:09 -05:00
brianc
86bd9a138c Bump version 2016-06-07 16:49:33 -05:00
hoegaarden
06743a71e5 pgpass: Update to 0.0.6 (#1040) 2016-06-07 16:01:17 -05:00
brianc
6cc1b2c8e6 Bump version 2016-06-03 10:25:49 -05:00
Tristan Davies
d7307b1630 use latest generic-pool (#1031) 2016-06-03 10:25:13 -05:00
brianc
4047dd12c5 Bump version 2016-04-27 13:52:57 -05:00
brianc
3433ed9673 Bump version 2016-04-26 17:41:45 -05:00
brianc
fe6f32a6e7 Bump version 2016-04-08 18:46:42 -05:00