Skip to content

V0.4.4

Choose a tag to compare

@JohnRichard4096 JohnRichard4096 released this 19 Feb 12:16
· 123 commits to main since this release
c90dea6

Release v0.4.4: Event System Enhancements & Extensible Content Model

This release introduces significant improvements to the event system and content handling, along with various quality-of-life enhancements and CI/CD updates.

✨ New Features

  • Extensible Content Types
    The Content model is now generic and extensible. Developers can register custom content subclasses using register_content(), enabling seamless support for new multimodal content (e.g., audio, video) alongside built-in TextContent and ImageContent.
  • JUnit Test Reporting
    CI workflow now publishes test results as JUnit XML, improving visibility of test outcomes directly in pull requests.

🔧 Improvements

  • Type Safety & Validation
    Message now correctly deserializes content lists using registered content types, ensuring proper type assignment and validation.
  • Singleton Cleanup
    Removed redundant _inited flags from MultiPresetManager, MultiToolsManager, and MultiClientManager, simplifying initialization logic.
  • Better Error Handling
    Added exception_ignored to control which exceptions are propagated through event handlers; enhanced __aexit__ to store exceptions for later inspection.
  • Documentation Updates
    Expanded API reference and concept guides with examples for custom event parameters and content registration.

✅ Testing

  • Added comprehensive test suites for:
    • OpenAI adapter (streaming, tool calls, error cases)
    • Content validation and deserialization
    • Custom content registration
    • Message type handling

🏗️ CI/CD

  • Added permissions for checks and pull requests
  • Integrated dorny/test-reporter for JUnit test reports
  • Configured Ruff to ignore specific rules in test files

🔖 Version

Bumped to 0.4.4 (from 0.4.3.2)

This release lays the groundwork for more flexible event-driven architectures and richer multimodal interactions within the Amrita Core framework.


What's Changed

Full Changelog: 0.4.3.2...0.4.4