Expose `next.jdbc.connection/dbtypes` which is a table of all known `:dbtype` values and their driver class names, ports, etc.
3.4 KiB
3.4 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.1 release:
- Fix #40 by adding
next.jdbc.prepare/execute-batch!. - 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. - Improved docstrings and documentation, especially around prepared statement handling.
Stable Builds
-
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.