Skip to content

Releases: seancorfield/honeysql

2.0.0 RC 1

07 May 05:16
Compare
Choose a tag to compare
2.0.0 RC 1 Pre-release
Pre-release
  • Fix #324 so that insert-into supports merging into another statement in all cases.
  • Fix #323 by supporting more than one SQL entity in :on-conflict.
  • Fix #321 by adding :checking mode. Currently only detects potential problems with IN clauses.

2.0.0 Beta 2

13 Apr 20:00
Compare
Choose a tag to compare
2.0.0 Beta 2 Pre-release
Pre-release
  • 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 called filter, adding to the list of core functions shadowed by honey.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

10 Apr 06:52
Compare
Choose a tag to compare
Release 2.0.0 Beta 1 Pre-release
Pre-release
  • 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 no nest helper function since that also works as a clause and as a function/special syntax).

Release 1.0.461

22 Feb 19:08
ec6814e
Compare
Choose a tag to compare

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

17 Feb 03:50
Compare
Choose a tag to compare
Release 2.0.0 Alpha 2 Pre-release
Pre-release

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

13 Mar 23:46
Compare
Choose a tag to compare
Release 2.0.0 Alpha 1 Pre-release
Pre-release
  • This is a complete rewrite/simplification of HoneySQL that provides just two namespaces:
    • honey.sql -- this is the primary API via the format 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

29 May 23:11
Compare
Choose a tag to compare
  • 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 everywhere clojure.java.jdbc was mentioned.

Release 0.9.10

06 Mar 23:20
Compare
Choose a tag to compare

Release 0.9.9

03 Mar 00:02
Compare
Choose a tag to compare

Fixes #253 which was a regression in join introduced in 0.9.3.

Release 0.9.8

08 Sep 06:45
Compare
Choose a tag to compare
  • Fix #249 by adding honeysql.format/*namespace-as-table?* and :namespace-as-table? option to format. (@seancorfield)

This allows :table/column style keywords to be used consistently (as if they were :table.column) for better interop with other modern libraries.