From af7366af9b5bc3add7f489a69d424dd441b3a03d Mon Sep 17 00:00:00 2001 From: Huahai Yang Date: Fri, 17 Jan 2025 10:00:34 -0800 Subject: [PATCH] Version 0.9.15 --- CHANGELOG.md | 2 +- doc/dtlv.md | 4 ++-- doc/install.md | 22 +++++++++++----------- project.clj | 2 +- src/datalevin/constants.clj | 2 +- test-jar/deps.edn | 2 +- test-jar/test-uber.sh | 4 ++-- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ca0a069..3a77d4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## WIP +## 0.9.15 (2025-01-17) ### Added - [KV] `transanct-kv-async` function to return a future and transact in batches diff --git a/doc/dtlv.md b/doc/dtlv.md index b23af143..fd07f083 100644 --- a/doc/dtlv.md +++ b/doc/dtlv.md @@ -8,7 +8,7 @@ server. $ dtlv help - Datalevin (version: 0.9.14) + Datalevin (version: 0.9.15) Usage: dtlv [options] [command] [arguments] @@ -51,7 +51,7 @@ will initiate an interactive console (REPL). ```console $ dtlv - Datalevin (version: 0.9.14) + Datalevin (version: 0.9.15) Type (help) to see available functions. Some Clojure core functions are also available. Type (exit) to exit. diff --git a/doc/install.md b/doc/install.md index bdb64960..253c29ab 100644 --- a/doc/install.md +++ b/doc/install.md @@ -11,14 +11,14 @@ If you use [Leiningen](https://leiningen.org/) build tool, add this to the `:dependencies` section of your `project.clj` file: ```Clojure -[datalevin "0.9.14"] +[datalevin "0.9.15"] ``` If you use [Clojure CLI](https://clojure.org/guides/deps_and_cli) and `deps.edn`, declare the dependency like so: ```Clojure -{:deps {datalevin/datalevin {:mvn/version "0.9.14"}}} +{:deps {datalevin/datalevin {:mvn/version "0.9.15"}}} ``` This library supports Java 8 and above. @@ -108,15 +108,15 @@ See [README on Docker hub](https://hub.docker.com/r/huahaiy/datalevin) for usage Or download the executable binary from github: -* [Linux](https://github.com/juji-io/datalevin/releases/download/0.9.14/dtlv-0.9.14-ubuntu-latest-amd64.zip) +* [Linux](https://github.com/juji-io/datalevin/releases/download/0.9.15/dtlv-0.9.15-ubuntu-latest-amd64.zip) on x86-64 (AMD64) -* [Linux](https://github.com/juji-io/datalevin/releases/download/0.9.14/dtlv-0.9.14-ubuntu-latest-aarch64.zip) +* [Linux](https://github.com/juji-io/datalevin/releases/download/0.9.15/dtlv-0.9.15-ubuntu-latest-aarch64.zip) on arm64 (AARCH64) -* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.14/dtlv-0.9.14-macos-latest-aarch64.zip) +* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.15/dtlv-0.9.15-macos-latest-aarch64.zip) on arm64 (AARCH64) -* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.14/dtlv-0.9.14-macos-latest-amd64.zip) +* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.15/dtlv-0.9.15-macos-latest-amd64.zip) on x86-64 (AMD64) -* [Windows](https://github.com/juji-io/datalevin/releases/download/0.9.14/dtlv-0.9.14-windows-amd64.zip) on x86-64 (AMD64) +* [Windows](https://github.com/juji-io/datalevin/releases/download/0.9.15/dtlv-0.9.15-windows-amd64.zip) on x86-64 (AMD64) Unzip to get a `dtlv` executable, put it on your path. @@ -125,7 +125,7 @@ You may want to launch `dtlv` in `rlwrap` to get a better REPL experience. ### Uberjar A JVM -[uberjar](https://github.com/juji-io/datalevin/releases/download/0.9.14/datalevin-0.9.14-standalone.jar) +[uberjar](https://github.com/juji-io/datalevin/releases/download/0.9.15/datalevin-0.9.15-standalone.jar) is downloadable to use as the command line tool. It is useful when one wants to run a Datalevin server and needs the efficiency of JVM's JIT, as GraalVM native image is AOT and not as efficient as JVM for long running programs, or when a @@ -133,12 +133,12 @@ pre-built native version is not available for your platform. For example, assuming your Java is newer than version 11: ```console -java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.9.14-standalone.jar +java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.9.15-standalone.jar ``` This will start the Datalevin REPL. ```console -java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.9.14-standalone.jar serv -r /tmp/test-server +java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.9.15-standalone.jar serv -r /tmp/test-server ``` Will run the Datalevin server on default port 8898, with root data path at `/tmp/test-server`. @@ -156,7 +156,7 @@ registry](https://github.com/babashka/pod-registry) within a Babashka script #!/usr/bin/env bb (require '[babashka.pods :as pods]) -(pods/load-pod 'huahaiy/datalevin "0.9.14") +(pods/load-pod 'huahaiy/datalevin "0.9.15") ``` diff --git a/project.clj b/project.clj index eab5dc95..d1da40bd 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(def version "0.9.14") +(def version "0.9.15") (defproject datalevin version :description "A simple, fast and versatile Datalog database" diff --git a/src/datalevin/constants.clj b/src/datalevin/constants.clj index a728e244..86f757b6 100644 --- a/src/datalevin/constants.clj +++ b/src/datalevin/constants.clj @@ -10,7 +10,7 @@ (def version "Version number of Datalevin" - "0.9.14") + "0.9.15") ;;--------------------------------------------- ;; system constants, fixed diff --git a/test-jar/deps.edn b/test-jar/deps.edn index 971be790..ee88df2a 100644 --- a/test-jar/deps.edn +++ b/test-jar/deps.edn @@ -2,7 +2,7 @@ :deps {org.clojure/clojure {:mvn/version "1.12.0"} com.github.clj-easy/graal-build-time {:mvn/version "1.0.5"} - datalevin/datalevin {:local/root "../target/datalevin-0.9.14.jar"}} + datalevin/datalevin {:local/root "../target/datalevin-0.9.15.jar"}} :aliases {:build {:deps {io.github.clojure/tools.build {:mvn/version "0.10.6"}} :ns-default build}}} diff --git a/test-jar/test-uber.sh b/test-jar/test-uber.sh index 536ce127..0cdec3a8 100755 --- a/test-jar/test-uber.sh +++ b/test-jar/test-uber.sh @@ -11,7 +11,7 @@ cd "$(dirname "$0")" if [[ "$jvm_version" -gt "8" ]]; then java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --illegal-access=permit \ - -jar ../target/datalevin-0.9.14-standalone.jar exec << EOF + -jar ../target/datalevin-0.9.15-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn) @@ -20,7 +20,7 @@ EOF else - java -jar ../target/datalevin-0.9.14-standalone.jar exec << EOF + java -jar ../target/datalevin-0.9.15-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn)