Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 476e46a

Browse files
authored
Merge pull request #25 from dbluhm/rc/v0.6.0
Prepare 0.6.0 release
2 parents 42be2fc + 1624f9a commit 476e46a

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

RELEASES.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
Version 0.6.0 (2019-11-18)
2+
==========================
3+
4+
## Highlights
5+
6+
- **Add support for forwarding** for connections utilizing mediators for
7+
routing.
8+
- **Simplified `StaticConnection` and added mechanism for updating "their"
9+
info**, resulting in differences in the method signature of its constructor.
10+
11+
## Detailed Changes
12+
13+
### `StaticConnection`
14+
- `__init__` - changed to accept tuple of keys (public, private) with
15+
optional named arguments: `endpoint`, `their_vk`, `recipients`, and
16+
`routing_keys`.
17+
- `endpoint` - sets the endpoint to which messages are sent.
18+
- `their_vk` - mutually exclusive with `recipients` and results in a
19+
recipients list of size one containing `their_vk`.
20+
- `recipients` - mutually exclusive with `their_vk`, setting the contents of
21+
the recipients list for this connection.
22+
- `routing_keys` - list of mediator keys that will forward the message on to
23+
the recipient(s).
24+
- `pack` prepares messages for forwarding when `routing_keys` is set on the
25+
connection.
26+
- Renamed convenience accessors for keys: `my_vk -> verkey`, `my_sk -> sigkey`.
27+
- Added `update` - Updates "their" connection information for this static
28+
connection. Arguments are named arguments; processing is similar to
29+
`__init__` with the exclusion of "my" keys. A change in my information should
30+
be viewed as creating a new connection and therefore updating those values is
31+
not supported.
32+
33+
### Crypto
34+
- `pack_message` - added named optional argument `dump` that will convert the
35+
packed message to bytes when set to `True` or will leave as a dictionary
36+
when set to `False`. Defaults to `True`.
37+
- `bytes_to_b58` and `b58_to_bytes` - added a small (max size of 16) `lru_cache`
38+
to make frequent conversions of keys in the pack, unpack, and message
39+
handling process more efficient.
40+
41+
### Utils
42+
- Added `ensure_key_bytes` - ensures that the given key is formatted as a
43+
byte string rather than a Base58 encoded string.
44+
- Added `ensure_key_b58` - ensures that the given key is formatted as a
45+
Base58 encoded string rather than as bytes.
46+
- Added `forward_msg` - creates a new forward message.
47+
48+
### Examples
49+
- Updated to reflect new method signatures.
50+
51+
152
Version 0.5.1 (2019-11-06)
253
==========================
354

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def parse_requirements(filename):
1515

1616
setup(
1717
name='aries-staticagent',
18-
version='0.5.1',
18+
version='0.6.0',
1919
author='Daniel Bluhm <[email protected]>, '
2020
'Sam Curren <[email protected]>',
2121
description='Python Static Agent Library and Examples for Aries',

0 commit comments

Comments
 (0)