Releases: seancorfield/honeysql
Releases · seancorfield/honeysql
2.7.1368
Immutable
release. Only release title and notes can be modified.
2.7.1364
- Address #593 by adding
:transform-null-equalsoption to control whether[:= expr nil]transforms toIS NULLor preserves= NULL. Defaults totrue(current behavior) for backward compatibility. When set tofalse, follows SQL standard semantics. Mirrors PostgreSQL'stransform_null_equalsconfiguration option. - Fix #590 by allowing simple expressions on the LHS of
SET =clauses, such as array element assignment. - Update dev/test deps (Clojure 1.12.3, CLI 1.12.3.1577).
- Add matrix testing against JDK 25; drop JDK 8.
2.7.1350
- Address #589 by adding support for the
QUALIFYclause (non-ANSI, but supported by several databases). - Note that HoneySQL does not support the double-colon
::syntax for casts: you must use theCASTsyntax instead, i.e.,[:cast :a :int]to produceCAST(a AS INT)instead ofa::INT. - Update dev/test deps.
2.7.1340
- Remove stray
tap>call via PR #587 by Julien Vincent. - Fix #586 by reusing some of the
format-order-bylogic informat-create-indexto provide column ordering. - Fix #585 by checking for the symbol
where(as well as the keyword:where). - Assume
bbfor testing/building; addbb.edn; switch GitHub Actions to usebb.
2.7.1325
- Address #582 by adding PostgreSQL
=>named parameter operator via:=>. - Address #579 by adding
:callspecial syntax to force a function call based on an expression. - Add support for MySQL
USE INDEXonFROMvia metadata. - Fix #576 by fixing single argument
wherelogic. - Update
test-doc-blocks(and use Clojure 1.12.1 during test generation).
2.7.1310
- Address #575 by adding support for parameters in inline XTQL queries.
- Address #574 by adding
honey.sql/*nest-infix*which can be bound tofalseto prevent infix operators (such as:and) from nesting their arguments, i.e, wrapping them in(..). If precedence matters in your expressions, this will produce incorrect SQL. It is intended for specific, limited query dialects (such as Google Ads Queries). - More performance optimizations via PR #573 @alexander-yakushev.
- Address #572 by adding
[:xtql ...]special syntax for inline XTQL queries (for XTDB). - Fix #571 by allowing
:order-byto take an empty sequence of columns (and be omitted). - Address #440 by supporting multiple tables in
:truncate. - Support
USING HASHas well asUSING GIN. - Update dev/build deps.
2.7.1295
2.6.1281
- Address #568 by adding
honey.sql/semicolonto merge multiple SQL+params vectors into one (with semicolons separating the SQL statements). - Address #567 by adding support for
ASSERTclause. - Address #566 by adding
IS [NOT] DISTINCT FROMoperators. - Add examples of
:aliaswith:group-by(syntax is slightly different to existing examples for:order-by).
2.6.1270
- Fix autoboxing introduced in 2.6.1270 via PR #564 @alexander-yakushev.
2.6.1267
- Support expressions in
WITHclauses via PR #563 @krevedkokun. - More performance optimizations via PRs #560 and #562 @alexander-yakushev.
- Fix two broken links to the HoneySQL web app via PR #559 @whatacold.
- Make SQL Server dialect auto-lift Boolean values to parameters since SQL Server has no
TRUE/FALSEliterals. - Fix bug in
DEFAULTvalues clause (that omitted some values).