Releases: tonsky/datascript
Releases · tonsky/datascript
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
get-else
throws ifnil
is used for default value- JS API: Do not keywordize attribute names in schema (PR #155, issue #153, thx typeetfunc)
init-db
sets correctmax-eid
when processing facts about transactions (PR #164, issue #163, thx Nick Alexander)
0.15.0
- 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
andconn-from-db
(issue #45)
0.14.0
- Unify fn binding results with existing relations (PR #138, issue #141, thx Aaron Brooks)
- [ BREAKING ]
get-some
returns[attr value]
instead of justvalue
(#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) andsubs
(#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)