Skip to content

Commit

Permalink
Version numbers, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph M. Wintersteiger committed Mar 23, 2022
1 parent bbe5e13 commit 6abbb4d
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- New `GET /node/consensus` endpoint now also returns primary node ID and current view (#3666).
- The `enclave::` namespace has been removed, and all types which were under it are now under `ccf::`. This will affect any apps using `enclave::RpcContext`, which should be replaced with `ccf::RpcContext` (#3664).
- HTTP parsing errors are now recorded per-interface and returned by `GET /node/metrics` (#3671).
- Receipts now come with service endorsements of previous service identities after recoveries (#3679). See `verify_receipt` in `e2e_logging.py` for an example of how to verify the resulting certificate chain.

## [2.0.0-rc4]

Expand Down
14 changes: 13 additions & 1 deletion doc/schemas/app_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,15 @@
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"Pem": {
"type": "string"
},
"Pem_array": {
"items": {
"$ref": "#/components/schemas/Pem"
},
"type": "array"
},
"Receipt": {
"properties": {
"cert": {
Expand All @@ -221,6 +230,9 @@
"root": {
"$ref": "#/components/schemas/string"
},
"service_endorsements": {
"$ref": "#/components/schemas/Pem_array"
},
"signature": {
"$ref": "#/components/schemas/string"
}
Expand Down Expand Up @@ -310,7 +322,7 @@
"info": {
"description": "This CCF sample app implements a simple logging application, securely recording messages at client-specified IDs. It demonstrates most of the features available to CCF apps.",
"title": "CCF Sample Logging App",
"version": "1.9.0"
"version": "1.9.1"
},
"openapi": "3.0.0",
"paths": {
Expand Down
11 changes: 10 additions & 1 deletion doc/schemas/gov_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,12 @@
"Pem": {
"type": "string"
},
"Pem_array": {
"items": {
"$ref": "#/components/schemas/Pem"
},
"type": "array"
},
"Proposal": {
"properties": {
"actions": {
Expand Down Expand Up @@ -354,6 +360,9 @@
"root": {
"$ref": "#/components/schemas/string"
},
"service_endorsements": {
"$ref": "#/components/schemas/Pem_array"
},
"signature": {
"$ref": "#/components/schemas/string"
}
Expand Down Expand Up @@ -472,7 +481,7 @@
"info": {
"description": "This API is used to submit and query proposals which affect CCF's public governance tables.",
"title": "CCF Governance API",
"version": "2.7.0"
"version": "2.7.1"
},
"openapi": "3.0.0",
"paths": {
Expand Down
11 changes: 10 additions & 1 deletion doc/schemas/node_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,12 @@
"Pem": {
"type": "string"
},
"Pem_array": {
"items": {
"$ref": "#/components/schemas/Pem"
},
"type": "array"
},
"Quote": {
"properties": {
"endorsements": {
Expand Down Expand Up @@ -556,6 +562,9 @@
"root": {
"$ref": "#/components/schemas/string"
},
"service_endorsements": {
"$ref": "#/components/schemas/Pem_array"
},
"signature": {
"$ref": "#/components/schemas/string"
}
Expand Down Expand Up @@ -773,7 +782,7 @@
"info": {
"description": "This API provides public, uncredentialed access to service and node state.",
"title": "CCF Public Node API",
"version": "2.16.0"
"version": "2.16.1"
},
"openapi": "3.0.0",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion samples/apps/logging/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ namespace loggingapp
"This CCF sample app implements a simple logging application, securely "
"recording messages at client-specified IDs. It demonstrates most of "
"the features available to CCF apps.";
openapi_info.document_version = "1.9.0";
openapi_info.document_version = "1.9.1";

index_per_public_key = std::make_shared<RecordsIndexingStrategy>(
PUBLIC_RECORDS, context, 10000, 20);
Expand Down
2 changes: 1 addition & 1 deletion src/node/rpc/member_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ namespace ccf
openapi_info.description =
"This API is used to submit and query proposals which affect CCF's "
"public governance tables.";
openapi_info.document_version = "2.7.0";
openapi_info.document_version = "2.7.1";
}

static std::optional<MemberId> get_caller_member_id(
Expand Down
2 changes: 1 addition & 1 deletion src/node/rpc/node_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ namespace ccf
openapi_info.description =
"This API provides public, uncredentialed access to service and node "
"state.";
openapi_info.document_version = "2.16.0";
openapi_info.document_version = "2.16.1";
}

void init_handlers() override
Expand Down

0 comments on commit 6abbb4d

Please sign in to comment.