From fc64f3e373409754daee9ea55fff32dd349b0b1c Mon Sep 17 00:00:00 2001 From: Huahai Yang Date: Sat, 9 Nov 2024 01:37:29 -0800 Subject: [PATCH] Version 0.9.13 --- CHANGELOG.md | 2 +- README.md | 2 +- doc/dtlv.md | 4 ++-- doc/install.md | 24 ++++++++++++------------ native/project.clj | 2 +- native/test-jar/deps.edn | 2 +- project.clj | 2 +- src/datalevin/constants.clj | 2 +- test-jar/deps.edn | 2 +- test-jar/project.clj | 4 ++-- test-jar/test-uber.sh | 4 ++-- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e9c774e..c5b4cbea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## WIP +## 0.9.13 (2024-11-09) ### Fixed - [Datalog] Repeated cardinality many attributes for the same entity. #284 diff --git a/README.md b/README.md index 2a7d8f1e..a202c625 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ alt="bb compatible">

datalevin linux/macos amd64 build status ' to read about a specific command. Starting `dtlv` without any arguments goes into the console: ```console - Datalevin (version: 0.9.12) + Datalevin (version: 0.9.13) Type (help) to see available functions. Some Clojure core functions are also available. Type (exit) to exit. @@ -231,7 +231,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.12/datalevin-0.9.12-standalone.jar) +[uberjar](https://github.com/juji-io/datalevin/releases/download/0.9.13/datalevin-0.9.13-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 @@ -239,12 +239,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.12-standalone.jar +java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.9.13-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.12-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.13-standalone.jar serv -r /tmp/test-server ``` Will run the Datalevin server on default port 8898, with root data path at `/tmp/test-server`. @@ -262,7 +262,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.12") +(pods/load-pod 'huahaiy/datalevin "0.9.13") ``` diff --git a/native/project.clj b/native/project.clj index 5446920b..fa2f22c0 100644 --- a/native/project.clj +++ b/native/project.clj @@ -1,4 +1,4 @@ -(def version "0.9.12") +(def version "0.9.13") (defproject org.clojars.huahaiy/datalevin-native version :description "Datalevin GraalVM native image and command line tool" diff --git a/native/test-jar/deps.edn b/native/test-jar/deps.edn index f78652b5..62b321c8 100644 --- a/native/test-jar/deps.edn +++ b/native/test-jar/deps.edn @@ -6,5 +6,5 @@ :main-class "test-jar.core" }}} :deps {org.clojure/clojure {:mvn/version "1.12.0"} org.clojars.huahaiy/datalevin-native - {:local/root "./../target/datalevin-native-0.9.12.jar"} + {:local/root "./../target/datalevin-native-0.9.13.jar"} }} diff --git a/project.clj b/project.clj index 83afee4d..b86fa69d 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(def version "0.9.12") +(def version "0.9.13") (defproject datalevin version :description "A simple, fast and versatile Datalog database" diff --git a/src/datalevin/constants.clj b/src/datalevin/constants.clj index a0018264..f0bce9cf 100644 --- a/src/datalevin/constants.clj +++ b/src/datalevin/constants.clj @@ -8,7 +8,7 @@ [java.util UUID Arrays HashSet] [java.math BigInteger BigDecimal])) -(def version "0.9.12") +(def version "0.9.13") ;;--------------------------------------------- ;; system constants, fixed diff --git a/test-jar/deps.edn b/test-jar/deps.edn index 5a4829c8..a7c9282e 100644 --- a/test-jar/deps.edn +++ b/test-jar/deps.edn @@ -1,4 +1,4 @@ {:deps - {datalevin/datalevin {:local/root "./../target/datalevin-0.9.12.jar"}} + {datalevin/datalevin {:local/root "./../target/datalevin-0.9.13.jar"}} ;{datalevin/datalevin {:mvn/version "0.8.18"}} } diff --git a/test-jar/project.clj b/test-jar/project.clj index 47189387..63d092c5 100644 --- a/test-jar/project.clj +++ b/test-jar/project.clj @@ -1,9 +1,9 @@ -(def version "0.9.12") +(def version "0.9.13") (defproject test-jar version :description "Test jar for Datalevin GraalVM native image compile" :dependencies [[org.clojure/clojure "1.12.0"] - [org.clojars.huahaiy/datalevin-native "0.9.12"]] + [org.clojars.huahaiy/datalevin-native "0.9.13"]] :jvm-opts ["--add-opens" "java.base/java.nio=ALL-UNNAMED" "--add-opens" "java.base/sun.nio.ch=ALL-UNNAMED" "--illegal-access=permit" diff --git a/test-jar/test-uber.sh b/test-jar/test-uber.sh index 66478d63..58068701 100755 --- a/test-jar/test-uber.sh +++ b/test-jar/test-uber.sh @@ -14,7 +14,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.12-standalone.jar exec << EOF + -jar ../target/datalevin-0.9.13-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn) @@ -23,7 +23,7 @@ EOF else - java -jar ../target/datalevin-0.9.12-standalone.jar exec << EOF + java -jar ../target/datalevin-0.9.13-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn)