Releases: dipdup-io/dipdup
Releases · dipdup-io/dipdup
4.1.0
4.1.0 - 2022-01-24
Added
- cli: Added
schema initcommand to initialize database schema. - cli: Added
--forceflag tohasura configurecommand. - codegen: Added support for subpackages inside callback directories.
- hasura: Added
dipdup_head_statusview and REST endpoint. - index: Added an ability to skip historical data while synchronizing
big_mapindexes. - metadata: Added
metadatadatasource. - tzkt: Added
get_big_mapandget_contract_big_mapsdatasource methods.
4.0.5
4.0.5 - 2022-01-20
Fixed
- index: Fixed deserializing manually modified typeclasses.
4.0.4
4.0.4 - 2022-01-17
Added
- cli: Added
--keep-schemasflag toinitcommand to preserve JSONSchemas along with generated types.
Fixed
- demos: Tezos Domains and Homebase DAO demos were updated from edo2net to mainnet contracts.
- hasura: Fixed missing relations for models with
ManyToManyFieldfields. - tzkt: Fixed parsing storage with nested structures.
Performance
- dipdup: Minor overall performance improvements.
Other
- ci: Cache virtual environment in GitHub Actions.
- ci: Detect CI environment and skip tests that fail in GitHub Actions.
- ci: Execute tests in parallel with
pytest-xdistwhen possible. - ci: More strict linting rules of
flake8.
4.0.3
4.0.3 - 2022-01-09
Fixed
- tzkt: Fixed parsing parameter with an optional value.
4.0.2
4.0.2 - 2022-01-06
Added
- tzkt: Added optional
delegate_addressanddelegate_aliasfields toOperationData.
Fixed
- tzkt: Fixed crash due to unprocessed pysignalr exception.
- tzkt: Fixed parsing
OperationData.amountfield. - tzkt: Fixed parsing storage with top-level boolean fields.
4.0.1
4.0.1 - 2021-12-30
Fixed
- codegen: Fixed generating storage typeclasses with
Unionfields. - codegen: Fixed preprocessing contract JSONSchema.
- index: Fixed processing reindexing reason saved in the database.
- tzkt: Fixed processing operations with default entrypoint and empty parameter.
- tzkt: Fixed crash while recursively applying bigmap diffs to the storage.
Performance
- tzkt: Increased speed of applying bigmap diffs to operation storage.
4.0.0
4.0.0 - 2021-12-24
This release contains no changes except for the version number.
4.0.0-rc3
4.0.0-rc3 - 2021-12-20
Fixed
- cli: Fixed missing
schema approve --hashesargument. - codegen: Fixed contract address used instead of an alias when typename is not set.
- tzkt: Fixed processing operations with entrypoint
default. - tzkt: Fixed regression in processing migration originations.
- tzkt: Fixed filtering of big map diffs by the path.
Removed
- cli: Removed deprecated
run --oneshotargument andclear-cachecommand.
4.0.0-rc2
4.0.0-rc2 - 2021-12-11
⚠ Migration
- Run
dipdup initcommand to generateon_synchronizedhook stubs.
Added
- hooks: Added
on_synchronizedhook, which fires each time all indexes reach realtime state.
Fixed
- cli: Fixed config not being verified when invoking some commands.
- codegen: Fixed generating callback arguments for untyped operations.
- index: Fixed incorrect log messages, remove duplicate ones.
- index: Fixed crash while processing storage of some contracts.
- index: Fixed matching of untyped operations filtered by
sourcefield (@pravin-d).
Performance
- index: Checks performed on each iteration of the main DipDup loop are slightly faster now.
4.0.0-rc1
4.0.0-rc1 - 2021-12-02
⚠ Migration
- Run
dipdup schema approvecommand on every database you want to use with 4.0.0-rc1. Runningdipdup migrateis not necessary sincespec_versionhasn't changed in this release.
Added
- cli: Added
run --early-realtimeflag to establish a realtime connection before all indexes are synchronized. - cli: Added
run --merge-subscriptionsflag to subscribe to all operations/big map diffs during realtime indexing. This flag helps to avoid reaching TzKT subscriptions limit (currently 10000 channels). - cli: Added
statuscommand to print the current status of indexes from the database. - cli: Added
config export [--unsafe]command to print config after resolving all links and variables. Add--unsafeoption to substitute environment variables. - cli: Added
cache showcommand to get information about file caches used by DipDup. - config: Added
first_levelandlast_leveloptional fields toTemplateIndexConfig. These limits are applied after ones from the template itself. - config: Added
daemonboolean field toJobConfigto run a single callback indefinitely. Conflicts withcrontabandintervalfields. - config: Added
advancedtop-level section with following fields:
advanced:
early_realtime: False
merge_subscriptions: False
oneshot: False
postpone_jobs: False
reindex:
manual: exception
migration: wipe
rollback: ignore
config_modified: exception
schema_modified: wipeReindexingRequiredError exception is raised by default when reindexing is triggered. CLI flags have priority over self-titled AdvancedConfig fields.
Fixed
- cli: Fixed crashes and output inconsistency when piping DipDup commands.
- cli: Fixed
schema wipe --immuneflag being ignored. - codegen: Fixed missing imports in handlers generated during init.
- coinbase: Fixed possible data inconsistency caused by caching enabled for method
get_candles. - hasura: Fixed unnecessary reconfiguration in restart.
- http: Fixed increasing sleep time between failed request attempts.
- index: Fixed invocation of head index callback.
- index: Fixed
CallbackErrorraised instead ofReindexingRequiredErrorin some cases. - tzkt: Fixed resubscribing when realtime connectivity is lost for a long time.
- tzkt: Fixed sending useless subscription requests when adding indexes in runtime.
- tzkt: Fixed
get_originated_contractsandget_similar_contractsmethods whose output was limited toHTTPConfig.batch_sizefield. - tzkt: Fixed lots of SignalR bugs by replacing
aiosignalrcorelibrary withpysignalr.
Changed
- cli:
schema wipecommand now requires confirmation when invoked in the interactive shell. - cli:
schema approvecommand now also causes a recalculation of schema and index config hashes. - index: DipDup will recalculate respective hashes if reindexing is triggered with
config_modified: ignoreorschema_modified: ignorein advanced config.
Deprecated
- cli:
run --oneshotoption is deprecated and will be removed in the next major release. The oneshot mode applies automatically whenlast_levelfield is set in the index config. - cli:
clear-cachecommand is deprecated and will be removed in the next major release. Usecache clearcommand instead.
Performance
- config: Configuration files are loaded 10x times faster.
- index: Number of operations processed by matcher reduced by 40%-95% depending on the number of addresses and entrypoints used.
- tzkt: Rate limit was increased. Try to set
connection_timeoutto a higher value if requests fail withConnectionTimeoutexception. - tzkt: Improved performance of response deserialization.