Skip to content

Commit 9670ee2

Browse files
Fix possible data corruption when using buffer_size option (#332)
* Fix test_codegen (finally!) * Do not cache package_path * Renamings * Tests for realtime buffer * Another codegen fix * Rollback fixes * More tests * More * Lint * Useless log * Do not ignore rollback for head index * Drop messabes from buffer by channel; * `on_index_rollback` hook * Migration, cleanup * Docs, cleanup * Update exception, revert CLI checks * Do not codegen on_rollback * Add on_rollback to default hooks * Set up dispatcher based on hooks presence * Cleanup FIXMEs * Single-level tests * Init demos and tests * config env -f * Bump deps, lint * Gotta go fast
1 parent 7dcbd62 commit 9670ee2

File tree

51 files changed

+2033
-1604
lines changed

Some content is hidden

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

51 files changed

+2033
-1604
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
# Changelog
22

3-
## [unreleased]
3+
## 5.1.0 - 2022-05-12
44

55
### Added
66

77
* ci: Push `X` and `X.Y` tags to the Docker Hub on release.
88
* cli: Added `config env` command to export env-file with default values.
99
* cli: Show warning when running an outdated version of DipDup.
10+
* hooks: Added new hook `on_index_rollback` to perform per-index rollbacks.
1011

1112
### Fixed
1213

1314
* index: Fixed fetching `migration` operations.
15+
* tzkt: Fixed possible data corruption when using `buffer_size` option.
1416
* tzkt: Fixed reconnection due to `websockets` message size limit.
1517

18+
### Deprecated
19+
20+
* hooks: The `on_rollback` default hook is superceeded by `on_index_rollback` and weill be removed later.
21+
1622
## 5.0.4 - 2022-05-05
1723

1824
### Fixed

0 commit comments

Comments
 (0)