slonik v21.0.0 Release Notes

Release Date: 2019-11-09 // over 4 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.