diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e037494..7d2e2d49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # ChangeLog +## 4.0.0 + +### Features + +- **iOS:** Add clear selected voice +- **Android:** Add clear selected voice +- **Android:** Upgrade to Kotlin 1.9.10 +- **Android:** Upgrade Gradle to 8.2.0 +- **Android:** Change compileSDK target to 34 + +### Fixes + +- **Android:** Fix TTS initialization (removed setInitHandler) +- **Web:** Fix pause +- **Package:** Fix describeEnum deprecation (requires Flutter SDK >=2.15.0) +- **Package:** Remove unnecessary foundation.dart include + ## 3.8.5 ### Fixes diff --git a/README.md b/README.md index 1a9d0f5e..ed86c411 100644 --- a/README.md +++ b/README.md @@ -234,13 +234,6 @@ flutterTts.setContinueHandler((msg) { }); }); -// Android only -flutterTts.setInitHandler(() { - setState(() { - ttsState = TtsState.initialized; - }); -}); - ``` ## Getting Started diff --git a/pubspec.yaml b/pubspec.yaml index 277554aa..adea7013 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_tts description: A flutter plugin for Text to Speech. This plugin is supported on iOS, macOS, Android, Web, & Windows. -version: 3.8.6 +version: 4.0.0 homepage: https://github.com/dlutton/flutter_tts dependencies: