37 Commits

Author SHA1 Message Date
Brian M. Carlson
7ffe68eba0 Publish
- pg-connection-string@2.4.0
 - pg-cursor@2.4.0
 - pg-protocol@1.3.0
 - pg-query-stream@3.3.0
 - pg@8.4.0
2020-10-04 14:26:29 -05:00
Brian M. Carlson
95b5daadaa Publish
- pg-cursor@2.3.3
 - pg-query-stream@3.2.3
 - pg@8.3.3
2020-08-26 15:59:37 -05:00
Brian M. Carlson
acfbafac82 Publish
- pg-cursor@2.3.2
 - pg-query-stream@3.2.2
 - pg@8.3.2
2020-08-18 09:38:12 -05:00
Brian M. Carlson
07ee1bad37 Bump version 2020-08-18 09:37:35 -05:00
Aravindan Ve
54048235c5
fix: use types configured on pg client in pg-query-stream 2020-07-10 11:43:32 +05:30
Brian M. Carlson
cf203431d6 Publish
- pg-connection-string@2.3.0
 - pg-cursor@2.3.0
 - pg-query-stream@3.2.0
 - pg@8.3.0
2020-07-09 10:35:06 -05:00
Brian M. Carlson
dec892ed01 Publish
- pg-cursor@2.2.2
 - pg-protocol@1.2.5
 - pg-query-stream@3.1.2
 - pg@8.2.2
2020-07-07 08:58:57 -05:00
Brian M. Carlson
f3136a7d5d Publish
- pg-connection-string@2.2.3
 - pg-cursor@2.2.1
 - pg-pool@3.2.1
 - pg-protocol@1.2.4
 - pg-query-stream@3.1.1
 - pg@8.2.1
2020-05-15 18:33:34 -05:00
Brian M. Carlson
8404434279 Upgrade mocha 2020-05-13 11:49:37 -05:00
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
2020-05-13 09:10:34 -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
2020-05-08 10:42:57 -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
2020-04-22 11:04:51 -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
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
cb928ded2a Prettier pg-query-stream 2020-04-10 10:34:34 -05:00
Brian M. Carlson
da03b3f905 Publish
- pg-cursor@2.1.9
 - pg-pool@3.1.0
 - pg-protocol@1.2.1
 - pg-query-stream@3.0.6
 - pg@8.0.2
2020-04-09 15:17:54 -05:00
Brian M. Carlson
0a90e018cd Publish
- pg-cursor@2.1.8
 - pg-protocol@1.2.0
 - pg-query-stream@3.0.5
 - pg@8.0.1
2020-04-09 13:22:14 -05:00
Brian M. Carlson
a227d3e8d4 Publish
- pg-cursor@2.1.7
 - pg-pool@3.0.0
 - pg-query-stream@3.0.4
 - pg@8.0.0
2020-03-30 10:45:12 -05:00
Brian M. Carlson
29877530c6 Publish
- pg-cursor@2.1.6
 - pg-query-stream@3.0.3
 - pg@7.18.2
2020-02-20 10:33:37 -06:00
Kyle Lilly
c2f4b284b1
Implement handleEmptyQuery for pg-query-stream. (#2106) 2020-02-19 12:12:46 -06:00
Brian M. Carlson
b3f0728a11 Publish
- pg-cursor@2.1.5
 - pg-query-stream@3.0.2
 - pg@7.18.1
2020-01-29 18:20:42 -06:00
Brian M. Carlson
d9fcda8cf7 Publish
- pg-cursor@2.1.4
 - pg-pool@2.0.10
 - pg-query-stream@3.0.1
 - pg@7.18.0
2020-01-29 10:48:38 -06:00
Charmander
3f6760c62e Update copyright years
because someone will make a PR otherwise. No, this isn’t actually necessary.
2020-01-15 15:44:08 -08:00
Brian M. Carlson
5cf8f5f8d7 Publish
- pg-cursor@2.1.3
 - pg-query-stream@3.0.0
 - pg@7.17.1
2020-01-10 09:22:00 -06:00
Brian C
0895460046
pg-query-stream@3.0 release (#2059)
* Fix one unintentional possible breaking change & update readme

* Update changelog more

* Update CHANGELOG.md

Co-Authored-By: Charmander <~@charmander.me>

Co-authored-by: Charmander <~@charmander.me>
2020-01-09 23:33:40 -06:00
Brian C
8eca181d20
Fix pg-query-stream implementation (#2051)
* Fix pg-query-stream

There were some subtle behaviors with the stream being implemented incorrectly & not working as expected with async iteration.  I've modified the code based on #2050 and comments in #2035 to have better test coverage of async iterables and update the internals significantly to more closely match the readable stream interface.

Note: this is a __breaking__ (semver major) change to this package as the close event behavior is changed slightly, and `highWaterMark` is no longer supported.  It shouldn't impact most usage, but breaking regardless.

* Remove a bunch of additional code

* Add test for destroy + error propagation

* Add failing test for destroying unsubmitted stream

* Do not throw an uncatchable error when closing an unused cursor
2019-12-29 23:08:09 -06:00
Brian M. Carlson
6d93951783 Publish
- pg-cursor@2.1.2
 - pg-query-stream@2.1.2
 - pg@7.17.0
2019-12-29 17:50:24 +00:00
Brian M. Carlson
af4d05445d Publish
- pg-cursor@2.1.1
 - pg-pool@2.0.9
 - pg-query-stream@2.1.1
 - pg@7.16.1
2019-12-28 17:16:42 +00:00
Brian M. Carlson
637bcf355c Cleanup things a bit 2019-12-27 17:52:28 +00:00
Brian M. Carlson
69345eb96a Publish
- pg-cursor@2.1.0
 - pg-packet-stream@1.1.0
 - pg-query-stream@2.1.0
 - pg@7.16.0
2019-12-27 03:56:07 +00:00
Brian M. Carlson
dfae78e383 Publish
- pg-cursor@2.0.3
 - pg-query-stream@2.0.2
 - pg@7.15.2
2019-12-26 17:42:55 +00:00
Brian M. Carlson
fdae8516e6 Delete files which are no longer needed as they exist in the monorepo 2019-12-20 15:10:26 -06:00
Brian M. Carlson
6b7b8d19f5 Do not run tests in parallel 2019-12-20 15:03:43 -06:00
Brian M. Carlson
ef2f2d264d Unify lint
Delete accidental addition
2019-12-20 13:46:51 -06:00
Brian M. Carlson
db1b95e5f3 Add 'packages/pg-query-stream/' from commit '9ced05e8aab65f3fdf1a67add87bfc9035e487e8'
git-subtree-dir: packages/pg-query-stream
git-subtree-mainline: cccf84e14b3281b753e1baab7bc194aaac5024a8
git-subtree-split: 9ced05e8aab65f3fdf1a67add87bfc9035e487e8
2019-12-20 12:00:58 -06:00