8.1.0
·
34 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
π Changelog
Added
- New
playOnce()method for fire-and-forget audio playback that automatically cleans up resources after completion - Comprehensive unit tests for
playOncemethod on iOS platform - Demo section in example app showcasing
playOncefunctionality - Support for optional notification metadata in
playOncethroughnotificationMetadataoption - Shared
PlayOnceOptionsandPlayOnceResulttypes across web implementation
Changed
- Audio assets created by
playOncenow use dedicated cleanup handlers for automatic resource management - Improved thread safety in
playOnceimplementation across platforms - Enhanced error handling and robustness in audio playback cleanup logic
Fixed
- Local
file://URLs are now properly deleted after playback while preserving remote streaming URLs - Corrected
deleteAfterPlayversion documentation from 7.12.0 to 7.11.0 in README - Added missing
delayparameter to asset playback inplayOncemethod - Resolved Android compilation errors in
playOnceimplementation - Fixed duplicate 'complete' event in
playOncecompletion handler - Added explicit HLS availability validation before creating HLS stream assets
- Improved cleanup for invalid public asset path formats
- Resolved Swift compilation error caused by duplicate code in
deleteFileIfSafe - Fixed callback ID reuse issue by inlining preload logic in iOS
playOnceimplementation - Various formatting and linting issues across the codebase
Security
- Enhanced file deletion safety checks to prevent accidental removal of non-local resources
- Added validation to ensure only local files are deleted after playback completion
π Full Changelog: 8.0.1...8.1.0