prep for 2.6.1125
Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
parent
225c0db092
commit
1f37b46151
5 changed files with 10 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Changes
|
||||
|
||||
* 2.5.next in progress
|
||||
* 2.6.1125 -- 2024-03-04
|
||||
* Address [#524](https://github.com/seancorfield/honeysql/issues/524) by adding example of `{:nest ..}` in `:union` clause reference docs.
|
||||
* Address [#523](https://github.com/seancorfield/honeysql/issues/523) by expanding examples in README **Functions** to show aliases.
|
||||
* Address [#522](https://github.com/seancorfield/honeysql/issues/522) by supporting metadata on table specifications in `:from` and `:join` clauses to provide index hints (SQL Server).
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
* Update `tools.build` to 0.9.5 (and remove `:java-opts` setting from `build/run-task`)
|
||||
|
||||
* 2.4.1045 -- 2023-06-25
|
||||
* Address [#495](https://github.com/seancorfield/honeysql/issues/495) by adding (experimental) `formatf` function -- _note: this was removed in 2.5.next, in favor of the `formatv` macro._
|
||||
* Address [#495](https://github.com/seancorfield/honeysql/issues/495) by adding (experimental) `formatf` function -- _note: this was removed in 2.6.1125, in favor of the `formatv` macro._
|
||||
* Fix [#494](https://github.com/seancorfield/honeysql/issues/494) by supporting expressions in `:on-conflict` instead of just entities.
|
||||
* Address [#493](https://github.com/seancorfield/honeysql/issues/493) by clarifying use of `:values` in CTEs (using `:with`).
|
||||
* Address [#489](https://github.com/seancorfield/honeysql/issues/489) by adding more examples around `:update`.
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ SQL as Clojure data structures. Build queries programmatically -- even at runtim
|
|||
|
||||
## Build
|
||||
|
||||
[](https://clojars.org/com.github.seancorfield/honeysql)
|
||||
[](https://cljdoc.org/d/com.github.seancorfield/honeysql/CURRENT)
|
||||
[](https://clojars.org/com.github.seancorfield/honeysql)
|
||||
[](https://cljdoc.org/d/com.github.seancorfield/honeysql/CURRENT)
|
||||
[](https://clojurians.slack.com/app_redirect?channel=honeysql)
|
||||
[](http://clojurians.net)
|
||||
|
||||
|
|
@ -143,7 +143,7 @@ Namespace-qualified keywords (and symbols) are generally treated as table-qualif
|
|||
=> ["SELECT foo.a, foo.b, foo.c FROM foo WHERE foo.a = ?" "baz"]
|
||||
```
|
||||
|
||||
As of 2.5.next, there is a helper macro you can use with quoted symbolic
|
||||
As of 2.6.1125, there is a helper macro you can use with quoted symbolic
|
||||
queries (that are purely literal, not programmatically constructed) to
|
||||
provide "escape hatches" for certain symbols that you want to be treated
|
||||
as locally bound symbols (and, hence, their values):
|
||||
|
|
|
|||
|
|
@ -835,7 +835,7 @@ user=> (sql/format {:select [:u.username]
|
|||
["SELECT u.username FROM user FOR SYSTEM_TIME FROM '2019-08-01 15:23:00' TO '2019-08-01 15:24:00' AS u WHERE u.id = ?" 9]
|
||||
```
|
||||
|
||||
As of 2.5.next, HoneySQL supports metadata on a table expression to provide
|
||||
As of 2.6.1125, HoneySQL supports metadata on a table expression to provide
|
||||
database-specific hints, such as SQL Server's `WITH (..)` clause:
|
||||
|
||||
```clojure
|
||||
|
|
@ -942,7 +942,7 @@ user=> (sql/format {:select [:t.ref :pp.code]
|
|||
["SELECT t.ref, pp.code FROM transaction AS t LEFT JOIN paypal_tx AS pp USING (id) WHERE ? = pp.status" "settled"]
|
||||
```
|
||||
|
||||
As of 2.5.next, HoneySQL supports metadata on a table expression to provide
|
||||
As of 2.6.1125, HoneySQL supports metadata on a table expression to provide
|
||||
database-specific hints, such as SQL Server's `WITH (..)` clause:
|
||||
|
||||
```clojure
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ Supported Clojure versions: 1.7 and later.
|
|||
In `deps.edn`:
|
||||
<!-- :test-doc-blocks/skip -->
|
||||
```clojure
|
||||
com.github.seancorfield/honeysql {:mvn/version "2.5.1103"}
|
||||
com.github.seancorfield/honeysql {:mvn/version "2.6.1125"}
|
||||
```
|
||||
|
||||
Required as:
|
||||
|
|
|
|||
|
|
@ -10,14 +10,14 @@ For the Clojure CLI, add the following dependency to your `deps.edn` file:
|
|||
|
||||
<!-- :test-doc-blocks/skip -->
|
||||
```clojure
|
||||
com.github.seancorfield/honeysql {:mvn/version "2.5.1103"}
|
||||
com.github.seancorfield/honeysql {:mvn/version "2.6.1125"}
|
||||
```
|
||||
|
||||
For Leiningen, add the following dependency to your `project.clj` file:
|
||||
|
||||
<!-- :test-doc-blocks/skip -->
|
||||
```clojure
|
||||
[com.github.seancorfield/honeysql "2.5.1103"]
|
||||
[com.github.seancorfield/honeysql "2.6.1125"]
|
||||
```
|
||||
|
||||
HoneySQL produces SQL statements but does not execute them.
|
||||
|
|
|
|||
Loading…
Reference in a new issue