Skip to content

@slonik/sql-tag@49.14.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 17:13
8c50cd6

Minor Changes

  • 625c3e7 Thanks @gajus! - fix: the types no longer accept arrays and buffers as values interpolated in a query, or as members of sql.join, sql.list, sql.and and sql.or. They passed type-checking, but always threw at runtime (e.g. "Unexpected value expression."). Bind arrays using sql.array and buffers using sql.binary. Code that interpolates a value typed as PrimitiveValueExpression (which includes arrays and buffers) no longer compiles; type the value as ValueExpression instead.

Patch Changes

  • Updated dependencies [6090a3c]:
    • @slonik/errors@49.14.0
    • @slonik/types@49.14.0