Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: SychevSP/slonik

Tags

v25.1.0

Toggle v25.1.0's commit message
feat: add createDsn and stringifyDsn utilities

v25.0.0

Toggle v25.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: change query retry handling (gajus#308)

Move transaction retry handling to the transaction and nestedTransaction
methods and change it so that the handler function is called again
instead of just replaying the queries that are part of the transaction.
Fixes gajus#163.

Add a second parameter to the transaction method to allow users to
define a retry limit per transaction. If a retry limit is given for a
transaction then the global defined retry limit for transactions is
ignored.

Change executeQuery so that it retries individual queries that failed
with a transaction rollback error. Only queries that are not part of a
transaction are retried. The number of times a query is retried is
specified by the global queryRetryLimit configuration. Fixes gajus#176.

The above change also fixes gajus#196 since the transactionQueries array no
longer exists.

BREAKING CHANGE: changes query / transaction retry strategy

v24.2.0

Toggle v24.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add literalValue (fixes gajus#309, gajus#150)

v24.1.2

Toggle v24.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: update createTimestampWithTimeZoneTypeParser.ts (gajus#304)

v24.1.1

Toggle v24.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: Replace non-null type assertion (gajus#298)

Replace with typescript utility type 'Exclude'

v24.1.0

Toggle v24.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: sql.identifier-like column types for sql.unnest (gajus#296)

* feat: sql.identifier-like column types for sql.unnest

allows passing user defined pg types located in custom pg schema

* test: add test on sql.identifier-like column types

* docs: update README.md

Co-authored-by: hoonoh <[email protected]>

v24.0.1

Toggle v24.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: copyFromBinary (gajus#295)

v24.0.0

Toggle v24.0.0's commit message
chore: upgrade node version used to run tests

v23.9.0

Toggle v23.9.0's commit message
feat: log warning if prefer native bindings is set, but pg-native is …

…not found (fixes gajus#281)

v23.8.5

Toggle v23.8.5's commit message
fix: update dependencies