Brian Carlson
8f8e7315e8
Publish
...
- pg-bundler-test@0.0.2
- pg-cloudflare@1.2.7
- pg-cursor@2.15.3
- pg-esm-test@1.2.3
- pg-native@3.5.2
- pg-protocol@1.10.3
- pg-query-stream@4.10.3
- pg@8.16.3
2025-06-27 09:51:27 -05:00
Brian Carlson
1a25d12817
Publish
...
- pg-cursor@2.15.2
- pg-esm-test@1.2.2
- pg-protocol@1.10.2
- pg-query-stream@4.10.2
- pg@8.16.2
2025-06-19 16:15:21 -05:00
Brian Carlson
cd877a5761
Publish
...
- pg-bundler-test@0.0.1
- pg-cloudflare@1.2.6
- pg-connection-string@2.9.1
- pg-cursor@2.15.1
- pg-esm-test@1.2.1
- pg-native@3.5.1
- pg-pool@3.10.1
- pg-protocol@1.10.1
- pg-query-stream@4.10.1
- pg@8.16.1
2025-06-18 10:46:26 -05:00
Brian Carlson
abff18d6f9
Publish
...
- pg-connection-string@2.9.0
- pg-cursor@2.15.0
- pg-esm-test@1.2.0
- pg-native@3.5.0
- pg-pool@3.10.0
- pg-protocol@1.10.0
- pg-query-stream@4.10.0
- pg@8.16.0
2025-05-12 11:49:59 -05:00
Brian Carlson
81d875fe09
Publish
...
- pg-cursor@2.14.6
- pg-esm-test@1.1.6
- pg-pool@3.9.6
- pg-query-stream@4.9.6
- pg@8.15.6
2025-04-25 14:09:08 -05:00
Brian C
39e134d0b5
Make pg-cursor compatible with older versions of pg ( #3440 )
...
Co-authored-by: Brian Carlson <brian.carlson@getcruise.com>
2025-04-24 15:12:48 -05:00
Brian Carlson
56e2862577
Publish
...
- pg-cloudflare@1.2.5
- pg-connection-string@2.8.5
- pg-cursor@2.14.5
- pg-esm-test@1.1.5
- pg-native@3.4.5
- pg-pool@3.9.5
- pg-protocol@1.9.5
- pg-query-stream@4.9.5
- pg@8.15.5
2025-04-23 13:48:25 -05:00
Brian Carlson
2919f28d31
Manually advance patch versions to re-align with lerna
2025-04-23 13:48:13 -05:00
Brian Carlson
fb25f7bdb3
Publish
...
- pg-connection-string@2.8.1
- pg-cursor@2.14.1
- pg-esm-test@1.1.1
- pg-pool@3.9.1
- pg-query-stream@4.9.1
- pg@8.15.1
2025-04-22 15:27:31 -05:00
Brian Carlson
9ec9e5f58d
Publish
...
- pg-cloudflare@1.2.0
- pg-connection-string@2.8.0
- pg-cursor@2.14.0
- pg-esm-test@1.1.0
- pg-native@3.4.0
- pg-pool@3.9.0
- pg-protocol@1.9.0
- pg-query-stream@4.9.0
- pg@8.15.0
2025-04-22 10:55:24 -05:00
Brian C
940479bc4b
Add esm exports ( #3423 )
...
* build: add esm exports
* fix: add defaults as per arethetypeswrong report
* fix: add missing types
* lint
* Fix broken tests
* Add (failing) test for esm compat
* Begin moving files to proper extension and adding tests
* Add tests for connection-string and fix cloudflare module type and esm compat
* Add query-stream and cursor as esm exports
* Update PR copilot review
* Publish
- pg-cloudflare@1.1.2-alpha.0
- pg-connection-string@2.7.1-alpha.0
- pg-cursor@2.13.2-alpha.0
- pg-esm-test@1.0.1-alpha.0
- pg-native@3.3.1-alpha.0
- pg-pool@3.8.1-alpha.0
- pg-protocol@1.8.1-alpha.0
- pg-query-stream@4.8.2-alpha.0
- pg@8.14.2-alpha.0
* More cf compat work
* Publish
- pg-cloudflare@1.1.2-alpha.1
- pg-cursor@2.13.2-alpha.1
- pg-esm-test@1.0.1-alpha.1
- pg-pool@3.8.1-alpha.1
- pg-query-stream@4.8.2-alpha.1
- pg@8.14.2-alpha.1
* Add more cf compat and update tests
* Make tests pass - update exports for esm
* Use env vars for test connection in cf tests
* Fix lint
* Fit vitest into existing legacy framework
* Skip worker tests on node below 18
* Revert doc changes for now
* Remove legacy worker test in favor of vitest
---------
Co-authored-by: Luca Ban <mesqueeb@users.noreply.github.com>
2025-04-22 10:53:22 -05:00
Brian Carlson
477f812984
Publish
...
- pg-cursor@2.13.1
- pg-query-stream@4.8.1
- pg@8.14.1
2025-03-17 10:37:54 -05:00
Brian Carlson
f7c92e487c
Publish
...
- pg-cursor@2.13.0
- pg-native@3.3.0
- pg-pool@3.8.0
- pg-protocol@1.8.0
- pg-query-stream@4.8.0
- pg@8.14.0
2025-03-11 10:25:26 -05:00
Brian Carlson
5755b78386
Publish
...
- pg-cursor@2.12.3
- pg-native@3.2.2
- pg-query-stream@4.7.3
- pg@8.13.3
2025-02-12 18:29:56 -06:00
Brian Carlson
732580782f
Publish
...
- pg-cursor@2.12.2
- pg-native@3.2.1
- pg-pool@3.7.1
- pg-protocol@1.7.1
- pg-query-stream@4.7.2
- pg@8.13.2
2025-02-11 10:19:52 -06:00
Brian Carlson
95d7e620ef
Publish
...
- pg-cursor@2.12.1
- pg-query-stream@4.7.1
- pg@8.13.1
2024-10-24 10:40:28 -05:00
Brian Carlson
92cb640fd3
Publish
...
- pg-connection-string@2.7.0
- pg-cursor@2.12.0
- pg-native@3.2.0
- pg-pool@3.7.0
- pg-protocol@1.7.0
- pg-query-stream@4.7.0
- pg@8.13.0
2024-09-17 10:08:42 -05:00
dependabot[bot]
54eb0fa216
Bump mocha and @types/mocha ( #3273 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) and [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ). These dependencies needed to be updated together.
Updates `mocha` from 3.4.2 to 10.5.2
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v3.4.2...v10.5.2 )
Updates `@types/mocha` from 5.2.7 to 10.0.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-major
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 12:20:59 -05:00
Brian Carlson
0f42880861
Publish
...
- pg-cursor@2.11.0
- pg-native@3.1.0
- pg-query-stream@4.6.0
- pg@8.12.0
2024-06-04 11:19:08 -05:00
Brian Carlson
a37a93bf79
Publish
...
- pg-connection-string@2.6.4
- pg-cursor@2.10.5
- pg-query-stream@4.5.5
- pg@8.11.5
2024-04-02 15:26:02 -05:00
Brian Carlson
b03c071d2d
Publish
...
- pg-connection-string@2.6.3
- pg-cursor@2.10.4
- pg-pool@3.6.2
- pg-protocol@1.6.1
- pg-query-stream@4.5.4
- pg@8.11.4
2024-03-30 15:40:05 -05:00
Alex Anderson
91de4b9453
Cursor: avoid closing connection twice if error received after destroy() ( #2836 )
...
* Cursor: avoid closing connection twice if error received after destroy()
Includes test case from @nathanjcochran
* Resolve lint violations
* revert fix to check tests fail without it
* Re-introdce fix
This reverts commit 5f5d42a071e40f8851035dba182642937dd35664.
---------
Co-authored-by: alxndrsn <alxndrsn>
2024-03-15 12:26:25 -05:00
Alex Anderson
16322c2d50
Fix eslint violations ( #3078 )
...
Co-authored-by: alxndrsn <alxndrsn>
2023-10-19 10:27:25 -05:00
Brian Carlson
a84ebb3fe8
Publish
...
- pg-cursor@2.10.3
- pg-query-stream@4.5.3
- pg@8.11.3
2023-08-16 16:50:05 -07:00
Brian Carlson
a2a355a680
Publish
...
- pg-connection-string@2.6.2
- pg-cursor@2.10.2
- pg-query-stream@4.5.2
- pg@8.11.2
2023-07-31 22:36:33 -05:00
Brian Carlson
eaafac36dc
Publish
...
- pg-cloudflare@1.1.1
- pg-connection-string@2.6.1
- pg-cursor@2.10.1
- pg-pool@3.6.1
- pg-query-stream@4.5.1
- pg@8.11.1
2023-06-26 11:36:32 -05:00
Brian Carlson
14b840e96e
Publish
...
- pg-cloudflare@1.1.0
- pg-connection-string@2.6.0
- pg-cursor@2.10.0
- pg-query-stream@4.5.0
- pg@8.11.0
2023-05-15 10:36:31 -05:00
Brian C
48f4398fa7
Update README.md ( #2944 )
...
Update href to docs
2023-03-30 11:25:35 -05:00
Brian Carlson
ee302cbcf1
Publish
...
- pg-cursor@2.9.0
- pg-pool@3.6.0
- pg-query-stream@4.4.0
- pg@8.10.0
2023-03-06 14:18:02 -06:00
Brian Carlson
20a243e8b3
Publish
...
- pg-cursor@2.8.0
- pg-protocol@1.6.0
- pg-query-stream@4.3.0
- pg@8.9.0
2023-01-27 09:12:49 -06:00
Charmander
c7dc621d3f
pg-cursor: Fix errors only being sent to half the queue ( #2831 )
...
* pg-cursor: Add failing test for errors on queued reads
* pg-cursor: Fix errors being sent to only half the queue
2022-11-21 11:57:30 -06:00
Brian Carlson
c99fb2c127
Publish
...
- pg-cursor@2.7.4
- pg-pool@3.5.2
- pg-query-stream@4.2.4
- pg@8.8.0
2022-08-23 11:36:18 -05:00
Brian Carlson
4fa7ee891a
Publish
...
- pg-cursor@2.7.3
- pg-pool@3.5.1
- pg-query-stream@4.2.3
- pg@8.7.3
2022-02-04 10:28:01 -06:00
Brian Carlson
6849cc6868
Publish
...
- pg-cursor@2.7.2
- pg-pool@3.5.0
- pg-query-stream@4.2.2
- pg@8.7.2
2022-02-04 10:21:57 -06:00
Matthieu
5508c0ee6b
fix: Prevent closing the portal twice ( #2609 )
...
Fixes brianc/node-postgres#2119
2022-01-28 12:59:45 -06:00
Brian C
98cd59e3e7
Return promise on cursor end ( #2589 )
...
* Return promise on cursor end
* Remove redudant if
2021-07-29 17:17:15 -05:00
Brian M. Carlson
92b4d37926
Publish
...
- pg-cursor@2.7.1
- pg-pool@3.4.1
- pg-query-stream@4.2.1
- pg@8.7.1
2021-07-27 17:33:19 -05:00
Brian M. Carlson
f3b0ee4c09
Publish
...
- pg-cursor@2.7.0
- pg-pool@3.4.0
- pg-query-stream@4.2.0
- pg@8.7.0
2021-07-27 12:41:17 -05:00
Brian C
779803fbce
Add ref/unref noop to native client ( #2581 )
...
* Add ref/unref noop to native client
* Use promise.catch in test
* Make partition test not flake on old node
* Fix test flake on old node
2021-07-27 12:23:30 -05:00
Bluenix
aedaa59afe
Add support for using promises in Cursor methods ( #2554 )
...
* Add similar promise variables to read() and close() as seen in query()
* Add testing for promise specific usage
* Simplify tests as no real callbacks are involved
Removes usage of `done()` since we can end the test when we exit the function
Co-Authored-By: Charmander <~@charmander.me>
* Switch to let over var
Co-authored-by: Charmander <~@charmander.me>
2021-07-27 09:40:32 -05:00
Bluenix
a04003164b
Turn Cursor into an ES6 class ( #2553 )
...
* Turn Cursor into an ES6 class
* Fix incorrect syntax in Cursor.end()
* Remove extraneous empty line
* Revert es6 change for end()
* Revert back to defining the end() method inside the class
* Use hanging indent to satisfy Prettier
2021-06-22 09:52:10 -05:00
Brian M. Carlson
d459479382
Publish
...
- pg-connection-string@2.5.0
- pg-cursor@2.6.0
- pg-pool@3.3.0
- pg-protocol@1.5.0
- pg-query-stream@4.1.0
- pg@8.6.0
2021-04-13 11:02:40 -05:00
Erona
8faf8a0937
fix(pg-cursor): EventEmitter memory leak ( #2501 )
2021-04-13 10:57:37 -05:00
Edward O'Reilly
2a7c614583
Adding pg to peerDependencies ( #2471 )
...
* Adding pg to peerDependencies
Yarn2 requires strict imports, I.E. all project dependencies need to exist in that project's package.json.
* pg version should be locked on the major version
Co-authored-by: Charmander <~@charmander.me>
Co-authored-by: Charmander <~@charmander.me>
2021-03-12 08:24:07 -06:00
Emily Marigold Klassen
5a41a56862
Add missing metadata to package.jsons ( #2487 )
...
Co-authored-by: Emily Marigold Klassen <forivall@users.noreply.github.com>
2021-03-12 08:23:13 -06:00
Brian M. Carlson
fa4549af4f
Publish
...
- pg-cursor@2.5.2
- pg-query-stream@4.0.0
2020-11-30 10:58:10 -06:00
Brian C
4fde8b78f1
Fix double readyForQuery ( #2420 )
...
This is fixing a double readyForQuery message being sent from the backend (because we were calling sync after an error, which I already fixed in the main driver). Also closes #2333
2020-11-30 09:25:01 -06:00
Brian M. Carlson
0b9bb349dc
Publish
...
- pg-cursor@2.5.1
- pg-query-stream@3.4.2
- pg@8.5.1
2020-11-13 08:59:48 -06:00
Brian M. Carlson
ec1dcab966
Publish
...
- pg-cursor@2.5.0
- pg-protocol@1.4.0
- pg-query-stream@3.4.0
- pg@8.5.0
2020-11-10 11:01:03 -06:00
Brian M. Carlson
b6d69d5bc2
Publish
...
- pg-cursor@2.4.2
- pg-pool@3.2.2
- pg-query-stream@3.3.2
- pg@8.4.2
2020-10-26 12:19:03 -05:00