Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0.0rc4 release #806

Merged
merged 13 commits into from
Aug 23, 2023
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
images: |
dipdup/dipdup
${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}/dipdup
${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}
flavor: |
latest=false
tags: |
Expand Down Expand Up @@ -79,6 +79,7 @@ jobs:
- name: Publish package on PyPi
run: pdm publish --password ${{secrets.PYPI_TOKEN}}

# FIXME: Fails on prereleases; https://github.com/mindsers/changelog-reader-action/pull/39
- name: Parse changelog
id: changelog
uses: mindsers/changelog-reader-action@v2
Expand All @@ -97,7 +98,7 @@ jobs:
## ${{ steps.changelog.outputs.version }} - ${{ steps.changelog.outputs.date }}

${{ steps.changelog.outputs.changes }}
draft: true
draft: false
prerelease: ${{ steps.changelog.outputs.status == 'prereleased' }}

- name: Create Sentry release
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@

# Docs
!docs/**
docs/_build
docs/_build

dipdup_indexer
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.

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

## [Unreleased]
## [7.0.0rc4] - 2023-08-23

### Added

Expand All @@ -17,9 +17,9 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
- cli: Fixed `schema wipe` command crash due to `dipdup_meta` table being always immune.
- config: Don't create empty SentryConfig if DSN is not set.
- context: Share internal state between context instances.
- evm.node: Fixed keepalive loop for websocket connection.
- evm.node: Fixed parsing empty realtime message payloads.
- jobs: Don't add jobs before scheduler is started.
- node: Fixed keepalive loop for websocket connection.
- node: Fixed parsing empty realtime message payloads.
- package: Fixed package detection for poetry managed projects.
- package: Fixed mypy command in default template.
- package: Create package symlink only when needed.
Expand Down Expand Up @@ -1141,7 +1141,8 @@ This release contains no changes except for the version number.
[semantic versioning]: https://semver.org/spec/v2.0.0.html

<!-- Versions -->
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc3...HEAD
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc4...HEAD
[7.0.0rc4]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc3...7.0.0rc4
[7.0.0rc3]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc2...7.0.0rc3
[6.5.10]: https://github.com/dipdup-io/dipdup/compare/6.5.9...6.5.10
[7.0.0rc2]: https://github.com/dipdup-io/dipdup/compare/7.0.0rc1...7.0.0rc2
Expand Down
6 changes: 3 additions & 3 deletions docs/0.quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ pipx install dipdup datamodel-code-generator
# PDM
pdm init --python 3.11 --lib # use "">=3.11,<3.12" for requires-python
pdm venv create
pdm add "dipdup>=7.0.0rc3,<8" --venv
pdm add "dipdup>=7.0.0rc4,<8" --venv
$(pdm venv activate)

# Poetry
poetry init --python ">=3.11,<3.12"
poetry add "dipdup>=7.0.0rc3,<8"
poetry add "dipdup>=7.0.0rc4,<8"
poetry shell

# pip + venv
python -m venv .venv
. .venv/bin/activate
echo "dipdup>=7.0.0rc3,<8" > requirements.txt
echo "dipdup>=7.0.0rc4,<8" > requirements.txt
pip install -r requirements.txt -e .
```

Expand Down
6 changes: 3 additions & 3 deletions docs/1.getting-started/1.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PDM is a very powerful package manager with a lot of features. Also, it can run
```shell [Terminal]
pdm init --python 3.11 --lib # use "">=3.11,<3.12" for requires-python
pdm venv create
pdm add "dipdup>=7.0.0rc3,<8" --venv
pdm add "dipdup>=7.0.0rc4,<8" --venv
$(pdm venv activate)
```

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

```shell [Terminal]
poetry init --python ">=3.11,<3.12"
poetry add "dipdup>=7.0.0rc3,<8"
poetry add "dipdup>=7.0.0rc4,<8"
poetry shell
```

Expand All @@ -69,7 +69,7 @@ Finally, if you prefer to do everything manually, you can use pip. It's the most
```shell [Terminal]
python -m venv .venv
. .venv/bin/activate
echo "dipdup>=7.0.0rc3,<8" >> requirements.txt
echo "dipdup>=7.0.0rc4,<8" >> requirements.txt
pip install -r requirements.txt -e .
```

Expand Down
12 changes: 6 additions & 6 deletions docs/9.release-notes/1.v7.0.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: 7.0.0rc3
description: DipDup 7.0.0rc3 release notes
title: 7.0.0rc4
description: DipDup 7.0.0rc4 release notes
---

# Release Notes: 7.0.0rc3
# Release Notes: 7.0.0rc4

::banner{type="warning"}
7.0rc3 is a release candidate; this guide may change before the final release.
7.0rc4 is a release candidate; this guide may change before the final release.
::

Welcome, developers! Today we introduce the next major release DipDup 7.0. After half a year of active development, the amount of new features is huge, but we hope that updated docs and lots of examples won't let you get lost.
Expand Down Expand Up @@ -81,7 +81,7 @@ dipdup -c . -c configs/dipdup.sqlite.yaml config export
Installer commands were moved to the `dipdup self` command group. There you can switch the release channel or uninstall DipDup at any time:

```shell
dipdup self install --version 7.0.0rc3
dipdup self install --version 7.0.0rc4
dipdup self update
dipdup self install --force --ref next
dipdup self uninstall
Expand Down Expand Up @@ -116,7 +116,7 @@ Here are some other notable changes not covered above:

Perform the following steps to migrate your project to 7.0:

1. Update your environment to Python 3.11. Install DipDup 7.0.0rc3 using our installer or manually.
1. Update your environment to Python 3.11. Install DipDup 7.0.0rc4 using our installer or manually.
2. Run `dipdup new` command, choose empty template `demo_blank`.
3. Move your old config to the new project. Update it using the guide below.
4. Run `dipdup init` command. It will generate a new package structure. Commit the changes.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "dipdup"
description = "Modular framework for creating selective indexers and featureful backends for dapps"
version = "7.0.0rc3"
version = "7.0.0rc4"
license = { text = "MIT" }
authors = [
{ name = "Lev Gorodetskii", email = "[email protected]" },
Expand Down
2 changes: 1 addition & 1 deletion src/demo_auction/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_big_maps/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_blank/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_dao/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_dex/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_domains/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_events/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_evm_events/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_factories/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_head/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_nft_marketplace/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_raw/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_token/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/demo_token_transfers/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"dipdup>=7.0.0rc3,<8"
"dipdup>=7.0.0rc4,<8"
]

[tool.pdm.dev-dependencies]
Expand Down
Loading