diff --git a/CHANGELOG.md b/CHANGELOG.md index 646b5f38..60ec1482 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,11 @@ # Change Log -## WIP +## 0.8.26 (2024-02-09) ### Fixed - [Datalog] `:validate-data? true` not working for some data types. [Thx @andersmurphy] - [Datalog] ported applicable fixes from Datascript up to 1.6.1 +### Improved +- bump deps ## 0.8.25 (2023-12-14) ### Added diff --git a/README.md b/README.md index 5c1f06db..61bea695 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@

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.25) + Datalevin (version: 0.8.26) Type (help) to see available functions. Some Clojure core functions are also available. Type (exit) to exit. @@ -230,7 +230,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.25/datalevin-0.8.25-standalone.jar) +[uberjar](https://github.com/juji-io/datalevin/releases/download/0.8.26/datalevin-0.8.26-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 @@ -238,12 +238,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.25-standalone.jar +java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.8.26-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.25-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.26-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 @@ 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.8.25") +(pods/load-pod 'huahaiy/datalevin "0.8.26") ``` @@ -270,7 +270,7 @@ that can be used in a query, e.g.: ```console $ rlwrap bb -Babashka v0.8.25 REPL. +Babashka v0.8.26 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 b37d8749..ccce3cf6 100644 --- a/native/project.clj +++ b/native/project.clj @@ -1,4 +1,4 @@ -(def version "0.8.25") +(def version "0.8.26") (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 2db58912..31646578 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.1"} org.clojars.huahaiy/datalevin-native - {:local/root "./../target/datalevin-native-0.8.25.jar"} + {:local/root "./../target/datalevin-native-0.8.26.jar"} }} diff --git a/project.clj b/project.clj index b001f6cc..192cb93f 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(def version "0.8.25") +(def version "0.8.26") (defproject datalevin version :description "A simple, fast and versatile Datalog database" @@ -37,7 +37,7 @@ [org.graalvm.nativeimage/svm "22.3.1"] [org.graalvm.nativeimage/library-support "22.3.1"] [org.lmdbjava/lmdbjava "0.8.3"] - [org.roaringbitmap/RoaringBitmap "1.0.0"]] + [org.roaringbitmap/RoaringBitmap "1.0.1"]] :dependencies [[org.clojure/clojure :scope "provided"] [org.clojars.huahaiy/dtlvnative-macos-aarch64-shared] diff --git a/src/datalevin/main.clj b/src/datalevin/main.clj index 9796d206..6d5005da 100644 --- a/src/datalevin/main.clj +++ b/src/datalevin/main.clj @@ -24,7 +24,7 @@ (require 'datalevin.binding.graal) (require 'datalevin.binding.java)) -(def ^:private version "0.8.25") +(def ^:private version "0.8.26") (def ^:private version-str (str diff --git a/test-jar/deps.edn b/test-jar/deps.edn index bf16c388..a6e1762a 100644 --- a/test-jar/deps.edn +++ b/test-jar/deps.edn @@ -1,4 +1,4 @@ {:deps - {datalevin/datalevin {:local/root "./../target/datalevin-0.8.25.jar"}} - ;{datalevin/datalevin {:mvn/version "0.8.25"}} + {datalevin/datalevin {:local/root "./../target/datalevin-0.8.26.jar"}} + ;{datalevin/datalevin {:mvn/version "0.8.26"}} } diff --git a/test-jar/project.clj b/test-jar/project.clj index f8626c4e..06f25145 100644 --- a/test-jar/project.clj +++ b/test-jar/project.clj @@ -1,9 +1,9 @@ -(def version "0.8.25") +(def version "0.8.26") (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.25"]] + [org.clojars.huahaiy/datalevin-native "0.8.26"]] :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 f0f8fd0c..d3103642 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.25-standalone.jar exec << EOF + -jar ../target/datalevin-0.8.26-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.25-standalone.jar exec << EOF + java -jar ../target/datalevin-0.8.26-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn)