Releases: seancorfield/next-jdbc
Releases · seancorfield/next-jdbc
1.3.955
- Address #285 by setting the default Clojure version to the earliest supported (1.10.3) to give a better hint to users.
- Update PostgreSQL Tips & Tricks example code to fix possible NPE. PR #284 from @ExNexu.
- Address #283 by adding a note in the documentation, linking to the PostgreSQL bug report about
ANY(array)
. - Address #269 by adding
:name-fn
as an option (primarily for the SQL builder functions, but also for result set processing); the default isclojure.core/name
but you can now usenext.jdbc.sql.builder/qualified-name
to preserve the qualifier. - Update testing deps;
docker-compose
=>docker compose
.
1.3.939
1.3.925
- Address #275 by noting that PostgreSQL may perform additional SQL queries to produce table names used in qualified result set builders.
- Address #274 by adding
next.jdbc.sql/aggregate-by-keys
as a convenient wrapper aroundfind-by-keys
when you want just a single aggregate value back (such ascount
,max
, etc). - Address #273 by linking to PG2 in the PostgreSQL Tips & Tricks section.
- Address #268 by expanding the documentation around
insert-multi!
andinsert!
. - Update dependency versions (including Clojure).
- Code cleanup per
clj-kondo
.
1.3.909
- Address #267 by adding the
:schema-opts
option to override the default conventions for identifying foreign keys in columns. - Address #264 by letting
insert-multi!
accept empty rows (and producing an empty result vector). This improves compatibility withclojure.javaj.jdbc
. - Address #258 by updating all the library (driver) versions in Getting Started to match the latest versions being tested (from
deps.edn
). - Update
java.data
to 1.1.103 so thatnext.jdbc
no longer has a transitive dependency onorg.clojure/tools.logging
! - Attempt to clarify that when calling
reduce
on the result ofplan
, you must provide an initial value. - Expand examples for calling
next.jdbc.sql/find-by-keys
to showLIKE
andIN
clauses. - Update
tools.build
to 0.9.6 (and get rid oftemplate/pom.xml
in favor of new:pom-data
option tob/write-pom
).
1.3.894
- Fix #257 by making the
fdef
spec forwith-transaction
more permissive. Also add specs foron-connection
and the+options
variants of both macros. - Address #256 by adding
with-transaction+options
andon-connection+options
. - Updates most of the JDBC drivers used for testing, including SQLite 3.43.0.0 which now throws an exception when
.getGeneratedKeys()
is called so you cannot use:return-generated-keys true
with it but you can addRETURNING *
to your SQL statements instead (the tests have been updated to reflect this). - Update
tools.build
to 0.9.5 (and remove:java-opts
frombuild/test
)
1.3.883
- Address #254 by adding
next.jdbc/active-tx?
and adding more explanation to Transactions about the conventions behind transactions and the limitations of thread-local tracking of active transactions innext.jdbc
. - Address #251 by updating
next.jdbc/with-logging
docstring. - Update dev/test dependencies.