Skip to content

Releases: tonsky/datascript

1.2.0

21 Jun 11:22
Compare
Choose a tag to compare

New serialization: datascript.core/serializable & datascript.core/from-serializable. Prepares database for fast to/from JSON serialization.

In some benchmarks, CLJS version of datascript.serialize + JSON.stringify/.parse lead to 10x faster snapshot reads, 3x faster snapshot writes, at roughly the same snapshot size (maybe 10% smaller). All numbres compared https://github.com/tonsky/datascript-transit.

image

1.1.0

19 Apr 20:51
Compare
Choose a tag to compare
  • [ Breaking ] Remove ISeqable from DB/FilteredDB as it was breaking keys #393

1.0.7

06 Mar 18:22
Compare
Choose a tag to compare

1.0.6

06 Mar 18:14
Compare
Choose a tag to compare

1.0.5

02 Mar 22:31
Compare
Choose a tag to compare
  • Fixed empty non-queried relation not affecting results #385

1.0.4

13 Feb 15:49
Compare
Choose a tag to compare

1.0.3

15 Dec 16:30
Compare
Choose a tag to compare
  • Temporary disable transient indices #373

1.0.2

11 Dec 16:39
Compare
Choose a tag to compare

1.0.1

28 Aug 19:10
Compare
Choose a tag to compare
  • Fixed upsert incorectly failing tempid check #363

1.0.0

11 Jul 15:55
Compare
Choose a tag to compare
  • Support composite tuples #323
  • Support return maps (:keys/:syms/:strs) in query #322 #345
  • Support any hashable values in cardinality-many and indexed attributes #274 #356
  • Throw when init-db is used with anything but datoms #276
  • Throw on using unindexed attribute in :avet index access #344
  • Throw on referencing undefined rule #319
  • Fix [:db/retract e a false] working as [:db/retract e a]
  • Validate tempids only used as values in transaction #304
  • Throw if transacted entity id is out of range #292
  • Better validate rules syntax #300
  • Add keyword to the built-ins #231
  • Throw when pred/fn called on unbound variable #309
  • Validate inputs count in :in and d/q #297

Thanks Clojurists Together Summer of Bugs and my patrons for sponsoring this release:

Dustin Getz, Emin Hasanov, refset, Zalán Forró, Alexander Savchenko, Alexis King, Andrew Neverov, Anton Chebotaev, Anton Smyk, Brian Lalonde, Chris Smothers, Dmitry Grach, Dmitriy Semyushkin, Emmanuel, Igor Bondarenko, Igor Dzreyev, Kanon Kakuno, Lance, Luke VanderHart, Michael Dubakov, Oleg, Nolan, Ryan, the-alchemist, zhmur, Alexander Gudulin, Andreas Pizsa, Andrei-Mihai Nicolae, Ben Brinckerhoff, Dan Abrams, Dan Martinez, Daniel Egan, Daniel Woelfel, Dave Farinelli, David Nachman, David Whittington, Devon Zuegel, Dieter Komendera, Filipe Silva, Ikuru Kanuma, Ivan Inozemtsev, Jash Lam, Jerome Hodges, Kamol Chalermviriya, Majnu Schäfer, Michael Everson, Michael Klishin, Mike Fikes, Nikolay Lopin, Noah Bogart, Odin Hole Standal, Pavel Glushkov, pcdevil, Ronald Sala, Sergey Serebryakov, Shawn MacIntyre, Tomas Heran, Tomi Joki-Korpela, Vadim Pisarevsky.