Datascript Versions Save

Immutable database and Datalog query engine for Clojure, ClojureScript and JS

1.6.4

2 weeks ago
  • Implement “constant substitution” optimization for queries #462
  • Fixed :max-eid for dangling entities during reader-based serialization #463
  • Fixed tempid in unique refs #464
  • Pass through BigInteger/BigDeciman to freeze-fn in serializable #465 #466

1.6.3

3 months ago
  • Fix regression in 1.6.2 #460 via @galdre

1.6.2

3 months ago
  • Query: shortcircuit clause resolution when result is guaranteed to be empty #459 via @galdre

1.6.1

5 months ago
  • Fixed JS version bug caused by Conn rewrite

1.6.0

5 months ago
  • [ BREAKING ] Implement Conn as a single atom with extend-clj
    • Only breaking if you relied on getting listneres from Conn meta
    • Before: @(:listeners (meta conn))
    • After: (:listeners @(:atom conn))
  • prevent explosion of redundant tuples during rule solving #457, thx @RutledgePaulV

1.5.4

6 months ago
  • Fixed: :xform is not called on ref attributes #455

1.5.3

8 months ago
  • Added: d/reset-schema!, d/with-schema
  • JVM: Return nil from d/restore-conn if there is no db
  • Do not throw from d/touch when finding hanging refs

1.5.2

9 months ago
  • JVM: Fixed d/collect-garbage
  • JVM: Return nil instead of throwing from d/restore if there is no db

1.5.1

9 months ago
  • CLJS: Fixed shadow-cljs warning

1.5.0

9 months ago
  • JVM: Storage! d/storage, d/store, d/restore, d/addresses, d/collect-garbage, d/file-storage, d/restore-conn. See docs/storage.md for details
  • d/settings and per-database :branching-factor (passed via :opts)
  • New API: d/find-datom. Works like d/datoms, but only returns single datom, but is faster than (first (d/datoms ...))
  • CLJS: Optimized various parts of CLJS version related to compilation and index access