clojure 1.11.4 & 1.12.0 rc 1
Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
parent
26e642096b
commit
31ad33dc85
3 changed files with 8 additions and 8 deletions
8
deps.edn
8
deps.edn
|
|
@ -1,19 +1,19 @@
|
||||||
{:mvn/repos {"sonatype" {:url "https://oss.sonatype.org/content/repositories/snapshots/"}}
|
{:mvn/repos {"sonatype" {:url "https://oss.sonatype.org/content/repositories/snapshots/"}}
|
||||||
:paths ["src" "resources"]
|
:paths ["src" "resources"]
|
||||||
:deps {org.clojure/clojure {:mvn/version "1.11.3"}
|
:deps {org.clojure/clojure {:mvn/version "1.11.4"}
|
||||||
org.clojure/java.data {:mvn/version "1.2.107"}
|
org.clojure/java.data {:mvn/version "1.2.107"}
|
||||||
|
|
||||||
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.3"}}
|
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.3"}}
|
||||||
:aliases
|
:aliases
|
||||||
{;; for help: clojure -A:deps -T:build help/doc
|
{;; for help: clojure -A:deps -T:build help/doc
|
||||||
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.10.3"}
|
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.10.5"}
|
||||||
slipset/deps-deploy {:mvn/version "0.2.2"}}
|
slipset/deps-deploy {:mvn/version "0.2.2"}}
|
||||||
:ns-default build}
|
:ns-default build}
|
||||||
|
|
||||||
;; versions to test against:
|
;; versions to test against:
|
||||||
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}}
|
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}}
|
||||||
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.3"}}}
|
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.4"}}}
|
||||||
:1.12 {:override-deps {org.clojure/clojure {:mvn/version "1.12.0-alpha12"}}}
|
:1.12 {:override-deps {org.clojure/clojure {:mvn/version "1.12.0-rc1"}}}
|
||||||
|
|
||||||
;; running tests/checks of various kinds:
|
;; running tests/checks of various kinds:
|
||||||
:test {:extra-paths ["test"] ; can also run clojure -X:test
|
:test {:extra-paths ["test"] ; can also run clojure -X:test
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ It is designed to work with Clojure 1.10 or later, supports `datafy`/`nav`, and
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**You must be using Clojure 1.10 or later.** 1.11.2 is the most recent stable version of Clojure (as of March 15th, 2024).
|
**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 can add `next.jdbc` to your project with either:
|
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
|
```clojure
|
||||||
;; deps.edn
|
;; deps.edn
|
||||||
{:deps {org.clojure/clojure {:mvn/version "1.11.2"}
|
{:deps {org.clojure/clojure {:mvn/version "1.11.4"}
|
||||||
com.github.seancorfield/next.jdbc {:mvn/version "1.3.939"}
|
com.github.seancorfield/next.jdbc {:mvn/version "1.3.939"}
|
||||||
com.h2database/h2 {:mvn/version "2.2.224"}}}
|
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
|
```clojure
|
||||||
> clj
|
> clj
|
||||||
Clojure 1.11.2
|
Clojure 1.11.4
|
||||||
user=> (require '[next.jdbc :as jdbc])
|
user=> (require '[next.jdbc :as jdbc])
|
||||||
nil
|
nil
|
||||||
user=> (def db {:dbtype "h2" :dbname "example"})
|
user=> (def db {:dbtype "h2" :dbname "example"})
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,7 @@ CREATE PROCEDURE FRUITP" (cond (hsqldb?) "() READS SQL DATA DYNAMIC RESULT SETS
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
;; this is a convenience to bring next.jdbc's test dependencies
|
;; this is a convenience to bring next.jdbc's test dependencies
|
||||||
;; into any REPL running Clojure 1.12.0 Alpha 2's new add-libs API
|
;; into any REPL running Clojure 1.12.0's new add-libs API
|
||||||
;; which allows me to develop and test next.jdbc inside my work's
|
;; which allows me to develop and test next.jdbc inside my work's
|
||||||
;; "everything" REPL environment
|
;; "everything" REPL environment
|
||||||
(require '[clojure.repl.deps :refer [add-libs]]
|
(require '[clojure.repl.deps :refer [add-libs]]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue