Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: brianc/node-postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: pg@8.6.0
Choose a base ref
...
head repository: brianc/node-postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pg@8.7.0
Choose a head ref
  • 13 commits
  • 18 files changed
  • 6 contributors

Commits on Apr 27, 2021

  1. Remove broken test (#2529)

    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.
    charmander authored Apr 27, 2021
    Copy the full SHA
    8f0db30 View commit details

Commits on May 27, 2021

  1. Fix and enable pool verify option test (#2528)

    by not double-releasing.
    
    Reviewed-by: Sehrope Sarkuni <sehrope@jackdb.com>
    charmander authored May 27, 2021
    Copy the full SHA
    7667e7c View commit details

Commits on Jun 15, 2021

  1. 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>
    dependabot[bot] authored Jun 15, 2021
    Copy the full SHA
    d6ed9e7 View commit details

Commits on Jun 22, 2021

  1. 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
    Bluenix2 authored Jun 22, 2021
    Copy the full SHA
    a040031 View commit details
  2. 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 :)
    gregplaysguitar authored Jun 22, 2021
    Copy the full SHA
    9d2c977 View commit details

Commits on Jul 27, 2021

  1. 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>
    Bluenix2 and charmander authored Jul 27, 2021
    Copy the full SHA
    aedaa59 View commit details
  2. 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.
    Brian Crowell authored Jul 27, 2021
    Copy the full SHA
    684cd09 View commit details
  3. Update changelog

    brianc committed Jul 27, 2021
    Copy the full SHA
    f824d74 View commit details
  4. 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>
    dependabot[bot] authored Jul 27, 2021
    Copy the full SHA
    d8ce457 View commit details
  5. 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>
    dependabot[bot] authored Jul 27, 2021
    Copy the full SHA
    83aae77 View commit details
  6. 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>
    dependabot[bot] authored Jul 27, 2021
    Copy the full SHA
    0da7882 View commit details
  7. 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
    brianc authored Jul 27, 2021
    Copy the full SHA
    779803f View commit details
  8. Publish

     - pg-cursor@2.7.0
     - pg-pool@3.4.0
     - pg-query-stream@4.2.0
     - pg@8.7.0
    brianc committed Jul 27, 2021
    Copy the full SHA
    f3b0ee4 View commit details
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,15 @@ For richer information consult the commit log on github with referenced pull req

We do not include break-fix version release in this file.

### pg@8.7.0

- Add optional config to [pool](https://github.com/brianc/node-postgres/pull/2568) to allow process to exit if pool is idle.

### pg-cursor@2.7.0

- Convert to [es6 class](https://github.com/brianc/node-postgres/pull/2553)
- Add support for promises [to cursor methods](https://github.com/brianc/node-postgres/pull/2554)

### pg@8.6.0

- Better [SASL](https://github.com/brianc/node-postgres/pull/2436) error messages & more validation on bad configuration.
Loading