Brian Carlson
fc3634045b
Move attach listeners into its own function
...
Just for readability
2017-06-16 21:43:45 -05:00
Brian M. Carlson
a4b42ac36b
Add co to dev deps
2017-06-15 10:32:38 -05:00
Brian M. Carlson
e100152fb0
Remove failing travis test
2017-06-15 10:32:38 -05:00
Brian M. Carlson
132861f43f
Test cleanup
2017-06-15 10:32:38 -05:00
Brian M. Carlson
f12eb0a6fd
Format more tests
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
3074436236
Tidy up a bit of testing
2017-06-15 10:32:38 -05:00
Brian M. Carlson
2c3f55e5bd
Make all tests pass
2017-06-15 10:32:38 -05:00
Brian M. Carlson
c961c900d6
Almost all tests passing
2017-06-15 10:32:38 -05:00
Brian M. Carlson
3219db993a
All tests passing
2017-06-15 10:32:38 -05:00
Brian M. Carlson
f41839b83a
Work on test
2017-06-15 10:32:38 -05:00
Brian M. Carlson
72560850d7
Working on disconnect issue
2017-06-15 10:32:38 -05:00
Brian M. Carlson
3a7b226fe3
WIP
2017-06-15 10:32:38 -05:00
Brian M. Carlson
02bcc9d97a
Start working on promsie tests
2017-06-15 10:32:38 -05:00
Brian M. Carlson
bc2f550402
Remove promise-interop from native query
2017-06-15 10:32:38 -05:00
Brian M. Carlson
55c3b3691c
Use normalizeQueryConfig in native query
2017-06-15 10:32:38 -05:00
Brian M. Carlson
df36bece86
Restructure native file paths
...
Make file paths more closely match the non-native files, to make auto-complete file names slightly easier.
2017-06-15 10:32:38 -05:00
Brian M. Carlson
970d83aca4
Remove weird quasi-promise interface on JS query
2017-06-15 10:32:38 -05:00
Brian M. Carlson
d3ec938b82
Fix remainder of error tests
2017-06-15 10:32:38 -05:00
Brian M. Carlson
2add7e3407
Make almost all tests pass
2017-06-15 10:32:38 -05:00
Brian M. Carlson
e284cfc110
Make all integration tests pass
2017-06-15 10:32:38 -05:00
Brian M. Carlson
b8c2bebcac
Fix more tests to use query instance
2017-06-15 10:32:38 -05:00
Brian M. Carlson
2f3d72a28c
Start fixing integration tests
2017-06-15 10:32:38 -05:00
Brian M. Carlson
96b7fc38a6
Fix unit tests
2017-06-15 10:32:38 -05:00
Brian M. Carlson
6d98b0847c
Actual promisification of client.query
2017-06-15 10:32:38 -05:00
Brian C
25a98f5099
Create LICENSE
2017-06-15 10:32:38 -05:00
Amila Welihinda
bc00f90c6a
Added MIT License
2017-06-15 10:32:38 -05:00
Brian C
bbb759fba4
Create LICENSE
2017-06-12 10:14:31 -05:00
Amila Welihinda
5421e9dc0f
Added MIT License
2017-06-12 10:14:31 -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
272858ca57
Remove lockfile because yarn in travis is blowing up the tests
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
v6.2.4
2017-06-09 12:33:55 -05:00
Brian Carlson
76c59a01f2
Emit error when backend unexpectedly disconnects
2017-06-09 12:27:47 -05:00
Sehrope Sarkuni
61921aae1a
Add node 8.x to Travis-CI matrix
2017-06-09 09:00:04 -05:00
Sehrope Sarkuni
f69108869e
Remove default and normalize Travis-CI matrix
...
Removes the default node 6 / PG 9.6 combination and adds it to the
Travis-CI matrix of combinations. That way all combinations are
defined in a single place.
2017-06-09 09:00:04 -05:00
Brian C
aeb0c759f5
Remove fallbacks for unsupported Node versions ( #1304 ) ( #1313 )
...
* Add client connectionString tests (#1310 )
* Remove redundant tests
* Add client connectionString test
Add test to ensure { connectionString } is respected as an argument to the client constructor
* Add test for connection string property
Also fixed some legacy require statements.
* Normalize native error properties
Map native error properties to the same property names we use for errors from the JS driver.
Fixes #972
Fixes #938
2017-06-08 21:53:47 -05:00
Brian M. Carlson
5061068b04
Fix test
2017-06-08 18:18:49 -05:00
Brian C
f2b87e02f1
Add client connectionString tests ( #1310 )
...
* Remove redundant tests
* Add client connectionString test
Add test to ensure { connectionString } is respected as an argument to the client constructor
* Add test for connection string property
Also fixed some legacy require statements.
2017-06-07 22:58:03 -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
brianc
959d89e043
Add test for connectionString property delegation
2017-06-07 22:35:55 -05:00
Brian C
f93385284d
Update .travis.yml
2017-06-02 13:00:42 -05:00
Brian C
a51fe56bc1
Update .travis.yml
...
Drop node@0.10 and node@0.12 from the test matrix.
2017-06-02 09:40:11 -05:00
Amila Welihinda
52c96a4b2e
Create LICENSE ( #54 )
...
* Create LICENSE
* Update LICENSE
2017-05-29 10:48:58 -05:00
Brian M. Carlson
3757ff7300
Bump version
v6.2.3
2017-05-24 09:05:31 -05:00
Raul Ochoa
4cd56cc4f8
Make pool name consistent on missing config params ( #1279 )
...
* Going red: using a config object creates two pools when missing some params
It should only create a pool in a consistent way, even if some params
are not provided in the first place.
* Delay the pool name generation to make it consistent between calls
* Don't fallback to empty object as config is already defined
2017-05-24 09:04:50 -05:00
T.J. Schuck
e5f0e5d36a
s/2016/2017/ ( #1291 )
2017-05-17 16:47:07 -05:00
Brian M. Carlson
6e462ffae6
Bump version
2017-05-15 23:16:55 -05:00
Brian C
bbc2b416ed
Merge pull request #25 from sberan/cursor-result
...
Emit Query Events
2017-05-15 23:15:59 -05:00