v0.3.0 - Harder, Better, Faster, Stronger
This release focuses on improvements related to performance, stability and code quality. We also introduce new features related to FORGET and PROGRAM messages.
How to upgrade: https://pyaleph.readthedocs.io/en/latest/guides/upgrade.html
New features
- Ability to forget aggregates by @odesenfans in #289
- Add an API that exposes programs that respond to Aleph messages by @hoh in #230
- Specify max log file size by @odesenfans in #248
- Use property value for max_log_file_size by @odesenfans in #257
- [API] Add chain query parameter for messages by @odesenfans in #282
- [API] Add content hash query parameter for messages by @odesenfans in #284
Improvements
- [Messages] Improve throughput of jobs by @odesenfans in #278
- [Messages] Pydantic schema for message validation by @odesenfans in #272
- [Messages] Support default item type by @odesenfans in #287
- [Messages] Ignore confirmations in capped collection by @odesenfans in #252
- [DB] Use unordered bulk inserts by @odesenfans in #279
- [Chains] Use pending message model in signature verification by @odesenfans in #273
- [Forget] Fetch less data by @odesenfans in #276
- [Forget] Multi-users test by @odesenfans in #249
- [Jobs] Simplify pending TXs job by @odesenfans in #236
- [IPFS] Upgrade to v0.12.2 by @odesenfans in #225
- [Fix] Ignore invalid messages in messages job by @odesenfans in #246
- [Types] New dataclass for tx context by @odesenfans in #235
- [Permissions] Process unauthorized messages gracefully by @odesenfans in #258
- [Tests] Make API endpoints testable by @odesenfans in #260
- [Tests] Fixture to generate the test API client by @odesenfans in #263
- [Tests] Messages API tests by @odesenfans in #261
- [Migrations] Support for async upgrade functions by @odesenfans in #253
- [Migrations] Filter to select migration scripts by @odesenfans in #255
Other
- [Exceptions] Move old exceptions from types to exceptions by @odesenfans in #226
- [Readme] Fix link to install guide by @odesenfans in #243
- [Fix] Typo in monitoring Docker Compose file by @odesenfans in #244
- [Fix] Use collection of DB op in bulk write by @odesenfans in #245
- [TXs] Increase IPFS pin timeout to 2 minutes by @odesenfans in #251
- [mypy] Bump to 0.950 by @odesenfans in #259
- [Storage] Remove filename parameter by @odesenfans in #262
- [Tests] Use valid fixtures in forget tests by @odesenfans in #275
- [Types] Use ItemType defined in aleph-message by @odesenfans in #271
- [Monitoring] Fix Grafana dashboard time ranges by @odesenfans in #291
- [Docs] Improve protocol documentation by @odesenfans in #286
Full Changelog: v0.2.1...v0.3.0