Releases: dipdup-io/dipdup
Releases · dipdup-io/dipdup
6.5.0
6.5.0 - 2023-01-28
Added
- hasura: Apply arbitrary metadata from
hasuraproject directory. - config: Added
allow_inconsistent_metadataoption tohasurasection.
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
operationindex. - index: Remove disabled indexes from the dispatcher queue.
- sentry: Flush and reopen session daily.
- tzkt: Fixed
OperationData.typefield value for migration originations. - tzkt: Added missing
last_levelargument 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
6.4.3 - 2023-01-05
Fixed
- context: Fixed order of
add_contractmethod arguments. - index: Fixed matching operations when both
addressandcode_hashfilters are specified. - sentry: Fixed sending crash reports when DSN is not set implicitly.
- sentry: Increase event length limit.
6.4.2
6.4.2 - 2022-12-31
Added
- config: Added
http.ratelimit_sleepoption 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
6.4.1 - 2022-12-22
Fixed
- models: Fixed package model detection.
6.4.0
6.4.0 - 2022-12-20
Fixed
- cli:
updateanduninstallcommands no longer require a valid config. - cli: Fixed a regression in
newcommand leading to crash withTypeError. - config: Fixed
jobssection deserialization. - database: Ignore abstract models during module validation.
6.4.0rc1
6.4.0rc1 - 2022-12-09
Added
- config: Added optional
code_hashfield to contract config. - context: Added
first_levelandlast_levelarguments toctx.add_indexmethods. - index: Filtering by
code_hashis available foroperationindex. - tzkt: Added datasource methods
get_contract_addressandget_contract_hashes. - tzkt: Originations and operations now can be fetched by contract code hashes.
- tzkt: Added
sender_code_hashandtarget_code_hashfields toOperationDatamodel.
Fixed
- codegen: Unresolved index templates are now correctly processed during types generation.
- demos: Fixed outdated
demo_daoproject. - http: Fixed a crash when datasource URL contains trailing slash.
- metadata: Add
limanetto supported networks. - projects: Do not scaffold an outdated
poetry.lock.
Changed
- demos: Demos were renamed to better indicate their purpose.
- exceptions:
FrameworkExceptionis raised instead of plainRuntimeErrorwhen a framework error occurs. - exceptions: Known exceptions are inherited from
FrameworkError. - tzkt: Some datasource methods have changed their signatures.
Deprecated
- config:
similar_to.addressfilter is an alias fororiginated_contract.code_hashand will be removed in the next major release. - config:
DipDupErroris an alias forFrameworkErrorand will be removed in the next major release.
6.3.1
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
aliasconfig field having no effect on originations. - codegen: Fixed optional arguments in generated callbacks.
- config: Suggest snake_case for package name.
- config: Fixed crash with
RuntimeErrorwhen index has no subscriptions. - http: Limit aiohttp sessions to specific base URL.
- index: Do not deserialize originations matched by the
sourcefilter. - index: Wrap storage deserialization exceptions with
InvalidDataError. - projects: Fixed Hasura environment in docker-compose examples.
Security
- hasura: Forbid using Hasura instances running vulnerable versions (GHSA-g7mj-g7f4-hgrg)
Other
- ci:
mypy --strictis now enforced on a codebase. - ci: Finished migration to
pytest.
6.3.0
6.3.0 - 2022-11-15
Added
- context: Added
execute_sql_querymethod to run queries fromsqlproject directory. - context:
execute_sqlmethod now accepts arbitrary arguments to format SQL script (unsafe, use with caution). - index: New filters for
token_transferindex.
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_sqlmethod crashes when the path is not a directory. - database: Fixed crash with
CannotConnectNowErrorbefore establishing the database connection. - database: Fixed crash when using F expressions inside versioned transactions.
- http: Fixed caching datasource responses when
replay_pathcontains tilde. - http: Adjusted per-datasource default config values.
- project: Use the latest stable version instead of hardcoded values.
- tzkt: Fixed deserializing of
EventDataandOperationDatamodels. - tzkt: Fixed matching migration originations by address.
Deprecated
- ci:
pytezosextra and corresponding Docker image are deprecated.
6.2.0
6.2.0 - 2022-10-12
Added
- cli:
newcommand to create a new project interactively. - cli:
install/update/uninstallcommands to manage local DipDup installation. - index: New index kind
eventto process contract events. - install: New interactive installer based on pipx (
install.pyordipdup-install).
Fixed
- cli: Fixed commands that don't require a valid config yet crash with
ConfigurationError. - codegen: Fail on demand when
datamodel-codegenis not available. - codegen: Fixed Jinja2 template caching.
- config: Allow
sentry.dsnfield to be empty. - config: Fixed greedy environment variable regex.
- hooks: Raise a
FeatureAvailabilityHookinstead 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_idoption 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
dipdupnamespace.
Performance
- cli: Up to 5x faster startup for some commands.
Security
- sentry: Prevent Sentry from leaking hostname if
server_nameis 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
6.1.3 - 2022-09-21
Added
- sentry: Enable crash-free session reporting.
Fixed
- metadata: Updated protocol aliases.
- sentry: Unwrap
CallbackErrortraceback to fix event grouping. - sentry: Hide "attempting to send..." message on shutdown.
Other
- ci: Do not build default and
-pytezosnightly images.