Skip to content

8.1.0

Choose a tag to compare

@riderx riderx released this 11 Dec 01:35
· 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 playOnce method on iOS platform
  • Demo section in example app showcasing playOnce functionality
  • Support for optional notification metadata in playOnce through notificationMetadata option
  • Shared PlayOnceOptions and PlayOnceResult types across web implementation

Changed

  • Audio assets created by playOnce now use dedicated cleanup handlers for automatic resource management
  • Improved thread safety in playOnce implementation 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 deleteAfterPlay version documentation from 7.12.0 to 7.11.0 in README
  • Added missing delay parameter to asset playback in playOnce method
  • Resolved Android compilation errors in playOnce implementation
  • Fixed duplicate 'complete' event in playOnce completion 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 playOnce implementation
  • 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