From c0c2f7b5928b6f4c7c8f01f0b3991d4b6f6c1080 Mon Sep 17 00:00:00 2001 From: Ryan Heise Date: Fri, 18 Dec 2020 02:56:25 +1100 Subject: [PATCH] just_audio 0.6.0 --- just_audio/CHANGELOG.md | 9 +++++++++ .../lib/generated_plugin_registrant.dart | 18 ------------------ just_audio/example/pubspec.lock | 16 ++++++++-------- just_audio/pubspec.lock | 14 +++++++------- just_audio/pubspec.yaml | 13 ++++--------- 5 files changed, 28 insertions(+), 42 deletions(-) delete mode 100644 just_audio/example/lib/generated_plugin_registrant.dart diff --git a/just_audio/CHANGELOG.md b/just_audio/CHANGELOG.md index a20ea3d..36081d9 100644 --- a/just_audio/CHANGELOG.md +++ b/just_audio/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.6.0 + +* Breaking change: Replace load by setAudioSource. +* Breaking change: Rename ProcessingState.none to idle. +* Support custom shuffle order. +* Fix bug dynamically adding to ConcatenatingAudioSource. +* Correctly return null for unknown duration on Android. +* Update dependency versions. + ## 0.5.7 * Fix podspec error in web package (@timilehinjegede). diff --git a/just_audio/example/lib/generated_plugin_registrant.dart b/just_audio/example/lib/generated_plugin_registrant.dart deleted file mode 100644 index 4b2e81e..0000000 --- a/just_audio/example/lib/generated_plugin_registrant.dart +++ /dev/null @@ -1,18 +0,0 @@ -// -// Generated file. Do not edit. -// - -// ignore: unused_import -import 'dart:ui'; - -import 'package:audio_session/audio_session_web.dart'; -import 'package:just_audio_web/just_audio_web.dart'; - -import 'package:flutter_web_plugins/flutter_web_plugins.dart'; - -// ignore: public_member_api_docs -void registerPlugins(PluginRegistry registry) { - AudioSessionWeb.registerWith(registry.registrarFor(AudioSessionWeb)); - JustAudioPlugin.registerWith(registry.registrarFor(JustAudioPlugin)); - registry.registerMessageHandler(); -} diff --git a/just_audio/example/pubspec.lock b/just_audio/example/pubspec.lock index ac4bb27..cb1b54c 100644 --- a/just_audio/example/pubspec.lock +++ b/just_audio/example/pubspec.lock @@ -120,21 +120,21 @@ packages: path: ".." relative: true source: path - version: "0.5.7" + version: "0.6.0" just_audio_platform_interface: dependency: transitive description: - path: "../../just_audio_platform_interface" - relative: true - source: path + name: just_audio_platform_interface + url: "https://pub.dartlang.org" + source: hosted version: "2.0.0" just_audio_web: dependency: transitive description: - path: "../../just_audio_web" - relative: true - source: path - version: "0.1.1" + name: just_audio_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0" matcher: dependency: transitive description: diff --git a/just_audio/pubspec.lock b/just_audio/pubspec.lock index 17f69b0..adda672 100644 --- a/just_audio/pubspec.lock +++ b/just_audio/pubspec.lock @@ -194,17 +194,17 @@ packages: just_audio_platform_interface: dependency: "direct main" description: - path: "../just_audio_platform_interface" - relative: true - source: path + name: just_audio_platform_interface + url: "https://pub.dartlang.org" + source: hosted version: "2.0.0" just_audio_web: dependency: "direct main" description: - path: "../just_audio_web" - relative: true - source: path - version: "0.1.1" + name: just_audio_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0" logging: dependency: transitive description: diff --git a/just_audio/pubspec.yaml b/just_audio/pubspec.yaml index fb033d6..284b23f 100644 --- a/just_audio/pubspec.yaml +++ b/just_audio/pubspec.yaml @@ -1,6 +1,6 @@ name: just_audio description: Flutter plugin to play audio from streams, files, assets, DASH/HLS streams and playlists. Works with audio_service to play audio in the background. -version: 0.5.7 +version: 0.6.0 homepage: https://github.com/ryanheise/just_audio/tree/master/just_audio environment: @@ -8,13 +8,8 @@ environment: flutter: ">=1.12.13+hotfix.5" dependencies: - # TODO: change this back when the new platform interface is published. - # just_audio_platform_interface: ^1.1.1 - just_audio_platform_interface: - path: ../just_audio_platform_interface - # just_audio_web: ^0.1.1 - just_audio_web: - path: ../just_audio_web + just_audio_platform_interface: ^2.0.0 + just_audio_web: ^0.2.0 audio_session: ^0.0.9 rxdart: ">= 0.24.1 < 0.26.0" path: ^1.6.4 @@ -28,7 +23,7 @@ dev_dependencies: flutter_test: sdk: flutter mockito: ^4.1.3 - plugin_platform_interface: ^1.0.2 + plugin_platform_interface: ^1.0.3 flutter: plugin: