V3.0.0
π RichText v3.0.0 Release Notes
Important
Platform Requirements Updated
- iOS: 15.0+ (previously 13.0+)
- macOS: 12.0+ (previously 10.15+)
- Swift: 6.0+
- Xcode: 16+ for development
π Major Release - Swift 6.0 & Modern Concurrency
This major release modernizes RichText with async/await support, Swift Testing, and enhanced APIs while maintaining backward compatibility.
β¨ New Features
π Async/Await Support
- Complete migration to modern Swift concurrency
- Enhanced WebView performance with async loading
- Improved error handling with structured concurrency
π― Enhanced APIs
- Type-safe background color options
- Media click handling capabilities
- Comprehensive error reporting system
- Dynamic type support for better accessibility
- Improved color management system
π§ͺ Swift Testing Framework
- Migrated from XCTest to Swift Testing
- 600+ comprehensive test cases
- Cross-platform testing coverage
π§ Improvements
- Performance: Optimized WebView rendering with async operations
- Type Safety: Enhanced type-safe APIs throughout the library
- Error Handling: More detailed and actionable error messages
- Accessibility: Better Dynamic Type support
π Migration Guide
Existing v2.x projects can upgrade with minimal changes:
- Update platform targets in your project settings
- Replace deprecated methods (warnings provided)
- Leverage new type-safe APIs for better performance
- Use new error handling methods for better debugging
π§βπ» For Developers
- All public APIs remain compatible with v2.x
- Deprecated methods include migration warnings
- Enhanced documentation and examples
π¦ Installation
dependencies: [
.package(url: "https://github.com/NuPlay/RichText.git", from: "3.0.0")
]Full Changelog: v2.7.0...v3.0.0