diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 06e575d..d230216 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Clojure uses: DeLaGuardo/setup-clojure@master with: - cli: '1.11.3.1463' + cli: '1.12.0.1479' - name: Cache All The Things uses: actions/cache@v4 with: diff --git a/.github/workflows/test-and-snapshot.yml b/.github/workflows/test-and-snapshot.yml index 58d780d..ca60996 100644 --- a/.github/workflows/test-and-snapshot.yml +++ b/.github/workflows/test-and-snapshot.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Clojure uses: DeLaGuardo/setup-clojure@master with: - cli: '1.11.3.1463' + cli: '1.12.0.1479' - name: Cache All The Things uses: actions/cache@v4 with: @@ -64,7 +64,7 @@ jobs: - name: Setup Clojure uses: DeLaGuardo/setup-clojure@master with: - cli: '1.11.3.1463' + cli: '1.12.0.1479' - name: Cache All The Things uses: actions/cache@v4 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ca831a..a5a3833 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Clojure uses: DeLaGuardo/setup-clojure@master with: - cli: '1.11.3.1463' + cli: '1.12.0.1479' - name: Cache All The Things uses: actions/cache@v4 with: diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile index 240068c..ad0dc02 100644 --- a/.gitpod.dockerfile +++ b/.gitpod.dockerfile @@ -1,3 +1,3 @@ FROM gitpod/workspace-full -RUN brew install clojure/tools/clojure@1.10.3.933 +RUN brew install clojure/tools/clojure@1.12.0.1479 diff --git a/deps.edn b/deps.edn index 74b0cd1..3ffecaf 100644 --- a/deps.edn +++ b/deps.edn @@ -21,30 +21,30 @@ io.github.cognitect-labs/test-runner {:git/tag "v0.5.1" :git/sha "dfb30dd"} ;; connection pooling - com.zaxxer/HikariCP {:mvn/version "5.1.0"} - com.mchange/c3p0 {:mvn/version "0.10.0"} + com.zaxxer/HikariCP {:mvn/version "6.0.0"} + com.mchange/c3p0 {:mvn/version "0.10.1"} ;; JDBC drivers ;; 10.16.x is JDK17+ org.apache.derby/derby {:mvn/version "10.15.2.0"} org.apache.derby/derbyshared {:mvn/version "10.15.2.0"} - org.hsqldb/hsqldb {:mvn/version "2.7.2"} - com.h2database/h2 {:mvn/version "2.2.224"} + org.hsqldb/hsqldb {:mvn/version "2.7.3"} + com.h2database/h2 {:mvn/version "2.3.232"} net.sourceforge.jtds/jtds {:mvn/version "1.3.1"} - org.mariadb.jdbc/mariadb-java-client {:mvn/version "3.3.3"} - com.mysql/mysql-connector-j {:mvn/version "8.3.0"} - org.postgresql/postgresql {:mvn/version "42.7.3"} - io.zonky.test/embedded-postgres {:mvn/version "2.0.6"} - io.zonky.test.postgres/embedded-postgres-binaries-darwin-amd64 {:mvn/version "16.2.0"} - io.zonky.test.postgres/embedded-postgres-binaries-linux-amd64 {:mvn/version "16.2.0"} - io.zonky.test.postgres/embedded-postgres-binaries-windows-amd64 {:mvn/version "16.2.0"} - org.xerial/sqlite-jdbc {:mvn/version "3.45.2.0"} - com.microsoft.sqlserver/mssql-jdbc {:mvn/version "12.6.1.jre11"} + org.mariadb.jdbc/mariadb-java-client {:mvn/version "3.4.1"} + com.mysql/mysql-connector-j {:mvn/version "9.0.0"} + org.postgresql/postgresql {:mvn/version "42.7.4"} + io.zonky.test/embedded-postgres {:mvn/version "2.0.7"} + io.zonky.test.postgres/embedded-postgres-binaries-darwin-amd64 {:mvn/version "16.4.0"} + io.zonky.test.postgres/embedded-postgres-binaries-linux-amd64 {:mvn/version "16.4.0"} + io.zonky.test.postgres/embedded-postgres-binaries-windows-amd64 {:mvn/version "16.4.0"} + org.xerial/sqlite-jdbc {:mvn/version "3.46.1.2"} + com.microsoft.sqlserver/mssql-jdbc {:mvn/version "12.8.1.jre11"} ;; use log4j2 to reduce log noise during testing: - org.apache.logging.log4j/log4j-api {:mvn/version "2.23.1"} + org.apache.logging.log4j/log4j-api {:mvn/version "2.24.0"} ;; bridge everything into log4j: - org.apache.logging.log4j/log4j-1.2-api {:mvn/version "2.23.1"} - org.apache.logging.log4j/log4j-jcl {:mvn/version "2.23.1"} - org.apache.logging.log4j/log4j-jul {:mvn/version "2.23.1"} - org.apache.logging.log4j/log4j-slf4j-impl {:mvn/version "2.23.1"}} + org.apache.logging.log4j/log4j-1.2-api {:mvn/version "2.24.0"} + org.apache.logging.log4j/log4j-jcl {:mvn/version "2.24.0"} + org.apache.logging.log4j/log4j-jul {:mvn/version "2.24.0"} + org.apache.logging.log4j/log4j-slf4j-impl {:mvn/version "2.24.0"}} :jvm-opts ["-Dlog4j2.configurationFile=log4j2-info.properties"] :exec-fn cognitect.test-runner.api/test}}} diff --git a/doc/getting-started.md b/doc/getting-started.md index 57214bd..8fc5850 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -6,7 +6,7 @@ It is designed to work with Clojure 1.10 or later, supports `datafy`/`nav`, and ## Installation -**You must be using Clojure 1.10 or later.** 1.11.4 is the most recent stable version of Clojure (as of March 15th, 2024). +**You must be using Clojure 1.10 or later.** 1.12.0 is the most recent stable version of Clojure (as of March 15th, 2024). You can add `next.jdbc` to your project with either: @@ -37,7 +37,7 @@ For the examples in this documentation, we will use a local H2 database on disk, ```clojure ;; deps.edn -{:deps {org.clojure/clojure {:mvn/version "1.11.4"} +{:deps {org.clojure/clojure {:mvn/version "1.12.0"} com.github.seancorfield/next.jdbc {:mvn/version "1.3.939"} com.h2database/h2 {:mvn/version "2.2.224"}}} ``` @@ -48,7 +48,7 @@ In this REPL session, we'll define an H2 datasource, create a database with a si ```clojure > clj -Clojure 1.11.4 +Clojure 1.12.0 user=> (require '[next.jdbc :as jdbc]) nil user=> (def db {:dbtype "h2" :dbname "example"})