Skip to content

Releases: mhpdev-com/react-native-speech

Release 1.4.1

Choose a tag to compare

@Mhp23 Mhp23 released this 28 Apr 08:03

1.4.1 (2026-04-28)

  • chore: adding TTS_SERVICE to AndroidManifest.xml (25cf8c3)

Full Changelog: v1.4.0...v1.4.1

Release 1.4.0

Choose a tag to compare

@Mhp23 Mhp23 released this 08 Feb 18:30

1.4.0 (2026-02-08)

New

  1. Speech.speak supports per‑utterance options via Speech.speak(text, options) and returns an utterance ID for tracking.

Breaking Changes

  1. Speech.initializeSpeech.configure (also in native module interface and Jest mock).
  2. Event payload id type changed from number to string.
  3. speak and speakWithOptions now resolve with string (utterance ID) instead of void.
  4. speakWithOptions is deprecated in favor of speak(text, options) (still present, but return type changed).

Fixes

  1. Android queue handling now cleans up completed/error items and avoids stale indices.
  2. Android stop/resume flow uses current utterance ID reliably.
  3. iOS voice listing handles nil voices safely.
  4. iOS error handling guards against missing utterances and cleans up metadata.
  5. HighlightedText clamps ranges, tolerates unsorted highlights, handles empty inputs, and uses Text press handling reliably.

Performance

  1. Android speech queue uses a LinkedHashMap to reduce queue scanning and improve lookup predictability.
  2. HighlightedText avoids sorting when highlights are already ordered and reduces intermediate allocations.

Full Changelog: v1.3.2...v1.4.0

Release 1.4.0-beta.0

Release 1.4.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@Mhp23 Mhp23 released this 08 Feb 17:37

1.4.0-beta.0 (2026-02-08)

  • perf: correlate events per speak (utteranceId) (2568490)
  • perf: optimize HighlightedText segmentation and rendering (b27211c)
  • perf(ios): improving getAvailableVoices method (e409128)
  • feat: allowing the speak method to accept options and deprecating the speakWithOptions method (d4a19b5)
  • feat: rename initialize to configure across API (bf13f84)
  • feat: returning the utterance id after queueing to speak (56b06b9)
  • chore(example): updating info.plist and the ios script in package.json (1dc10a0)

Full Changelog: v1.3.2...v1.4.0-beta.0

Release 1.3.2

Choose a tag to compare

@Mhp23 Mhp23 released this 29 Jan 09:55

Full Changelog: v1.3.1...v1.3.2

This release contains under-the-hood Android reliability improvements and bug fixes only. It does not affect iOS and does not change the module's public API or behavior.

Addresses: #5

Fixed

  • Race condition in TTS engine initialization causing engine detection failures on slower Android devices
  • Added 5-second timeout for TTS initialization to prevent hanging
  • Implemented exponential backoff retry mechanism (up to 3 retries) for failed initializations
  • Improved thread safety with proper synchronization and volatile state flags
  • Enhanced error recovery

Improved

  • TTS initialization reliability on older/slower devices
  • State verification to ensure voices and engines are properly loaded
  • Resource cleanup between initialization attempts
  • Error handling throughout TTS operations

Release 1.3.1

Choose a tag to compare

@Mhp23 Mhp23 released this 21 Nov 18:47

1.3.1 (2025-11-21)

  • fix: the optional input language on the getAvailableVoices method (16c03ce) #4

Release 1.3.0

Choose a tag to compare

@Mhp23 Mhp23 released this 17 Oct 20:42

1.3.0 (2025-10-17)

Full Changelog: v1.2.1...v1.3.0

  • Added a new constant for max input length and the length validation before speech (on Android).
  • Updated the module name to avoid conflicts with other libraries.

Release 1.3.0-beta.0

Release 1.3.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@Mhp23 Mhp23 released this 17 Oct 20:03

Full Changelog: v1.2.1...v1.3.0-beta.0

Release 1.2.1

Choose a tag to compare

@Mhp23 Mhp23 released this 14 Sep 09:36

1.2.1 (2025-09-14)

  • test: updating the jest file (c18e9d8)

Full Changelog: v1.2.0...v1.2.1

Release 1.2.0

Choose a tag to compare

@Mhp23 Mhp23 released this 09 Sep 18:47

Changelog:

1.2.0 (2025-09-09)

  • Upgrading packages and React Native to v0.81.0 (aa9634c)
  • Adding the audio ducking for Android and iOS (b840a51)
  • Adding silentMode for iOS (3d5ab9e)
  • Adding getEngines and setEngine methods for Android (5a1f404)
  • Adding openVoiceDataInstaller for Android (0d0ce9b)
  • Fixing the global options overriding issue on getValidatedOptions (7b311f0)

Full Changelog: v1.1.5...v1.2.0

Release 1.1.5

Choose a tag to compare

@Mhp23 Mhp23 released this 11 Aug 07:01

1.1.5 (2025-08-11)