From db0ea73a5752ec84def786780a637873b3a698b9 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Fri, 22 May 2026 23:09:38 +0100 Subject: [PATCH] chore: release v0.4.1-beta.1 --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..cc12c1a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog + +## 0.4.1-beta.1 + +### Features + +- **ios:** Expose explicit audio session controls (configuration options for audio session category, mode, and options) +- **setProperty** for real-time parameter updates on both iOS and Android +- **getBundlePath** and **getAudioInfo** accessors on iOS; **getBundlePath** and **setProperty** on Android bridge +- **Runtime events** — poll `processQueuedEvents` and emit runtime events to JavaScript on both platforms + +### Bug Fixes + +- **ios:** Configure `AVAudioSession` before engine init to prevent buffer mismatch +- **ios:** Avoid invalid audio session active check +- **ios:** Use raw value `0x4` for `allowBluetoothHFP` option +- **android:** Handle audio interruptions, config changes, and channel count safety +- **android:** Improve audio device recovery after focus loss +- **android:** Lock `runtimeMutex` in `loadAudioResource`/`unloadAudioResource` to prevent heap corruption +- **android:** Add mutex to prevent heap corruption from concurrent runtime access +- Defer audio engine restart on config change to prevent RPC deadlock + +## 0.4.0 + +- VFS audio resource loading and upgrade to Elementary v4 +- New architecture support + +## 0.3.0 + +- Initial public release + +## 0.2.0 - 0.2.2 + +- Early development releases \ No newline at end of file diff --git a/package.json b/package.json index 0f9d136..ce42557 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-elementary", - "version": "0.2.2", + "version": "0.4.1-beta.1", "description": "Use Elementary Audio in your React Native app", "main": "lib/commonjs/index", "module": "lib/module/index",