Skip to content

Commit 210d297

Browse files
Bump version 8.3.2 (#1242)
1 parent 0a53f04 commit 210d297

File tree

154 files changed

+435
-367
lines changed

Some content is hidden

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

154 files changed

+435
-367
lines changed

.vscode/mcp.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"inputs": [],
3+
"servers": {
4+
"dipdup-sse": {
5+
"type": "sse",
6+
"url": "http://127.0.0.1:9999/sse"
7+
}
8+
}
9+
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"yaml.schemas": {
33
"schemas/dipdup-3.0.json": [
44
"**/dipdup*.y[a]ml",
5-
"tests/configs/*.yml"
5+
"tests/configs/*.y[a]ml"
66
],
77
},
88
"files.associations": {

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
66

77
Releases prior to 7.0 has been removed from this file to declutter search results; see the [archived copy](https://github.com/dipdup-io/dipdup/blob/8.0.0b5/CHANGELOG.md) for the full list.
88

9-
## [Unreleased]
9+
## [8.3.2] - 2025-04-17
1010

1111
### Added
1212

@@ -17,6 +17,7 @@ Releases prior to 7.0 has been removed from this file to declutter search result
1717
### Fixed
1818

1919
- cli: Fixed `new` command using incorrect template.
20+
- mcp: Fixed handling exceptions in MCP tools.
2021

2122
### Changed
2223

@@ -696,7 +697,8 @@ Releases prior to 7.0 has been removed from this file to declutter search result
696697
[semantic versioning]: https://semver.org/spec/v2.0.0.html
697698

698699
<!-- Versions -->
699-
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/8.3.1...HEAD
700+
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/8.3.2...HEAD
701+
[8.3.2]: https://github.com/dipdup-io/dipdup/compare/8.3.0...8.3.1
700702
[8.3.1]: https://github.com/dipdup-io/dipdup/compare/8.3.0...8.3.1
701703
[8.3.0]: https://github.com/dipdup-io/dipdup/compare/8.2.2...8.3.0
702704
[8.2.2]: https://github.com/dipdup-io/dipdup/compare/8.2.1...8.2.2

docs/7.references/3.context.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ description: "Context reference"
6969

7070
## dipdup.context.McpContext
7171

72-
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dipdup.context.</span></span><span class="sig-name descname"><span class="pre">McpContext</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">package</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">datasources</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">transactions</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">logger</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">server</span></span></em><span class="sig-paren">)</span></dt>
72+
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dipdup.context.</span></span><span class="sig-name descname"><span class="pre">McpContext</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">package</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">datasources</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">transactions</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">logger</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">server</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">api</span></span></em><span class="sig-paren">)</span></dt>
7373
<dd><p>Execution context of MCP tools, resources and prompts.</p>
7474
<dl class="field-list simple">
7575
<dt class="field-odd" style="color: var(--txt-primary);">Parameters<span class="colon">:</span></dt>
@@ -80,6 +80,7 @@ description: "Context reference"
8080
<li><p><strong>transactions</strong> (<em>TransactionManager</em>) – Transaction manager (low-level interface)</p></li>
8181
<li><p><strong>logger</strong> (<em>Logger</em>) – Context-aware logger instance</p></li>
8282
<li><p><strong>server</strong> (<em>McpServer</em><em>[</em><em>Any</em><em>]</em>) – Running MCP server instance</p></li>
83+
<li><p><strong>api</strong> (<em>HttpDatasource</em>) – DipDup API datasource</p></li>
8384
</ul>
8485
</dd>
8586
</dl>

docs/8.examples/_demos_table.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<!-- markdownlint-disable first-line-h1 -->
22
| name | network | description | source |
33
|-|-|-|-|
4-
| demo_blank | | Empty config for a fresh start | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_blank) |
5-
| demo_evm_events | EVM | ERC-20 token transfers (from event logs) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_evm_events) |
6-
| demo_evm_transactions | EVM | ERC-20 token transfers (from transactions) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_evm_transactions) |
7-
| demo_evm_uniswap | EVM | Uniswap V3 pools, positions, etc. (advanced, uses TimescaleDB) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_evm_uniswap) |
8-
| demo_starknet_events | Starknet | ERC-20 token transfers (from events) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_starknet_events) |
9-
| demo_substrate_events | Substrate | Substrate balance transfers | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_substrate_events) |
10-
| demo_tezos_auction | Tezos | NFT marketplace (TzColors) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_auction) |
11-
| demo_tezos_dao | Tezos | DAO registry (Homebase DAO) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_dao) |
12-
| demo_tezos_dex | Tezos | DEX balances and liquidity (Quipuswap) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_dex) |
13-
| demo_tezos_domains | Tezos | Domain name service (Tezos Domains) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_domains) |
14-
| demo_tezos_etherlink | Tezos | Etherlink smart rollup transactions | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_etherlink) |
15-
| demo_tezos_events | Tezos | Processing contract events | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_events) |
16-
| demo_tezos_factories | Tezos | Example of spawning indexes in runtime | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_factories) |
17-
| demo_tezos_head | Tezos | Processing head block metadata (realtime only) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_head) |
18-
| demo_tezos_nft_marketplace | Tezos | NFT marketplace (hic at nunc) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_nft_marketplace) |
19-
| demo_tezos_raw | Tezos | Process raw operations without filtering and typed payloads | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_raw) |
20-
| demo_tezos_token | Tezos | FA1.2 token contract operations | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_token) |
21-
| demo_tezos_token_balances | Tezos | FA1.2 token balances | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_token_balances) |
22-
| demo_tezos_token_transfers | Tezos | FA1.2 token transfers | [link](https://github.com/dipdup-io/dipdup/tree/8.3.1/src/demo_tezos_token_transfers) |
4+
| demo_blank | | Empty config for a fresh start | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_blank) |
5+
| demo_evm_events | EVM | ERC-20 token transfers (from event logs) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_evm_events) |
6+
| demo_evm_transactions | EVM | ERC-20 token transfers (from transactions) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_evm_transactions) |
7+
| demo_evm_uniswap | EVM | Uniswap V3 pools, positions, etc. (advanced, uses TimescaleDB) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_evm_uniswap) |
8+
| demo_starknet_events | Starknet | ERC-20 token transfers (from events) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_starknet_events) |
9+
| demo_substrate_events | Substrate | Substrate balance transfers | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_substrate_events) |
10+
| demo_tezos_auction | Tezos | NFT marketplace (TzColors) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_auction) |
11+
| demo_tezos_dao | Tezos | DAO registry (Homebase DAO) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_dao) |
12+
| demo_tezos_dex | Tezos | DEX balances and liquidity (Quipuswap) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_dex) |
13+
| demo_tezos_domains | Tezos | Domain name service (Tezos Domains) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_domains) |
14+
| demo_tezos_etherlink | Tezos | Etherlink smart rollup transactions | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_etherlink) |
15+
| demo_tezos_events | Tezos | Processing contract events | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_events) |
16+
| demo_tezos_factories | Tezos | Example of spawning indexes in runtime | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_factories) |
17+
| demo_tezos_head | Tezos | Processing head block metadata (realtime only) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_head) |
18+
| demo_tezos_nft_marketplace | Tezos | NFT marketplace (hic at nunc) | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_nft_marketplace) |
19+
| demo_tezos_raw | Tezos | Process raw operations without filtering and typed payloads | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_raw) |
20+
| demo_tezos_token | Tezos | FA1.2 token contract operations | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_token) |
21+
| demo_tezos_token_balances | Tezos | FA1.2 token balances | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_token_balances) |
22+
| demo_tezos_token_transfers | Tezos | FA1.2 token transfers | [link](https://github.com/dipdup-io/dipdup/tree/8.3.2/src/demo_tezos_token_transfers) |

docs/9.release-notes/_8.0_changelog.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@
66
- cli: Added `--pre` flag to `self` group commands to install pre-release versions.
77
- cli: Added `--raw` option to `config export` command to dump config preserving the original structure.
88
- cli: Added `-C` option, a shorthand for `-c . -c configs/dipdup.<name>.yaml`.
9-
- cli: Added `init --no-base` option to skip creating the base template.
109
- cli: Added `package verify` command to check the package consistency.
1110
- cli: Added full project migration support for 3.0 spec.
1211
- cli: Added spec_version 3.0 support to `migrate` command.
1312
- config: Publish JSON schemas for config validation and autocompletion.
1413
- database: Added `dipdup_status` view to the schema.
1514
- env: Added `DIPDUP_JSON_LOG` environment variable to enable JSON logging.
1615
- env: Added `DIPDUP_LOW_MEMORY` variable to reduce the size of caches and buffers.
17-
- env: Added `DIPDUP_NO_BASE` environment variable to skip creating the base template.
1816
- env: Added `DIPDUP_PACKAGE_PATH` environment variable to override discovered package path.
1917
- package: Added built-in `batch` handler to modify higher-level indexing logic.
2018
- starknet.events: Added `starknet.events` index kind to process Starknet events.
@@ -27,7 +25,6 @@
2725
- cli: Don't save reports for successful test runs.
2826
- cli: Don't update existing installation in `self install` command unless asked to.
2927
- cli: Fixed `--pre` installer flag.
30-
- cli: Fixed `new` command using incorrect template.
3128
- cli: Fixed env files not being loaded in some commands.
3229
- cli: Fixed errors raised when the project package is invalid.
3330
- cli: Fixed progress estimation when there are indexes with `last_level` option set.
@@ -57,7 +54,6 @@
5754
### Changed
5855

5956
- api: `/performance` endpoint response format has been changed.
60-
- cli: `init --base` option is now enabled by default.
6157
- config: Index configs accept `datasources` list instead of `datasource` field.
6258
- config: Index kinds have been renamed and grouped by the network.
6359
- config: Index template values now can be any JSON-serializable object.

docs/9.release-notes/_8.3_changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,31 @@
33

44
### Added
55

6+
- cli: Added `init --no-base` option to skip creating the base template.
67
- cli: Apply ruff linting and formating on init.
78
- config: Added `api_url` and `compatibility` fields to MCP config.
9+
- env: Added `DIPDUP_NO_BASE` environment variable to skip creating the base template.
810
- mcp: Added Model Context Protocol (MCP) server implementation.
11+
- mcp: Added `ctx.api` datasource and `ctx.call_api` helper to server context.
912
- mcp: Added built-in resources for accessing indexer configuration and metrics.
1013
- mcp: Added support for exposing custom tools and resources via `@dipdup.mcp` decorators.
1114

1215
### Fixed
1316

1417
- api: Fixed configuring uvicorn logging.
1518
- api: Strip secret fields from API responses.
19+
- cli: Fixed `new` command using incorrect template.
1620
- cli: Fixed logging indexer status.
1721
- mcp: Expose resources as tools for clients that don't support MCP resources yet.
22+
- mcp: Fixed handling exceptions in MCP tools.
1823
- package: Create package marker even if helper symlink is present.
1924
- project: Fixed built sdist/wheel artifacts which contained unrelated files.
2025
- project: Fixed generation of compose manifest and configs for MCP environment.
2126

2227
### Changed
2328

2429
- api: Built-in management API is now using Starlette instead of plain aiohttp.
30+
- cli: `init --base` option is now enabled by default.
2531
- cli: `install.py` script and `dipdup self` commands use `uv tool` instead of `pipx`.
2632
- cli: `new` command uses default values for some `replay.yaml` fields.
2733
- project: Replace `black` with `ruff` as default formatter.

pyproject.toml

Lines changed: 1 addition & 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 = "8.3.1"
4+
version = "8.3.2"
55
license = { text = "MIT" }
66
authors = [
77
{ name = "Lev Gorodetskii", email = "[email protected]" },

0 commit comments

Comments
 (0)