Prep for 1.0.2 release
This commit is contained in:
parent
8883167805
commit
7306e5ed3a
4 changed files with 20 additions and 17 deletions
27
CHANGELOG.md
27
CHANGELOG.md
|
|
@ -4,22 +4,25 @@ Only accretive/fixative changes will be made from now on.
|
|||
|
||||
## Unreleased Changes
|
||||
|
||||
The following changes have been committed to the **master** branch since the 1.0.1 release:
|
||||
The following changes have been committed to the **master** branch since the 1.0.2 release:
|
||||
|
||||
* Fix #47 by refactoring database specs to be a single hash map instead of pouring multiple maps into one.
|
||||
* Fix #46 by allowing `:host` to be `:none` which tells `next.jdbc` to omit the host/port section of the JDBC URL, so that local databases can be used with `:dbtype`/`:classname` for database types that `next.jdbc` does not know. Also added `:dbname-separator` and `:host-prefix` to the "db-spec" to allow fine-grained control over how the JDBC URL is assembled.
|
||||
* Fix #45 by adding [TimesTen](https://www.oracle.com/database/technologies/related/timesten.html) driver support.
|
||||
* Fix #44 so that `insert-multi!` with an empty `rows` vector returns `[]`.
|
||||
* Fix #43 by adjusting the spec for `insert-multi!` to "require less" of the `cols` and `rows` arguments.
|
||||
* Fix #42 by adding specs for `execute-batch!` and `set-parameters` in `next.jdbc.prepare`.
|
||||
* Fix #41 by improving docstrings and documentation, especially around prepared statement handling.
|
||||
* Fix #40 by adding `next.jdbc.prepare/execute-batch!`.
|
||||
* Added `assert`s in `next.jdbc.sql` as more informative errors for cases that would generate SQL exceptions (from malformed SQL).
|
||||
* Added spec for `:order-by` to reflect what is actually permitted.
|
||||
* Expose `next.jdbc.connect/dbtypes` as a table of known database types and aliases, along with their class name(s), port, and other JDBC string components.
|
||||
* None.
|
||||
|
||||
## Stable Builds
|
||||
|
||||
* 2019-07-15 -- 1.0.2
|
||||
* Fix #47 by refactoring database specs to be a single hash map instead of pouring multiple maps into one.
|
||||
* Fix #46 by allowing `:host` to be `:none` which tells `next.jdbc` to omit the host/port section of the JDBC URL, so that local databases can be used with `:dbtype`/`:classname` for database types that `next.jdbc` does not know. Also added `:dbname-separator` and `:host-prefix` to the "db-spec" to allow fine-grained control over how the JDBC URL is assembled.
|
||||
* Fix #45 by adding [TimesTen](https://www.oracle.com/database/technologies/related/timesten.html) driver support.
|
||||
* Fix #44 so that `insert-multi!` with an empty `rows` vector returns `[]`.
|
||||
* Fix #43 by adjusting the spec for `insert-multi!` to "require less" of the `cols` and `rows` arguments.
|
||||
* Fix #42 by adding specs for `execute-batch!` and `set-parameters` in `next.jdbc.prepare`.
|
||||
* Fix #41 by improving docstrings and documentation, especially around prepared statement handling.
|
||||
* Fix #40 by adding `next.jdbc.prepare/execute-batch!`.
|
||||
* Added `assert`s in `next.jdbc.sql` as more informative errors for cases that would generate SQL exceptions (from malformed SQL).
|
||||
* Added spec for `:order-by` to reflect what is actually permitted.
|
||||
* Expose `next.jdbc.connect/dbtypes` as a table of known database types and aliases, along with their class name(s), port, and other JDBC string components.
|
||||
|
||||
* 2019-07-03 -- 1.0.1
|
||||
* Fix #37 by adjusting the spec for `with-transaction` to "require less" of the `:binding` vector.
|
||||
* Fix #36 by adding type hint in `with-transaction` macro.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ The latest versions on Clojars and on cljdoc:
|
|||
|
||||
[](https://clojars.org/seancorfield/next.jdbc) [](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT)
|
||||
|
||||
This documentation is for **master**, after the 1.0.1 release -- [see the CHANGELOG](CHANGELOG.md).
|
||||
This documentation is for the 1.0.2 release -- [see the CHANGELOG](CHANGELOG.md).
|
||||
|
||||
* [Getting Started](/doc/getting-started.md)
|
||||
* [Migrating from `clojure.java.jdbc`](/doc/migration-from-clojure-java-jdbc.md)
|
||||
|
|
|
|||
|
|
@ -9,12 +9,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:
|
||||
|
||||
```clojure
|
||||
{seancorfield/next.jdbc {:mvn/version "1.0.1"}}
|
||||
{seancorfield/next.jdbc {:mvn/version "1.0.2"}}
|
||||
```
|
||||
for `deps.edn` or:
|
||||
|
||||
```clojure
|
||||
[seancorfield/next.jdbc "1.0.1"]
|
||||
[seancorfield/next.jdbc "1.0.2"]
|
||||
```
|
||||
for `project.clj` or `build.boot`.
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ For the examples in this documentation, we will use a local H2 database on disk,
|
|||
```clojure
|
||||
;; deps.edn
|
||||
{:deps {org.clojure/clojure {:mvn/version "1.10.1"}
|
||||
seancorfield/next.jdbc {:mvn/version "1.0.1"}
|
||||
seancorfield/next.jdbc {:mvn/version "1.0.2"}
|
||||
com.h2database/h2 {:mvn/version "1.4.197"}}}
|
||||
```
|
||||
|
||||
|
|
|
|||
2
pom.xml
2
pom.xml
|
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>seancorfield</groupId>
|
||||
<artifactId>next.jdbc</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.2</version>
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue