diff --git a/CHANGELOG.md b/CHANGELOG.md index e28b1e90..e90098f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## WIP +## 0.8.2 (2023-01-19) ### Fixed - [Search] `search-utils/create-ngram-token-filter` now works. #164 - [Datalog] large datom value may throw off full-text indexing. #177 diff --git a/README.md b/README.md index 49286db1..2a2244b2 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.8.1) + Datalevin (version: 0.8.2) Type (help) to see available functions. Some Clojure core functions are also available. Type (exit) to exit. @@ -221,7 +221,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.8.1/datalevin-0.8.1-standalone.jar) +[uberjar](https://github.com/juji-io/datalevin/releases/download/0.8.2/datalevin-0.8.2-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 @@ -229,12 +229,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.8.1-standalone.jar +java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.8.2-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.8.1-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.8.2-standalone.jar serv -r /tmp/test-server ``` Will run the Datalevin server on default port 8898, with root data path at `/tmp/test-server`. @@ -261,7 +261,7 @@ that can be used in a query, e.g.: ```console $ rlwrap bb -Babashka v0.8.1 REPL. +Babashka v0.8.2 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 c132dd9f..3e993fb6 100644 --- a/native/project.clj +++ b/native/project.clj @@ -1,4 +1,4 @@ -(def version "0.8.1") +(def version "0.8.2") (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 8f407199..3b88b836 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.8.1.jar"} + {:local/root "./../target/datalevin-native-0.8.2.jar"} }} diff --git a/project.clj b/project.clj index 106ccb9d..e3d1ed8d 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(def version "0.8.1") +(def version "0.8.2") (defproject datalevin version :description "A simple, fast and versatile Datalog database" diff --git a/src/datalevin/main.clj b/src/datalevin/main.clj index 67472803..43068a64 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.8.1") +(def ^:private version "0.8.2") (def ^:private version-str (str diff --git a/test-jar/deps.edn b/test-jar/deps.edn index b2b0eaca..0e965449 100644 --- a/test-jar/deps.edn +++ b/test-jar/deps.edn @@ -1,4 +1,4 @@ {:deps - {datalevin/datalevin {:local/root "./../target/datalevin-0.8.1.jar"}} - ;{datalevin/datalevin {:mvn/version "0.8.1"}} + {datalevin/datalevin {:local/root "./../target/datalevin-0.8.2.jar"}} + ;{datalevin/datalevin {:mvn/version "0.8.2"}} } diff --git a/test-jar/project.clj b/test-jar/project.clj index 83fe2957..7c17e2be 100644 --- a/test-jar/project.clj +++ b/test-jar/project.clj @@ -1,9 +1,9 @@ -(def version "0.8.1") +(def version "0.8.2") (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.8.1"]] + [org.clojars.huahaiy/datalevin-native "0.8.2"]] :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 9e721526..d0aa5c01 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.8.1-standalone.jar exec << EOF + -jar ../target/datalevin-0.8.2-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.8.1-standalone.jar exec << EOF + java -jar ../target/datalevin-0.8.2-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn)