5.3 KiB
5.3 KiB
Change Log
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.4 release:
- None.
Stable Builds
-
2019-07-24 -- 1.0.4
- Fix #50 by adding machinery to test against (embedded) PostgreSQL!
- Improved documentation for connection pooled datasources (including adding a Component example); clarified the recommendations for globally overriding default options (write a wrapper namespace that suits your usage).
- Note: this release is primarily to fix the cljdoc.org documentation via repackaging the JAR file.
-
2019-07-23 -- 1.0.3
- Fix #48 by adding
next.jdbc.connection/->pooland documenting how to use HikariCP and c3p0 in the Getting Started docs (as well as adding tests for both libraries). - Documentation improvements, including examples of extending
ReadableColumnandSettableParameter. - Updated test dependencies (testing against more recent versions of several drivers).
- Fix #48 by adding
-
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
:hostto be:nonewhich tellsnext.jdbcto omit the host/port section of the JDBC URL, so that local databases can be used with:dbtype/:classnamefor database types thatnext.jdbcdoes not know. Also added:dbname-separatorand:host-prefixto the "db-spec" to allow fine-grained control over how the JDBC URL is assembled. - Fix #45 by adding TimesTen driver support.
- Fix #44 so that
insert-multi!with an emptyrowsvector returns[]. - Fix #43 by adjusting the spec for
insert-multi!to "require less" of thecolsandrowsarguments. - Fix #42 by adding specs for
execute-batch!andset-parametersinnext.jdbc.prepare. - Fix #41 by improving docstrings and documentation, especially around prepared statement handling.
- Fix #40 by adding
next.jdbc.prepare/execute-batch!. - Added
asserts innext.jdbc.sqlas more informative errors for cases that would generate SQL exceptions (from malformed SQL). - Added spec for
:order-byto reflect what is actually permitted. - Expose
next.jdbc.connect/dbtypesas 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-transactionto "require less" of the:bindingvector. - Fix #36 by adding type hint in
with-transactionmacro. - Fix #35 by explaining the database-specific options needed to ensure
insert-multi!performs a single, batched operation. - Fix #34 by explaining save points (in the Transactions documentation).
- Fix #33 by updating the spec for the example
key-mapinfind-by-keys,update!, anddelete!to reflect that you cannot pass an empty map to these functions (and added tests to ensure the calls fail with spec errors).
- Fix #37 by adjusting the spec for
-
2019-06-12 -- 1.0.0 "gold"
- Address #31 by making
reify'd objects produce a more informative string representation if they are printed (e.g., misusingplanby not reducing it or not mapping an operation over the rows). - Fix #26 by exposing
next.jdbc.result-set/datafiable-result-setso that variousjava.sql.DatabaseMetaDatamethods that return result metadata information inResultSets can be easily turned into a fully realized result set.
- Address #31 by making
-
2019-06-04 -- 1.0.0-rc1:
- Fix #24 by adding return type hints to
next.jdbcfunctions. - Fix #22 by adding
next.jdbc.optionalwith six map builders that omitNULLcolumns from the row hash maps. - Documentation improvements (#27, #28, and #29), including changing "connectable" to "transactable" for the
transactfunction and thewith-transactionmacro (for consistency with the name of the underlying protocol). - Fix #30 by adding
modifiedvariants of column name functions and builders. Thelowervariants have been rewritten in terms of these newmodifiedvariants. This adds:label-fnand:qualifier-fnoptions that mirror:column-fnand:table-fnfor row builders.
- Fix #24 by adding return type hints to
-
2019-05-24 -- 1.0.0-beta1:
- Set up CircleCI testing (just local DBs for now).
- Address #21 by adding
next.jdbc.specsand documenting basic usage. - Fix #19 by caching loaded database driver classes.
- Address #16 by renaming
reducible!toplan(BREAKING CHANGE!). - Address #3 by deciding to maintain this library outside Clojure Contrib.
Alpha Builds
- 2019-05-04 -- 1.0.0-alpha13 -- Fix #18 by removing more keys from properties when creating connections.
- 2019-04-26 -- 1.0.0-alpha12 -- Fix #17 by renaming
:next.jdbc/sql-stringto:next.jdbc/sql-params(BREAKING CHANGE!) and pass whole vector. - 2019-04-24 -- 1.0.0-alpha11 -- Rename
:gen-fnto:builder-fn(BREAKING CHANGE!); Fix #13 by adding documentation fordatafy/nav/:schema; Fix #15 by automatically adding:next.jdbc/sql-string(as of 1.0.0-alpha12::next.jdbc/sql-params) into the options hash map, so custom builders can depend on the SQL string. - 2019-04-22 -- 1.0.0-alpha9 -- Fix #14 by respecting
:gen-fn(as of 1.0.0-alpha11::builder-fn) inexecute-oneforPreparedStatement. - 2019-04-21 -- 1.0.0-alpha8 -- Initial publicly announced release.