just_audio 0.6.0

This commit is contained in:
Ryan Heise 2020-12-18 02:56:25 +11:00
parent 5bb6277af7
commit c0c2f7b592
5 changed files with 28 additions and 42 deletions

View File

@ -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 ## 0.5.7
* Fix podspec error in web package (@timilehinjegede). * Fix podspec error in web package (@timilehinjegede).

View File

@ -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();
}

View File

@ -120,21 +120,21 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "0.5.7" version: "0.6.0"
just_audio_platform_interface: just_audio_platform_interface:
dependency: transitive dependency: transitive
description: description:
path: "../../just_audio_platform_interface" name: just_audio_platform_interface
relative: true url: "https://pub.dartlang.org"
source: path source: hosted
version: "2.0.0" version: "2.0.0"
just_audio_web: just_audio_web:
dependency: transitive dependency: transitive
description: description:
path: "../../just_audio_web" name: just_audio_web
relative: true url: "https://pub.dartlang.org"
source: path source: hosted
version: "0.1.1" version: "0.2.0"
matcher: matcher:
dependency: transitive dependency: transitive
description: description:

View File

@ -194,17 +194,17 @@ packages:
just_audio_platform_interface: just_audio_platform_interface:
dependency: "direct main" dependency: "direct main"
description: description:
path: "../just_audio_platform_interface" name: just_audio_platform_interface
relative: true url: "https://pub.dartlang.org"
source: path source: hosted
version: "2.0.0" version: "2.0.0"
just_audio_web: just_audio_web:
dependency: "direct main" dependency: "direct main"
description: description:
path: "../just_audio_web" name: just_audio_web
relative: true url: "https://pub.dartlang.org"
source: path source: hosted
version: "0.1.1" version: "0.2.0"
logging: logging:
dependency: transitive dependency: transitive
description: description:

View File

@ -1,6 +1,6 @@
name: just_audio 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. 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 homepage: https://github.com/ryanheise/just_audio/tree/master/just_audio
environment: environment:
@ -8,13 +8,8 @@ environment:
flutter: ">=1.12.13+hotfix.5" flutter: ">=1.12.13+hotfix.5"
dependencies: dependencies:
# TODO: change this back when the new platform interface is published. just_audio_platform_interface: ^2.0.0
# just_audio_platform_interface: ^1.1.1 just_audio_web: ^0.2.0
just_audio_platform_interface:
path: ../just_audio_platform_interface
# just_audio_web: ^0.1.1
just_audio_web:
path: ../just_audio_web
audio_session: ^0.0.9 audio_session: ^0.0.9
rxdart: ">= 0.24.1 < 0.26.0" rxdart: ">= 0.24.1 < 0.26.0"
path: ^1.6.4 path: ^1.6.4
@ -28,7 +23,7 @@ dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
mockito: ^4.1.3 mockito: ^4.1.3
plugin_platform_interface: ^1.0.2 plugin_platform_interface: ^1.0.3
flutter: flutter:
plugin: plugin: