Skip to content

Commit 760fe34

Browse files
author
Paula Gearon
committed
Releasing 2.1.0
1 parent 1de1abb commit 760fe34

File tree

3 files changed

+24
-12
lines changed

3 files changed

+24
-12
lines changed

CHANGELOG.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# Change Log
22

3-
## [2.0.6] - 2021-06-27
3+
## [2.1.0] - 2021-06-22
4+
### Added
5+
- Transactions include resource usage, so resources (files) can be cleaned up after failure.
6+
7+
### Fixed
8+
- Recursive entities now correctly cut the recursion when extracting entities from the graph.
9+
- Shutdown now releases connections. This truncates files to used space only.
10+
11+
### Changed
12+
- Nodes now serialized using vector notation and without a redundant space. Previous node deserialization still supported.
13+
- Serializing numbers is now smaller.
14+
- Arrays and maps can now be serialized as values. This will show up in the API soon.
15+
- Indexes now share file resources. This has removed 4 files.
16+
17+
## [2.0.6] - 2021-06-10
418
### Added
519
- A new CLI for loading data and executing queries. This builds natively with GraalVM.
620
- Exposing `now` and `instant?` from `asami.core`
@@ -233,8 +247,9 @@
233247
### Added
234248
- Introduced Update Annotations
235249

236-
[Unreleased]: https://github.com/threatgrid/asami/compare/2.0.6...HEAD
237-
[2.0.5]: https://github.com/threatgrid/asami/compare/2.0.5...2.0.6
250+
[Unreleased]: https://github.com/threatgrid/asami/compare/2.1.0...HEAD
251+
[2.1.0]: https://github.com/threatgrid/asami/compare/2.0.6...2.1.0
252+
[2.0.6]: https://github.com/threatgrid/asami/compare/2.0.5...2.0.6
238253
[2.0.5]: https://github.com/threatgrid/asami/compare/2.0.4...2.0.5
239254
[2.0.4]: https://github.com/threatgrid/asami/compare/2.0.3...2.0.4
240255
[2.0.3]: https://github.com/threatgrid/asami/compare/2.0.2...2.0.3

README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Asami has a query API that looks very similar to a simplified Datomic. More deta
1717
## Features
1818
There are several other graph databases available in the Clojure ecosystem, with each having their own focus. Asami is characterized by the following:
1919
- Clojure and ClojureScript: Asami runs identically in both systems.
20+
- Schema-less: Asami does not require a schema to insert data.
2021
- Query planner: Queries are analyzed to find an efficient execution plan. This can be turned off.
2122
- Analytics: Supports fast graph traversal operations, such as transitive closures, and can identify subgraphs.
2223
- Integrated with Loom: Asami graphs are valid Loom graphs, via [Asami-Loom](https://github.com/threatgrid/asami-loom).
23-
- Schema-less: Asami does not require a schema to insert data.
2424
- Open World Assumption: Related to being schema-less, Asami borrows semantics from [RDF](http://www.w3.org/TR/rdf-primer) to lean towards an open world model.
2525
- Pluggable Storage: Like Datomic, storage in Asami can be implemented in multiple ways. There are currently 2 in-memory graph systems, and durable storage available on the JVM.
2626

@@ -32,7 +32,7 @@ Asami can be made available to clojure by adding the following to a `deps.edn` f
3232
```clojure
3333
{
3434
:deps {
35-
org.clojars.quoll/asami {:mvn/version "2.0.6"}
35+
org.clojars.quoll/asami {:mvn/version "2.1.0"}
3636
}
3737
}
3838
```
@@ -41,14 +41,11 @@ This makes Asami available to a repl that is launched with the `clj` or `clojure
4141

4242
Alternatively, Asami can be added for the Leiningen build tool by adding this to the `:dependencies` section of the `project.clj` file:
4343
```clojure
44-
[org.clojars.quoll/asami "2.0.6"]
44+
[org.clojars.quoll/asami "2.1.0"]
4545
```
4646

47-
### Important Note for databases before 2.0.2
48-
The Asami filenames were being stored with filenames that accidentally had multiple extensions. We decided to fix this immediately, rather than waiting for a major release. To update files from an earlier database, use the `update.sh` script. For a database that was created in the current directory with the name `asami:local://dbname` then run:
49-
```bash
50-
./update.sh dbname
51-
```
47+
### Important Note for databases before 2.1.0
48+
Asami 2.1.0 now uses fewer files to manage data. This makes it incompatible with previous versions. To port data from an older store to a new one, use the `asami.core/export-data` function on a database on the previous version of Asami, and `asami.core/import-data` to load the data into a new connection.
5249

5350
### Running
5451
The [Asami API](https://github.com/threatgrid/asami/wiki/Asami-API) tries to look a little like Datomic.

project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject org.clojars.quoll/asami "2.0.6"
1+
(defproject org.clojars.quoll/asami "2.1.0"
22
:description "An in memory graph store for Clojure and ClojureScript"
33
:url "http://github.com/threatgrid/asami"
44
:license {:name "Eclipse Public License"

0 commit comments

Comments
 (0)