diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cb8c9e2a..196948286 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ 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]. +## [6.5.16] - 2024-03-05 + +This is the last release in the 6.5 branch. Please update to 7.x to get the latest features and bug fixes. + +### Fixed + +- tzkt: Don't use deprecated `/events` WebSockets endpoint. + +### Other + +- deps: Updated pytezos to 3.11.3. + +### Other + +- metadata: Added `oxfordnet` to supported networks. + ## [6.5.15] - 2023-12-01 ### Other @@ -1074,7 +1090,7 @@ This release contains no changes except for the version number. [semantic versioning]: https://semver.org/spec/v2.0.0.html -[Unreleased]: https://github.com/dipdup-io/dipdup/compare/6.5.15...HEAD +[6.5.16]: https://github.com/dipdup-io/dipdup/compare/6.5.15...6.5.16 [6.5.15]: https://github.com/dipdup-io/dipdup/compare/6.5.14...6.5.15 [6.5.14]: https://github.com/dipdup-io/dipdup/compare/6.5.13...6.5.14 [6.5.13]: https://github.com/dipdup-io/dipdup/compare/6.5.12...6.5.13 diff --git a/demos/demo-big-maps/src/demo_big_maps/handlers/on_update_records.py b/demos/demo-big-maps/src/demo_big_maps/handlers/on_update_records.py index 43a0a6211..9c6de8a5c 100644 --- a/demos/demo-big-maps/src/demo_big_maps/handlers/on_update_records.py +++ b/demos/demo-big-maps/src/demo_big_maps/handlers/on_update_records.py @@ -33,9 +33,9 @@ async def on_update_records( defaults={ 'tld_id': record_path[-1], 'owner': store_records.value.owner, - 'token_id': int(store_records.value.tzip12_token_id) - if store_records.value.tzip12_token_id - else None, + 'token_id': ( + int(store_records.value.tzip12_token_id) if store_records.value.tzip12_token_id else None + ), }, ) diff --git a/demos/demo-events/src/demo_events/handlers/on_move_event.py b/demos/demo-events/src/demo_events/handlers/on_move_event.py index 9f1104feb..ec52a8652 100644 --- a/demos/demo-events/src/demo_events/handlers/on_move_event.py +++ b/demos/demo-events/src/demo_events/handlers/on_move_event.py @@ -7,5 +7,4 @@ async def on_move_event( ctx: HandlerContext, event: Event[MovePayload], -) -> None: - ... +) -> None: ... diff --git a/demos/demo-events/src/demo_events/handlers/on_other_event.py b/demos/demo-events/src/demo_events/handlers/on_other_event.py index 03f1b1987..b194d968c 100644 --- a/demos/demo-events/src/demo_events/handlers/on_other_event.py +++ b/demos/demo-events/src/demo_events/handlers/on_other_event.py @@ -6,5 +6,4 @@ async def on_other_event( ctx: HandlerContext, event: UnknownEvent, -) -> None: - ... +) -> None: ... diff --git a/demos/demo-events/src/demo_events/handlers/on_roll_event.py b/demos/demo-events/src/demo_events/handlers/on_roll_event.py index 77dfb4f88..660c2391b 100644 --- a/demos/demo-events/src/demo_events/handlers/on_roll_event.py +++ b/demos/demo-events/src/demo_events/handlers/on_roll_event.py @@ -7,5 +7,4 @@ async def on_roll_event( ctx: HandlerContext, event: Event[RollPayload], -) -> None: - ... +) -> None: ... diff --git a/demos/demo-head/src/demo_head/handlers/on_mainnet_head.py b/demos/demo-head/src/demo_head/handlers/on_mainnet_head.py index f1a40dc94..4782602e1 100644 --- a/demos/demo-head/src/demo_head/handlers/on_mainnet_head.py +++ b/demos/demo-head/src/demo_head/handlers/on_mainnet_head.py @@ -6,5 +6,4 @@ async def on_mainnet_head( ctx: HandlerContext, head: HeadBlockData, -) -> None: - ... +) -> None: ... diff --git a/docs/advanced/reindexing.md b/docs/advanced/reindexing.md index 8217d3184..cfcfabd36 100644 --- a/docs/advanced/reindexing.md +++ b/docs/advanced/reindexing.md @@ -8,7 +8,7 @@ In some cases, DipDup can't proceed with indexing without a full wipe. Several r |`migration`|Applied migration requires reindexing. Check release notes before switching between major DipDup versions to be prepared.| |`rollback`|Reorg message received from TzKT can not be processed.| |`config_modified`|One of the index configs has been modified.| -|`schema_modified`|Database schema has been modified. Try to avoid manual schema modifications in favor of {{ #summary advanced/sql.md }}. +|`schema_modified`|Database schema has been modified. Try to avoid manual schema modifications in favor of {{ #summary advanced/sql.md }}.| It is possible to configure desirable action on reindexing triggered by a specific reason. @@ -16,7 +16,7 @@ It is possible to configure desirable action on reindexing triggered by a specif |-|-| |`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. | |`wipe`|Drop the whole database and start indexing from scratch. Be careful with this option!| -|`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. +|`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.| To configure actions for each reason, add the following section to the DipDup config: diff --git a/docs/book.css b/docs/book.css index ee1f0512e..55f45d314 100644 --- a/docs/book.css +++ b/docs/book.css @@ -51,4 +51,12 @@ img.logo { /* less ugly autodoc references */ dd .field-odd { margin: 0; +} + +#deprecated { + top: 0px; + position: sticky; + color: var(--text-color); + background-color: var(--sidebar-bg); + padding: 1em; } \ No newline at end of file diff --git a/docs/book.toml b/docs/book.toml index 81de7f806..4ad837b1f 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -22,4 +22,4 @@ after = [ "links" ] [preprocessor.admonish] command = "mdbook-admonish" -assets_version = "2.0.0" # do not edit: managed by `mdbook-admonish install` +assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install` diff --git a/docs/cli-reference.md b/docs/cli-reference.md index 900076856..87933c0dd 100644 --- a/docs/cli-reference.md +++ b/docs/cli-reference.md @@ -1,4 +1,5 @@ +

