Skip to content

Releases: ForbesLindesay/atdatabases

@databases/sql-commenter@1.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 13:07
6940501

New Features

  • Initial Release (#351)

@databases/pg@6.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 13:06
6940501

New Features

  • Added a prepareQuery hook to allow adding context via sql-commenter before running queries. (#351)

@databases/mysql@7.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 13:06
6940501

New Features

  • Added a prepareQuery hook to allow adding context via sql-commenter before running queries. (#351)

@databases/mock-db@1.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 13:06
6940501

New Features

  • Added a prepareQuery hook to allow adding context via sql-commenter before running queries. (#351)

@databases/shared@3.2.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:44
4b6c82c

New Features

  • Passes the error to the Driver.rollbackTransaction function. (#350)

@databases/pg@6.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:45
4b6c82c

Breaking Changes

  • Drop support for Postgres < 14 (#350)

New Features

  • Add utility methods for getting advisory locks in transactions: (#349)

    • Transaction.advisoryTxLock(key) - get an exclusive lock on a key, waiting if it's not available.
    • Transaction.advisoryTxLockShared(key) - get a shared lock on a key, waiting if it's not available.
    • Transaction.tryAdvisoryTxLock(key) - get an exclusive lock on a key, if it's available.
    • Transaction.tryAdvisoryTxLockShared(key) - get a shared lock on a key, if it's available.
  • Add lockTimeoutMilliseconds option for connections (#350)

  • Add transactionTimeoutMilliseconds option for connections (#350)

  • Add transaction options to override the connection default for: (#350)

    • idleInTransactionSessionTimeoutMilliseconds
    • lockTimeoutMilliseconds
    • statementTimeoutMilliseconds
    • transactionTimeoutMilliseconds

Bug Fixes

  • Throw the original error if an SQL error is thrown in a transaction that would then throw a new error when attempting to rollback. (#350)

@databases/pg-typed@5.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:46
4b6c82c

Breaking Changes

  • Drop support for Postgres < 14 (#350)

@databases/pg-test@4.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:46
4b6c82c

Breaking Changes

  • Default to Postgres 18.4 (#350)

@databases/pg-schema-print-types@5.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:46
4b6c82c

Breaking Changes

  • Drop support for Postgres < 14 (#350)

@databases/pg-schema-introspect@5.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:46
4b6c82c

Breaking Changes

  • Drop support for Postgres < 14 (#350)