github gajus/slonik v21.0.0

latest releases: @slonik/types@46.2.0, @slonik/utilities@46.2.0, @slonik/sql-tag@46.2.0...
5 years ago

21.0.0 (2019-11-09)

Bug Fixes

  • disable connection pooling in favour of creating new connections (fixes #121) (a4bf25f)
  • handle client error (2b042ed)
  • restrict query response object to documented properties (21fdb6c)

Features

  • add StatementTimeoutError (28cfdef)
  • log if we are using beforeQueryExecution result (0fb3c22)
  • log the original error produced by the execution routine (0f130ce)
  • rename QueryCancelledError to StatementCancelledError (76cf1f7)
  • restrict FieldType props to those that are guaranteed to be returned by PostgreSQL (eb2f2a0)

BREAKING CHANGES

  • FieldType dataTypeID field renamed to dataTypeId. Other fields than name and dataTypeId were removed.
  • Renamed QueryCancelledError to StatementCancelledError.

Don't miss a new slonik release

NewReleases is sending notifications on new releases.