Skip to content

Releases: tonsky/datascript

1.6.4

26 Apr 17:07

Choose a tag to compare

  • 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

15 Feb 00:06

Choose a tag to compare

1.6.2

14 Feb 14:45

Choose a tag to compare

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

1.6.1

16 Dec 18:10

Choose a tag to compare

  • Fixed JS version bug caused by Conn rewrite

1.6.0

16 Dec 17:37

Choose a tag to compare

  • [ 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

17 Oct 13:27

Choose a tag to compare

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

1.5.3

19 Aug 23:24

Choose a tag to compare

  • 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

11 Aug 16:34

Choose a tag to compare

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

1.5.1

08 Aug 10:35

Choose a tag to compare

  • CLJS: Fixed shadow-cljs warning

1.5.0

04 Aug 13:37

Choose a tag to compare

  • 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