Skip to content

Releases: vitaly-t/pg-promise

11.4.0

10 Mar 10:59
Compare
Choose a tag to compare
  • 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

21 Feb 22:05
Compare
Choose a tag to compare
  • 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

28 Jan 07:35
Compare
Choose a tag to compare

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

28 Jan 07:08
Compare
Choose a tag to compare
  • 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

30 Dec 23:39
Compare
Choose a tag to compare

CI integration added, thanks to @dplewis

11.0.1

30 Dec 19:04
Compare
Choose a tag to compare

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

11.0.0

29 Dec 23:16
Compare
Choose a tag to compare

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

27 Nov 11:53
Compare
Choose a tag to compare
  • Fixes #854 TypeScript declaration issue.

10.15.3

24 Nov 09:57
Compare
Choose a tag to compare

10.15.2

22 Nov 10:24
Compare
Choose a tag to compare
  • Fixing #853 (crash in NodeJS v12)