Skip to content

Releases: dipdup-io/dipdup

3.1.3

15 Nov 16:18

Choose a tag to compare

3.1.3 - 2021-11-15

Fixed

  • codegen: Fixed missing imports in operation handlers.
  • codegen: Fixed invalid imports and arguments in big_map handlers.

Commits

  • 544b477: Fix missing imports in handlers which contain transaction with empty entrypoint (#169) (Lev Gorodetskiy) #169
  • 660946e: Fixed invalid imports and arguments in generated big_map handlers (#171) (Lev Gorodetskiy) #171
  • 7192153: Bump version: 3.1.2 → 3.1.3 (Lev Gorodetskiy)

3.1.2

02 Nov 10:53

Choose a tag to compare

3.1.2 - 2021-11-02

Fixed

  • Fixed crash occurred during synchronization of big map indexes.

Commits

  • 756b8ba: Update CHANGELOG.md (Lev Gorodetskiy)
  • 2b09d82: Fix unassigned reference in BigMapFetcher (#166) (Lev Gorodetskiy) #166
  • da46b8c: Bump version: 3.1.1 → 3.1.2 (Lev Gorodetskiy)

3.1.1

18 Oct 18:58

Choose a tag to compare

3.1.1 - 2021-10-18

Fixed

  • Fixed loss of real-time subscriptions occurred after TzKT API outage.
  • Fixed updating schema hash in schema approve command.
  • Fixed possible crash occurred while Hasura is not ready.

Commits

  • 950b086: Operation matching tests (#162) (Lev Gorodetskiy) #162
  • ea33562: Fixed loss of real-time subscriptions occurred after TzKT API outage (#163) (Lev Gorodetskiy) #163
  • 631b573: Bump version: 3.1.0 → 3.1.1 (Lev Gorodetskiy)

3.1.0

12 Oct 17:02

Choose a tag to compare

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)

3.0.4

04 Oct 07:53

Choose a tag to compare

3.0.4 - 2021-10-04

Improved

  • A significant increase in indexing speed.

Fixed

  • Fixed unexpected reindexing caused by the bug in processing zero- and single-level rollbacks.
  • Removed unnecessary file IO calls that could cause PermissionError exception in Docker environments.
  • Fixed possible violation of block-level atomicity during real-time indexing.

Changes

  • Public methods of TzktDatasource now return immutable sequences.

Commits

  • ccbb0cb: Fix unnecessary file IO, improve logging (#149) (Lev Gorodetskiy) #149
  • 4968ee3: Track datasource level by channel, ignore head rollbacks (#148) (Lev Gorodetskiy) #148
  • 7427047: Bump version (Lev Gorodetskiy)
  • 3e5bfcc: Bump version: 3.0.3 → 3.0.4 (Lev Gorodetskiy)

3.0.3

01 Oct 10:29

Choose a tag to compare

3.0.3 - 2021-10-01

Fixed

  • Fixed processing of single-level rollbacks emitted before rolled back head.

Commits

  • 176b503: Create LICENSE (Lev Gorodetskiy)
  • 08b49a0: Allow rollback to the same level (#147) (Lev Gorodetskiy) #147
  • 8a03bd6: Update changelog (Lev Gorodetskiy)
  • 37a8de9: Bump version: 3.0.2 → 3.0.3 (Lev Gorodetskiy)

3.0.2

30 Sep 18:35

Choose a tag to compare

Added

  • Human-readable CHANGELOG.md 🕺
  • Two new options added to dipdup run command:
    • --forbid-reindexing – raise ReindexingRequiredError instead of truncating database when reindexing is triggered for any reason. To continue indexing with existing database run UPDATE dipdup_schema SET reindex = NULL;
    • --postpone-jobs – job scheduler won't start until all indexes are synchronized.

Changed

  • Migration to this version requires reindexing.
  • dipdup_index.head_id foreign key removed. dipdup_head table still contains the latest blocks from Websocket received by each datasource.

Fixed

  • Removed unnecessary calls to TzKT API.
  • Fixed removal of PostgreSQL extensions (timescaledb, pgcrypto) by function truncate_database triggered on reindex.
  • Fixed creation of missing project package on init.
  • Fixed invalid handler callbacks generated on init.
  • Fixed detection of existing types in the project.
  • Fixed race condition caused by event emitter concurrency.
  • Capture unknown exceptions with Sentry before wrapping to DipDupError.
  • Fixed job scheduler start delay.
  • Fixed processing of reorg messages.

Commits

  • 53e8bcb: Add CHANGELOG.md, bump Hasura in examples (#137) (Lev Gorodetskiy) #137
  • faster sync, TimescaleDB compatibility (#139) #139 (Lev Gorodetskiy)
  • 3007015: Fix creation of missing project package (#140) (Lev Gorodetskiy) #140
  • 65ef228: Fix check of existing types, rename arguments with the same name on codegen (#141) (Lev Gorodetskiy) #141
  • d178d74: An option to forbid database truncating on reindexing triggered (#143) (Lev Gorodetskiy) #143
  • 5808c9a: Fix entering sync state (#142) (Lev Gorodetskiy) #142
  • 03ea5e6: Fix some Websocket issues, remove Index.head relation (#144) (Lev Gorodetskiy) #144
  • 8902d2b: --postpone-jobs flag (#146) (Lev Gorodetskiy) #146
  • 54cd116: Update CHANGELOG.md (Lev Gorodetskiy)
  • 993d92f: Bump version: 3.0.1 → 3.0.2 (Lev Gorodetskiy)

3.0.1

24 Sep 14:00

Choose a tag to compare

Added

  • Added get_quote and get_quotes methods to TzKTDatasource.

Fixed

  • Defer spawning index datasources until initial sync is complete. It helps to mitigate some WebSocket-related crashes, but initial sync is a bit slower now.
  • Fixed possible race conditions in TzKTDatasource.
  • Start jobs scheduler after all indexes sync with a current head to speed up indexing.

Commits

  • f60fdc8: get_quotes datasource method (#132) (Lev Gorodetskiy) #132
  • 1ca5ab0: Defer spawning index datasources, add get_quotes method (#133) (Lev Gorodetskiy) #133
  • 5e0dc09: Wrap WS event callbacks with lock (#134) (Lev Gorodetskiy) #134
  • ddb6bcd: Defer starting scheduler until all indexes are in sync (#135) (Lev Gorodetskiy) #135
  • b7900e9: Fix scheduler start event detection (#136) (Lev Gorodetskiy) #136
  • 9421288: Bump version: 3.0.0 → 3.0.1 (Lev Gorodetskiy)

3.0.0

20 Sep 14:28

Choose a tag to compare

Commits

  • 5baf072: Truncate schema on reindex instead of dropping it (#131) (Lev Gorodetskiy) #131
  • 9ce2379: Late truncate_schema apply (Lev Gorodetskiy)
  • dd0474d: Bump version: 2.0.9 → 3.0.0 (Lev Gorodetskiy)

3.0.0-rc2

16 Sep 13:44

Choose a tag to compare

3.0.0-rc2 Pre-release
Pre-release

Commits

  • f76b714: Fix AttributeError: 'TzktDatasource' object has no attribute 'block' (#130) (arrijabba) #130
  • 32fd466: Bump version: 2.0.9 → 3.0.0-rc2 (Lev Gorodetskiy)