Brian M. Carlson
9e55a7073b
Publish
...
- pg-cursor@2.2.0
- pg-protocol@1.2.3
- pg-query-stream@3.1.0
- pg@8.2.0
pg-cursor@2.2.0
pg-protocol@1.2.3
pg-query-stream@3.1.0
pg@8.2.0
2020-05-13 09:10:34 -05:00
Brian C
5930e4fa38
Merge pull request #2210 from brianc/bmc/switch-to-fast-connection
...
Switch internals to use faster connection
2020-05-13 08:54:16 -05:00
Brian M. Carlson
72b5f6d669
Add test & fix packed packet parsing error for SASL authentication messages
2020-05-12 17:20:17 -05:00
Brian M. Carlson
08afb12dcc
Set noDelay to true
2020-05-12 16:32:40 -05:00
Brian M. Carlson
520bd35319
Switch internals to use faster connection
...
This switches the internals to use faster protocol parsing & serializing. This results in a significant (30% - 50%) speed up in some common query patterns. There is quite a bit more performance work I need to do, but this takes care of some initial stuff & removes a big fork in the code.
2020-05-12 10:56:14 -05:00
Brian C
1c441d2378
Merge pull request #2208 from sehrope/add-scram-tests
...
Add some SCRAM tests and enable them on travis
2020-05-12 10:06:14 -05:00
Sehrope Sarkuni
c25e88916a
test: Enable scram tests on travis
2020-05-10 09:07:36 -04:00
Sehrope Sarkuni
4a80468a8a
test: Add sasl-scram-tests.js
...
Adds tests for SCRAM if SCRAM_TEST_PGUSER and SCRAM_TEST_PGPASSWORD
are defined. If not the tests are skipped (default).
2020-05-10 09:07:36 -04:00
Brian M. Carlson
c55758fca0
Update changelog
2020-05-08 10:51:13 -05:00
Brian M. Carlson
bd7caf5742
Remove sponsor logo
2020-05-08 10:51:08 -05:00
Brian M. Carlson
3f5bc58a86
Publish
...
- pg-connection-string@2.2.2
- pg-cursor@2.1.11
- pg-pool@3.2.0
- pg-query-stream@3.0.8
- pg@8.1.0
pg-connection-string@2.2.2
pg-cursor@2.1.11
pg-pool@3.2.0
pg-query-stream@3.0.8
pg@8.1.0
2020-05-08 10:42:57 -05:00
Brian C
70cf4dc6ed
Merge pull request #2198 from brianc/benhjames-bhsj/noverify
...
Add no-verify ssl option
2020-05-07 14:56:05 -05:00
Brian M. Carlson
7929f6ae44
Make change less invasive and fully backwards compatible for native binding config
2020-05-07 11:36:39 -05:00
Brian C
2b7e4b9399
Merge pull request #2200 from revolunet/patch-2
...
doc: add pg-connection-string in readme packages
2020-05-06 12:47:10 -05:00
Julien Bouquillon
a7aa1bbb1d
doc: add pg-connection-string in readme packages
2020-05-06 18:56:16 +02:00
Brian C
8d1b200a3a
Update SPONSORS.md
2020-05-06 11:54:39 -05:00
Brian M. Carlson
1864910778
Add test for no-verify string config option
2020-05-05 11:08:05 -05:00
Brian M. Carlson
e9073f5a00
Cleanup & comments
2020-05-05 11:03:29 -05:00
Brian M. Carlson
b89eb0f81d
Write tests & unify treatment of no-verify
2020-05-05 10:58:34 -05:00
Brian M. Carlson
d8c7005115
Merge branch 'bhsj/noverify' of https://github.com/benhjames/node-postgres into benhjames-bhsj/noverify
2020-05-05 10:35:46 -05:00
Brian C
88da148b18
Merge pull request #2196 from brianc/bmc/use-monorepo-connection-string
...
Use monorepo connection string
2020-05-05 10:31:04 -05:00
Brian C
db6a023bec
Merge pull request #2197 from brianc/bmc/fix-bad-require
...
Fix relative path import
2020-05-05 10:30:32 -05:00
Brian M. Carlson
9e11004e8a
No need to import from dist
2020-05-05 09:53:56 -05:00
Brian M. Carlson
3a2af0f52c
Fix relative path import
...
Closes #2188
2020-05-05 09:50:53 -05:00
Brian M. Carlson
698993ec6d
Use monorepo connection string
2020-05-05 09:43:31 -05:00
Brian C
77e45c989f
Merge pull request #2194 from papandreou/fix/monorepoRepoLinks
...
Fix repository field in package.json files after packages were moved into monorepo
2020-05-05 09:37:03 -05:00
Ben Salili-James
6937a2428b
Add PGSSLMODE=noverify support to opt-out of rejecting self-signed certs
2020-05-05 13:24:11 +01:00
Andreas Lind
abb1f34020
Fix repository field in package.json
2020-05-05 09:26:42 +02:00
Brian M. Carlson
afd14cb5f9
Publish
...
- pg-connection-string@2.2.1
pg-connection-string@2.2.1
2020-04-28 21:56:25 -05:00
Brian C
e93ecacbac
Merge pull request #2184 from brianc/bmc/pg-connection-string
...
Include pg-connection-string into monorepo
2020-04-28 21:55:06 -05:00
Brian M. Carlson
ddf81128ab
Check for the correct binary
2020-04-28 10:20:22 -05:00
Brian M. Carlson
16344cbfcd
Update test command for travis
...
I think the new syntax I'm using here is compatible with `sh`...let's see.
2020-04-28 10:07:12 -05:00
Brian M. Carlson
3a831fc77c
Run lint --fix
2020-04-28 10:02:38 -05:00
Brian M. Carlson
4aff01ef8f
Add 'packages/pg-connection-string/' from commit '5233b3e77e396a368130709e762fca836290a528'
...
git-subtree-dir: packages/pg-connection-string
git-subtree-mainline: 35328807e3612cb267bee86dccb2551ad186624a
git-subtree-split: 5233b3e77e396a368130709e762fca836290a528
2020-04-28 09:50:40 -05:00
Brian M. Carlson
35328807e3
Publish
...
- pg-cursor@2.1.10
- pg-pool@3.1.1
- pg-protocol@1.2.2
- pg-query-stream@3.0.7
- pg@8.0.3
pg-cursor@2.1.10
pg-pool@3.1.1
pg-protocol@1.2.2
pg-query-stream@3.0.7
pg@8.0.3
2020-04-22 11:04:51 -05:00
Brian M. Carlson
a86cb90043
lockfile
2020-04-22 11:04:14 -05:00
Brian C
932c89ded7
Merge pull request #2171 from charmander/no-readystate
...
Replace uses of private/undocumented `readyState` API
2020-04-22 10:58:46 -05:00
Charmander
c8fb4168d4
Add Node 14 to CI
2020-04-21 23:23:52 -07:00
Charmander
149f482324
Replace uses of private/undocumented readyState API
...
The `readyState` of a newly-created `net.Socket` changed from `'closed'` to `'open'` in Node 14.0.0, so this makes the JS driver work on Node 14.
`Connection` now always calls `connect` on its `stream` when `connect` is called on it.
2020-04-21 23:20:48 -07:00
Brian C
0729130c57
Merge pull request #2164 from johan13/mem-leak
...
Refactor pg-pool to avoid potential memory leak
2020-04-21 17:10:50 -05:00
Johan Levin
7de8b49ad7
Refactor pg-pool to avoid potential memory leak
...
Reduce the closure scope captured by the "release once" lambda function
in _acquireClient so that it does not retain the pendingItem promise.
2020-04-15 11:46:15 +02:00
Brian C
2ef5550373
Merge pull request #2161 from brianc/bmc/lint
...
Prettier the codebase
2020-04-10 12:32:17 -05:00
Brian M. Carlson
3d9678e2e9
Remove packages from linting themselves in ci as its done at the 'top level'
2020-04-10 12:09:16 -05:00
Brian M. Carlson
12049b7dbc
Actually run lint in ci
2020-04-10 11:33:46 -05:00
Brian M. Carlson
8591d94fcc
Re-upgrade to prettier@2.x
2020-04-10 11:31:03 -05:00
Brian M. Carlson
6353affeca
Downgrade to prettier@1.x to support node@8.x
2020-04-10 11:15:42 -05:00
Brian M. Carlson
c13cf81ee8
Lint pg & turn off semicolons
2020-04-10 10:47:57 -05:00
Brian M. Carlson
6adbcabf50
lint pg-protcol
2020-04-10 10:43:54 -05:00
Brian M. Carlson
cb928ded2a
Prettier pg-query-stream
2020-04-10 10:34:34 -05:00
Brian M. Carlson
3002d5cbdd
Auto-fix pg-cursor
2020-04-10 10:29:54 -05:00