Releases: dipdup-io/dipdup
Releases · dipdup-io/dipdup
3.1.3
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
3.1.2
3.1.1
3.1.1 - 2021-10-18
Fixed
- Fixed loss of real-time subscriptions occurred after TzKT API outage.
- Fixed updating schema hash in
schema approvecommand. - Fixed possible crash occurred while Hasura is not ready.
Commits
3.1.0
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, andschema export. Rundipdup schema --helpcommand for details.
Changed
- Triggering reindexing won't lead to dropping the database automatically anymore.
ReindexingRequiredErroris raised instead.--forbid-reindexingoption has become default. --reindexoption is removed. Usedipdup schema wipeinstead.- Values of
dipdup_schema.reindexfield updated to simplify querying database. Seedipdup.enums.ReindexingReasonclass for possible values.
Fixed
- Fixed
ReindexRequiredErrornot 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
BigMapIndexcausing the partial loss of big map diffs. - Fixed printing help for CLI commands.
- Fixed merging storage which contains specific nested structures.
Improved
- Raise
DatabaseConfigurationErrorexception 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
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
PermissionErrorexception in Docker environments. - Fixed possible violation of block-level atomicity during real-time indexing.
Changes
- Public methods of
TzktDatasourcenow return immutable sequences.
Commits
3.0.3
3.0.3 - 2021-10-01
Fixed
- Fixed processing of single-level rollbacks emitted before rolled back head.
Commits
3.0.2
Added
- Human-readable
CHANGELOG.md🕺 - Two new options added to
dipdup runcommand:--forbid-reindexing– raiseReindexingRequiredErrorinstead of truncating database when reindexing is triggered for any reason. To continue indexing with existing database runUPDATE 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_idforeign key removed.dipdup_headtable 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 functiontruncate_databasetriggered 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-jobsflag (#146) (Lev Gorodetskiy) #146 - 54cd116: Update CHANGELOG.md (Lev Gorodetskiy)
- 993d92f: Bump version: 3.0.1 → 3.0.2 (Lev Gorodetskiy)
3.0.1
Added
- Added
get_quoteandget_quotesmethods toTzKTDatasource.
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
jobsscheduler after all indexes sync with a current head to speed up indexing.
Commits
- f60fdc8:
get_quotesdatasource method (#132) (Lev Gorodetskiy) #132 - 1ca5ab0: Defer spawning index datasources, add
get_quotesmethod (#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)