Releases: hyperledger/aries-staticagent-python
0.9.0-pre4
What's Changed
- Further simplify module routing by @dbluhm in #75
- Simplify Dispatcher by @dbluhm in #76
- feat: better typing on ModuleRouter.call using overload by @dbluhm in #77
- Refine awaiting messages by @dbluhm in #78
- feat: add helper for extracting recipients from packed message by @dbluhm in #79
- fix: export new components from package by @dbluhm in #80
Full Changelog: v0.9.0-pre3...v0.9.0-pre4
0.9.0-pre3
This pre-release introduces significant changes to several components of the Static Agent library. In general, these changes are intended to simplify the library and make use of existing libraries. In particular, one of the biggest changes of note is that the Static Agent library now uses Pydantic for its Message class with base classes designed to be trivially extended to define more specific messages.
Additionally, the module routing mechanism was simplified. Now, instead of magic values being set on methods in a class and then scrapped from a listing of all attributes of the class, a class var ModuleRouter
is now used to capture routes.
Finally, the last large breaking change of this pre-release is the renaming of the StaticConnection
class to just Connection
. This more clearly represents the purpose and function of the class. The "static" nature of the static library is not derived from the connection somehow behaving differently but rather how that connection is created and stored or otherwise. To elaborate, the Connection
class could be just as usable in the context of a "thick" agent as it is in a static agent. In such an agent, these connections would be hydrated and dehydrated on demand according to the function of the agent but there's no reason for the Connection
to look different in this scenario when compared to a static scenario.
Various smaller fixes have also been made. A full accounting will be provided on release.
0.9.0-pre2
Fixes
- Message ID not assigned in
send_and_await_reply
if value is not of typeMessage
0.9.0-pre1
fixes:
- timeout not applied to
send
part ofsend_and_await_reply
- deprecation warnings in message type version parsing
0.9.0-pre0
feat: add send_and_await_returned
BREAKING CHANGE: send_and_await_reply now sets a condition to match the
sent message id with a returned message thid. This behavior differs from
the original where any message sent back would be returned when no
condition was given. send_and_await_returned now presents this
functionality.
0.8.0
0.7.1
See RELEASES.md
0.7.0
See RELEASES.md
0.6.1
See RELEASES.md
0.6.0
See RELEASES.md