Skip to content

Releases: seancorfield/next-jdbc

1.3.955

06 Oct 21:59
218cf82
Compare
Choose a tag to compare
  • 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 is clojure.core/name but you can now use next.jdbc.sql.builder/qualified-name to preserve the qualifier.
  • Update testing deps; docker-compose => docker compose.

1.3.939

18 May 01:41
212f31d
Compare
Choose a tag to compare
  • Fix #280 by allowing - as well as _ in nav foreign key names.
  • Address #279 by adding the missing documentation.
  • Address #278 by fixing link in options page.
  • Update dev dependencies, including testing against Clojure 1.12 Alpha 11.

1.3.925

16 Mar 00:58
3901840
Compare
Choose a tag to compare
  • 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 around find-by-keys when you want just a single aggregate value back (such as count, max, etc).
  • Address #273 by linking to PG2 in the PostgreSQL Tips & Tricks section.
  • Address #268 by expanding the documentation around insert-multi! and insert!.
  • Update dependency versions (including Clojure).
  • Code cleanup per clj-kondo.

1.3.909

17 Dec 00:24
Compare
Choose a tag to compare
  • 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 with clojure.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 that next.jdbc no longer has a transitive dependency on org.clojure/tools.logging!
  • Attempt to clarify that when calling reduce on the result of plan, you must provide an initial value.
  • Expand examples for calling next.jdbc.sql/find-by-keys to show LIKE and IN clauses.
  • Update tools.build to 0.9.6 (and get rid of template/pom.xml in favor of new :pom-data option to b/write-pom).

1.3.894

24 Sep 23:58
Compare
Choose a tag to compare
  • Fix #257 by making the fdef spec for with-transaction more permissive. Also add specs for on-connection and the +options variants of both macros.
  • Address #256 by adding with-transaction+options and on-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 add RETURNING * to your SQL statements instead (the tests have been updated to reflect this).
  • Update tools.build to 0.9.5 (and remove :java-opts from build/test)

1.3.883

25 Jun 22:45
Compare
Choose a tag to compare
  • 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 in next.jdbc.
  • Address #251 by updating next.jdbc/with-logging docstring.
  • Update dev/test dependencies.

1.3.874

16 Apr 00:58
Compare
Choose a tag to compare
  • Fix #248 by allowing :port to be :none.
  • Address #247 by adding examples of using next.jdbc.connection/jdbc-url to build a connection string with additional parameters when creating connection pools.

1.3.865

31 Mar 19:39
Compare
Choose a tag to compare
  • Fix #246 by adopting the strop function from HoneySQL.
  • Address #245 by not locking the Connection when *nested-tx* is bound to :ignore -- improving clojure.java.jdbc compatibility.
  • Address #237 by adding an :init-fn option to the db-spec argument for next.jdbc.connection/component.

1.3.862

13 Mar 16:38
Compare
Choose a tag to compare
  • Fix #243 by ensuring URI properties become keywords.
  • Fix #242 by making the logging wrapper aware of the default options wrapper.

1.3.858

05 Mar 18:03
Compare
Choose a tag to compare
  • Address #241 by correcting link to PostgreSQL docs.
  • Address clj-kondo#1685 by using .clj_kondo extension for hook files.
  • Improve docs for SQLite users per #239 -- peristeri.
  • Address #236 by showing examples of run! over plan.