brianc / node-postgres Public
master
Commits on Aug 5, 2021
-
Bump tar from 4.4.13 to 4.4.15 (#2592)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](npm/node-tar@v4.4.13...v4.4.15) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Commits on Jul 29, 2021
-
Return promise on cursor end (#2589)
* Return promise on cursor end * Remove redudant if
Commits on Jul 27, 2021
-
- pg-cursor@2.7.1 - pg-pool@3.4.1 - pg-query-stream@4.2.1 - pg@8.7.1
-
-
- pg-cursor@2.7.0 - pg-pool@3.4.0 - pg-query-stream@4.2.0 - pg@8.7.0
-
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
-
Bump y18n from 4.0.0 to 4.0.1 (#2506)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump ssri from 6.0.1 to 6.0.2 (#2531)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/npm/ssri/releases) - [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md) - [Commits](npm/ssri@v6.0.1...v6.0.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump handlebars from 4.7.6 to 4.7.7 (#2538)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.7.6...v4.7.7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
-
Allow Node to exit if the pool is idle (#2568)
Based on the suggestion from #2078. This adds ref/unref methods to the Connection and Client classes and then uses them to allow the process to exit if all of the connections in the pool are idle. This behavior is controlled by the allowExitOnIdle flag to the Pool constructor; it defaults to the old behavior.
-
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>
Commits on Jun 22, 2021
-
Use _isFull instead of duplicating clients check (#2539)
Noticed that options.max is compared against client count directly, but there's a method wrapping it. I can't see any reason to duplicate it? And using _isFull means I can override that for the adaptive pooling idea I'm exploring :)
-
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
Commits on Jun 15, 2021
-
Bump lodash from 4.17.20 to 4.17.21 (#2540)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.20...4.17.21) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Commits on May 27, 2021
-
Fix and enable pool
verify
option test (#2528)by not double-releasing. Reviewed-by: Sehrope Sarkuni <sehrope@jackdb.com>
Commits on Apr 27, 2021
-
It’s missing `co.wrap`, so it doesn’t actually run (Mocha does nothing with the paused generator). The test group that follows it, “using an ended pool”, covers the same thing anyway.
Commits on Apr 13, 2021
-
- 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
-
-
-
Commits on Apr 6, 2021
Commits on Apr 2, 2021
Commits on Mar 22, 2021
-
pg: Re-export DatabaseError from 'pg-protocol' (#2445)
* pg: Re-export DatabaseError from 'pg-protocol' Before, users would have to import DatabaseError from 'pg-protocol'. If there are multiple versions of 'pg-protocol', you might end up using the wrong one. Closes #2378 * Update error-handling-tests.js * Update query-error-handling-tests.js Co-authored-by: Brian C <brian.m.carlson@gmail.com>
Commits on Mar 12, 2021
-
[pg-protocol] use literals instead of const enum (#2490)
Co-authored-by: Emily Marigold Klassen <forivall@users.noreply.github.com>
-
-
-
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>
-
Add missing metadata to package.jsons (#2487)
Co-authored-by: Emily Marigold Klassen <forivall@users.noreply.github.com>
Commits on Jan 29, 2021
-
Fix README to separate sponsors onto separate lines (#2459)
Splits sponsor listings onto multiple lines by putting them in list elements. Also removes hidden inline png that does not render on the README.
Commits on Jan 27, 2021
-
Bump ini from 1.3.5 to 1.3.8 (#2430)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](npm/ini@v1.3.5...v1.3.8) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
update license copyright year (#2450)
updates license copyright year to 2021
Commits on Jan 19, 2021
Commits on Dec 30, 2020
-
docs(README.md): add link to documentation repo (#2434)
since it's currently the only way to look up documentation for old versions