Skip to content

Commit

Permalink
Merge pull request #1380 from andrewwhitehead/pre-release-0.7.1
Browse files Browse the repository at this point in the history
Pre release 0.7.1
  • Loading branch information
andrewwhitehead authored Aug 31, 2021
2 parents 040b2f7 + 814a940 commit 1a4df0a
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 86 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down
7 changes: 4 additions & 3 deletions aries_cloudagent/messaging/valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import json

from datetime import datetime
import re

from base58 import alphabet
Expand All @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down Expand Up @@ -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|)$"
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudagent/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Library version information."""

__version__ = "0.7.1-rc0"
__version__ = "0.7.1"
Loading

0 comments on commit 1a4df0a

Please sign in to comment.