From ae795fff92ca58e562d6e64aac029efa34a7d292 Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Mon, 25 Nov 2019 14:50:07 -0500 Subject: [PATCH] Prepare 0.7.0 release Signed-off-by: Daniel Bluhm --- RELEASES.md | 36 ++++++++++++++++++++++++++++++++++++ setup.py | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index d435627..6633722 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,39 @@ +Version 0.7.0 (2019-11-25) +========================== + +## Highlights +- Improved standard message dispatch bypass mechanism. +- Improved interface for MTCs. +- Significantly increased code coverage in unit tests resulting in overall + improvement in reliability. + +## Detailed Changes + +### General Fixes and Improvements +- Export `MessageDeliveryError` from package root. +- Fixes for forwarding and processing forwarded messages. +- Fix Message equality checks. + +### Message Trust Contexts +- Add MTC helper functions for checking and setting typical message + characteristics. +- Refactor `Additional Data`; now a class instead of a dictionary. Currently + only has `sender` and `recipient` as properties. `sender` and `recipient` are + also accessible as properties on MTC. + +### `StaticConnection` +- Remove `ConditionallyAwaitFutureMessage` construct in favor of simpler and + more robust `connection.next` method. +- Refactor send method into injectable dependency. Defaults to HTTP. +- `unpack` will take a dictionary or bytes as input. +- `pack` takes `plaintext` as an argument. +- Add `next` context manager method, yielding a future to the next message + matching the given type or condition. This mechanism is now also utilized in + `await_message`. + +### `Utils` +- Move HTTP sending code to method under `utils`. + Version 0.6.1 (2019-11-19) ========================== diff --git a/setup.py b/setup.py index dd267ee..33c77c8 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ def parse_requirements(filename): setup( name='aries-staticagent', - version='0.6.1', + version='0.7.0', author='Daniel Bluhm , ' 'Sam Curren ', description='Python Static Agent Library and Examples for Aries',