Igor Savin
badf0a1c65
Update ESLint ( #1753 )
...
* Update ESLint
* Downgrade ESLint version to restore Node 4 support
* Downgrade more dependencies
* Keep downgrading
2018-10-26 08:55:31 -05:00
Charmander
1cf1e05ab9
Allow a custom type to be used for Client promises ( #1518 )
...
Matches the Pool API.
2018-10-24 10:40:23 -05:00
Brian M. Carlson
04a0ec71b4
Bump version
2018-10-03 10:46:12 -05:00
Brian M. Carlson
3ac356a812
Bump version
2018-05-07 10:07:10 -05:00
Brian M. Carlson
83ede28e18
Bump version
2018-05-04 14:01:26 -05:00
contra
72db7902fa
dont use dynamic functions to parse rows, closes #1417
2018-05-04 12:34:46 -05:00
Brian M. Carlson
a664983cbb
Bump version
2018-01-05 13:41:36 -06:00
Brian M. Carlson
9da3a85cbc
Bump version
2017-11-04 14:21:36 -05:00
Sehrope Sarkuni
19bfb2f9b8
Add postgresql to package.json keywords
2017-11-04 14:17:10 -05:00
Sehrope Sarkuni
c2da0ed978
Sort keywords in package.json
2017-11-04 14:17:10 -05:00
Brian M. Carlson
f66379f5fe
Bump version
2017-09-03 14:41:16 -05:00
Josh
175b688b90
remove pg-native from dependencies
...
`npm run test` seems to be adding this
2017-09-03 14:14:28 -05:00
Josh
689bb25e86
fixes
2017-09-03 14:14:28 -05:00
Brian M. Carlson
8022fa6b44
Bump version
2017-08-22 15:08:59 -05:00
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