Repository navigation
v0.3.0-rc.0
Pre-release
Pre-release
·
247 commits
to dev
since this release
What's Changed
🚀 New Features
S3-Compatible Storage (OSS3)
- Complete S3 protocol implementation with full observability and monitoring
- Multipart upload support for large files (1E-4)
- SigV4 signature verification with AWS SDK integration
- CORS middleware for cross-origin requests
- Business restriction middleware with content-type validation
- Transaction boundary and compensation for atomic operations
- Access log middleware with structured logging
- MinIO backend integration with comprehensive test coverage
File Attachments for Agent
- Load file attachments from OSS in user messages (images and text files)
- Parallel file loading for improved performance with multiple attachments
- MultiContent merge for consecutive user messages with images
- Image preprocessing pipeline: format detection, resizing, quality degradation
- Text file support with UTF-8 validation and truncation for large files
- UserID propagation through context for background worker processing
🔧 Improvements
Code Quality
- Comprehensive code quality improvements across 32+ review findings
- Eliminated redundant parsing and struct duplication
- Improved error handling and transaction support in repositories
- Enhanced SigV4 signature verification with proper credential caching
Testing
- Added comprehensive test coverage for file attachments and message conversion
- MinIO backend integration tests
- S3 protocol layer integration test scaffolding
- Edge case tests for security and error handling
🐛 Bug Fixes
Critical Security
- Resolved critical security issues in OSS3 protocol implementation
- Fixed SigV4 signature verification vulnerabilities
- Corrected error mapping for insufficient storage scenarios
Integration
- Fixed transaction support and error handling in OSS3 repositories
- Resolved review findings from comprehensive S3 protocol audit
- Fixed pagination infinite loop in integration tests
- Corrected user ID handling in integration tests
📝 Documentation
- Added comprehensive testing guide for OSS3
- Enhanced code comments and API documentation
🔄 Breaking Changes
None - this is a backward-compatible release.
New Contributors
This release includes significant contributions from code review findings and comprehensive testing efforts.
Full Changelog: v0.2.2...v0.3.0-rc.0