honeysql/CHANGES.md

133 lines
5.2 KiB
Markdown
Raw Normal View History

## 0.9.4 (in progress)
* `#sql/inline nil` should produce `NULL`. Fix #221. (@seancorfield)
* `#sql/inline :kw` should produce `"kw"`. Fix #224 via PR #225. (@vincent-dm) Note: this introduces a new protocol, `Inlinable`, which controls inline value rendering, and changes the behavior of `#sql/inline :foo/bar` to produce just `"bar"` (where it was probably invalid SQL before).
2018-09-03 01:35:02 +00:00
* Alias expressions `[:col :alias]` are now checked to have exactly two elements. Fix #226.
* Allow `where` and `merge-where` to be given no predicates. Fix #228.
2018-07-02 03:30:21 +00:00
## 0.9.3
2018-06-30 04:59:17 +00:00
* Support parameters in `#sql/raw`. Fix #219. (@seancorfield)
* Add examples of table/column aliases to the README. Fix #215. (@seancorfield)
* Refactor parameterizer to use multimethods. PR #214. (@xlevus)
* Add examples of `raw` and `inline` to the README. Fix #213. (@seancorfield)
2018-07-02 03:21:46 +00:00
* Add `register-parameterizer` for custom parameterizers. PR #209. (@juvenn)
* Change `set` priority to after `join`. Fix #200. (@michaelblume)
* Switch dependency version checker to deps.co. PR #197. (@danielcompton)
* Support `join ... using( ... )`. Fix #188, PR #201. (@vincent-dm)
* Add multi-version testing for Clojure 1.7, 1.8, 1.9, 1.10 (master) (@seancorfield)
* Bring all dependencies up-to-date. (@seancorfield)
2018-07-02 03:21:46 +00:00
* Add `run-tests.sh` to make it easier to run the same tests manually that run on Travis-CI. (@seancorfield)
* Add `deps.edn` to support `clj`/`tools.deps.alpha`. (@seancorfield)
* Expose `#sql/inline` data reader. (@seancorfield)
2018-03-13 22:01:14 +00:00
## 0.9.2
* Remove `nil` `:and` arguments for where. Fix #203. (@michaelblume)
* Fix nested `select` formatting. Fix #198. (@visibletrap)
* Limit value context to sequences in value positions. (@xiongtx)
* Avoid wrapping QUERY with parens while formatting `INSERT INTO ... QUERY`. (@emidln)
* Allow for custom name-transform-fn. Fix #193. (@madvas)
* Add :intersect to default-clause-priorities. (@kenfehling)
* Add `:parameterizer` `:none` for skipping `clojure.java.jdbc` parameter generation. (@arichiardi)
* Add ClojureScript self-host support. (@arichiardi)
2017-08-25 16:11:00 +00:00
## 0.9.1
* Add helper to inline values/prevent parameterization (@michaelblume)
2017-06-28 03:30:18 +00:00
## 0.9.0
2017-05-10 20:43:52 +00:00
2017-07-09 03:07:46 +00:00
BREAKING CHANGES:
* Some tuples used as values no longer work. See #168.
2017-06-28 03:24:14 +00:00
* Reprioritize WITH wrt UNION and UNION ALL (@emidln)
2017-05-20 06:02:16 +00:00
* Helpers for :with and :with-recursive clauses (@enaeher)
* Allow namespaced keywords and symbols for queries. (@jrdoane)
2017-05-10 20:34:47 +00:00
* Ensure sequences act as function invocations when in value position (@joodie)
* Correct generated arglist for helpers defined with defhelper (@michaelblume)
* Don't depend on map iteration order, fix bug with multiple map types (@tomconnors)
* Don't throw away namespace portion of keywords (@jrdoane)
2017-05-10 20:38:51 +00:00
* Update CLJS dependencies (@michaelblume)
2017-06-28 03:30:18 +00:00
* Add helpers for :with and :with-recursive clauses (@enaher)
2017-01-01 07:14:33 +00:00
## 0.8.2
2016-09-25 22:32:33 +00:00
2017-01-01 07:13:32 +00:00
* Don't parenthesize the subclauses of a UNION, UNION ALL, or INTERSECT clause. (@rnewman)
2016-09-25 22:32:14 +00:00
## 0.8.1
2016-08-05 18:11:19 +00:00
2016-09-25 22:29:56 +00:00
* Add priority for union/union-all (@seancorfield)
2016-08-05 18:09:46 +00:00
## 0.8.0
* Get arglists right for generated helpers (@camsaul, @michaelblume)
* Allow HoneySQL to be used from Clojurescript (@rnewman, @michaelblume)
* BREAKING CHANGE: HoneySQL now requires Clojure 1.7.0 or above.
2016-06-07 23:59:13 +00:00
2016-06-07 23:58:39 +00:00
## 0.7.0
2016-02-09 22:54:51 +00:00
2016-06-07 23:58:08 +00:00
* Parameterize numbers, properly handle NaN, Infinity, -Infinity (@akhudek)
* Fix lock example in README (@michaelblume)
* Allow joins without a predicate (@stuarth)
* Escape quotes in quoted identifiers (@csummers)
* Add support for INTERSECT (@jakemcc)
* Upgrade Clojure dependency (@michaelblume)
2016-02-09 22:54:51 +00:00
## 0.6.3
* Fix bug when SqlCall/SqlRaw object is first argument to another helper (@MichaelBlume)
2015-11-29 23:43:24 +00:00
* Add support for :intersect clause (@jakemcc)
2015-10-19 19:31:57 +00:00
## 0.6.2
2015-06-07 02:03:12 +00:00
* Support column names in :with clauses (@emidln)
* Support preserving dashes in quoted names (@jrdoane)
* Document correct use of the :union clause (@dball)
* Tests for :union and :union-all (@dball)
* Add fn-handler for CASE statement (@loganlinn)
* Build/test with Clojure 1.7 (@michaelblume)
* Refactors for clarity (@michaelblume)
2015-10-19 19:31:34 +00:00
2015-06-07 01:56:59 +00:00
## 0.6.1
2015-05-10 17:00:35 +00:00
* Define parameterizable protocol on nil (@dball)
2015-05-10 16:56:54 +00:00
## 0.6.0
2015-05-08 23:38:14 +00:00
* Convert seq param values to literal sql param lists (@dball)
* Apply seq to sets when converting to sql (@dball)
2015-05-08 23:39:06 +00:00
2015-05-08 23:00:38 +00:00
## 0.5.3
2014-10-07 21:46:52 +00:00
2015-04-24 06:44:19 +00:00
* Support exists syntax (@cddr)
2015-04-20 01:57:44 +00:00
* Support locking selects (@dball)
* Add sql array type and reader literal (@loganmhb)
2015-04-22 00:49:41 +00:00
* Allow user to specify where in sort order NULLs fall (@mishok13)
2014-10-07 21:46:52 +00:00
## 0.5.2
* Add value type to inhibit interpreting clojure sequences as subqueries (@MichaelParam)
* Improve documentation (@hlship)
* Add type hints to avoid reflection (@MichaelBlume)
* Allow database-specific query parameterization (@icambron, @MichaelBlume)
## 0.5.1
* Add :url to project.clj (@MichaelBlume)
## 0.5.0
* Support basic common table expressions (:with, :with-recursive) (@akhudek)
* Make clause order extensible (@MichaelBlume)
* Support extended INSERT INTO...SELECT syntax (@ddellacosta)
* Update clojure version to 1.6.0 (@MichaelBlume)
* Implement ToSql on Object, vastly improving performance (@MichaelBlume)
* Support CAST(foo AS type) (@senior)
* Support postgres-native parameters (@icambron)
* Support :full-join (@justindell)
* Expose :arglist metadata in defhelper (@hlship)
* Improvements to the documentation, especially showing some recently added features, such as inserts
and updates.