Skip to content

Commit

Permalink
Version 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Jan 27, 2015
1 parent 403f07d commit 127db11
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,4 +1,4 @@
# WIP
# 0.8.1

- `:db/unique` constraints
- Upserts
Expand Down
17 changes: 10 additions & 7 deletions README.md
Expand Up @@ -42,10 +42,12 @@ Demo applications:

## Usage examples [![Build Status](https://travis-ci.org/tonsky/datascript.svg?branch=master)](https://travis-ci.org/tonsky/datascript)

For more examples, see [our acceptance test suite](test/datascript/test/).

```clj
:dependencies [
[org.clojure/clojurescript "0.0-2665"]
[datascript "0.8.0"]
[org.clojure/clojurescript "0.0-2727"]
[datascript "0.8.1"]
]
```

Expand Down Expand Up @@ -117,10 +119,10 @@ Demo applications:
DataScript can be used from any JS engine without additional dependencies:

```
<script src="datascript-0.8.0.min.js"></script>
<script src="datascript-0.8.1.min.js"></script>
```

[Download datascript-0.8.0.min.js](https://github.com/tonsky/datascript/releases/download/0.8.0/datascript-0.8.0.min.js), 53k gzipped.
[Download datascript-0.8.1.min.js](https://github.com/tonsky/datascript/releases/download/0.8.1/datascript-0.8.1.min.js), 55k gzipped.

or as a CommonJS module ([npm page](https://www.npmjs.org/package/datascript)):

Expand Down Expand Up @@ -156,7 +158,7 @@ Transaction reports:

* `report.tempids` has string keys (`"-1"` for entity tempid `-1`), use `resolve_tempid` to set up a correspondence

Check out [test/js/js.html](test/js/js.html) for usage examples.
Check out [test/js/tests.html](test/js/tests.html) for usage examples.

## Project status

Expand All @@ -173,6 +175,8 @@ The following features are supported:
* Callback-based analogue to txReportQueue via `listen!`
* Direct index lookup and iteration via `datoms` and `seek-datoms`
* Filtered databases via `filter`
* Lookup refs
* Unique constraints, upsert

Query engine features:

Expand Down Expand Up @@ -200,9 +204,8 @@ Expected soon:

* Better error reporting
* Proper documentation
* Lookup refs
* Unique constraints, upsert
* Pull API
* `not`, `not-join`, `or` and `or-join` datalog clauses

## Differences from Datomic

Expand Down
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject datascript "0.8.0"
(defproject datascript "0.8.1"
:description "An implementation of Datomic in-memory database and Datalog query engine in ClojureScript"
:license {:name "Eclipse"
:url "http://www.eclipse.org/legal/epl-v10.html"}
Expand Down
2 changes: 1 addition & 1 deletion release-js/package.json
@@ -1,6 +1,6 @@
{
"name": "datascript",
"version": "0.8.0",
"version": "0.8.1",
"description": "Immutable in-memory triplestore with Datalog queries",
"homepage": "https://github.com/tonsky/datascript",
"author": "Nikita Prokopov (https://github.com/tonsky)",
Expand Down
2 changes: 1 addition & 1 deletion release-js/wrapper.prefix
@@ -1,5 +1,5 @@
/**
* Datascript v0.8.0
* Datascript v0.8.1
*
* Copyright 2014-2015 Nikita Prokopov
*
Expand Down

0 comments on commit 127db11

Please sign in to comment.