diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c5759f..45bb0d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.7.0 + +- Improved error handling. Custom errors are thrown in `open()` and `preload()`. The `onNetworkStreamError` and `onDecodeError` callbacks now have a parameter for the error message. +- Updated `flutter_rust_bridge` to `1.82.1` +- Removed useless comments in `pubspec.yaml` + ## 1.6.6 - Specify explicit version of `flutter_rust_bridge` diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index a6ff37f..d1a5e85 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.10) # Download the binaries from GitHub. -set(Version "1.6.6") +set(Version "1.7.0") set(LibPath "${CMAKE_CURRENT_SOURCE_DIR}/src/main/jniLibs") set(ArchivePath "${CMAKE_CURRENT_SOURCE_DIR}/android.tar.gz") diff --git a/ios/simple_audio.podspec b/ios/simple_audio.podspec index 374951b..5cee52f 100644 --- a/ios/simple_audio.podspec +++ b/ios/simple_audio.podspec @@ -1,5 +1,5 @@ # Download the binaries from GitHub. -version = "1.6.6" +version = "1.7.0" lib_url = "https://github.com/erikas-taroza/simple_audio/releases/download/v#{version}/ios.zip" ` @@ -15,7 +15,7 @@ cd .. Pod::Spec.new do |s| s.name = 'simple_audio' - s.version = '1.6.6' + s.version = '1.7.0' s.summary = 'A simple cross-platform solution for playing audio in Flutter.' s.description = <<-DESC A simple cross-platform solution for playing audio in Flutter. diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index ea191fb..3f6423b 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -39,7 +39,7 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE flutter) target_link_libraries(${PLUGIN_NAME} PRIVATE PkgConfig::GTK) # Download the binary from GitHub. -set(Version "1.6.6") +set(Version "1.7.0") set(LibPath "${CMAKE_CURRENT_SOURCE_DIR}/linux.tar.gz") if(NOT EXISTS ${LibPath}) file(DOWNLOAD diff --git a/macos/simple_audio.podspec b/macos/simple_audio.podspec index 9a3f018..5b6322c 100644 --- a/macos/simple_audio.podspec +++ b/macos/simple_audio.podspec @@ -1,5 +1,5 @@ # Download the binary from GitHub. -version = "1.6.6" +version = "1.7.0" lib_url = "https://github.com/erikas-taroza/simple_audio/releases/download/v#{version}/macos.zip" ` @@ -15,7 +15,7 @@ cd .. Pod::Spec.new do |s| s.name = 'simple_audio' - s.version = '1.6.6' + s.version = '1.7.0' s.summary = 'A simple cross-platform solution for playing audio in Flutter.' s.description = <<-DESC A simple cross-platform solution for playing audio in Flutter. diff --git a/pubspec.yaml b/pubspec.yaml index ce78eb9..52eaa46 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: simple_audio description: A simple cross-platform solution for playing audio in Flutter. -version: 1.6.6 +version: 1.7.0 homepage: https://github.com/erikas-taroza/simple_audio repository: https://github.com/erikas-taroza/simple_audio topics: diff --git a/rust/Cargo.toml b/rust/Cargo.toml index e080c17..cba41dd 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "simple_audio" -version = "1.6.6" +version = "1.7.0" edition = "2021" [lib] diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index 68fa0ac..267e7a6 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -45,7 +45,7 @@ target_include_directories(${PLUGIN_NAME} INTERFACE target_link_libraries(${PLUGIN_NAME} PRIVATE flutter flutter_wrapper_plugin) # Download the binary from GitHub. -set(Version "1.6.6") +set(Version "1.7.0") set(LibPath "${CMAKE_CURRENT_SOURCE_DIR}/windows.tar.gz") if(NOT EXISTS ${LibPath}) file(DOWNLOAD