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

Skip to content

Tags: lupuszr/slonik

Tags

v26.0.0

Toggle v26.0.0's commit message
fix: add ./types

v25.1.3

Toggle v25.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: make sure that parts of DSN are properly decoded (gajus#314)

DB-connection parameters might have url-incompatible characters in them.
The standard way of dealing with this is urlencoding.

Slonik's old DSN parser supported it, but new one doesn't.

This patch adds urldecoding and urlencoding for username, password and
databaseName

v25.1.2

Toggle v25.1.2's commit message
fix: allow to override ssl using ssl option (fixes gajus#313)

v25.1.1

Toggle v25.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: add Buffer support to primitive value expressions (gajus#311)

fixes gajus#253

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]>