Skip to content

3.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Oct 17:02

3.1.0 - 2021-10-12

Added

  • New index class HeadIndex (configuration: dipdup.config.HeadIndexConfig). Use this index type to handle head (limited block header content) updates. This index type is realtime-only: historical data won't be indexed during the synchronization stage.
  • Added three new commands: schema approve, schema wipe, and schema export. Run dipdup schema --help command for details.

Changed

  • Triggering reindexing won't lead to dropping the database automatically anymore. ReindexingRequiredError is raised instead. --forbid-reindexing option has become default.
  • --reindex option is removed. Use dipdup schema wipe instead.
  • Values of dipdup_schema.reindex field updated to simplify querying database. See dipdup.enums.ReindexingReason class for possible values.

Fixed

  • Fixed ReindexRequiredError not being raised when running DipDup after reindexing was triggered.
  • Fixed index config hash calculation. Hashes of existing indexes in a database will be updated during the first run.
  • Fixed issue in BigMapIndex causing the partial loss of big map diffs.
  • Fixed printing help for CLI commands.
  • Fixed merging storage which contains specific nested structures.

Improved

  • Raise DatabaseConfigurationError exception when project models are not compatible with GraphQL.
  • Another bunch of performance optimizations. Reduced DB pressure, speeded up parallel processing lots of indexes.
  • Added initial set of performance benchmarks (run: ./scripts/run_benchmarks.sh)

Commits

  • 99a963a: New index type -- 'head' (#153) (Michael Zaikin) #153
  • 649ca3c: Fix index config hash calculation, add boilerplate for benchmarking (#152) (Lev Gorodetskiy) #152
  • 1bdefa6: Improve models validation (#156) (Lev Gorodetskiy) #156
  • 3f34bc2: Bump pytest and other dependencies (#155) (Lev Gorodetskiy) #155
  • 285c8d6: Fix ignored Schema.reindex field, add tests (#154) (Lev Gorodetskiy) #154
  • possible off-by-1 error (#157) #157 (arrijabba)
  • 17f8699: Performance optimizations (#150) (Lev Gorodetskiy) #150
  • 41fb7fe: Fix config validation (#160) (Lev Gorodetskiy) #160
  • a2ea25d: Fix merging storage which contains specific nested structures (#159) (Lev Gorodetskiy) #159
  • 797fa67: Docs and small fixes before 3.1.0 release (#161) (Lev Gorodetskiy) #161
  • 6f971ed: Bump changelog (Lev Gorodetskiy)
  • 49b0c1e: Bump version: 3.0.4 → 3.1.0 (Lev Gorodetskiy)