Skip to content

Releases: gajus/slonik

v13.1.1

09 Feb 19:02
Compare
Choose a tag to compare

13.1.1 (2019-02-09)

Bug Fixes

v13.1.0

09 Feb 17:11
Compare
Choose a tag to compare

13.1.0 (2019-02-09)

Features

v13.0.0

09 Feb 14:44
Compare
Choose a tag to compare

13.0.0 (2019-02-09)

Bug Fixes

  • add missing primitive value type (0403b2a)

Features

  • add sql.set and sql.multiset (9c5e4a7)
  • log unexepected value expression type (0bd483b)

BREAKING CHANGES

    • Array expression is no longer automatically converted to a set. Use sql.set and sql.multiset.

v12.0.1

09 Feb 03:23
Compare
Choose a tag to compare

12.0.1 (2019-02-09)

Bug Fixes

  • correct default stripComments setting (3b95825)
  • handle set interpolation (46ceb91)
  • handle set interpolation (787b634)
  • reduce coverage requirements (42e090f)
  • use full symbol name (fcce150)

v12.0.0

09 Feb 01:37
Compare
Choose a tag to compare

12.0.0 (2019-02-09)

Features

  • refactor the interceptor API (f155b5c)
  • remove createConnection method (5648689)

BREAKING CHANGES

    • Removed createConnection method; use createPool instead.
    • Removed anonymous placeholders
  • Removed named placeholders
  • sql.raw shape changed to {sql: string, type: ‘RAW_SQL’}
  • createFormatFieldNameInterceptor renamed to createFieldNameTransformationInterceptor
  • {after,before}Query renamed to {after,before}QueryExecution
  • Removed onConnect client configuration; use afterConnection interceptor method
  • Removed SLONIK_LOG_NORMALISED

v11.2.0

08 Feb 18:54
Compare
Choose a tag to compare

11.2.0 (2019-02-08)

Features

  • add beforeConnectionEnd and beforePoolConnectionRelease interceptor methods (9dfa584)

v11.1.0

08 Feb 18:34
Compare
Choose a tag to compare

11.1.0 (2019-02-08)

Features

  • add format field name interceptor (8d12d72)

v11.0.0

08 Feb 17:40
Compare
Choose a tag to compare

11.0.0 (2019-02-08)

Features

  • afterQuery must return the query result (ff8232f)

BREAKING CHANGES

  • afterQuery modifies the result of the query.

v10.0.0

08 Feb 17:25
Compare
Choose a tag to compare

10.0.0 (2019-02-08)

Features

  • do not allow use of bare strings (fixes #11) (3b9a9af)

BREAKING CHANGES

  • Query methods cannot be executed using bare string. Use sql tagged template literal to construct the query. Use sql.raw when you need to dynamically generate query.

v9.2.0

08 Feb 17:10
Compare
Choose a tag to compare

9.2.0 (2019-02-08)

Bug Fixes

Features