Releases: seancorfield/honeysql
Releases · seancorfield/honeysql
2.0.0 RC 1
2.0.0 Beta 2
- An important bug fix for the
where
/having
helper functions #322 - Parity with nilenso/honeysql-postgres 0.4.112: adds
filter
/within group
#310 -- this adds a new helper function calledfilter
, adding to the list of core functions shadowed byhoney.sql.helpers
! - Supports
ORDER BY
in expressions (related to #310) join-by
now supports join clauses as well as its original syntax #308- The documentation continues to be expanded and clarified in response to feedback!
Release 2.0.0 Beta 1
- Since Alpha 3, more documentation has been written and existing documentation clarified (addressing #300, #309, #313, #314).
- Fix #319 by ensuring
register-clause!
is idempotent. - Fix #317 by dropping qualifiers in
:set
clauses (just like we do with:insert
columns). Note that you can still use explicit dotted names if you want table qualification. - Fix #316 by disallowing entity names containing
;
(to avoid SQL injection risks). - Fix #312 by adding
:raw
as a clause. There is no helper function equivalent (because it would be ambiguous whether you meant a function form --[:raw ..]
-- or a clause form --{:raw ..}
; and for the same reason, there is nonest
helper function since that also works as a clause and as a function/special syntax).
Release 1.0.461
Important security fix: #299 potential SQL injection vulnerability!
Also includes an optimization for compound WHERE
clauses and some minor documentation improvements.
Release 2.0.0 Alpha 2
This is mainly a documentation overhaul (but I'm not done yet) from Alpha 1. Also includes a number of small improvements around insert/upsert (mostly PostgreSQL-specific).
Release 2.0.0 Alpha 1
- This is a complete rewrite/simplification of HoneySQL that provides just two namespaces:
honey.sql
-- this is the primary API via theformat
function as well as the various extension points.honey.sql.helpers
-- provides a helper function for every piece of the DSL that is supported out-of-the-box.
- The coordinates for HoneySQL 2.0 are
seancorfield/honeysql
so it can be added to a project that already uses HoneySQL 1.0 without any conflicts, making it easier to migrate piecemeal from 1.0 to 2.0.
Release 1.0.444
- Fix #259 so column names are always unqualified in inserts. (@jrdoane)
- Fix #257 by adding support for
cross-join
/merge-cross-join
/:cross-join
. (@dcj) - Switch dev/test pipeline to use CLI/
deps.edn
instead of Leiningen. Also, add CI via both CircleCI and GitHub Actions. - Switch to MAJOR.MINOR.COMMITS versioning.
- Remove
macrovich
dependency as this is no longer needed with modern ClojureScript. - Add mention of
next.jdbc
everywhereclojure.java.jdbc
was mentioned.
Release 0.9.10
- Fix #254 #255 by adding support for
except
. (@ted-coakley-otm) - Fix #253 properly by supporting
false
as well. (@ted-coakley-otm) - Add cljs testing to
deps.edn
, also multi-version clj testing and newreadme
testing.
Release 0.9.9
Fixes #253 which was a regression in join
introduced in 0.9.3.
Release 0.9.8
- Fix #249 by adding
honeysql.format/*namespace-as-table?*
and:namespace-as-table?
option toformat
. (@seancorfield)
This allows :table/column
style keywords to be used consistently (as if they were :table.column
) for better interop with other modern libraries.