Skip to content

Commit

Permalink
Version 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Aug 19, 2023
1 parent 17c5dc5 commit 987cdcd
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# WIP
# 1.5.3

- Added: `d/reset-schema!`, `d/with-schema`
- JVM: Return `nil` from `d/restore-conn` if there is no db
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The intention with DataScript is to be a basic building block in client-side app
## Latest version [![Build Status](https://travis-ci.org/tonsky/datascript.svg?branch=master)](https://travis-ci.org/tonsky/datascript)

```clj
[datascript "1.5.2"]
[datascript "1.5.3"]
```

Important! If you are using shadow-cljs, add
Expand Down Expand Up @@ -176,7 +176,7 @@ For more examples, see [our acceptance test suite](test/datascript/test/).
DataScript can be used from any JS engine without additional dependencies:

```html
<script src="https://github.com/tonsky/datascript/releases/download/1.5.2/datascript-1.5.2.min.js"></script>
<script src="https://github.com/tonsky/datascript/releases/download/1.5.3/datascript-1.5.3.min.js"></script>
```

or as a CommonJS module ([npm page](https://www.npmjs.org/package/datascript)):
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 "1.5.2")
(def version "1.5.3")

(defproject datascript (str version (System/getenv "DATASCRIPT_CLASSIFIER"))
:description "An implementation of Datomic in-memory database and Datalog query engine in ClojureScript"
Expand Down
2 changes: 1 addition & 1 deletion release-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "datascript",
"version": "1.5.2",
"version": "1.5.3",
"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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Datascript v1.5.2
* Datascript v1.5.3
*
* Copyright 2014-2021 Nikita Prokopov
*
Expand Down
4 changes: 2 additions & 2 deletions src/datascript/storage.clj
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
(def ^:private tail-addr
1)

(def ^:private *max-addr
(volatile! 0x10000000))
(defonce ^:private *max-addr
(volatile! 1000000))

(defn- gen-addr []
(vswap! *max-addr inc))
Expand Down

0 comments on commit 987cdcd

Please sign in to comment.