From 55b0a8e19e9099d6072ceb74f0d9bcac67c55720 Mon Sep 17 00:00:00 2001 From: Huahai Yang Date: Mon, 9 Jan 2023 11:17:04 -0800 Subject: [PATCH] Version 0.7.9 --- CHANGELOG.md | 2 +- README.md | 2 +- doc/dtlv.md | 4 ++-- doc/install.md | 22 +++++++++++----------- native/project.clj | 2 +- native/test-jar/deps.edn | 2 +- project.clj | 2 +- src/datalevin/main.clj | 2 +- test-jar/deps.edn | 4 ++-- 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 239ea64a..860cee29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## WIP +## 0.7.9 (2023-01-09) ### Improved - [Datalog] moved entity and transaction ids from 32 bits to 64 bits integers, supporting much larger DB. #144 - [Datalog] wrapped `transact!` inside `with-transaction` to ensure ACID and improved performance diff --git a/README.md b/README.md index c30a0ded..034652b9 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ datalevin on cljdoc datalevin on clojars datalevin linux/macos amd64 build status datalevin windows build status ' to read about a specific command. Starting `dtlv` without any arguments goes into the console: ```console - Datalevin (version: 0.7.8) + Datalevin (version: 0.7.9) Type (help) to see available functions. Some Clojure core functions are also available. Type (exit) to exit. @@ -219,7 +219,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.7.8/datalevin-0.7.8-standalone.jar) +[uberjar](https://github.com/juji-io/datalevin/releases/download/0.7.9/datalevin-0.7.9-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 @@ -227,12 +227,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.7.8-standalone.jar +java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.7.9-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.7.8-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.7.9-standalone.jar serv -r /tmp/test-server ``` Will run the Datalevin server on default port 8898, with root data path at `/tmp/test-server`. @@ -259,7 +259,7 @@ that can be used in a query, e.g.: ```console $ rlwrap bb -Babashka v0.7.8 REPL. +Babashka v0.7.9 REPL. Use :repl/quit or :repl/exit to quit the REPL. Clojure rocks, Bash reaches. diff --git a/native/project.clj b/native/project.clj index 936867a6..a3a36c2f 100644 --- a/native/project.clj +++ b/native/project.clj @@ -1,4 +1,4 @@ -(def version "0.7.8") +(def version "0.7.9") (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 6f30a4eb..b859f842 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.11.0"} org.clojars.huahaiy/datalevin-native - {:local/root "./../target/datalevin-native-0.7.8.jar"} + {:local/root "./../target/datalevin-native-0.7.9.jar"} }} diff --git a/project.clj b/project.clj index 6ad09c00..0be409a2 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(def version "0.7.8") +(def version "0.7.9") (defproject datalevin version :description "A simple, fast and versatile Datalog database" diff --git a/src/datalevin/main.clj b/src/datalevin/main.clj index ee7808e6..d63a4b59 100644 --- a/src/datalevin/main.clj +++ b/src/datalevin/main.clj @@ -27,7 +27,7 @@ (require 'datalevin.binding.graal) (require 'datalevin.binding.java)) -(def ^:private version "0.7.8") +(def ^:private version "0.7.9") (def ^:private version-str (str diff --git a/test-jar/deps.edn b/test-jar/deps.edn index 3d3d3eac..4fa38359 100644 --- a/test-jar/deps.edn +++ b/test-jar/deps.edn @@ -1,4 +1,4 @@ {:deps - {datalevin/datalevin {:local/root "./../target/datalevin-0.7.8.jar"}} - ;{datalevin/datalevin {:mvn/version "0.7.8"}} + {datalevin/datalevin {:local/root "./../target/datalevin-0.7.9.jar"}} + ;{datalevin/datalevin {:mvn/version "0.7.9"}} } diff --git a/test-jar/project.clj b/test-jar/project.clj index 278e271b..3a73fbd7 100644 --- a/test-jar/project.clj +++ b/test-jar/project.clj @@ -1,9 +1,9 @@ -(def version "0.7.8") +(def version "0.7.9") (defproject test-jar version :description "Test jar for Datalevin GraalVM native image compile" :dependencies [[org.clojure/clojure "1.11.1"] - [org.clojars.huahaiy/datalevin-native "0.7.8"]] + [org.clojars.huahaiy/datalevin-native "0.7.9"]] :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 77e9a475..1f571ffc 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.7.8-standalone.jar exec << EOF + -jar ../target/datalevin-0.7.9-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.7.8-standalone.jar exec << EOF + java -jar ../target/datalevin-0.7.9-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn)