Next.JDBC Release Candidate 1
seancorfield/next.jdbc 1.0.0-rc1
next.jdbc
-- the "next generation" of clojure.java.jdbc
-- is a modern Clojure wrapper for JDBC. The first Release Candidate is now available to test -- containing only accretive and fixative changes from Beta 1. The API should be considered stable enough for production usage.
https://cljdoc.org/d/seancorfield/next.jdbc/1.0.0-rc1/doc/readme
The focus of this release is providing more flexibility in result set builders, so that it is easier to implement your own naming strategies, via new builders that accept :label-fn
and :qualifier-fn
options. These mirror the :column-fn
and :table-fn
options used in next.jdbc.sql
-- which are updated versions of clojure.java.jdbc
's :entities
option. These new builder options are updated versions of clojure.java.jdbc
's :identifiers
option.
Changes since Beta 1
- Fix #24 by adding return type hints to
next.jdbc
functions. - Fix #22 by adding
next.jdbc.optional
with six map builders that omitNULL
columns from the row hash maps. - Documentation improvements (#27, #28, and #29), including changing "connectable" to "transactable" for the
transact
function and thewith-transaction
macro (for consistency with the name of the underlying protocol). - Fix #30 by adding
modified
variants of column name functions and builders. Thelower
variants have been rewritten in terms of these newmodified
variants. This adds:label-fn
and:qualifier-fn
options that mirror:column-fn
and:table-fn
for row builders.
Please take it for a test drive and let me know if you run into any problems via GitHub issues or in the #sql
channel on the Clojurians Slack or the #sql
stream on the Clojurians Zulip.