Skip to content

Releases: tonsky/datascript

0.3.1

26 Aug 11:01

Choose a tag to compare

  • Optimized speed of DB’s equiv and hash, Datom’s hash
  • Entity’s touch call accessible through datascript namespace
  • Accept sets in entity maps as values for :db.cardinality/many attributes

0.3.0

25 Aug 10:15

Choose a tag to compare

Proper entities implementation:

  • Entities are now lazy and implement usual Map protocols
  • When accessing attribute of :db/valueType :db.type/ref, its value will be automatically expanded to entites, allowing for recursive exploration of entities graphs (e.g. (-> (d/entity db 42) :parent :parent :children))
  • Entities support backwards navigation (e.g. (:person/_friends (d/entity db 42)))

0.2.1

22 Aug 18:49

Choose a tag to compare

Fixed externs.js path required for advanced compilation

0.2.0

15 Aug 12:57

Choose a tag to compare

Big performance improvements:

  • New B-tree based indexes
  • New set-at-a-time, hash-join powered query and rules engine
  • Queries now up to 10× times faster
  • You can specify DB for rule call (like ($db follows ?e1 ?e2))
  • Datoms are required to have integer id and keyword attributes, but no restriction on types of values

0.1.6

07 Jul 05:44

Choose a tag to compare

  • Clojure reader support (pr/read) for DB and Datom

0.1.5

08 Jun 17:57

Choose a tag to compare

  • datoms and seek-datoms API calls
  • referencing other entities’ tempids in transaction data (issue #10)

0.1.4

02 May 20:35

Choose a tag to compare

  • Transactor functions via :db.fn/call (thx @thegeez)
  • Vanilla JS API bindings
  • [ BREAKING ] Schema keywords namespaced on a par with Datomic schema