mirror of
https://github.com/samsonjs/AsyncMonitor.git
synced 2026-06-29 05:19:29 +00:00
2.9 KiB
2.9 KiB
Changelog
Unreleased
Removed
- Breaking: Dropped support for iOS 17 and macOS 14. Minimum platforms are now iOS 18.0 and macOS 15.0.
- Removed the iOS 17 compatibility variants of
AsyncMonitor.init,AsyncSequence.monitor, andNSObjectProtocol.monitorValuesalong with their@Sendableclosure requirements.
Changed
- The remaining
monitorandmonitorValuesAPIs no longer carry@availablegates and rely on the actor-isolation-aware overloads that previously required iOS 18 / macOS 15.
0.3.1 - 2025-05-25
Changed
- Updated documentation in Readme.md
0.3 - 2025-05-25
Added
- Support for iOS 17 and macOS 14 (expanded platform compatibility)
- Legacy initializers and monitor methods with Sendable requirements for iOS 17+ compatibility
- Backward compatibility layer for actor isolation features
Changed
- Enhanced AsyncMonitor class with dual initializer pattern for different iOS versions
- Improved AsyncSequence extensions with version-specific monitor methods
- Updated NSObject+AsyncKVO implementation for broader platform support
0.2.1 - 2025-04-26
Changed
- Breaking: Refactored KVO monitoring API
- Split
valuesmethod into separatevalues(for:)method that returns AsyncStream - Added
monitorValues(for:)convenience method that combines values observation with monitoring
- Split
- Replaced
TokenLockerwithValueLockerfor improved value management
Added
- Enhanced test coverage for NSObject+AsyncKVO functionality
- Additional test cases for async cancellable behavior
0.2 - 2025-04-26
Changed
- Version bump to 0.2
0.1.1 - 2025-04-25
Changed
- Updated minimum iOS platform requirement to 18.0
- Removed main actor restrictions from public API
Added
- Comprehensive documentation comments on public API
- Enhanced README with detailed usage examples and patterns
- Expanded test suite coverage
0.1 - 2025-04-25
Added
- Initial release of AsyncMonitor
- Core
AsyncMonitorclass for wrapping async sequence observation in manageable Tasks AsyncCancellableprotocol andAnyAsyncCancellabletype-eraser for uniform cancellation- AsyncSequence extensions with
.monitor()convenience methods - KVO integration via
NSObject+AsyncKVOextension - Support for context-aware monitoring to prevent reference cycles
- Swift Testing framework integration
- Comprehensive test suite
- Documentation and usage examples