Skip to content

Releases: tonsky/datascript

0.15.5

18 Nov 08:08
Compare
Choose a tag to compare
  • Add vector, hash-map, array-map, list and set to built-in query functions (PR #186, thx Linus Ericsson)
  • When filtering already filtered DB, filters were applied in the wrong order

0.15.4

26 Sep 09:10
Compare
Choose a tag to compare
  • ~30% better performance for predicate and fn calls in queries (see #180)
  • JS API now supports lookup refs in index lookups and queries (see #179)
  • Lookup refs now work with :db.unique/value too (issue #171)

0.15.3

15 Sep 15:26
Compare
Choose a tag to compare

0.15.2

13 Jul 18:00
Compare
Choose a tag to compare
  • large long entity ids were breaking init-db (issue #165)

0.15.1

06 Jul 09:17
Compare
Choose a tag to compare
  • get-else throws if nil is used for default value
  • JS API: Do not keywordize attribute names in schema (PR #155, issue #153, thx typeetfunc)
  • init-db sets correct max-eid when processing facts about transactions (PR #164, issue #163, thx Nick Alexander)

0.15.0

17 Jan 20:05
Compare
Choose a tag to compare
  • Better error messages for upsert conflicts
  • Backtracking of tempids when redefining them later with upserts (issue #76)
  • Upsert works in vector form too (issue #99, #109)
  • Can specify transaction number in :db/add
  • Can put datoms into transaction directly (issue #121: supports both addition and retration datoms, keeps tx number)
  • Added all datascript.core symbols to externs so they can be called directly from JS (e.g. in combination with mori, issue #139)
  • Added reset-conn, conn-from-datoms and conn-from-db (issue #45)

0.14.0

11 Jan 17:26
Compare
Choose a tag to compare
  • Unify fn binding results with existing relations (PR #138, issue #141, thx Aaron Brooks)
  • [ BREAKING ] get-some returns [attr value] instead of just value (#143, same as Datomic)
  • Returning nil from query function filters out tuple from result
  • Throw when calling unbound predicate/function inside a query (#111)
  • Added several built-ins, including count (#142) and subs (#111)
  • Lookups with nil value ([<attr> nil]) resolve to nil (#140)
  • Allow pull-pattern to be specified with a input variable without ? prefix (#136, #122)
  • Retract functions do not fail if lookup ref is pointing nowhere (#131)
  • Fixed BTSet implementation of IReduceInit (#124)

0.13.3

06 Nov 19:10
Compare
Choose a tag to compare

0.13.2

21 Oct 14:19
Compare
Choose a tag to compare
  • Fixed issue #120 with binding of large collections

0.13.1

20 Sep 18:58
Compare
Choose a tag to compare
  • Guard conn? will check that value is derefable instead of checking for (instance? Atom)