Academy v0.3.0
Overview
This release makes numerous quality-of-life updates to simplify user code and reduce hard-to-debug errors related to sharing handles. Check out the Migrating to v0.3 guide to learn more about the key changes.
Upgrade Steps
pip install --upgrade academy-pyWhat's Changed
Breaking Changes
- Change default behavior of handles to return final action result instead of awaitable future by @gpauloski in #171
- Read exchange client from context in handle by @AK2000 in #177
- Allow handles to be used by multiple clients by @AK2000 in #181
- Consolidate Handle protocol with RemoteHandle by @AK2000 in #183
New Features
- Add context manager support to
Runtimeby @gpauloski in #162 - Add helper method for safely running sync functions within async actions by @gpauloski in #175
- Re-export exchange factories and transports by @AK2000 in #184
Bug Fixes
- Improve attribute discovery on derived
Agenttypes by @gpauloski in #172 - Hold action and loop execution until agent startup sequence has completed by @gpauloski in #173
- Fix
KeyErrorfrom unhandled shutdown errors responses inHandleby @gpauloski in #186
Internal Changes
- Clean up testing utilities by @gpauloski in #166
- Refactor messages to use header/body model by @gpauloski in #160
Documentation
- Update contributing guide and templates by @gpauloski in #161
- Re-organized the docs site by @gpauloski in #179
- Change default docs version from latest to stable by @gpauloski in #180
- Correct documentation aliases in version policy by @gpauloski in #182
- Improve clarity of new docs additions by @gpauloski in #188
Build and Packaging
- Add integration test suite by @gpauloski in #163
- Add GitHub Issue templates by @gpauloski in #165
Full Changelog: v0.2.0...v0.3.0