diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ae39e486782..b24eea91a597 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [6.0.27] + +[6.0.27]: https://github.com/microsoft/CCF/releases/tag/ccf-6.0.27 + +### Added + +- Backport the SnapshotCreate operator feature to preserve LTS compatibility on join with #7767 (#7773) + ## [6.0.26] [6.0.26]: https://github.com/microsoft/CCF/releases/tag/ccf-6.0.26 diff --git a/doc/host_config_schema/cchost_config.json b/doc/host_config_schema/cchost_config.json index 36e7103b2fdb..eea756366dc5 100644 --- a/doc/host_config_schema/cchost_config.json +++ b/doc/host_config_schema/cchost_config.json @@ -180,7 +180,7 @@ "enabled_operator_features": { "type": "array", "items": { - "enum": ["SnapshotRead", "LedgerChunkRead"], + "enum": ["SnapshotRead", "LedgerChunkRead", "SnapshotCreate"], "type": "string" }, "description": "An array of features which should be enabled on this interface, providing access to endpoints with specific security or performance constraints." diff --git a/doc/schemas/gov_openapi.json b/doc/schemas/gov_openapi.json index 4a393792cb19..6662848b9144 100644 --- a/doc/schemas/gov_openapi.json +++ b/doc/schemas/gov_openapi.json @@ -527,7 +527,8 @@ "items": { "enum": [ "SnapshotRead", - "LedgerChunkRead" + "LedgerChunkRead", + "SnapshotCreate" ], "type": "string" }, @@ -676,7 +677,8 @@ "items": { "enum": [ "SnapshotRead", - "LedgerChunkRead" + "LedgerChunkRead", + "SnapshotCreate" ], "type": "string" }, @@ -2950,4 +2952,4 @@ } }, "servers": [] -} \ No newline at end of file +} diff --git a/doc/schemas/node_openapi.json b/doc/schemas/node_openapi.json index 49f4d3f6ed75..0b4cb5c805b4 100644 --- a/doc/schemas/node_openapi.json +++ b/doc/schemas/node_openapi.json @@ -606,7 +606,8 @@ "OperatorFeature": { "enum": [ "SnapshotRead", - "LedgerChunkRead" + "LedgerChunkRead", + "SnapshotCreate" ], "type": "string" }, @@ -1829,4 +1830,4 @@ } }, "servers": [] -} \ No newline at end of file +} diff --git a/include/ccf/service/operator_feature.h b/include/ccf/service/operator_feature.h index 87ee7ea1681e..6cfdb200e731 100644 --- a/include/ccf/service/operator_feature.h +++ b/include/ccf/service/operator_feature.h @@ -9,7 +9,8 @@ namespace ccf::endpoints enum class OperatorFeature : uint8_t { SnapshotRead, - LedgerChunkRead + LedgerChunkRead, + SnapshotCreate }; DECLARE_JSON_ENUM( @@ -17,5 +18,6 @@ namespace ccf::endpoints { {OperatorFeature::SnapshotRead, "SnapshotRead"}, {OperatorFeature::LedgerChunkRead, "LedgerChunkRead"}, + {OperatorFeature::SnapshotCreate, "SnapshotCreate"}, }); } diff --git a/python/pyproject.toml b/python/pyproject.toml index be38fe4f03c2..730202691aa6 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "ccf" -version = "6.0.26" +version = "6.0.27" authors = [ { name="CCF Team", email="CCF-Sec@microsoft.com" }, ]