Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion doc/host_config_schema/cchost_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
8 changes: 5 additions & 3 deletions doc/schemas/gov_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,8 @@
"items": {
"enum": [
"SnapshotRead",
"LedgerChunkRead"
"LedgerChunkRead",
"SnapshotCreate"
],
"type": "string"
},
Expand Down Expand Up @@ -676,7 +677,8 @@
"items": {
"enum": [
"SnapshotRead",
"LedgerChunkRead"
"LedgerChunkRead",
"SnapshotCreate"
],
"type": "string"
},
Expand Down Expand Up @@ -2950,4 +2952,4 @@
}
},
"servers": []
}
}
5 changes: 3 additions & 2 deletions doc/schemas/node_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@
"OperatorFeature": {
"enum": [
"SnapshotRead",
"LedgerChunkRead"
"LedgerChunkRead",
"SnapshotCreate"
],
"type": "string"
},
Expand Down Expand Up @@ -1829,4 +1830,4 @@
}
},
"servers": []
}
}
4 changes: 3 additions & 1 deletion include/ccf/service/operator_feature.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ namespace ccf::endpoints
enum class OperatorFeature : uint8_t
{
SnapshotRead,
LedgerChunkRead
LedgerChunkRead,
SnapshotCreate
};

DECLARE_JSON_ENUM(
OperatorFeature,
{
{OperatorFeature::SnapshotRead, "SnapshotRead"},
{OperatorFeature::LedgerChunkRead, "LedgerChunkRead"},
{OperatorFeature::SnapshotCreate, "SnapshotCreate"},
});
}
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
]
Expand Down
Loading