From a41074d2716d93733d3a66f0c85be9d3310d0b47 Mon Sep 17 00:00:00 2001 From: zarzet Date: Fri, 24 Jul 2026 20:37:07 +0700 Subject: [PATCH] chore(deps): update Flutter, Go, and native dependencies --- .fvmrc | 2 +- android/app/build.gradle.kts | 5 ++- android/settings.gradle.kts | 4 +-- go_backend/go.mod | 6 ++-- go_backend/go.sum | 12 ++++---- ios/Podfile | 3 -- pubspec.lock | 60 ++++++++++++++++++------------------ pubspec.yaml | 30 +++++++++--------- 8 files changed, 61 insertions(+), 61 deletions(-) diff --git a/.fvmrc b/.fvmrc index d205bbc8..e4be7182 100644 --- a/.fvmrc +++ b/.fvmrc @@ -1,3 +1,3 @@ { - "flutter": "3.41.5" + "flutter": "3.44.8" } diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index a04bf399..be55ed7d 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -126,7 +126,10 @@ dependencies { implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.11.0") implementation("androidx.documentfile:documentfile:1.1.0") implementation("androidx.activity:activity-ktx:1.13.0") - implementation("com.antonkarpenko:ffmpeg-kit-full:2.1.0") + + // NativeDownloadFinalizer imports FFmpegKit APIs directly. The Flutter + // plugin owns the runtime AAR; compileOnly avoids packaging it twice here. + compileOnly("com.antonkarpenko:ffmpeg-kit-full:2.2.1") testImplementation("junit:junit:4.13.2") } diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts index b6f1a606..22e0aabb 100644 --- a/android/settings.gradle.kts +++ b/android/settings.gradle.kts @@ -19,8 +19,8 @@ pluginManagement { plugins { id("dev.flutter.flutter-plugin-loader") version "1.0.0" - id("com.android.application") version "9.2.1" apply false - id("org.jetbrains.kotlin.android") version "2.4.0" apply false + id("com.android.application") version "9.3.1" apply false + id("org.jetbrains.kotlin.android") version "2.4.10" apply false } include(":app") diff --git a/go_backend/go.mod b/go_backend/go.mod index cf91731c..86f2ff7f 100644 --- a/go_backend/go.mod +++ b/go_backend/go.mod @@ -6,7 +6,7 @@ module github.com/zarz/spotiflac_android/go_backend go 1.26.5 require ( - github.com/dop251/goja v0.0.0-20260701091749-b07b74453ea9 + github.com/dop251/goja v0.0.0-20260723142020-b4aef50fa347 github.com/go-flac/flacpicture/v2 v2.0.2 github.com/go-flac/flacvorbis/v2 v2.0.2 github.com/go-flac/go-flac/v2 v2.0.4 @@ -19,10 +19,10 @@ require ( require ( github.com/andybalholm/brotli v1.2.2 // indirect - github.com/dlclark/regexp2/v2 v2.2.2 // indirect + github.com/dlclark/regexp2/v2 v2.5.2 // indirect github.com/go-sourcemap/sourcemap v2.1.4+incompatible // indirect github.com/google/pprof v0.0.0-20260709232956-b9395ee17fa0 // indirect - github.com/klauspost/compress v1.19.0 // indirect + github.com/klauspost/compress v1.19.1 // indirect golang.org/x/mod v0.38.0 // indirect golang.org/x/sync v0.22.0 // indirect golang.org/x/sys v0.47.0 // indirect diff --git a/go_backend/go.sum b/go_backend/go.sum index deff5512..5d9e273b 100644 --- a/go_backend/go.sum +++ b/go_backend/go.sum @@ -4,10 +4,10 @@ github.com/andybalholm/brotli v1.2.2 h1:HzTuoo2ErYQqf5qvcJInB8uvqSVxRttzkFexPWtn github.com/andybalholm/brotli v1.2.2/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dlclark/regexp2/v2 v2.2.2 h1:MYWvNYw8okuqNhwTYO587EZMiDruVa2vhV6fsGpfya0= -github.com/dlclark/regexp2/v2 v2.2.2/go.mod h1:avUrQvPaLz2DrFNHJF0taWAFFX2C1GMSSoeiqFjcBmU= -github.com/dop251/goja v0.0.0-20260701091749-b07b74453ea9 h1:q33zakIx+wEp1Ko5NpDyDBICuXL4JeHUaHbhPowcMEk= -github.com/dop251/goja v0.0.0-20260701091749-b07b74453ea9/go.mod h1:Sc+QOu1WruvaaeT/cxFez/pXHpI9ZDjg/E8QNfSVveI= +github.com/dlclark/regexp2/v2 v2.5.2 h1:HAsucWRhsqcDzl6Ua9aR8JwYOTzrZyPrF0/FNxJVAI0= +github.com/dlclark/regexp2/v2 v2.5.2/go.mod h1:avUrQvPaLz2DrFNHJF0taWAFFX2C1GMSSoeiqFjcBmU= +github.com/dop251/goja v0.0.0-20260723142020-b4aef50fa347 h1:RZr+96+PKQjn444QL1K9MtncwJ/PwfE+3TJLCYJL8es= +github.com/dop251/goja v0.0.0-20260723142020-b4aef50fa347/go.mod h1:LiIEzozrcvNXorsG/3+ypGqdTUAqZryhzSsqi0oU/Qg= github.com/go-flac/flacpicture/v2 v2.0.2 h1:HCaJIVZpxnpdWs6G3ECEVRelzqS5xOi1Ba1AGmtXbzE= github.com/go-flac/flacpicture/v2 v2.0.2/go.mod h1:DMZBPWPAmdLqNhqFSy5ZBs9wyBzOekXutGfP7/TFCuo= github.com/go-flac/flacvorbis/v2 v2.0.2 h1:xCL3OhxrxWkHrbWUBvGNe+6FQ03yLmBbz0v5z4V2PoQ= @@ -22,8 +22,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20260709232956-b9395ee17fa0 h1:du0WGc8xSKq/++e0cglxhS/mXVqsR7+c7jLEi5Vqduw= github.com/google/pprof v0.0.0-20260709232956-b9395ee17fa0/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= -github.com/klauspost/compress v1.19.0 h1:sXLILfc9jV2QYWkzFOPWStmcUVH2RHEB1JCdY2oVvCQ= -github.com/klauspost/compress v1.19.0/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= +github.com/klauspost/compress v1.19.1 h1:VsB4HPswih7mmZ8WleSFQ75c/Ui1M4trX5oAsJnhSlk= +github.com/klauspost/compress v1.19.1/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/refraction-networking/utls v1.8.2 h1:j4Q1gJj0xngdeH+Ox/qND11aEfhpgoEvV+S9iJ2IdQo= diff --git a/ios/Podfile b/ios/Podfile index 66a02c53..7f7683c3 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -63,9 +63,6 @@ target 'Runner' do use_modular_headers! flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - - # FFmpeg for audio conversion (full version with all codecs) - # Note: ffmpeg-kit-flutter-new already includes this, but we specify for clarity end target 'RunnerTests' do diff --git a/pubspec.lock b/pubspec.lock index 9009992c..2de06c52 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -293,10 +293,10 @@ packages: dependency: "direct main" description: name: connectivity_plus - sha256: cad0e811a289ea2a941119dc483c204ec1684cbb9a8fc7351fe4a230b8313160 + sha256: "762c99f890ca8bf87f7337236f99edd42793843bc6c3631da294a76653a54bd0" url: "https://pub.dev" source: hosted - version: "7.2.0" + version: "7.3.1" connectivity_plus_platform_interface: dependency: transitive description: @@ -413,10 +413,10 @@ packages: dependency: "direct main" description: name: ffmpeg_kit_flutter_new_full - sha256: a766c6a9b9f72b4836abcca1840871058e1abd125f17c6ce32ce3f3745d896a7 + sha256: "93e1b85f062516913f2d0fed325ca09d30426646a033ba186f76464ec1160c09" url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.4.2" ffmpeg_kit_flutter_platform_interface: dependency: transitive description: @@ -458,10 +458,10 @@ packages: dependency: "direct main" description: name: flutter_cache_manager - sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386" + sha256: "1de7849213b4c73c85aca7e0ac687a9a5d82ccdb594366b9dcc26cb6a2189cd2" url: "https://pub.dev" source: hosted - version: "3.4.1" + version: "3.4.2" flutter_launcher_icons: dependency: "direct dev" description: @@ -482,10 +482,10 @@ packages: dependency: "direct main" description: name: flutter_local_notifications - sha256: a0d7141f14cabcee42967470a858dfc99dd6cfb70d3cab404bacfcafa9e84e70 + sha256: "40c6a69189a622bda89ddcf50a139f4ba0f0eb9c0fef6718845b1f8b95452ed6" url: "https://pub.dev" source: hosted - version: "22.0.1" + version: "22.1.0" flutter_local_notifications_linux: dependency: transitive description: @@ -498,10 +498,10 @@ packages: dependency: transitive description: name: flutter_local_notifications_platform_interface - sha256: ff0013eae795e8dc8fad4a8992a209e64d3ba2fbd8bf5e43c36bf448f95bd814 + sha256: "4dfbae10debab9ac975d8b01943fed94c0c19dad43f825964b29f3c3f9a8a852" url: "https://pub.dev" source: hosted - version: "12.0.0" + version: "12.0.1" flutter_local_notifications_web: dependency: transitive description: @@ -567,10 +567,10 @@ packages: dependency: transitive description: name: flutter_secure_storage_platform_interface - sha256: "8ceea1223bee3c6ac1a22dabd8feefc550e4729b3675de4b5900f55afcb435d6" + sha256: "06686df417f34fe9f963ed217b7fdce250e2f637ddd6c374d7eb054549770633" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.0.2" flutter_secure_storage_web: dependency: transitive description: @@ -1009,10 +1009,10 @@ packages: dependency: transitive description: name: posix - sha256: "185ef7606574f789b40f289c233efa52e96dead518aed988e040a10737febb07" + sha256: bc1bad54ad2b735816e31f8d4600cfde6c7839975085ddfbca48b6c9f7c4044e url: "https://pub.dev" source: hosted - version: "6.5.0" + version: "6.5.2" pub_semver: dependency: transitive description: @@ -1081,18 +1081,18 @@ packages: dependency: "direct main" description: name: share_plus - sha256: "9eee8283462d91a7a1c8bdb67d08874abd75a2f8fae3bc0ca033035e375fb3d8" + sha256: "34f00f9becd2743c1fb05363d624f9f70d37f7ccdcdda47450bc0b8c9d327b8c" url: "https://pub.dev" source: hosted - version: "13.2.0" + version: "13.3.0" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: "7f7ae28cf400d13f811e297ff37742dba83b79e0a6f5dce14eec0248274e6ce9" + sha256: "365ef7379fc22507256adda3385152942ffce08935452bc972c2e52a0bebae41" url: "https://pub.dev" source: hosted - version: "7.1.0" + version: "7.2.0" shared_preferences: dependency: "direct main" description: @@ -1105,10 +1105,10 @@ packages: dependency: transitive description: name: shared_preferences_android - sha256: "93ae5884a9df5d3bb696825bceb3a17590754548b5d740eba51500afc8d088f5" + sha256: "0634e64bd719f89c012f392938e173521f535d3ecaf66558fa94a056d22b5cc7" url: "https://pub.dev" source: hosted - version: "2.4.26" + version: "2.4.27" shared_preferences_foundation: dependency: transitive description: @@ -1190,10 +1190,10 @@ packages: dependency: transitive description: name: source_gen - sha256: ec37cc0e6694374cbef59ed79685572c870a54ede6fa30a3e420feb3adffea02 + sha256: a603f1fb984a7391ae5978d1b92bfaaa08b350dca5c825256f925818f7943bf5 url: "https://pub.dev" source: hosted - version: "4.2.3" + version: "4.2.4" source_helper: dependency: transitive description: @@ -1310,10 +1310,10 @@ packages: dependency: transitive description: name: synchronized - sha256: "93b153dcb6a26dcddee6ca087dd634b53e38c10b5aa163e8e49501a776456153" + sha256: "61894a1956de6b4fc1aefd0892e109514a1a706cbece3ac59decd90ff5a7a423" url: "https://pub.dev" source: hosted - version: "3.4.1" + version: "3.4.1+1" term_glyph: dependency: transitive description: @@ -1430,10 +1430,10 @@ packages: dependency: transitive description: name: uuid - sha256: "1fef9e8e11e2991bb773070d4656b7bd5d850967a2456cfc83cf47925ba79489" + sha256: "9b129329f58692f6e6578329498a8fe9fbe98f090beb764ffbb8ee2eadd01dcd" url: "https://pub.dev" source: hosted - version: "4.5.3" + version: "4.6.0" vector_math: dependency: transitive description: @@ -1446,18 +1446,18 @@ packages: dependency: "direct main" description: name: video_player - sha256: "48a7bdaa38a3d50ec10c78627abdbfad863fdf6f0d6e08c7c3c040cfd80ae36f" + sha256: "20ef311160e2ced020a62f38e4cc399a1bf289e722fc5fe37c9d7b18e44c9e8d" url: "https://pub.dev" source: hosted - version: "2.11.1" + version: "2.13.0" video_player_android: dependency: transitive description: name: video_player_android - sha256: "5121de08444d00363efdda630a69ad4d27a208a9f7586482d4909a44a1cdbc63" + sha256: e229676f8fade3e0124482495aaa2b548872cc4018b6268adfca4868be16aa74 url: "https://pub.dev" source: hosted - version: "2.11.0" + version: "2.12.0" video_player_avfoundation: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 7f02e034..240a050c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,22 +22,22 @@ dependencies: go_router: ^17.3.0 # Storage & Persistence - shared_preferences: ^2.5.3 + shared_preferences: ^2.5.5 flutter_secure_storage: ^10.3.1 path_provider: ^2.1.6 - path: ^1.9.0 + path: ^1.9.1 sqflite: ^2.4.3 # HTTP & Network http: ^1.6.0 - connectivity_plus: ^7.2.0 + connectivity_plus: ^7.3.1 # UI Components cached_network_image: ^3.4.1 - flutter_cache_manager: ^3.4.1 + flutter_cache_manager: ^3.4.2 # Material Expressive 3 / Dynamic Color - dynamic_color: ^1.7.0 + dynamic_color: ^1.8.1 # Permissions permission_handler: ^12.0.3 @@ -49,34 +49,34 @@ dependencies: json_annotation: ^4.12.0 # Utils - url_launcher: ^6.3.1 + url_launcher: ^6.3.2 device_info_plus: ^13.2.0 - share_plus: ^13.2.0 + share_plus: ^13.3.0 receive_sharing_intent: ^1.9.0 - logger: ^2.5.0 + logger: ^2.7.0 # FFmpeg for audio conversion - ffmpeg_kit_flutter_new_full: ^2.1.0 + ffmpeg_kit_flutter_new_full: ^2.4.2 open_filex: ^4.7.0 - video_player: ^2.8.0 + video_player: ^2.13.0 xml: ^7.0.1 # Notifications - flutter_local_notifications: ^22.0.1 + flutter_local_notifications: ^22.1.0 audioplayers: ^6.8.1 - audio_service: ^0.18.18 - audio_session: ^0.2.3 + audio_service: ^0.18.19 + audio_session: ^0.2.4 dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^6.0.0 - build_runner: ^2.15.0 + build_runner: ^2.15.1 riverpod_lint: ^3.1.4 json_serializable: ^6.14.0 - flutter_launcher_icons: ^0.14.3 + flutter_launcher_icons: ^0.14.4 flutter_launcher_icons: android: true