From 5710794118141a8fae1d0ed4c5c8f5aa33445e3a Mon Sep 17 00:00:00 2001 From: Huahai Yang Date: Wed, 19 Feb 2025 13:22:56 -0800 Subject: [PATCH] Version 0.9.20 --- 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 | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a6fa270..6df8f16e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## WIP +## 0.9.20 (2025-02-19) ### Improved - [Datalog] Able to disable background sampling. diff --git a/doc/dtlv.md b/doc/dtlv.md index 820fa4ad..e550115c 100644 --- a/doc/dtlv.md +++ b/doc/dtlv.md @@ -8,7 +8,7 @@ server. $ dtlv help - Datalevin (version: 0.9.19) + Datalevin (version: 0.9.20) Usage: dtlv [options] [command] [arguments] @@ -51,7 +51,7 @@ will initiate an interactive console (REPL). ```console $ dtlv - Datalevin (version: 0.9.19) + Datalevin (version: 0.9.20) 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 70c5817e..af2779a9 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.19"] +[datalevin "0.9.20"] ``` 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.19"}}} +{:deps {datalevin/datalevin {:mvn/version "0.9.20"}}} ``` The `master` branch of this project is always kept fully functional, so if you @@ -117,15 +117,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.19/dtlv-0.9.19-ubuntu-latest-amd64.zip) +* [Linux](https://github.com/juji-io/datalevin/releases/download/0.9.20/dtlv-0.9.20-ubuntu-latest-amd64.zip) on x86_64 (AMD64) -* [Linux](https://github.com/juji-io/datalevin/releases/download/0.9.19/dtlv-0.9.19-ubuntu-latest-aarch64.zip) +* [Linux](https://github.com/juji-io/datalevin/releases/download/0.9.20/dtlv-0.9.20-ubuntu-latest-aarch64.zip) on arm64 (AARCH64) -* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.19/dtlv-0.9.19-macos-latest-aarch64.zip) +* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.20/dtlv-0.9.20-macos-latest-aarch64.zip) on arm64 (AARCH64) -* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.19/dtlv-0.9.19-macos-latest-amd64.zip) +* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.9.20/dtlv-0.9.20-macos-latest-amd64.zip) on x86_64 (AMD64) -* [Windows](https://github.com/juji-io/datalevin/releases/download/0.9.19/dtlv-0.9.19-windows-amd64.zip) on x86-64 (AMD64) +* [Windows](https://github.com/juji-io/datalevin/releases/download/0.9.20/dtlv-0.9.20-windows-amd64.zip) on x86-64 (AMD64) Unzip to get a `dtlv` executable, put it on your path. @@ -134,19 +134,19 @@ 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.19/datalevin-0.9.19-standalone.jar) +[uberjar](https://github.com/juji-io/datalevin/releases/download/0.9.20/datalevin-0.9.20-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 not as efficient as Hotspot JVM for long running programs, or when a pre-built native version is not available for your platform. For example: ```console -java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.9.19-standalone.jar +java --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -jar datalevin-0.9.20-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.19-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.20-standalone.jar serv -r /tmp/test-server ``` Will run the Datalevin server on default port 8898, with root data path at `/tmp/test-server`. @@ -164,7 +164,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.19") +(pods/load-pod 'huahaiy/datalevin "0.9.20") ``` diff --git a/project.clj b/project.clj index d4dd36b2..4f5ac85f 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(def version "0.9.19") +(def version "0.9.20") (defproject datalevin version :description "A simple, fast and versatile Datalog database" diff --git a/src/datalevin/constants.clj b/src/datalevin/constants.clj index fbf1993b..76fbf03e 100644 --- a/src/datalevin/constants.clj +++ b/src/datalevin/constants.clj @@ -10,7 +10,7 @@ (def version "Version number of Datalevin" - "0.9.19") + "0.9.20") ;;--------------------------------------------- ;; system constants, fixed diff --git a/test-jar/deps.edn b/test-jar/deps.edn index b412c383..1bf37db5 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.19.jar"}} + datalevin/datalevin {:local/root "../target/datalevin-0.9.20.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 26b6f2cc..e2b65711 100755 --- a/test-jar/test-uber.sh +++ b/test-jar/test-uber.sh @@ -10,7 +10,7 @@ cd "$(dirname "$0")" java --add-opens=java.base/java.nio=ALL-UNNAMED \ --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \ - -jar ../target/datalevin-0.9.19-standalone.jar exec << EOF + -jar ../target/datalevin-0.9.20-standalone.jar exec << EOF (def conn (get-conn "/tmp/test-db")) (transact! conn [{:name "world"}]) (q '[:find ?g :where [_ :name ?g]] @conn)