Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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.14.1
Choose a base ref
Loading
...
head repository: brianc/node-postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pg@8.15.0
Choose a head ref
Loading
  • 11 commits
  • 67 files changed
  • 8 contributors

Commits on Mar 22, 2025

  1. Update sponsorship info

    brianc committed Mar 22, 2025
    Configuration menu
    Copy the full SHA
    a3fefe3 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. docs: fix bug in transaction example (#3414)

    Throwing error will not allow "finally" execution, so client.release() must be invoked before it.
    lucaesposto authored Apr 1, 2025
    Configuration menu
    Copy the full SHA
    dcb4257 View commit details
    Browse the repository at this point in the history
  2. build(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.2.5 (#3412)

    Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.2 to 5.2.5.
    - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
    - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/eslint-plugin-prettier@v5.1.2...v5.2.5)
    
    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-prettier
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 1, 2025
    Configuration menu
    Copy the full SHA
    a5d03a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2025

  1. Revert "docs: fix bug in transaction example (#3414)"

    This reverts commit dcb4257.
    
    The change doesn’t fix the bug it claims to (`finally` always runs) and introduces a resource leak if the `ROLLBACK` query fails. The related bug that a broken client can be returned to the pool remains unaffected either way.
    charmander committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    a9fd34f View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2025

  1. feat(pg-connection-string): ClientConfig helper functions

    Two new functions are introduced to make it easy for TypeScript
    users to use a PostgresSQL connection string with pg Client.
    
    Fixes #2280
    hjr3 committed Apr 9, 2025
    Configuration menu
    Copy the full SHA
    5a8b1a7 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2025

  1. Configuration menu
    Copy the full SHA
    9b51037 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2025

  1. test: Avoid silencing errors from idle timeout test’s child process (#…

    …3419)
    
    This hid the error fixed in #3263, for example.
    charmander authored Apr 13, 2025
    Configuration menu
    Copy the full SHA
    d8fb2f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2025

  1. feat(pg-connection-string): get closer to libpq semantics for sslmode

    Allows user to change the semantics of `sslmode` to be as close as possible to libpq semantics. The opt in can be enabled using `useLibpqCompat` parsing option or the non-standard `uselibpqcompat` query string parameter.
    
    ---------
    
    Co-authored-by: Charmander <~@charmander.me>
    Co-authored-by: Herman J. Radtke III <herman@hermanradtke.com>
    3 people authored Apr 20, 2025
    Configuration menu
    Copy the full SHA
    81ec063 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2025

  1. 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>
    brianc and mesqueeb authored Apr 22, 2025
    Configuration menu
    Copy the full SHA
    940479b View commit details
    Browse the repository at this point in the history
  2. Update changelog

    brianc committed Apr 22, 2025
    Configuration menu
    Copy the full SHA
    60817cd View commit details
    Browse the repository at this point in the history
  3. 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
    brianc committed Apr 22, 2025
    Configuration menu
    Copy the full SHA
    9ec9e5f View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.