diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e4a1fa..79c4c46 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.9 release: +The following changes have been committed to the **master** branch since the 1.0.10 release: -* Fix #75 by adding support for `java.sql.Statement` to `plan`, `execute!`, and `execute-one!`. -* Address #74 by making several small changes to satisfy Eastwood. -* Fix #73 by providing a new, optional namespace `next.jdbc.date-time` that can be required if your database driver needs assistance converting `java.util.Date` (PostgreSQL!) or the Java Time types to SQL `timestamp` (or SQL `date`/`time`). -* Fix link to **All The Options** in **Migration from `clojure.java.jdbc`**. PR #71 (@laurio). -* Address #70 by adding **CLOB & BLOB SQL Types** to the **Tips & Tricks** section of **Friendly SQL Functions** and by adding `next.jdbc.result-set/clob-column-reader` and `next.jdbc.result-set/clob->string` helper to make it easier to deal with `CLOB` column data. -* Clarify what `execute!` and `execute-one!` produce when the result set is empty (`[]` and `nil` respectively, and there are now tests for this). Similarly for `find-by-keys` and `get-by-id`. -* Add **MS SQL Server** section to **Tips & Tricks** to note that returns an empty string for table names by default (so table-qualified column names are not available). Using the `:result-type` (scroll) and `:concurrency` options will cause table names to be returned. -* Clarify that **Friendly SQL Functions** are deliberately simple (hint: they will not be enhanced or expanded -- use `plan`, `execute!`, and `execute-one!` instead, with a DSL library if you want!). -* Improve migration docs: explicitly recommend the use of a datasource for code that needs to work with both `clojure.java.jdbc` and `next.jdbc`; add caveats about column name conflicts (in several places). -* Improve `datafy`/`nav` documentation around `:schema`. -* Update `org.clojure/java.data` to `"0.1.4"` (0.1.2 fixes a number of reflection warnings). +* None. ## Stable Builds +* 2019-11-14 -- 1.0.10 + * Fix #75 by adding support for `java.sql.Statement` to `plan`, `execute!`, and `execute-one!`. + * Address #74 by making several small changes to satisfy Eastwood. + * Fix #73 by providing a new, optional namespace `next.jdbc.date-time` that can be required if your database driver needs assistance converting `java.util.Date` (PostgreSQL!) or the Java Time types to SQL `timestamp` (or SQL `date`/`time`). + * Fix link to **All The Options** in **Migration from `clojure.java.jdbc`**. PR #71 (@laurio). + * Address #70 by adding **CLOB & BLOB SQL Types** to the **Tips & Tricks** section of **Friendly SQL Functions** and by adding `next.jdbc.result-set/clob-column-reader` and `next.jdbc.result-set/clob->string` helper to make it easier to deal with `CLOB` column data. + * Clarify what `execute!` and `execute-one!` produce when the result set is empty (`[]` and `nil` respectively, and there are now tests for this). Similarly for `find-by-keys` and `get-by-id`. + * Add **MS SQL Server** section to **Tips & Tricks** to note that returns an empty string for table names by default (so table-qualified column names are not available). Using the `:result-type` (scroll) and `:concurrency` options will cause table names to be returned. + * Clarify that **Friendly SQL Functions** are deliberately simple (hint: they will not be enhanced or expanded -- use `plan`, `execute!`, and `execute-one!` instead, with a DSL library if you want!). + * Improve migration docs: explicitly recommend the use of a datasource for code that needs to work with both `clojure.java.jdbc` and `next.jdbc`; add caveats about column name conflicts (in several places). + * Improve `datafy`/`nav` documentation around `:schema`. + * Update `org.clojure/java.data` to `"0.1.4"` (0.1.2 fixes a number of reflection warnings). + * 2019-10-11 -- 1.0.9 * Address #69 by trying to clarify when to use `execute-one!` vs `execute!` vs `plan`. * Address #68 by clarifying that builder functions do not affect the "fake result set" containing `:next.jdbc/update-count`. diff --git a/README.md b/README.md index 2d7d28f..2f85b56 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 the 1.0.9 release -- [see the CHANGELOG](CHANGELOG.md). +This documentation is for the 1.0.10 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 c0237d0..c696c87 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.9"}} +{seancorfield/next.jdbc {:mvn/version "1.0.10"}} ``` for `deps.edn` or: ```clojure -[seancorfield/next.jdbc "1.0.9"] +[seancorfield/next.jdbc "1.0.10"] ``` 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.9"} + seancorfield/next.jdbc {:mvn/version "1.0.10"} com.h2database/h2 {:mvn/version "1.4.199"}}} ``` diff --git a/pom.xml b/pom.xml index be7510e..19a806f 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 seancorfield next.jdbc - 1.0.9 + 1.0.10 next.jdbc The next generation of clojure.java.jdbc: a new low-level Clojure wrapper for JDBC-based access to databases. @@ -37,7 +37,7 @@ org.clojure java.data - 0.1.2 + 0.1.4