Skip to content

Commit 43c9308

Browse files
6.5 end-of-life release (#941)
1 parent bd60888 commit 43c9308

File tree

56 files changed

+1593
-1514
lines changed

Some content is hidden

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

56 files changed

+1593
-1514
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ 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+
## [6.5.16] - 2024-03-05
8+
9+
This is the last release in the 6.5 branch. Please update to 7.x to get the latest features and bug fixes.
10+
11+
### Fixed
12+
13+
- tzkt: Don't use deprecated `/events` WebSockets endpoint.
14+
15+
### Other
16+
17+
- deps: Updated pytezos to 3.11.3.
18+
19+
### Other
20+
21+
- metadata: Added `oxfordnet` to supported networks.
22+
723
## [6.5.15] - 2023-12-01
824

925
### Other
@@ -1074,7 +1090,7 @@ This release contains no changes except for the version number.
10741090
[semantic versioning]: https://semver.org/spec/v2.0.0.html
10751091

10761092
<!-- Versions -->
1077-
[Unreleased]: https://github.com/dipdup-io/dipdup/compare/6.5.15...HEAD
1093+
[6.5.16]: https://github.com/dipdup-io/dipdup/compare/6.5.15...6.5.16
10781094
[6.5.15]: https://github.com/dipdup-io/dipdup/compare/6.5.14...6.5.15
10791095
[6.5.14]: https://github.com/dipdup-io/dipdup/compare/6.5.13...6.5.14
10801096
[6.5.13]: https://github.com/dipdup-io/dipdup/compare/6.5.12...6.5.13

demos/demo-big-maps/src/demo_big_maps/handlers/on_update_records.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ async def on_update_records(
3333
defaults={
3434
'tld_id': record_path[-1],
3535
'owner': store_records.value.owner,
36-
'token_id': int(store_records.value.tzip12_token_id)
37-
if store_records.value.tzip12_token_id
38-
else None,
36+
'token_id': (
37+
int(store_records.value.tzip12_token_id) if store_records.value.tzip12_token_id else None
38+
),
3939
},
4040
)
4141

demos/demo-events/src/demo_events/handlers/on_move_event.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
async def on_move_event(
88
ctx: HandlerContext,
99
event: Event[MovePayload],
10-
) -> None:
11-
...
10+
) -> None: ...

demos/demo-events/src/demo_events/handlers/on_other_event.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
async def on_other_event(
77
ctx: HandlerContext,
88
event: UnknownEvent,
9-
) -> None:
10-
...
9+
) -> None: ...

demos/demo-events/src/demo_events/handlers/on_roll_event.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
async def on_roll_event(
88
ctx: HandlerContext,
99
event: Event[RollPayload],
10-
) -> None:
11-
...
10+
) -> None: ...

demos/demo-head/src/demo_head/handlers/on_mainnet_head.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
async def on_mainnet_head(
77
ctx: HandlerContext,
88
head: HeadBlockData,
9-
) -> None:
10-
...
9+
) -> None: ...

docs/advanced/reindexing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ In some cases, DipDup can't proceed with indexing without a full wipe. Several r
88
|`migration`|Applied migration requires reindexing. Check release notes before switching between major DipDup versions to be prepared.|
99
|`rollback`|Reorg message received from TzKT can not be processed.|
1010
|`config_modified`|One of the index configs has been modified.|
11-
|`schema_modified`|Database schema has been modified. Try to avoid manual schema modifications in favor of {{ #summary advanced/sql.md }}.
11+
|`schema_modified`|Database schema has been modified. Try to avoid manual schema modifications in favor of {{ #summary advanced/sql.md }}.|
1212

1313
It is possible to configure desirable action on reindexing triggered by a specific reason.
1414

1515
|action|description|
1616
|-|-|
1717
|`exception` (default)|Raise `ReindexingRequiredError` and quit with error code. The safest option since you can trigger reindexing accidentally, e.g., by a typo in config. Don't forget to set up the correct restart policy when using it with containers. |
1818
|`wipe`|Drop the whole database and start indexing from scratch. Be careful with this option!|
19-
|`ignore`|Ignore the event and continue indexing as usual. It can lead to unexpected side-effects up to data corruption; make sure you know what you are doing.
19+
|`ignore`|Ignore the event and continue indexing as usual. It can lead to unexpected side-effects up to data corruption; make sure you know what you are doing.|
2020

2121
To configure actions for each reason, add the following section to the DipDup config:
2222

docs/book.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,12 @@ img.logo {
5151
/* less ugly autodoc references */
5252
dd .field-odd {
5353
margin: 0;
54+
}
55+
56+
#deprecated {
57+
top: 0px;
58+
position: sticky;
59+
color: var(--text-color);
60+
background-color: var(--sidebar-bg);
61+
padding: 1em;
5462
}

docs/book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ after = [ "links" ]
2222

2323
[preprocessor.admonish]
2424
command = "mdbook-admonish"
25-
assets_version = "2.0.0" # do not edit: managed by `mdbook-admonish install`
25+
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install`

docs/cli-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!-- markdownlint-disable first-line-h1 -->
2+
23
<section id="dipdup">
34
<h1>dipdup<a class="headerlink" href="#dipdup" title="Link to this heading">¶</a></h1>
45
<p>Manage and run DipDup indexers.</p>

0 commit comments

Comments
 (0)