Skip to content

Commit e152394

Browse files
7.0.0 release (#819)
1 parent 360d609 commit e152394

File tree

130 files changed

+487
-264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+487
-264
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ jobs:
4848

4949
- name: Run tests
5050
run: pdm run test
51+
env:
52+
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}

CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,27 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning].
66

7-
## [Unreleased]
7+
## [7.0.0] - 2023-09-25
88

99
### Fixed
1010

1111
- cli: Import package submodules before starting indexing to fail early on import errors.
1212
- cli: Fixed ordering of crash reports in `report` group commands.
1313
- evm.node: Fixed parsing topics and integers in datasource models.
1414
- evm.subsquid.events: Fixed incorrrect log request parameters.
15+
- install: Fixed issue with interpreting user answers in some cases.
1516
- tezos.tzkt: Fixed operation matching when contract code hash specified as a string.
1617
- tezos.tzkt: Fixed issue with processing rollbacks while sync is in progress.
1718
- tezos.tzkt.events: Fixed parsing contract event data.
1819
- tezos.tzkt.operations: Fixed parsing operations with empty parameters.
19-
- install: fix error with all meaningful answers interpreted as yes in some cases.
20+
21+
## [6.5.12] - 2023-09-15
22+
23+
### Fixed
24+
25+
- tzkt: Fixed issue with processing rollbacks while sync is in progress.
26+
- tzkt: Fixed operation matching when contract code hash specified as a string.
27+
- tzkt: Fixed parsing contract event data.
2028

2129
## [7.0.0rc5] - 2023-09-06
2230

@@ -1171,7 +1179,8 @@ This release contains no changes except for the version number.
11711179
[semantic versioning]: https://semver.org/spec/v2.0.0.html
11721180

11731181
<!-- Versions -->
1174-
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc5...HEAD
1182+
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/7.0.0...HEAD
1183+
[7.0.0]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc5...7.0.0
11751184
[7.0.0rc5]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc4...7.0.0rc5
11761185
[6.5.11]: https://github.com/dipdup-io/dipdup/compare/6.5.10...6.5.11
11771186
[7.0.0rc4]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc3...7.0.0rc4

docs/0.quickstart-evm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ pipx install dipdup datamodel-code-generator
3030
# PDM
3131
pdm init --python 3.11 --lib # use "">=3.11,<3.12" for requires-python
3232
pdm venv create
33-
pdm add "dipdup>=7.0.0rc5,<8" --venv
33+
pdm add "dipdup>=7,<8" --venv
3434
$(pdm venv activate)
3535

3636
# Poetry
3737
poetry init --python ">=3.11,<3.12"
38-
poetry add "dipdup>=7.0.0rc5,<8"
38+
poetry add "dipdup>=7,<8"
3939
poetry shell
4040

4141
# pip + venv
4242
python -m venv .venv
4343
. .venv/bin/activate
44-
echo "dipdup>=7.0.0rc5,<8" > requirements.txt
44+
echo "dipdup>=7,<8" > requirements.txt
4545
pip install -r requirements.txt -e .
4646
```
4747

docs/0.quickstart-tezos.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ pipx install dipdup datamodel-code-generator
3030
# PDM
3131
pdm init --python 3.11 --lib # use "">=3.11,<3.12" for requires-python
3232
pdm venv create
33-
pdm add "dipdup>=7.0.0rc5,<8" --venv
33+
pdm add "dipdup>=7,<8" --venv
3434
$(pdm venv activate)
3535

3636
# Poetry
3737
poetry init --python ">=3.11,<3.12"
38-
poetry add "dipdup>=7.0.0rc5,<8"
38+
poetry add "dipdup>=7,<8"
3939
poetry shell
4040

4141
# pip + venv
4242
python -m venv .venv
4343
. .venv/bin/activate
44-
echo "dipdup>=7.0.0rc5,<8" > requirements.txt
44+
echo "dipdup>=7,<8" > requirements.txt
4545
pip install -r requirements.txt -e .
4646
```
4747

docs/1.getting-started/1.installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PDM is a very powerful package manager with a lot of features. Also, it can run
4848
```shell [Terminal]
4949
pdm init --python 3.11 --lib # use "">=3.11,<3.12" for requires-python
5050
pdm venv create
51-
pdm add "dipdup>=7.0.0rc5,<8" --venv
51+
pdm add "dipdup>=7,<8" --venv
5252
$(pdm venv activate)
5353
```
5454

@@ -58,7 +58,7 @@ Poetry is another popular tool to manage Python projects. It doesn't support scr
5858

5959
```shell [Terminal]
6060
poetry init --python ">=3.11,<3.12"
61-
poetry add "dipdup>=7.0.0rc5,<8"
61+
poetry add "dipdup>=7,<8"
6262
poetry shell
6363
```
6464

