Skip to content

Commit

Permalink
Releasing 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Paula Gearon committed Jun 22, 2021
1 parent 1de1abb commit 760fe34
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Change Log

## [2.0.6] - 2021-06-27
## [2.1.0] - 2021-06-22
### Added
- Transactions include resource usage, so resources (files) can be cleaned up after failure.

### Fixed
- Recursive entities now correctly cut the recursion when extracting entities from the graph.
- Shutdown now releases connections. This truncates files to used space only.

### Changed
- Nodes now serialized using vector notation and without a redundant space. Previous node deserialization still supported.
- Serializing numbers is now smaller.
- Arrays and maps can now be serialized as values. This will show up in the API soon.
- Indexes now share file resources. This has removed 4 files.

## [2.0.6] - 2021-06-10
### Added
- A new CLI for loading data and executing queries. This builds natively with GraalVM.
- Exposing `now` and `instant?` from `asami.core`
Expand Down Expand Up @@ -233,8 +247,9 @@
### Added
- Introduced Update Annotations

[Unreleased]: https://github.com/threatgrid/asami/compare/2.0.6...HEAD
[2.0.5]: https://github.com/threatgrid/asami/compare/2.0.5...2.0.6
[Unreleased]: https://github.com/threatgrid/asami/compare/2.1.0...HEAD
[2.1.0]: https://github.com/threatgrid/asami/compare/2.0.6...2.1.0
[2.0.6]: https://github.com/threatgrid/asami/compare/2.0.5...2.0.6
[2.0.5]: https://github.com/threatgrid/asami/compare/2.0.4...2.0.5
[2.0.4]: https://github.com/threatgrid/asami/compare/2.0.3...2.0.4
[2.0.3]: https://github.com/threatgrid/asami/compare/2.0.2...2.0.3
Expand Down
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Asami has a query API that looks very similar to a simplified Datomic. More deta
## Features
There are several other graph databases available in the Clojure ecosystem, with each having their own focus. Asami is characterized by the following:
- Clojure and ClojureScript: Asami runs identically in both systems.
- Schema-less: Asami does not require a schema to insert data.
- Query planner: Queries are analyzed to find an efficient execution plan. This can be turned off.
- Analytics: Supports fast graph traversal operations, such as transitive closures, and can identify subgraphs.
- Integrated with Loom: Asami graphs are valid Loom graphs, via [Asami-Loom](https://github.com/threatgrid/asami-loom).
- Schema-less: Asami does not require a schema to insert data.
- 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.
- 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.

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

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

### Important Note for databases before 2.0.2
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:
```bash
./update.sh dbname
```
### Important Note for databases before 2.1.0
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.

### Running
The [Asami API](https://github.com/threatgrid/asami/wiki/Asami-API) tries to look a little like Datomic.
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject org.clojars.quoll/asami "2.0.6"
(defproject org.clojars.quoll/asami "2.1.0"
:description "An in memory graph store for Clojure and ClojureScript"
:url "http://github.com/threatgrid/asami"
:license {:name "Eclipse Public License"
Expand Down

0 comments on commit 760fe34

Please sign in to comment.