From 3d35ca9cae515b9683b3f9148475d799df05aa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Tue, 15 Oct 2024 13:01:48 +0800 Subject: [PATCH] Doc: add change-log 0.9.17 --- change-log.md | 46 +++++++++++++++++++++++++++++++++++++++++++ change-log/v0.9.17.md | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 change-log/v0.9.17.md diff --git a/change-log.md b/change-log.md index ddfd43b6f..ca4bebe52 100644 --- a/change-log.md +++ b/change-log.md @@ -1,3 +1,49 @@ +## v0.9.17 + +Summary: + +- Improved: + - [536a435e](https://github.com/datafuselabs/openraft/commit/536a435e2fccc98c37a776322d0f7e4aba26c179) Chunk read log entry and check range on startup. + - [dc18dc6f](https://github.com/datafuselabs/openraft/commit/dc18dc6f5fed49c1a4717133fbc489eb57efda79) remove `Copy` bound from `NodeId`. + +Detail: + +### Improved: + +- Improved: [536a435e](https://github.com/datafuselabs/openraft/commit/536a435e2fccc98c37a776322d0f7e4aba26c179) Chunk read log entry and check range on startup; by 张炎泼; 2024-09-14 + + - Implement chunk-based reading of committed log entries when + re-applying to state machine upon startup. + + - Add validation for log entry indexes, to avoid applying wrong entries + to state machine. + +- Improved: [dc18dc6f](https://github.com/datafuselabs/openraft/commit/dc18dc6f5fed49c1a4717133fbc489eb57efda79) remove `Copy` bound from `NodeId`; by 张炎泼; 2024-10-14 + + The `NodeId` type is currently defined as: + + ```rust + type NodeId: .. + Copy + .. + 'static; + ``` + + This commit removes the `Copy` bound from `NodeId`. + This modification will allow the use of non-`Copy` types as `NodeId`, + providing greater flexibility for applications that prefer + variable-length strings or other non-`Copy` types for node + identification. + + This change maintain compatibility by updating derived `Copy` + implementations with manual implementations: + + ```rust + // Before + #[derive(Copy...)] + pub struct LogId {} + + // After + impl Copy for LogId {} + ``` + ## v0.9.16 Summary: diff --git a/change-log/v0.9.17.md b/change-log/v0.9.17.md new file mode 100644 index 000000000..5e21fc550 --- /dev/null +++ b/change-log/v0.9.17.md @@ -0,0 +1,43 @@ +Summary: + +- Improved: + - [536a435e](https://github.com/datafuselabs/openraft/commit/536a435e2fccc98c37a776322d0f7e4aba26c179) Chunk read log entry and check range on startup. + - [dc18dc6f](https://github.com/datafuselabs/openraft/commit/dc18dc6f5fed49c1a4717133fbc489eb57efda79) remove `Copy` bound from `NodeId`. + +Detail: + +### Improved: + +- Improved: [536a435e](https://github.com/datafuselabs/openraft/commit/536a435e2fccc98c37a776322d0f7e4aba26c179) Chunk read log entry and check range on startup; by 张炎泼; 2024-09-14 + + - Implement chunk-based reading of committed log entries when + re-applying to state machine upon startup. + + - Add validation for log entry indexes, to avoid applying wrong entries + to state machine. + +- Improved: [dc18dc6f](https://github.com/datafuselabs/openraft/commit/dc18dc6f5fed49c1a4717133fbc489eb57efda79) remove `Copy` bound from `NodeId`; by 张炎泼; 2024-10-14 + + The `NodeId` type is currently defined as: + + ```rust + type NodeId: .. + Copy + .. + 'static; + ``` + + This commit removes the `Copy` bound from `NodeId`. + This modification will allow the use of non-`Copy` types as `NodeId`, + providing greater flexibility for applications that prefer + variable-length strings or other non-`Copy` types for node + identification. + + This change maintain compatibility by updating derived `Copy` + implementations with manual implementations: + + ```rust + // Before + #[derive(Copy...)] + pub struct LogId {} + + // After + impl Copy for LogId {} + ```