From 87603aab5fbdb436e92cce33284d5b64a9724d27 Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Tue, 31 Aug 2021 15:47:12 -0700 Subject: [PATCH 1/3] update minimum shared components versions Signed-off-by: Andrew Whitehead --- requirements.askar.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.askar.txt b/requirements.askar.txt index 55721751ad..3c14ab546b 100644 --- a/requirements.askar.txt +++ b/requirements.askar.txt @@ -1,3 +1,3 @@ -aries-askar~=0.2.0 +aries-askar~=0.2.2 indy-credx~=0.3 -indy-vdr~=0.3 +indy-vdr~=0.3.2 From 4bba59dd894f0f7ee38591e18c7e9b576e16fd74 Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Tue, 31 Aug 2021 16:12:41 -0700 Subject: [PATCH 2/3] use non-changing example dates in schemas; update open-api.json Signed-off-by: Andrew Whitehead --- aries_cloudagent/messaging/valid.py | 7 +- open-api/openapi.json | 204 +++++++++++++++++----------- 2 files changed, 129 insertions(+), 82 deletions(-) diff --git a/aries_cloudagent/messaging/valid.py b/aries_cloudagent/messaging/valid.py index f5fd0362eb..617b50b082 100644 --- a/aries_cloudagent/messaging/valid.py +++ b/aries_cloudagent/messaging/valid.py @@ -2,7 +2,6 @@ import json -from datetime import datetime import re from base58 import alphabet @@ -18,6 +17,8 @@ B58 = alphabet if isinstance(alphabet, str) else alphabet.decode("ascii") +EXAMPLE_TIMESTAMP = 1640995199 # 2021-12-31 23:59:59Z + class StrOrDictField(Field): """URI or Dict field for Marshmallow.""" @@ -81,7 +82,7 @@ def _uri_validator(self, value): class IntEpoch(Range): """Validate value against (integer) epoch format.""" - EXAMPLE = int(datetime.now().timestamp()) + EXAMPLE = EXAMPLE_TIMESTAMP def __init__(self): """Initializer.""" @@ -436,7 +437,7 @@ def __init__(self): class IndyISO8601DateTime(Regexp): """Validate value against ISO 8601 datetime format, indy profile.""" - EXAMPLE = epoch_to_str(int(datetime.now().timestamp())) + EXAMPLE = epoch_to_str(EXAMPLE_TIMESTAMP) PATTERN = ( r"^\d{4}-\d\d-\d\d[T ]\d\d:\d\d" r"(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$" diff --git a/open-api/openapi.json b/open-api/openapi.json index a8dd56ff80..b63c0078ac 100644 --- a/open-api/openapi.json +++ b/open-api/openapi.json @@ -1,7 +1,7 @@ { "swagger" : "2.0", "info" : { - "version" : "v0.7.1-rc0", + "version" : "v0.7.1", "title" : "Aries Cloud Agent" }, "tags" : [ { @@ -315,7 +315,7 @@ "description" : "Connection state", "required" : false, "type" : "string", - "enum" : [ "request", "completed", "abandoned", "init", "active", "error", "start", "response", "invitation" ] + "enum" : [ "start", "abandoned", "active", "completed", "response", "init", "invitation", "error", "request" ] }, { "name" : "their_did", "in" : "query", @@ -878,6 +878,29 @@ } } }, + "/credential-definitions/{cred_def_id}/write_record" : { + "post" : { + "tags" : [ "credential-definition" ], + "summary" : "Writes a credential definition non-secret record to the wallet", + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "cred_def_id", + "in" : "path", + "description" : "Credential definition identifier", + "required" : true, + "type" : "string", + "pattern" : "^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$" + } ], + "responses" : { + "200" : { + "description" : "", + "schema" : { + "$ref" : "#/definitions/CredentialDefinitionGetResult" + } + } + } + } + }, "/credential/mime-types/{credential_id}" : { "get" : { "tags" : [ "credentials" ], @@ -1586,7 +1609,7 @@ "name" : "body", "required" : false, "schema" : { - "$ref" : "#/definitions/V20CredSendRequest" + "$ref" : "#/definitions/V20CredExFree" } } ], "responses" : { @@ -1632,7 +1655,7 @@ "name" : "body", "required" : false, "schema" : { - "$ref" : "#/definitions/V20IssueCredSchemaCore" + "$ref" : "#/definitions/V20CredExFree" } } ], "responses" : { @@ -4005,6 +4028,29 @@ } } }, + "/schemas/{schema_id}/write_record" : { + "post" : { + "tags" : [ "schema" ], + "summary" : "Writes a schema non-secret record to the wallet", + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "schema_id", + "in" : "path", + "description" : "Schema identifier", + "required" : true, + "type" : "string", + "pattern" : "^[1-9][0-9]*|[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+$" + } ], + "responses" : { + "200" : { + "description" : "", + "schema" : { + "$ref" : "#/definitions/SchemaGetResult" + } + } + } + } + }, "/shutdown" : { "get" : { "tags" : [ "server" ], @@ -4698,7 +4744,7 @@ }, "lastmod_time" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Hint regarding last modification datetime, in ISO-8601 format", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -4909,7 +4955,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -4992,7 +5038,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -5317,7 +5363,7 @@ "properties" : { "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -5343,7 +5389,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -6547,7 +6593,7 @@ "from" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Earliest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -6555,7 +6601,7 @@ "to" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Latest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -6737,7 +6783,7 @@ "timestamp" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Timestamp epoch", "minimum" : 0, "maximum" : 18446744073709551615, @@ -6829,7 +6875,7 @@ "from" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Earliest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -6837,7 +6883,7 @@ "to" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Latest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -6886,7 +6932,7 @@ "from" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Earliest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -6894,7 +6940,7 @@ "to" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Latest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -6946,7 +6992,7 @@ "from" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Earliest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -6954,7 +7000,7 @@ "to" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Latest time of interest in non-revocation interval", "minimum" : 0, "maximum" : 18446744073709551615 @@ -7073,7 +7119,7 @@ "timestamp" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "description" : "Epoch timestamp of interest for non-revocation proof", "minimum" : 0, "maximum" : 18446744073709551615 @@ -7343,7 +7389,7 @@ "properties" : { "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -7376,7 +7422,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -7408,7 +7454,7 @@ "properties" : { "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -7447,7 +7493,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -7458,7 +7504,7 @@ "properties" : { "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -7541,7 +7587,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -7688,7 +7734,7 @@ }, "created" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "The date and time of the proof (with a maximum accuracy in seconds). Defaults to current system time", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -7726,7 +7772,7 @@ }, "created" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "The string value of an ISO8601 combined date and time string generated by the Signature Algorithm", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -7869,7 +7915,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -7909,7 +7955,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -8447,7 +8493,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -8467,7 +8513,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -8741,7 +8787,7 @@ "time" : { "type" : "integer", "format" : "int32", - "example" : 1629902946, + "example" : 1640995199, "minimum" : 0, "maximum" : 18446744073709551615 } @@ -8828,7 +8874,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -8919,7 +8965,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -9121,7 +9167,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -9216,7 +9262,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -9461,7 +9507,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -9515,7 +9561,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -9634,6 +9680,37 @@ } } }, + "V20CredExFree" : { + "type" : "object", + "required" : [ "connection_id", "filter" ], + "properties" : { + "auto_remove" : { + "type" : "boolean", + "description" : "Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)" + }, + "comment" : { + "type" : "string", + "description" : "Human-readable comment", + "x-nullable" : true + }, + "connection_id" : { + "type" : "string", + "format" : "uuid", + "example" : "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "description" : "Connection identifier" + }, + "credential_preview" : { + "$ref" : "#/definitions/V20CredPreview" + }, + "filter" : { + "$ref" : "#/definitions/V20CredBoundOfferRequest_filter" + }, + "trace" : { + "type" : "boolean", + "description" : "Record trace information, based on agent configuration" + } + } + }, "V20CredExRecord" : { "type" : "object", "properties" : { @@ -9662,7 +9739,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -9725,7 +9802,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -9771,7 +9848,7 @@ "properties" : { "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -9814,7 +9891,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -9825,7 +9902,7 @@ "properties" : { "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -9851,7 +9928,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" } @@ -10251,37 +10328,6 @@ } } }, - "V20CredSendRequest" : { - "type" : "object", - "required" : [ "connection_id", "filter" ], - "properties" : { - "auto_remove" : { - "type" : "boolean", - "description" : "Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)" - }, - "comment" : { - "type" : "string", - "description" : "Human-readable comment", - "x-nullable" : true - }, - "connection_id" : { - "type" : "string", - "format" : "uuid", - "example" : "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "description" : "Connection identifier" - }, - "credential_preview" : { - "$ref" : "#/definitions/V20CredPreview" - }, - "filter" : { - "$ref" : "#/definitions/V20CredBoundOfferRequest_filter" - }, - "trace" : { - "type" : "boolean", - "description" : "Record trace information, based on agent configuration" - } - } - }, "V20CredStoreRequest" : { "type" : "object", "properties" : { @@ -10389,7 +10435,7 @@ }, "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -10440,7 +10486,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -10872,7 +10918,7 @@ "properties" : { "created_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of record creation", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, @@ -10893,7 +10939,7 @@ }, "updated_at" : { "type" : "string", - "example" : "2021-08-25 14:49:06Z", + "example" : "2021-12-31 23:59:59Z", "description" : "Time of last record update", "pattern" : "^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$" }, From 814a940ba746fafb5a205463281e809204a00d74 Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Tue, 31 Aug 2021 16:13:08 -0700 Subject: [PATCH 3/3] update version to 0.7.1 Signed-off-by: Andrew Whitehead --- CHANGELOG.md | 5 ++++- aries_cloudagent/version.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 305a3c9cdb..0c6dd7a822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # 0.7.1 -## August 24, 2021 +## August 31, 2021 A relatively minor maintenance release to address issues found since the 0.7.0 Release. Includes some cleanups of JSON-LD Verifiable Credentials and Verifiable Presentations @@ -18,11 +18,14 @@ Includes some cleanups of JSON-LD Verifiable Credentials and Verifiable Presenta - Correct revocation API in credential revocation documentation ([#612](https://github.com/hyperledger/aries-cloudagent-python/pull/612)) - Documentation updates for Read-The-Docs ([#1359](https://github.com/hyperledger/aries-cloudagent-python/pull/1359), [#1366](https://github.com/hyperledger/aries-cloudagent-python/pull/1366), [#1371](https://github.com/hyperledger/aries-cloudagent-python/pull/1371)) +- Add `inject_or` method to dynamic injection framework to resolve typing ambiguity ([#1376](https://github.com/hyperledger/aries-cloudagent-python/pull/1376)) - Other fixes: - Indy Proof processing fix, error not raised in predicate timestamp check ([#1364](https://github.com/hyperledger/aries-cloudagent-python/pull/1364)) - Problem Report handler for connection specific problems ([#1356](https://github.com/hyperledger/aries-cloudagent-python/pull/1356)) - fix: error on deserializing conn record with protocol ([#1325](https://github.com/hyperledger/aries-cloudagent-python/pull/1325)) - fix: failure to verify jsonld on non-conformant doc but vaild vmethod ([#1301](https://github.com/hyperledger/aries-cloudagent-python/pull/1301)) + - fix: allow underscore in endpoints ([#1378](https://github.com/hyperledger/aries-cloudagent-python/pull/1378)) + # 0.7.0 diff --git a/aries_cloudagent/version.py b/aries_cloudagent/version.py index 6a582aea07..b264670880 100644 --- a/aries_cloudagent/version.py +++ b/aries_cloudagent/version.py @@ -1,3 +1,3 @@ """Library version information.""" -__version__ = "0.7.1-rc0" +__version__ = "0.7.1"