Skip to content

Releases: dipdup-io/dipdup

6.5.0

28 Jan 17:22

Choose a tag to compare

6.5.0 - 2023-01-28

Added

  • hasura: Apply arbitrary metadata from hasura project directory.
  • config: Added allow_inconsistent_metadata option to hasura section.

Fixed

  • config: Do not include coinbase datasource credentials in config repr.
  • database: Fixed crash when schema generation should fail with schema_modified.
  • hasura: Stop using deprecated schema/metadata API.
  • index: Fixed unnecessary prefetching of migration originations in operation index.
  • index: Remove disabled indexes from the dispatcher queue.
  • sentry: Flush and reopen session daily.
  • tzkt: Fixed OperationData.type field value for migration originations.
  • tzkt: Added missing last_level argument to migration origination fetching methods.

Other

  • tzkt: Updated current testnet protocol (limanet).
  • deps: Updated asyncpg to 0.27.0
  • deps: Updated hasura to 2.17.0

6.4.3

05 Jan 17:55

Choose a tag to compare

6.4.3 - 2023-01-05

Fixed

  • context: Fixed order of add_contract method arguments.
  • index: Fixed matching operations when both address and code_hash filters are specified.
  • sentry: Fixed sending crash reports when DSN is not set implicitly.
  • sentry: Increase event length limit.

6.4.2

31 Dec 17:03

Choose a tag to compare

6.4.2 - 2022-12-31

Added

  • config: Added http.ratelimit_sleep option to set fixed sleep time on 429 responses.
  • context: Allow adding contracts by code hash in runtime.

Fixed

  • http: Fixed merging user-defined HTTP settings and datasource defaults.
  • tzkt: Fixed iterating over big map keys.

6.4.1

22 Dec 01:51

Choose a tag to compare

6.4.1 - 2022-12-22

Fixed

  • models: Fixed package model detection.

6.4.0

20 Dec 16:11

Choose a tag to compare

6.4.0 - 2022-12-20

Fixed

  • cli: update and uninstall commands no longer require a valid config.
  • cli: Fixed a regression in new command leading to crash with TypeError.
  • config: Fixed jobs section deserialization.
  • database: Ignore abstract models during module validation.

6.4.0rc1

09 Dec 21:00

Choose a tag to compare

6.4.0rc1 Pre-release
Pre-release

6.4.0rc1 - 2022-12-09

Added

  • config: Added optional code_hash field to contract config.
  • context: Added first_level and last_level arguments to ctx.add_index methods.
  • index: Filtering by code_hash is available for operation index.
  • tzkt: Added datasource methods get_contract_address and get_contract_hashes.
  • tzkt: Originations and operations now can be fetched by contract code hashes.
  • tzkt: Added sender_code_hash and target_code_hash fields to OperationData model.

Fixed

  • codegen: Unresolved index templates are now correctly processed during types generation.
  • demos: Fixed outdated demo_dao project.
  • http: Fixed a crash when datasource URL contains trailing slash.
  • metadata: Add limanet to supported networks.
  • projects: Do not scaffold an outdated poetry.lock.

Changed

  • demos: Demos were renamed to better indicate their purpose.
  • exceptions: FrameworkException is raised instead of plain RuntimeError when a framework error occurs.
  • exceptions: Known exceptions are inherited from FrameworkError.
  • tzkt: Some datasource methods have changed their signatures.

Deprecated

  • config: similar_to.address filter is an alias for originated_contract.code_hash and will be removed in the next major release.
  • config: DipDupError is an alias for FrameworkError and will be removed in the next major release.

6.3.1

25 Nov 18:11

Choose a tag to compare

6.3.1 - 2022-11-25

Fixed

  • cli: Do not apply cli hacks on module import.
  • codegen: Include PEP 561 marker in generated packages.
  • codegen: Untyped originations are now correctly handled.
  • codegen: Fixed alias config field having no effect on originations.
  • codegen: Fixed optional arguments in generated callbacks.
  • config: Suggest snake_case for package name.
  • config: Fixed crash with RuntimeError when index has no subscriptions.
  • http: Limit aiohttp sessions to specific base URL.
  • index: Do not deserialize originations matched by the source filter.
  • index: Wrap storage deserialization exceptions with InvalidDataError.
  • projects: Fixed Hasura environment in docker-compose examples.

Security

Other

  • ci: mypy --strict is now enforced on a codebase.
  • ci: Finished migration to pytest.

6.3.0

15 Nov 17:09

Choose a tag to compare

6.3.0 - 2022-11-15

Added

  • context: Added execute_sql_query method to run queries from sql project directory.
  • context: execute_sql method now accepts arbitrary arguments to format SQL script (unsafe, use with caution).
  • index: New filters for token_transfer index.

Fixed

  • cli: Fixed missing log messages from ctx.logger.
  • codegen: Better PEP 8 compatibility of generated callbacks.
  • context: Fixed SQL scripts executed in the wrong order.
  • context: Fixed execute_sql method crashes when the path is not a directory.
  • database: Fixed crash with CannotConnectNowError before establishing the database connection.
  • database: Fixed crash when using F expressions inside versioned transactions.
  • http: Fixed caching datasource responses when replay_path contains tilde.
  • http: Adjusted per-datasource default config values.
  • project: Use the latest stable version instead of hardcoded values.
  • tzkt: Fixed deserializing of EventData and OperationData models.
  • tzkt: Fixed matching migration originations by address.

Deprecated

  • ci: pytezos extra and corresponding Docker image are deprecated.

6.2.0

12 Oct 21:59

Choose a tag to compare

6.2.0 - 2022-10-12

Added

  • cli: new command to create a new project interactively.
  • cli: install/update/uninstall commands to manage local DipDup installation.
  • index: New index kind event to process contract events.
  • install: New interactive installer based on pipx (install.py or dipdup-install).

Fixed

  • cli: Fixed commands that don't require a valid config yet crash with ConfigurationError.
  • codegen: Fail on demand when datamodel-codegen is not available.
  • codegen: Fixed Jinja2 template caching.
  • config: Allow sentry.dsn field to be empty.
  • config: Fixed greedy environment variable regex.
  • hooks: Raise a FeatureAvailabilityHook instead of a warning when trying to execute hooks on SQLite.

Improved

  • cli: Detect src/ layout when guessing package path.
  • codegen: Improved cross-platform compatibility.
  • config: sentry.user_id option to set user ID for Sentry (affects release adoption data).
  • sentry: Detect environment when not set in config (docker/gha/tests/local)
  • sentry: Expose more tags under the dipdup namespace.

Performance

  • cli: Up to 5x faster startup for some commands.

Security

  • sentry: Prevent Sentry from leaking hostname if server_name is not set.
  • sentry: Notify about using Sentry when DSN is set or crash reporting is enabled.

Other

  • ci: A significantly faster execution of GitHub Actions.
  • docs: Updated "Contributing Guide" page.

6.1.3

21 Sep 04:41

Choose a tag to compare

6.1.3 - 2022-09-21

Added

  • sentry: Enable crash-free session reporting.

Fixed

  • metadata: Updated protocol aliases.
  • sentry: Unwrap CallbackError traceback to fix event grouping.
  • sentry: Hide "attempting to send..." message on shutdown.

Other

  • ci: Do not build default and -pytezos nightly images.