@@ -69,7 +69,7 @@ Finally, if you prefer to do everything manually, you can use pip. It's the most
6969
```shell [Terminal]
7070
python -m venv .venv
7171
. .venv/bin/activate
72-
echo "dipdup>=7.0.0rc5,<8" >> requirements.txt
72+
echo "dipdup>=7,<8" >> requirements.txt
7373
pip install -r requirements.txt -e .
7474
```
7575

docs/12.faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ If your models contain `DecimalField`s, you may encounter this error when perfor
115115
```python
116116
class Token(Model):
117117
id = fields.TextField(pk=True)
118-
volume = fields.DecimalField(decimal_places=18, max_digits=72)
118+
volume = fields.DecimalField(decimal_places=18, max_digits=76)
119119
...
120120
```
121121

docs/14.contribution.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ We use several tools to enforce codestyle and code quality: `black` for autoform
8888
- Release versions MUST conform to [Semantic Versioning](https://semver.org/). Releases that introduce breaking changes MUST be major ones.
8989
- Only the latest major version is supported in general. Critical fixes MAY be backported to the previous major release. To do so, create an `aux/X.Y.Z` branch from the latest stable tag, bump the DipDup version manually, and add a new tag.
9090

91+
### 6.5 branch
92+
93+
- DipDup 6.5 is supported until March 2024. Maintainers MUST backport bugfixes from the main branch until then. All Tezos and TzKT related code was synced with `next`, so it should be a relatively easy task.
94+
- 6.5 docs and installer are hosted on GH Pages at `docs.dipdup.io`.
95+
9196
## MIT License
9297

9398
<!-- markdownlint-disable first-line-h1 -->

docs/9.release-notes/1.v7.0.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
2-
title: 7.0.0rc5
3-
description: DipDup 7.0.0rc5 release notes
2+
title: 7.0.0
3+
description: DipDup 7.0.0 release notes
44
---
55

6-
# Release Notes: 7.0.0rc5
7-
8-
::banner{type="warning"}
9-
This page describes a release candidate and may change before the final release.
10-
::
6+
# Release Notes: 7.0.0
117

128
Welcome, developers! Today we introduce 7.0, the most significant major release for DipDup in terms of both changes and developer hours. The new framework architecture allows to easily integrate new blockchains and data sources. EVM support is the first step in this direction; more to come soon. Also we have focused on improving developer experience, so you can initialize, extend and maintain DipDup projects with minimal effort. Finally, updated docs and new demo projects won't let you get lost.
139

@@ -81,7 +77,6 @@ dipdup -c . -c configs/dipdup.sqlite.yaml config export
8177
Installer commands were moved to the `dipdup self` command group. There you can switch the release channel or uninstall DipDup at any time:
8278

8379
```shell
84-
dipdup self install --version 7.0.0rc5
8580
dipdup self update
8681
dipdup self install --force --ref next
8782
dipdup self uninstall
@@ -114,7 +109,7 @@ Here are some other notable changes not covered above:
114109

115110
## Future of DipDup 6.5
116111

117-
The previous version of the framework is powering dozens of APIs in production. We want to give those projects enough time for migration or to just wait a bit while the current branch is being ironed out. Given that, _DipDup 6.5 will be supported until Mar 2024_. We will continue to release bugfixes and security updates until that date. You can find the old documentation [here](https://docs.dipdup.io/), but some pages may be outdated. If you've found such page or other issue, please drop us a message.
112+
The previous version of the framework is powering dozens of APIs in production. We want to give those projects enough time for migration or to just wait a bit while the current branch is being ironed out. Given that, _DipDup 6.5 will be supported until March 2024_. We will continue to release bugfixes and security updates until that date. You can find the old documentation [here](https://docs.dipdup.io/), but some pages may be outdated. If you've found such page or other issue, please drop us a message.
118113

119114
Of course, we encourage you migrating to 7.0 soon to explore all the cool stuff in this release.
120115

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "dipdup"
33
description = "Modular framework for creating selective indexers and featureful backends for dapps"
4-
version = "7.0.0rc5"
4+
version = "7.0.0"
55
license = { text = "MIT" }
66
authors = [
77
{ name = "Lev Gorodetskii", email = "[email protected]" },
@@ -121,6 +121,8 @@ demos = { shell = """
121121
python scripts/update_demos.py
122122
python scripts/init_demos.py
123123
pdm run fmt
124+
# FIXME: Run isort once to fix import sorting (bug in ruff)
125+
isort . --force-single-line -l 120
124126
pdm run lint
125127
""" }
126128
docs_build = "python scripts/docs.py --source docs --destination {args:../interface}/content/docs"

src/demo_auction/configs/dipdup.compose.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@ hasura:
1212
allow_aggregations: true
1313
camel_case: true
1414

15+
sentry:
16+
dsn: ${SENTRY_DSN:-""}
17+
environment: ${SENTRY_ENVIRONMENT:-""}
18+
19+
prometheus:
20+
host: 0.0.0.0
21+
1522
logging: ${LOGLEVEL:-INFO}

0 commit comments

Comments
 (0)