From 7306e5ed3a4d5fc8edceccdbfbbd564636a7c55a Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Mon, 15 Jul 2019 13:45:00 -0700 Subject: [PATCH] Prep for 1.0.2 release --- CHANGELOG.md | 27 +++++++++++++++------------ README.md | 2 +- doc/getting-started.md | 6 +++--- pom.xml | 2 +- 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 986331d..5c412a3 100644 --- a/CHANGELOG.md +++ b/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. diff --git a/README.md b/README.md index 3fb0899..b8f6a9f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The latest versions on Clojars and on cljdoc: [![Clojars Project](https://clojars.org/seancorfield/next.jdbc/latest-version.svg)](https://clojars.org/seancorfield/next.jdbc) [![cljdoc badge](https://cljdoc.org/badge/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) diff --git a/doc/getting-started.md b/doc/getting-started.md index d834bef..3b2c345 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.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"}}} ``` diff --git a/pom.xml b/pom.xml index 98d208b..192233e 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 seancorfield next.jdbc - 1.0.1 + 1.0.2 next.jdbc The next generation of clojure.java.jdbc: a new low-level Clojure wrapper for JDBC-based access to databases.