Fixes #144; prep for 1.1.613 release
This commit is contained in:
parent
3a30e22840
commit
5737495c4e
5 changed files with 23 additions and 20 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
Only accretive/fixative changes will be made from now on.
|
Only accretive/fixative changes will be made from now on.
|
||||||
|
|
||||||
|
* 1.1.613 -- 2020-11-05
|
||||||
|
* Fix #144 by ensuring `camel-snake-case` is properly required before use in an uberjar context.
|
||||||
|
|
||||||
## Stable Builds
|
## Stable Builds
|
||||||
|
|
||||||
* 1.1.610 -- 2020-10-19
|
* 1.1.610 -- 2020-10-19
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ The next generation of `clojure.java.jdbc`: a new low-level Clojure wrapper for
|
||||||
|
|
||||||
The latest versions on Clojars and on cljdoc:
|
The latest versions on Clojars and on cljdoc:
|
||||||
|
|
||||||
[](https://clojars.org/seancorfield/next.jdbc) [](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT)
|
[](https://clojars.org/seancorfield/next.jdbc) [](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT)
|
||||||
|
|
||||||
The documentation on [cljdoc.org](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT) is for the current version of `next.jdbc`:
|
The documentation on [cljdoc.org](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT) is for the current version of `next.jdbc`:
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@ The documentation on [cljdoc.org](https://cljdoc.org/d/seancorfield/next.jdbc/CU
|
||||||
* [Migrating from `clojure.java.jdbc`](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT/doc/migration-from-clojure-java-jdbc)
|
* [Migrating from `clojure.java.jdbc`](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT/doc/migration-from-clojure-java-jdbc)
|
||||||
* Feedback via [issues](https://github.com/seancorfield/next-jdbc/issues) or in the [`#sql` channel on the Clojurians Slack](https://clojurians.slack.com/messages/C1Q164V29/details/) or the [`#sql` stream on the Clojurians Zulip](https://clojurians.zulipchat.com/#narrow/stream/152063-sql).
|
* Feedback via [issues](https://github.com/seancorfield/next-jdbc/issues) or in the [`#sql` channel on the Clojurians Slack](https://clojurians.slack.com/messages/C1Q164V29/details/) or the [`#sql` stream on the Clojurians Zulip](https://clojurians.zulipchat.com/#narrow/stream/152063-sql).
|
||||||
|
|
||||||
The documentation on GitHub is for **develop** since the 1.1.610 release -- [see the CHANGELOG](https://github.com/seancorfield/next-jdbc/blob/develop/CHANGELOG.md) and then read the [corresponding updated documentation](https://github.com/seancorfield/next-jdbc/tree/develop/doc) on GitHub if you want.
|
The documentation on GitHub is for **develop** since the 1.1.613 release -- [see the CHANGELOG](https://github.com/seancorfield/next-jdbc/blob/develop/CHANGELOG.md) and then read the [corresponding updated documentation](https://github.com/seancorfield/next-jdbc/tree/develop/doc) on GitHub if you want.
|
||||||
|
|
||||||
This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.
|
This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,12 @@ It is designed to work with Clojure 1.10 or later, supports `datafy`/`nav`, and
|
||||||
You can add `next.jdbc` to your project with either:
|
You can add `next.jdbc` to your project with either:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
seancorfield/next.jdbc {:mvn/version "1.1.610"}
|
seancorfield/next.jdbc {:mvn/version "1.1.613"}
|
||||||
```
|
```
|
||||||
for `deps.edn` or:
|
for `deps.edn` or:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
[seancorfield/next.jdbc "1.1.610"]
|
[seancorfield/next.jdbc "1.1.613"]
|
||||||
```
|
```
|
||||||
for `project.clj` or `build.boot`.
|
for `project.clj` or `build.boot`.
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ For the examples in this documentation, we will use a local H2 database on disk,
|
||||||
```clojure
|
```clojure
|
||||||
;; deps.edn
|
;; deps.edn
|
||||||
{:deps {org.clojure/clojure {:mvn/version "1.10.1"}
|
{:deps {org.clojure/clojure {:mvn/version "1.10.1"}
|
||||||
seancorfield/next.jdbc {:mvn/version "1.1.610"}
|
seancorfield/next.jdbc {:mvn/version "1.1.613"}
|
||||||
com.h2database/h2 {:mvn/version "1.4.199"}}}
|
com.h2database/h2 {:mvn/version "1.4.199"}}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
4
pom.xml
4
pom.xml
|
|
@ -3,7 +3,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>seancorfield</groupId>
|
<groupId>seancorfield</groupId>
|
||||||
<artifactId>next.jdbc</artifactId>
|
<artifactId>next.jdbc</artifactId>
|
||||||
<version>1.1.610</version>
|
<version>1.1.613</version>
|
||||||
<name>next.jdbc</name>
|
<name>next.jdbc</name>
|
||||||
<description>The next generation of clojure.java.jdbc: a new low-level Clojure wrapper for JDBC-based access to databases.</description>
|
<description>The next generation of clojure.java.jdbc: a new low-level Clojure wrapper for JDBC-based access to databases.</description>
|
||||||
<url>https://github.com/seancorfield/next-jdbc</url>
|
<url>https://github.com/seancorfield/next-jdbc</url>
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<url>https://github.com/seancorfield/next-jdbc</url>
|
<url>https://github.com/seancorfield/next-jdbc</url>
|
||||||
<connection>scm:git:git://github.com/seancorfield/next-jdbc.git</connection>
|
<connection>scm:git:git://github.com/seancorfield/next-jdbc.git</connection>
|
||||||
<developerConnection>scm:git:ssh://git@github.com/seancorfield/next-jdbc.git</developerConnection>
|
<developerConnection>scm:git:ssh://git@github.com/seancorfield/next-jdbc.git</developerConnection>
|
||||||
<tag>v1.1.610</tag>
|
<tag>v1.1.613</tag>
|
||||||
</scm>
|
</scm>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -299,23 +299,23 @@
|
||||||
|
|
||||||
(defmacro ^:private def-snake-kebab []
|
(defmacro ^:private def-snake-kebab []
|
||||||
(try
|
(try
|
||||||
(let [kebab-case (requiring-resolve 'camel-snake-kebab.core/->kebab-case)
|
(require 'camel-snake-kebab.core)
|
||||||
snake-case (requiring-resolve 'camel-snake-kebab.core/->snake_case)]
|
`(let [kebab-case# (requiring-resolve 'camel-snake-kebab.core/->kebab-case)
|
||||||
`(do
|
snake-case# (requiring-resolve 'camel-snake-kebab.core/->snake_case)]
|
||||||
(def snake-kebab-opts
|
(def snake-kebab-opts
|
||||||
"A hash map of options that will convert Clojure identifiers to
|
"A hash map of options that will convert Clojure identifiers to
|
||||||
snake_case SQL entities (`:table-fn`, `:column-fn`), and will convert
|
snake_case SQL entities (`:table-fn`, `:column-fn`), and will convert
|
||||||
SQL entities to qualified kebab-case Clojure identifiers (`:builder-fn`)."
|
SQL entities to qualified kebab-case Clojure identifiers (`:builder-fn`)."
|
||||||
{:column-fn ~snake-case :table-fn ~snake-case
|
{:column-fn snake-case# :table-fn snake-case#
|
||||||
:label-fn ~kebab-case :qualifier-fn ~kebab-case
|
:label-fn kebab-case# :qualifier-fn kebab-case#
|
||||||
:builder-fn (resolve 'next.jdbc.result-set/as-kebab-maps)})
|
:builder-fn (resolve 'next.jdbc.result-set/as-kebab-maps)})
|
||||||
(def unqualified-snake-kebab-opts
|
(def unqualified-snake-kebab-opts
|
||||||
"A hash map of options that will convert Clojure identifiers to
|
"A hash map of options that will convert Clojure identifiers to
|
||||||
snake_case SQL entities (`:table-fn`, `:column-fn`), and will convert
|
snake_case SQL entities (`:table-fn`, `:column-fn`), and will convert
|
||||||
SQL entities to unqualified kebab-case Clojure identifiers (`:builder-fn`)."
|
SQL entities to unqualified kebab-case Clojure identifiers (`:builder-fn`)."
|
||||||
{:column-fn ~snake-case :table-fn ~snake-case
|
{:column-fn snake-case# :table-fn snake-case#
|
||||||
:label-fn ~kebab-case :qualifier-fn ~kebab-case
|
:label-fn kebab-case# :qualifier-fn kebab-case#
|
||||||
:builder-fn (resolve 'next.jdbc.result-set/as-unqualified-kebab-maps)})))
|
:builder-fn (resolve 'next.jdbc.result-set/as-unqualified-kebab-maps)}))
|
||||||
(catch Throwable _)))
|
(catch Throwable _)))
|
||||||
|
|
||||||
(def-snake-kebab)
|
(def-snake-kebab)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue