hden / reduxscript

React + Redux + Datascript (with undo & redo)
MIT License
59 stars 3 forks source link

Update dependency datascript to ^0.18.0 #4

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
datascript dependencies minor ^0.15.0 -> ^0.18.0

Release Notes

tonsky/datascript ### [`v0.18.13`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​01813) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.12...0.18.13) - Fix `empty?` builtin [#​349](https://togithub.com/tonsky/datascript/issues/349), thx [@​ash14](https://togithub.com/ash14) ### [`v0.18.12`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​01812) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.11...0.18.12) - In `or` branches, only check that all free vars match, not bound ones ([#​348](https://togithub.com/tonsky/datascript/issues/348)) ### [`v0.18.11`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​01811) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.10...0.18.11) - Ignore tx when diff datoms ([#​347](https://togithub.com/tonsky/datascript/issues/347), thx [@​darkleaf](https://togithub.com/darkleaf)) ### [`v0.18.10`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​01810) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.9...0.18.10) - Support: db/retract without value ([#​339](https://togithub.com/tonsky/datascript/issues/339), [#​340](https://togithub.com/tonsky/datascript/issues/340), thx [@​ericdscott](https://togithub.com/ericdscott)) ### [`v0.18.9`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0189) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.8...0.18.9) - Report in :tempids all newly created entities, even if they don’t have :db/id assigned in tx ([#​246](https://togithub.com/tonsky/datascript/issues/246), [#​337](https://togithub.com/tonsky/datascript/issues/337), thx [@​filipesilva](https://togithub.com/filipesilva)) ### [`v0.18.8`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0188) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.7...0.18.8) - `empty` preserves meta ([#​331](https://togithub.com/tonsky/datascript/issues/331), [#​332](https://togithub.com/tonsky/datascript/issues/332), thx [@​darkleaf](https://togithub.com/darkleaf)) - Filtered db can be pprinted ([#​330](https://togithub.com/tonsky/datascript/issues/330), [#​333](https://togithub.com/tonsky/datascript/issues/333), thx [@​darkleaf](https://togithub.com/darkleaf)) - Allow aliasing map keys in pull entry ([#​328](https://togithub.com/tonsky/datascript/issues/328), thx [@​jamesnvc](https://togithub.com/jamesnvc)) ### [`v0.18.7`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0187) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.6...0.18.7) - Enable :unique/identity and upserts for cardinality-many values ([#​321](https://togithub.com/tonsky/datascript/issues/321), thx [@​cjsauer](https://togithub.com/cjsauer)) ### [`v0.18.6`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0186) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.5...0.18.6) - Extracted pprinting to separate ns ([#​318](https://togithub.com/tonsky/datascript/issues/318), thx [@​zajac](https://togithub.com/zajac)) ### [`v0.18.5`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0185) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.4...0.18.5) - Fixed core.cljc NS declaration to require cljs.reader ([#​316](https://togithub.com/tonsky/datascript/issues/316), thx [@​Quezion](https://togithub.com/Quezion)) ### [`v0.18.4`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0184) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.3...0.18.4) - Added re-pattern and str/blank? str/includes? str/starts-with? str/ends-with? to built-ins ([#​306](https://togithub.com/tonsky/datascript/issues/306)) ### [`v0.18.3`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0183) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.2...0.18.3) - Fixed vector misbehaving in queries in CLJS ([#​262](https://togithub.com/tonsky/datascript/issues/262)) ### [`v0.18.2`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0182) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.1...0.18.2) - Fixed regression when transient indexes were mutated and iterated during single tx ([#​294](https://togithub.com/tonsky/datascript/issues/294)). - Bumped persistent-sorted-set to 0.1.2 (throw if transient set is mutated and iterated at the same time). - Fixed regression when unique ref tempid was not resolved during transaction ([#​295](https://togithub.com/tonsky/datascript/issues/295)). ### [`v0.18.1`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​01813) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.18.0...0.18.1) - Fix `empty?` builtin [#​349](https://togithub.com/tonsky/datascript/issues/349), thx [@​ash14](https://togithub.com/ash14) ### [`v0.18.0`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0180) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.17.1...0.18.0) - Fixed DB and Datom pprinting ([#​287](https://togithub.com/tonsky/datascript/issues/287)) - Fixed cases when upsert resolves to tempid ([#​285](https://togithub.com/tonsky/datascript/issues/285)) - Throw on tempid in `:db.fn/cas` ([#​264](https://togithub.com/tonsky/datascript/issues/264)) - `distinct` aggregate returns set not a vector (thx [@​jdf-id-au](https://togithub.com/jdf-id-au)) - Ability to run tests with Kaocha - [ BREAKING ] Some internals of `datascript.arrays`, `datascript.btset` and `datascript.Datom` type has changed Performance optimizations for JVM version: - Reimplemented btset in Java with transients and better performance - Extracted btset to `[persistent-sorted-set "0.1.0"]` - Used raw ints in Datom intead of wrapped Integers, added stored in tx sign Numbers I get on my 3.2 GHz i7-8700B (median time per test, ms): | version | add-1 | add-5 | add-all | init | retract-5 | q1 | q2 | q3 | q4 | qpred1 | qpred2 | | ---------------- | ------ | ----- | ------- | ---- | --------- | --- | ---- | ---- | ---- | ------ | ------ | | 0.17.1-jvm | 795.8 | 670.7 | 651.8 | 79.4 | 617.5 | 2.3 | 5.4 | 8.2 | 13.1 | 7.1 | 27.3 | | 0.18.0-jvm | 625.2 | 450.9 | 401.8 | 21.8 | 389.5 | 1.9 | 5.4 | 8.2 | 13.3 | 7.3 | 28.9 | | 0.9.5703-datomic | 1693.9 | 737.9 | 528.5 | --- | 1420.9 | 2.8 | 5.2 | 7.3 | 9.3 | 12.8 | 15.5 | | 0.18.0-v8 | 1231.6 | 963.1 | 930.3 | 76.5 | 809.1 | 6.4 | 15.2 | 23.8 | 33.6 | 24.2 | 24.5 | Tests are as follows: | Test | Description | | --------- | ------------------------------------------------------------------------------------------------------------------------------------- | | add-1 | Add 100k datoms to an empty DB, one datom per transaction | | add-5 | Add 20k entities to an empty DB, 5 datoms per transaction, 100k datoms total | | add-all | Add 20k entities to an empty DB in a single transaction, 100k datoms total | | init | “Fast” datascript DB creation from an already sorted array of datoms (used in DB deserialization), 100k datoms | | retract-5 | Retract 20k entities from a DB with 100k datoms. Each entity removes 5 datoms. 1 entity per tx. | | q1 | Query with 1 clause over a DB with 100k datoms, ~12k tuples in resultset `[:find ?e :where [?e :name "Ivan"]]` | | q2 | Query with 2 clauses, 1 join, ~12k tuples `[:find ?e ?a :where [?e :name "Ivan"] [?e :age ?a]]` | | q3 | Query with 3 clauses, 2 joins, ~6k tuples `[:find ?e ?a :where [?e :name "Ivan"] [?e :age ?a] [?e :sex :male]]` | | q4 | Query with 4 clauses, 3 joins, ~6k tuples `[:find ?e ?l ?a :where [?e :name "Ivan"] [?e :last-name ?l] [?e :age ?a] [?e :sex :male]]` | | qpred1 | Query with a predicate, ~50k tuples `[:find ?e ?s :where [?e :salary ?s] [(> ?s 50000)]]` | | qpred2 | Query with a predicate and dynamic input, ~50k tuples `[:find ?e ?s :in $ ?min_s :where [?e :salary ?s] [(> ?s ?min_s)]]` | For Datomic an `datomic:mem://` database was used. What we see: - 20..40% faster transactions, - 75% faster deserialization (db-init), - No significant change on queries, - JVM transactions are more than twice as fast as V8, - JVM queries are 3-4 times as fast as V8, - DataScript transactions are 25..70% faster that Datomic in-memory. Query times vary. ### [`v0.17.1`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0171) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.17.0...0.17.1) - `or`, `or-join`, `not` and `not-jon` support in queries ([#​238](https://togithub.com/tonsky/datascript/issues/238), [#​50](https://togithub.com/tonsky/datascript/issues/50)) ### [`v0.17.0`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0170) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.9...0.17.0) - Implement `clojure.data/diff` on `datascript/DB` ([#​281](https://togithub.com/tonsky/datascript/issues/281)) - Drop Clojure 1.7 and 1.8 support - Fix externs.js syntax (PR [#​216](https://togithub.com/tonsky/datascript/issues/216), thx [@​thheller](https://togithub.com/thheller)) - Support `:as` in Pull API an attr-with-opts syntax ([#​270](https://togithub.com/tonsky/datascript/issues/270), PR [#​271](https://togithub.com/tonsky/datascript/issues/271), thx [@​Jumblemuddle](https://togithub.com/Jumblemuddle)) - Support idents expansion (PR [#​245](https://togithub.com/tonsky/datascript/issues/245), thx bamarco) - JS API correctly handles nested maps with `{":db/id"}` in transactions ([#​228](https://togithub.com/tonsky/datascript/issues/228), thx [@​serebrianyi](https://togithub.com/serebrianyi)) - Calling transaction fns through idents directly (PR [#​185](https://togithub.com/tonsky/datascript/issues/185), thx [@​refset](https://togithub.com/refset)) ### [`v0.16.9`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0169) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.8...0.16.9) - AOT artifacts are now deployed with classifiers (`0.16.9-aot1.7`, `0.16.9-aot1.8`, `0.16.9-aot1.9`). Main DataScript artifact has no AOTed code (related: [#​241](https://togithub.com/tonsky/datascript/issues/241), [#​279](https://togithub.com/tonsky/datascript/issues/279), [#​280](https://togithub.com/tonsky/datascript/issues/280)) ### [`v0.16.8`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0168) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.7...0.16.8) - Docstrings for ### [`v0.16.7`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0167) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.6...0.16.7) - Removed references to `perf` from `datascript.query-v3` (closes [#​272](https://togithub.com/tonsky/datascript/issues/272)) - Fixed compile error under java 11 (PR [#​273](https://togithub.com/tonsky/datascript/issues/273), thx [Ryan Belohlavek](https://togithub.com/rbelohlavek)) ### [`v0.16.6`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0166) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.5...0.16.6) - Add support for renamed DB functions :db/retractEntity and :db/cas ([#​265](https://togithub.com/tonsky/datascript/issues/265), PR [#​256](https://togithub.com/tonsky/datascript/issues/256), thx [Kenny Williams](https://togithub.com/kennyjwilli)) ### [`v0.16.5`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0165) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.4...0.16.5) - Provision AOT-compiled classes in datascript.jar (closes [#​241](https://togithub.com/tonsky/datascript/issues/241)) - Fixed direct-linking compatibility (rolled back [#​197](https://togithub.com/tonsky/datascript/issues/197), fixed [#​219](https://togithub.com/tonsky/datascript/issues/219), closes [#​259](https://togithub.com/tonsky/datascript/issues/259)) ### [`v0.16.4`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0164) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.3...0.16.4) - Support string tempids ([#​251](https://togithub.com/tonsky/datascript/issues/251), PR [#​252](https://togithub.com/tonsky/datascript/issues/252), thx [Kenny Williams](https://togithub.com/kennyjwilli)) - Better compatibility with JS / CLJS 1.9.946 (aget, aset on plain objects) - Added `rseek-datoms` ([#​253](https://togithub.com/tonsky/datascript/issues/253), PR [#​254](https://togithub.com/tonsky/datascript/issues/254), thx [Jeremy Taylor](https://togithub.com/refset)) - Object.equals for entites (PR [#​255](https://togithub.com/tonsky/datascript/issues/255), thx [Camilo Roca](https://togithub.com/carocad)) ### [`v0.16.3`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0163) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.2...0.16.3) - Silently skip nils in transaction (was stopping processing without an error before) ### [`v0.16.2`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0162) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.1...0.16.2) - Fixed compatibility with CLJS 1.9.660 ([#​233](https://togithub.com/tonsky/datascript/issues/233), [#​236](https://togithub.com/tonsky/datascript/issues/236)) ### [`v0.16.1`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0161) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.16.0...0.16.1) - Fixed rules ignoring false arguments passed to them ([#​218](https://togithub.com/tonsky/datascript/issues/218)) ### [`v0.16.0`](https://togithub.com/tonsky/datascript/blob/master/CHANGELOG.md#​0160) [Compare Source](https://togithub.com/tonsky/datascript/compare/0.15.5...0.16.0) - Fixed infinite loop in parser on CLJS 1.9.456+ ([#​210](https://togithub.com/tonsky/datascript/issues/210)) - Added `contains?` to built-ins ([#​211](https://togithub.com/tonsky/datascript/issues/211)) - Fixed handling of false values in entity cache (PR [#​198](https://togithub.com/tonsky/datascript/issues/198), thx [Brandon Bloom](https://togithub.com/brandonbloom)) - Fixed issue when string values were interpreted as lookup refs ([#​214](https://togithub.com/tonsky/datascript/issues/214)) - Speed up rschema calculation ([#​192](https://togithub.com/tonsky/datascript/issues/192), thx [Andre R.](https://togithub.com/rauhs)) - Optimize generated JS code by declaring fn arities ([#​197](https://togithub.com/tonsky/datascript/issues/197)) - [ BREAKING ] Removed ^:exports from `datascript.core` to enable dead code elimination ([#​191](https://togithub.com/tonsky/datascript/issues/191)). This should only affect you if you were using DataScript from JS and were importing `datascript.core` directly

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.