Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Upgrade pg-promise from 10.12.0 to 11.4.3 #8566

Closed

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade pg-promise from 10.12.0 to 11.4.3.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 19 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2023-03-18.
Release notes
Package name: pg-promise
  • 11.4.3 - 2023-03-18
    • Updated dependencies
    • Marked method batch as deprecated.
  • 11.4.2 - 2023-03-17
    • Dev dependencies updated
    • Semantic refactoring of the code
  • 11.4.1 - 2023-03-10
    • Corrected TypeScript signature for the Pool's property log.
  • 11.4.0 - 2023-03-10
    • Updated dependencies: "pg" -> "8.10.0" and "pg-query-stream" -> "4.4.0"
    • Extended IPool TypeScript declaration with properties expiredCount + log. The latter in case you want to log what the pool is doing:
    db.$pool.log = (msg: string, err?: any) => {
        console.log('Pool:', msg, err); // report what the pool is doing
    }
  • 11.3.0 - 2023-02-21
    • Following #867, amended missed connection + default properties within TypeScript declarations:
      • lock_timeout - abort any statement that waits longer than the specified duration
      • idle_in_transaction_session_timeout - terminate any session with an open transaction that has been idle for longer
  • 11.2.0 - 2023-01-28

    Quick follow up on issues within the previous release:

    • Corrected type of stream property to Socket
    • Temporarily disabled CI for PG v14 and v15, until the integration issue is resolved.
  • 11.1.0 - 2023-01-28
    • Upgraded the underlying driver; see its changes.
    • Added property stream to the connection parameters in TypeScript declarations.

    Please ignore CI errors that are due to this issue, which can be addressed later.

  • 11.0.2 - 2022-12-30

    CI integration added, thanks to @ dplewis

  • 11.0.1 - 2022-12-30

    Removed use of operator ??=, which was causing error under NodeJS version < 15.

  • 11.0.0 - 2022-12-29

    BREAKING CHANGES

    • Initialization option noLocking and all the locking logic has been removed. It was a bit of an over-engineering thing.
    • Parameters for events connect, disconnect and receive have changed (wrapped into an object)
    • Connection option poolSize has been retired. You should just use option max now, for the pool size.
    • NodeJS v14 is now the required minimum

    OTHER CHANGES

    • Documentation updates
    • DEV dependencies updated
  • 10.15.4 - 2022-11-27
  • 10.15.3 - 2022-11-24
  • 10.15.2 - 2022-11-22
  • 10.15.1 - 2022-11-21
  • 10.15.0 - 2022-11-17
  • 10.14.2 - 2022-11-17
  • 10.14.1 - 2022-11-16
  • 10.14.0 - 2022-11-15
  • 10.12.1 - 2022-10-17
  • 10.12.0 - 2022-08-27
from pg-promise GitHub release notes
Commit messages
Package name: pg-promise

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@parse-github-assistant
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title [Snyk] Upgrade pg-promise from 10.12.0 to 11.4.3 refactor: Upgrade pg-promise from 10.12.0 to 11.4.3 May 22, 2023
@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (d8bff57) 94.12% compared to head (d902e05) 94.11%.

❗ Current head d902e05 differs from pull request most recent head 2bd9f28. Consider uploading reports for the commit 2bd9f28 to get more accurate results

Additional details and impacted files
@@                Coverage Diff                @@
##           release-5.x.x    #8566      +/-   ##
=================================================
- Coverage          94.12%   94.11%   -0.01%     
=================================================
  Files                183      183              
  Lines              13798    13798              
=================================================
- Hits               12987    12986       -1     
- Misses               811      812       +1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mtrezza mtrezza closed this May 22, 2023
@mtrezza mtrezza deleted the snyk-upgrade-f9d2d019031033717f8bf2a1bbb9cc5e branch January 3, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants