Skip to content

V3.0.0

Choose a tag to compare

@NuPlay NuPlay released this 24 Aug 12:15
· 2 commits to main since this release
3d64578

πŸš€ 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:

  1. Update platform targets in your project settings
  2. Replace deprecated methods (warnings provided)
  3. Leverage new type-safe APIs for better performance
  4. 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