From ec33b3994cd225c5cca06a098ba4f3e23770ce76 Mon Sep 17 00:00:00 2001 From: Robert Virkus Date: Sun, 13 Jun 2021 16:03:59 +0200 Subject: [PATCH] release v2.0.0 --- CHANGELOG.md | 7 +++++++ lib/enough_media.dart | 2 +- pubspec.yaml | 7 ++++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4c4fa7..6baeafc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.0.0] - 2021-06-13 +* Restructured package +* Use `chewie_audio` instead of `flutter_sound_lite` package for better iOS support +* Use `CupertinoContextMenu` on iOS and MacOS when there are context menu items registered on a `PreviewMediaWidget` +* Use `fallbackBuilder` instead of `fallbackWidget` for better performance in the `PreviewMediaWidget` and `InteractiveMediaWidget` +* Removed `WidgetRegistry` as the fallback builders are a better way to control fallback generation + ## [1.0.0] - 2021-03-10 * Support null-safefty * Use open source [native_pdf_view](https://pub.dev/packages/native_pdf_view) package instead of commercial package diff --git a/lib/enough_media.dart b/lib/enough_media.dart index 1c8518b..87eb535 100644 --- a/lib/enough_media.dart +++ b/lib/enough_media.dart @@ -8,7 +8,7 @@ export 'src/preview_media_widget.dart'; export 'src/preview/preview.dart'; export 'package:native_pdf_view/native_pdf_view.dart'; -export 'package:video_player/video_player.dart'; +// export 'package:video_player/video_player.dart'; export 'package:chewie/chewie.dart'; export 'package:chewie_audio/chewie_audio.dart' show ChewieAudio, ChewieAudioController; diff --git a/pubspec.yaml b/pubspec.yaml index 1d26294..47f4a1f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: enough_media description: Extensible collection of media viewers for preview and interactive experiences. -version: 1.0.0 +version: 2.0.0 homepage: https://github.com/enough-software/enough_media environment: @@ -12,9 +12,10 @@ dependencies: sdk: flutter native_pdf_view: ^4.0.1 photo_view: ^0.11.1 - chewie: ^1.0.0 + video_player: ^2.1.6 + chewie: ^1.2.2 chewie_audio: ^1.2.0 - path_provider: ^2.0.1 + path_provider: ^2.0.2 dev_dependencies: