Releases: seancorfield/honeysql
Releases · seancorfield/honeysql
2.6.1281
- Address #568 by adding
honey.sql/semicolon
to merge multiple SQL+params vectors into one (with semicolons separating the SQL statements). - Address #567 by adding support for
ASSERT
clause. - Address #566 by adding
IS [NOT] DISTINCT FROM
operators. - Add examples of
:alias
with: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
WITH
clauses 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
/FALSE
literals. - Fix bug in
DEFAULT
values clause (that omitted some values).
2.6.1243
- Address #558 by adding
:patch-into
(andpatch-into
helper) for XTDB (but in core). - Address #556 by adding an XTDB section to the documentation with examples.
- Address #555 by supporting
SETTING
clause for XTDB. - Replace
assert
calls with proper validation, throwingex-info
on failure (like other existing validation in HoneySQL). - Experimental
:xtdb
dialect removed (since XTDB no longer supports qualified column names). - Update dev/test deps.
2.6.1230
- Fix #553 by adding
:not-between
as special syntax via PR #554 @plooney81 - Fix #552 by changing the assert-on-load behavior into an explicit test in the test suite.
- Fix #551 by supporting multiple
WINDOW
clauses. - Fix #549 by using
:bb
conditionals to support Babashka (and still support Clojure 1.9.0), and add testing against Babashka so it is fully-supported as a target via PR #550 @borkdude - Address #532 by adding support for XTDB SQL extensions
ERASE
,EXCLUDE
,OBJECT
,RECORD
,RECORDS
, andRENAME
, along with inline hash maps (as records) and:get-in
for object navigation, and starting to write tests for XTDB compatibility.
2.6.1203
2.6.1196
- Address #547 by adding examples of conditional SQL building with the helpers to the README and the
honey.sql.helpers
ns docstring. - Performance optimizations via PRs #545 and #546 @alexander-yakushev.
- Address #544 by adding support for MySQL's
VALUES ROW(..)
syntax. - Fix #543 by supporting both symbols and keywords in named parameters.
- Address #541 by specifying the expected result of a formatter function passed to
register-clause!
and adding the example from the README to Extending HoneySQL. - Getting Started updated based on feedback from Los Angeles Clojure meetup walkthrough #539.
- Fix #538 by removing
mod
from list of infix operators. - Fixed a few symbol/keyword resolution bugs in the formatter. Thanks to @irigarae.
- Update Clojure version to 1.12.0; update dev/test/ci deps.
2.6.1161
- Address #537 by ignoring non-scalar values in metadata, and expanding support to numbers, and checking strings for suspicious characters.
- Address #536 by noting what will not work with PostgreSQL (but works with other databases).
- Address #533 by adding
honey.sql/*escape-?*
which can be bound tofalse
to prevent?
being escaped to??
when used as an operator or function. - Address #526 by using
format-var
in DDL, instead offormat-entity
. - Update JDK test matrix (adopt -> temurin, 19 -> 21).
- Update Clojure versions (to 1.11.4 & 1.12.0-rc2).
2.6.1147
- Address #531 and #527 by adding tests and more documentation for
:composite
; fix bug inset-dialect!
where clause order is not restored. - Address #530 by adding support for
:using-gin
to:create-index
. - Address #529 by fixing
:join
special syntax to support aliases and to handle expressions the same wayselect
/from
etc handle them (extra[...]
nesting). - Add example of mixed
DO UPDATE SET
withEXCLUDED
and regular SQL expressions. - Improve exception message when un-
lift
-ed JSON expressions are used in the DSL. - Update Clojure versions (to 1.11.3 and 1.12.0-alpha12); update other dev/test dependencies.
2.6.1126
- Address #524 by adding example of
{:nest ..}
in:union
clause reference docs. - Address #523 by expanding examples in README Functions to show aliases.
- Address #522 by supporting metadata on table specifications in
:from
and:join
clauses to provide index hints (SQL Server). - Address #521 by adding initial experimental support for an XTDB dialect.
- Address #520 by expanding how
:inline
works, to support a sequence of arguments. - Fix #518 by moving temporal clause before alias.
- Address #495 by adding
formatv
macro (.clj
only!) -- and removing the experimentalformatf
function (added for discussion in 2.4.1045). - Implemented
CREATE INDEX
#348 via PR #517 @dancek. - Mention
:not-in
explicitly in the documentation. - Code cleanup per
clj-kondo
.