dipdup

Manage and run DipDup indexers.

diff --git a/docs/config/reference.md b/docs/config/reference.md index 0aed0daa1..2b8fa1691 100644 --- a/docs/config/reference.md +++ b/docs/config/reference.md @@ -1,4 +1,5 @@ +
class DipDupConfig(spec_version, package, datasources=<factory>, database=SqliteDatabaseConfig(kind='sqlite', path=':memory:'), contracts=<factory>, indexes=<factory>, templates=<factory>, jobs=<factory>, hooks=<factory>, hasura=None, sentry=SentryConfig(dsn='', environment=None, server_name=None, release=None, user_id=None, debug=False), prometheus=None, advanced=AdvancedConfig(reindex={}, scheduler=None, postpone_jobs=False, early_realtime=False, merge_subscriptions=False, metadata_interface=False, skip_version_check=False, rollback_depth=2, crash_reporting=False, decimal_precision=None, alt_operation_matcher=False), custom=<factory>, logging=LoggingValues.default)
diff --git a/docs/deployment/database-engines.md b/docs/deployment/database-engines.md index 3812ee6fa..ad676d21b 100644 --- a/docs/deployment/database-engines.md +++ b/docs/deployment/database-engines.md @@ -5,7 +5,7 @@ DipDup officially supports the following databases: SQLite, PostgreSQL, Timescal | | SQLite | PostgreSQL | TimescaleDB | | -: | :-: | :-: | :-: | | Supported versions | `latest` | `13`, `14` | `pg13`, `pg14` | -| Best application | development | general usage | working with timeseries +| Best application | development | general usage | working with timeseries| | SQL scripts | ✅ | ✅ | ✅ | | Immune tables | ❌ | ✅ | ✅ | | Hasura integration | ❌ | ✅ | ✅ | diff --git a/docs/include/context-reference.md b/docs/include/context-reference.md index b65e985c8..cd97672dd 100644 --- a/docs/include/context-reference.md +++ b/docs/include/context-reference.md @@ -1,4 +1,5 @@ +
class dipdup.context.DipDupContext(datasources, config, callbacks, transactions)
diff --git a/docs/mdbook-admonish.css b/docs/mdbook-admonish.css index 5e360387d..45aeff051 100644 --- a/docs/mdbook-admonish.css +++ b/docs/mdbook-admonish.css @@ -1,33 +1,4 @@ @charset "UTF-8"; -:root { - --md-admonition-icon--note: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--abstract: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--info: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--tip: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--success: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--question: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--warning: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--failure: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--danger: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--bug: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--example: - url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--quote: - url("data:image/svg+xml;charset=utf-8,"); - --md-details-icon: - url("data:image/svg+xml;charset=utf-8,"); -} - :is(.admonition) { display: flow-root; margin: 1.5625em 0; @@ -75,29 +46,34 @@ a.admonition-anchor-link::before { content: "§"; } -:is(.admonition-title, summary) { +:is(.admonition-title, summary.admonition-title) { position: relative; + min-height: 4rem; margin-block: 0; margin-inline: -1.6rem -1.2rem; padding-block: 0.8rem; padding-inline: 4.4rem 1.2rem; font-weight: 700; background-color: rgba(68, 138, 255, 0.1); + print-color-adjust: exact; + -webkit-print-color-adjust: exact; display: flex; } -:is(.admonition-title, summary) p { +:is(.admonition-title, summary.admonition-title) p { margin: 0; } -html :is(.admonition-title, summary):last-child { +html :is(.admonition-title, summary.admonition-title):last-child { margin-bottom: 0; } -:is(.admonition-title, summary)::before { +:is(.admonition-title, summary.admonition-title)::before { position: absolute; top: 0.625em; inset-inline-start: 1.6rem; width: 2rem; height: 2rem; background-color: #448aff; + print-color-adjust: exact; + -webkit-print-color-adjust: exact; mask-image: url('data:image/svg+xml;charset=utf-8,'); -webkit-mask-image: url('data:image/svg+xml;charset=utf-8,'); mask-repeat: no-repeat; @@ -106,7 +82,7 @@ html :is(.admonition-title, summary):last-child { -webkit-mask-size: contain; content: ""; } -:is(.admonition-title, summary):hover a.admonition-anchor-link { +:is(.admonition-title, summary.admonition-title):hover a.admonition-anchor-link { display: initial; } @@ -131,204 +107,223 @@ details[open].admonition > summary.admonition-title::after { transform: rotate(90deg); } -:is(.admonition):is(.note) { +:root { + --md-details-icon: url("data:image/svg+xml;charset=utf-8,"); +} + +:root { + --md-admonition-icon--admonish-note: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-abstract: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-info: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-tip: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-success: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-question: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-warning: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-failure: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-danger: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-bug: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-example: url("data:image/svg+xml;charset=utf-8,"); + --md-admonition-icon--admonish-quote: url("data:image/svg+xml;charset=utf-8,"); +} + +:is(.admonition):is(.admonish-note) { border-color: #448aff; } -:is(.note) > :is(.admonition-title, summary) { +:is(.admonish-note) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(68, 138, 255, 0.1); } -:is(.note) > :is(.admonition-title, summary)::before { +:is(.admonish-note) > :is(.admonition-title, summary.admonition-title)::before { background-color: #448aff; - mask-image: var(--md-admonition-icon--note); - -webkit-mask-image: var(--md-admonition-icon--note); + mask-image: var(--md-admonition-icon--admonish-note); + -webkit-mask-image: var(--md-admonition-icon--admonish-note); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.abstract, .summary, .tldr) { +:is(.admonition):is(.admonish-abstract, .admonish-summary, .admonish-tldr) { border-color: #00b0ff; } -:is(.abstract, .summary, .tldr) > :is(.admonition-title, summary) { +:is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(0, 176, 255, 0.1); } -:is(.abstract, .summary, .tldr) > :is(.admonition-title, summary)::before { +:is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title)::before { background-color: #00b0ff; - mask-image: var(--md-admonition-icon--abstract); - -webkit-mask-image: var(--md-admonition-icon--abstract); + mask-image: var(--md-admonition-icon--admonish-abstract); + -webkit-mask-image: var(--md-admonition-icon--admonish-abstract); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.info, .todo) { +:is(.admonition):is(.admonish-info, .admonish-todo) { border-color: #00b8d4; } -:is(.info, .todo) > :is(.admonition-title, summary) { +:is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(0, 184, 212, 0.1); } -:is(.info, .todo) > :is(.admonition-title, summary)::before { +:is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title)::before { background-color: #00b8d4; - mask-image: var(--md-admonition-icon--info); - -webkit-mask-image: var(--md-admonition-icon--info); + mask-image: var(--md-admonition-icon--admonish-info); + -webkit-mask-image: var(--md-admonition-icon--admonish-info); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.tip, .hint, .important) { +:is(.admonition):is(.admonish-tip, .admonish-hint, .admonish-important) { border-color: #00bfa5; } -:is(.tip, .hint, .important) > :is(.admonition-title, summary) { +:is(.admonish-tip, .admonish-hint, .admonish-important) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(0, 191, 165, 0.1); } -:is(.tip, .hint, .important) > :is(.admonition-title, summary)::before { +:is(.admonish-tip, .admonish-hint, .admonish-important) > :is(.admonition-title, summary.admonition-title)::before { background-color: #00bfa5; - mask-image: var(--md-admonition-icon--tip); - -webkit-mask-image: var(--md-admonition-icon--tip); + mask-image: var(--md-admonition-icon--admonish-tip); + -webkit-mask-image: var(--md-admonition-icon--admonish-tip); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.success, .check, .done) { +:is(.admonition):is(.admonish-success, .admonish-check, .admonish-done) { border-color: #00c853; } -:is(.success, .check, .done) > :is(.admonition-title, summary) { +:is(.admonish-success, .admonish-check, .admonish-done) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(0, 200, 83, 0.1); } -:is(.success, .check, .done) > :is(.admonition-title, summary)::before { +:is(.admonish-success, .admonish-check, .admonish-done) > :is(.admonition-title, summary.admonition-title)::before { background-color: #00c853; - mask-image: var(--md-admonition-icon--success); - -webkit-mask-image: var(--md-admonition-icon--success); + mask-image: var(--md-admonition-icon--admonish-success); + -webkit-mask-image: var(--md-admonition-icon--admonish-success); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.question, .help, .faq) { +:is(.admonition):is(.admonish-question, .admonish-help, .admonish-faq) { border-color: #64dd17; } -:is(.question, .help, .faq) > :is(.admonition-title, summary) { +:is(.admonish-question, .admonish-help, .admonish-faq) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(100, 221, 23, 0.1); } -:is(.question, .help, .faq) > :is(.admonition-title, summary)::before { +:is(.admonish-question, .admonish-help, .admonish-faq) > :is(.admonition-title, summary.admonition-title)::before { background-color: #64dd17; - mask-image: var(--md-admonition-icon--question); - -webkit-mask-image: var(--md-admonition-icon--question); + mask-image: var(--md-admonition-icon--admonish-question); + -webkit-mask-image: var(--md-admonition-icon--admonish-question); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.warning, .caution, .attention) { +:is(.admonition):is(.admonish-warning, .admonish-caution, .admonish-attention) { border-color: #ff9100; } -:is(.warning, .caution, .attention) > :is(.admonition-title, summary) { +:is(.admonish-warning, .admonish-caution, .admonish-attention) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(255, 145, 0, 0.1); } -:is(.warning, .caution, .attention) > :is(.admonition-title, summary)::before { +:is(.admonish-warning, .admonish-caution, .admonish-attention) > :is(.admonition-title, summary.admonition-title)::before { background-color: #ff9100; - mask-image: var(--md-admonition-icon--warning); - -webkit-mask-image: var(--md-admonition-icon--warning); + mask-image: var(--md-admonition-icon--admonish-warning); + -webkit-mask-image: var(--md-admonition-icon--admonish-warning); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.failure, .fail, .missing) { +:is(.admonition):is(.admonish-failure, .admonish-fail, .admonish-missing) { border-color: #ff5252; } -:is(.failure, .fail, .missing) > :is(.admonition-title, summary) { +:is(.admonish-failure, .admonish-fail, .admonish-missing) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(255, 82, 82, 0.1); } -:is(.failure, .fail, .missing) > :is(.admonition-title, summary)::before { +:is(.admonish-failure, .admonish-fail, .admonish-missing) > :is(.admonition-title, summary.admonition-title)::before { background-color: #ff5252; - mask-image: var(--md-admonition-icon--failure); - -webkit-mask-image: var(--md-admonition-icon--failure); + mask-image: var(--md-admonition-icon--admonish-failure); + -webkit-mask-image: var(--md-admonition-icon--admonish-failure); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.danger, .error) { +:is(.admonition):is(.admonish-danger, .admonish-error) { border-color: #ff1744; } -:is(.danger, .error) > :is(.admonition-title, summary) { +:is(.admonish-danger, .admonish-error) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(255, 23, 68, 0.1); } -:is(.danger, .error) > :is(.admonition-title, summary)::before { +:is(.admonish-danger, .admonish-error) > :is(.admonition-title, summary.admonition-title)::before { background-color: #ff1744; - mask-image: var(--md-admonition-icon--danger); - -webkit-mask-image: var(--md-admonition-icon--danger); + mask-image: var(--md-admonition-icon--admonish-danger); + -webkit-mask-image: var(--md-admonition-icon--admonish-danger); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.bug) { +:is(.admonition):is(.admonish-bug) { border-color: #f50057; } -:is(.bug) > :is(.admonition-title, summary) { +:is(.admonish-bug) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(245, 0, 87, 0.1); } -:is(.bug) > :is(.admonition-title, summary)::before { +:is(.admonish-bug) > :is(.admonition-title, summary.admonition-title)::before { background-color: #f50057; - mask-image: var(--md-admonition-icon--bug); - -webkit-mask-image: var(--md-admonition-icon--bug); + mask-image: var(--md-admonition-icon--admonish-bug); + -webkit-mask-image: var(--md-admonition-icon--admonish-bug); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.example) { +:is(.admonition):is(.admonish-example) { border-color: #7c4dff; } -:is(.example) > :is(.admonition-title, summary) { +:is(.admonish-example) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(124, 77, 255, 0.1); } -:is(.example) > :is(.admonition-title, summary)::before { +:is(.admonish-example) > :is(.admonition-title, summary.admonition-title)::before { background-color: #7c4dff; - mask-image: var(--md-admonition-icon--example); - -webkit-mask-image: var(--md-admonition-icon--example); + mask-image: var(--md-admonition-icon--admonish-example); + -webkit-mask-image: var(--md-admonition-icon--admonish-example); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; -webkit-mask-repeat: no-repeat; } -:is(.admonition):is(.quote, .cite) { +:is(.admonition):is(.admonish-quote, .admonish-cite) { border-color: #9e9e9e; } -:is(.quote, .cite) > :is(.admonition-title, summary) { +:is(.admonish-quote, .admonish-cite) > :is(.admonition-title, summary.admonition-title) { background-color: rgba(158, 158, 158, 0.1); } -:is(.quote, .cite) > :is(.admonition-title, summary)::before { +:is(.admonish-quote, .admonish-cite) > :is(.admonition-title, summary.admonition-title)::before { background-color: #9e9e9e; - mask-image: var(--md-admonition-icon--quote); - -webkit-mask-image: var(--md-admonition-icon--quote); + mask-image: var(--md-admonition-icon--admonish-quote); + -webkit-mask-image: var(--md-admonition-icon--admonish-quote); mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-size: contain; @@ -339,7 +334,8 @@ details[open].admonition > summary.admonition-title::after { background-color: var(--sidebar-bg); } -.ayu :is(.admonition), .coal :is(.admonition) { +.ayu :is(.admonition), +.coal :is(.admonition) { background-color: var(--theme-hover); } diff --git a/docs/release-notes/4.0.0.md b/docs/release-notes/4.0.0.md index 26b6b9070..f68cd38b4 100644 --- a/docs/release-notes/4.0.0.md +++ b/docs/release-notes/4.0.0.md @@ -40,7 +40,7 @@ Now it is possible to configure desirable action on reindexing triggered by the |-|-| |`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. | |`wipe`|Drop the whole database and start indexing from scratch. Be careful with this option!| -|`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. +|`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.| To configure actions for each reason, add the following section to DipDup config: @@ -59,7 +59,7 @@ advanced: |command or flag|description| |-|-| -| `cache show` | Get information about file caches used by DipDup. +| `cache show` | Get information about file caches used by DipDup.| | `config export` | Print config after resolving all links and variables. Add `--unsafe` option to substitute environment variables; default values from config will be used otherwise. | | `run --early-realtime` | Establish a realtime connection before all indexes are synchronized. | | `run --merge-subscriptions` | Subscribe to all operations/big map diffs during realtime indexing. This flag helps to avoid reaching TzKT subscriptions limit (currently 10000 channels). Keep in mind that this option could significantly improve RAM consumption depending on the time required to perform a sync. | diff --git a/docs/theme/index.hbs b/docs/theme/index.hbs index fc5dda4f4..214e786ce 100644 --- a/docs/theme/index.hbs +++ b/docs/theme/index.hbs @@ -114,7 +114,7 @@
{{!-- FIXME: https://github.com/rust-lang/mdBook/issues/1331 --}} -
✨ DipDup 7.0 is out! Visit⠀Release Notes⠀page for details⠀✨
+
⚰️ DipDup 6.5 branch is no longer supported. Please, follow the⠀Migration Guide⠀to update to the latest version.
{{> header}}