Skip to content

Commit

Permalink
Version 0.4.22
Browse files Browse the repository at this point in the history
  • Loading branch information
huahaiy committed Mar 8, 2021
1 parent 97e0676 commit 71e0799
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ If you use [Clojure CLI](https://clojure.org/guides/deps_and_cli) and

```Clojure
{:deps
{datalevin/datalevin {:mvn/version "0.4.21"}}}
{datalevin/datalevin {:mvn/version "0.4.22"}}}
```

If you use [Leiningen](https://leiningen.org/) build tool, add this to the
`:dependencies` section of your `project.clj` file:

```Clojure
[datalevin "0.4.21"]
[datalevin "0.4.22"]
```

### Native image and command line tool
Expand All @@ -107,13 +107,13 @@ query/transaction execution, and so on.

Download the pre-built binary for amd64 platform:

* [Linux](https://github.com/juji-io/datalevin/releases/download/0.4.21/dtlv-0.4.21-ubuntu-latest-amd64.zip)
* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.4.21/dtlv-0.4.21-macos-latest-amd64.zip)
* [Linux](https://github.com/juji-io/datalevin/releases/download/0.4.22/dtlv-0.4.22-ubuntu-latest-amd64.zip)
* [MacOS](https://github.com/juji-io/datalevin/releases/download/0.4.22/dtlv-0.4.22-macos-latest-amd64.zip)

Unzip, put it on your path, and execute `dtlv help`:

```console
Datalevin (version: 0.4.21)
Datalevin (version: 0.4.22)

Usage: dtlv [options] [command] [arguments]

Expand Down Expand Up @@ -384,7 +384,7 @@ If you are interested in using the dialect of Datalog pioneered by Datomic®, he

* If you need a simple and fast durable store with a battle tested backend, give [Datalevin](https://github.com/juji-io/datalevin) a try.

Version: 0.4.21
Version: 0.4.22

## License

Expand Down
4 changes: 2 additions & 2 deletions native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If your Clojure application depends on Datalevin, and you want to compile your
application into a GraalVM native image, you need to integrate the following steps in your
native image build script:

1. Merge [Datalevin's reflect-config.json](https://github.com/juji-io/datalevin/releases/download/0.4.21/reflect-config.json) into yours.
2. Download [Datalevin's C source](https://github.com/juji-io/datalevin/releases/download/0.4.21/datalevin-c-source-0.4.21.zip), unzip, [run `make`](https://github.com/juji-io/datalevin/blob/25acc097b07ca48626b628849a2c937d755b980c/native/script/compile#L19) in it, and add the path to your [CLibraryPath](https://github.com/juji-io/datalevin/blob/25acc097b07ca48626b628849a2c937d755b980c/native/script/compile#L34).
1. Merge [Datalevin's reflect-config.json](https://github.com/juji-io/datalevin/releases/download/0.4.22/reflect-config.json) into yours.
2. Download [Datalevin's C source](https://github.com/juji-io/datalevin/releases/download/0.4.22/datalevin-c-source-0.4.22.zip), unzip, [run `make`](https://github.com/juji-io/datalevin/blob/25acc097b07ca48626b628849a2c937d755b980c/native/script/compile#L19) in it, and add the path to your [CLibraryPath](https://github.com/juji-io/datalevin/blob/25acc097b07ca48626b628849a2c937d755b980c/native/script/compile#L34).

Step 2 is necessary because native Datalevin contains GraalVM specific code. It is not enough to bundle the compiled native library, because compiling GraalVM specific code requires C header files. It is easier and less error prone to download the C source and replicate how Datalevin compiles native image.
2 changes: 1 addition & 1 deletion native/project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(def version "0.4.21")
(def version "0.4.22")

(defproject datalevin-native version
:description "Datalevin GraalVM native image and command line tool"
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(def version "0.4.21")
(def version "0.4.22")

(defproject datalevin version
:description "A simple, fast and durable Datalog database"
Expand Down
2 changes: 1 addition & 1 deletion src/datalevin/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[java.lang RuntimeException])
(:gen-class))

(def version "0.4.21")
(def version "0.4.22")

(def version-str
(str
Expand Down

0 comments on commit 71e0799

Please sign in to comment.