From b4c1c8d6e49a6a5ae2300124808832fa74664c94 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Thu, 28 Jul 2022 14:46:34 +0200 Subject: [PATCH] chore(llc,core,ui,persistence,localizations): update changelog and pubspec (#1289) * chore(ui): update deps * chore(llc,core,ui,persistence,localizations): update changelog and pubspec --- packages/stream_chat/CHANGELOG.md | 15 +-------------- packages/stream_chat/lib/version.dart | 2 +- packages/stream_chat/pubspec.yaml | 2 +- packages/stream_chat_flutter/CHANGELOG.md | 10 +++++++++- .../linux/flutter/generated_plugin_registrant.cc | 4 ++++ .../example/linux/flutter/generated_plugins.cmake | 1 + .../flutter/generated_plugin_registrant.cc | 3 +++ .../windows/flutter/generated_plugins.cmake | 1 + packages/stream_chat_flutter/pubspec.yaml | 6 ++---- packages/stream_chat_flutter_core/CHANGELOG.md | 2 +- .../stream_chat_flutter_core/example/pubspec.yaml | 2 +- packages/stream_chat_flutter_core/pubspec.yaml | 5 ++--- packages/stream_chat_localizations/CHANGELOG.md | 4 +--- packages/stream_chat_localizations/pubspec.yaml | 4 ++-- packages/stream_chat_persistence/CHANGELOG.md | 2 +- .../stream_chat_persistence/example/pubspec.yaml | 4 ++-- packages/stream_chat_persistence/pubspec.yaml | 5 ++--- 17 files changed, 35 insertions(+), 37 deletions(-) diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index b065350e8..281a85a14 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -1,20 +1,7 @@ -## Upcoming +## 5.0.0-beta.2 - Included the changes from version [4.4.0](#440) and [4.4.1](#441). -🐞 Fixed - -- Fix WebSocket contemporary connection calls while disconnecting - -✅ Added - -- Export `StreamAttachmentFileUploader`. - -🔄 Changed - -- Removed `StreamChatClient.attachmentFileUploader`, - Use `StreamChatClient.attachmentFileUploaderProvider` instead. - ## 5.0.0-beta.1 - Minor fixes. diff --git a/packages/stream_chat/lib/version.dart b/packages/stream_chat/lib/version.dart index dfb640644..0929e1402 100644 --- a/packages/stream_chat/lib/version.dart +++ b/packages/stream_chat/lib/version.dart @@ -3,4 +3,4 @@ import 'package:stream_chat/src/client/client.dart'; /// Current package version /// Used in [StreamChatClient] to build the `x-stream-client` header // ignore: constant_identifier_names -const PACKAGE_VERSION = '5.0.0-beta.1'; +const PACKAGE_VERSION = '5.0.0-beta.2'; diff --git a/packages/stream_chat/pubspec.yaml b/packages/stream_chat/pubspec.yaml index 5e8b4f148..83999a068 100644 --- a/packages/stream_chat/pubspec.yaml +++ b/packages/stream_chat/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat homepage: https://getstream.io/ description: The official Dart client for Stream Chat, a service for building chat applications. -version: 5.0.0-beta.1 +version: 5.0.0-beta.2 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index d4f162426..44ac91712 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -6,10 +6,18 @@ - Fixed the unread message header in the message list view. - Show dialog after clicking on the camera button and permission is denied. +- Fix Jiffy initialization. +- Fix loading to unread position in `StreamMessageListView`. +- Minor fixes and improvements. 🔄 Changed -- [[#1125]](https://github.com/GetStream/stream-chat-flutter/issues/1125) `defaultUserImage`, `placeholderUserImage`, and `reactionIcons` have been refactored out of `StreamChatThemeData` and into the new `StreamChatConfigurationData` class. +- [[#1125]](https://github.com/GetStream/stream-chat-flutter/issues/1125) `defaultUserImage`, `placeholderUserImage`, `reactionIcons`, and `enforceUniqueReactions` have been refactored out of `StreamChatThemeData` and into the new `StreamChatConfigurationData` class. + +✅ Added + +- Added `StreamAutocomplete` widget for autocomplete triggers in `StreamMessageInput`. +- Added `StreamMessageInput.customAutocompleteTriggers` to allow users to define their custom triggers. ## 5.0.0-beta.1 diff --git a/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc b/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc index 45e103f4b..0ef32934a 100644 --- a/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc +++ b/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -26,6 +27,9 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) screen_retriever_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin"); screen_retriever_plugin_register_with_registrar(screen_retriever_registrar); + g_autoptr(FlPluginRegistrar) sqlite3_flutter_libs_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin"); + sqlite3_flutter_libs_plugin_register_with_registrar(sqlite3_flutter_libs_registrar); g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); diff --git a/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake b/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake index 797d09a4f..deceb06e3 100644 --- a/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake +++ b/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake @@ -7,6 +7,7 @@ list(APPEND FLUTTER_PLUGIN_LIST desktop_drop file_selector_linux screen_retriever + sqlite3_flutter_libs url_launcher_linux window_manager ) diff --git a/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc b/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc index 6f6ed57bf..c01a56aca 100644 --- a/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc +++ b/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -29,6 +30,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("FlutterNativeViewPlugin")); ScreenRetrieverPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("ScreenRetrieverPlugin")); + Sqlite3FlutterLibsPluginRegisterWithRegistrar( + registry->GetRegistrarForPlugin("Sqlite3FlutterLibsPlugin")); ThumblrWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("ThumblrWindowsPlugin")); UrlLauncherWindowsRegisterWithRegistrar( diff --git a/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake b/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake index 436f55adb..727838743 100644 --- a/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake +++ b/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake @@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST file_selector_windows flutter_native_view screen_retriever + sqlite3_flutter_libs thumblr_windows url_launcher_windows window_manager diff --git a/packages/stream_chat_flutter/pubspec.yaml b/packages/stream_chat_flutter/pubspec.yaml index 6a47df810..faa6c2134 100644 --- a/packages/stream_chat_flutter/pubspec.yaml +++ b/packages/stream_chat_flutter/pubspec.yaml @@ -11,7 +11,6 @@ environment: dependencies: cached_network_image: ^3.0.0 - characters: ^1.1.0 chewie: ^1.3.4 collection: ^1.15.0 contextmenu: ^3.0.0 @@ -21,13 +20,12 @@ dependencies: dio: ^4.0.6 ezanimation: ^0.6.0 file_picker: ^4.1.3 - file_selector: ^0.8.4 + file_selector: ^0.9.0 file_selector_linux: ^0.0.2+1 flutter: sdk: flutter flutter_markdown: ^0.6.1 flutter_portal: ^1.0.0 - flutter_slidable: ^1.2.0 flutter_svg: ^1.0.1 http: ^0.13.4 http_parser: ^4.0.0 @@ -42,7 +40,7 @@ dependencies: rxdart: ^0.27.0 share_plus: ^4.0.1 shimmer: ^2.0.0 - stream_chat_flutter_core: ^5.0.0-beta.1 + stream_chat_flutter_core: ^5.0.0-beta.2 substring_highlight: ^1.0.26 synchronized: ^3.0.0 thumblr: ^0.0.4 diff --git a/packages/stream_chat_flutter_core/CHANGELOG.md b/packages/stream_chat_flutter_core/CHANGELOG.md index 2a1c53920..6620daa5c 100644 --- a/packages/stream_chat_flutter_core/CHANGELOG.md +++ b/packages/stream_chat_flutter_core/CHANGELOG.md @@ -1,4 +1,4 @@ -## Upcoming +## 5.0.0-beta.2 - Included the changes from version [4.4.0](#440) and [4.4.1](#441). diff --git a/packages/stream_chat_flutter_core/example/pubspec.yaml b/packages/stream_chat_flutter_core/example/pubspec.yaml index ce91a8f4a..6b822c4ee 100644 --- a/packages/stream_chat_flutter_core/example/pubspec.yaml +++ b/packages/stream_chat_flutter_core/example/pubspec.yaml @@ -26,7 +26,7 @@ dependencies: cupertino_icons: ^1.0.3 flutter: sdk: flutter - stream_chat_flutter_core: ^4.3.0 + stream_chat_flutter_core: ^5.0.0-beta.2 dev_dependencies: flutter_test: sdk: flutter diff --git a/packages/stream_chat_flutter_core/pubspec.yaml b/packages/stream_chat_flutter_core/pubspec.yaml index c88ae505a..5ad0e71f5 100644 --- a/packages/stream_chat_flutter_core/pubspec.yaml +++ b/packages/stream_chat_flutter_core/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_flutter_core homepage: https://github.com/GetStream/stream-chat-flutter description: Stream Chat official Flutter SDK Core. Build your own chat experience using Dart and Flutter. -version: 5.0.0-beta.1 +version: 5.0.0-beta.2 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues @@ -17,8 +17,7 @@ dependencies: freezed_annotation: ^2.0.3 meta: ^1.3.0 rxdart: ^0.27.0 - stream_chat: ^5.0.0-beta.1 - + stream_chat: ^5.0.0-beta.2 dev_dependencies: build_runner: ^2.0.1 dart_code_metrics: ^4.4.0 diff --git a/packages/stream_chat_localizations/CHANGELOG.md b/packages/stream_chat_localizations/CHANGELOG.md index 00dec652c..8e94a6b74 100644 --- a/packages/stream_chat_localizations/CHANGELOG.md +++ b/packages/stream_chat_localizations/CHANGELOG.md @@ -1,9 +1,7 @@ -## Upcoming +## 4.0.0-beta.2 * Included the changes from version [3.3.0](#330). -* Added support for [Norwegian](https://github.com/GetStream/stream-chat-flutter/blob/master/packages/stream_chat_localizations/lib/src/stream_chat_localizations_no.dart) locale. - ## 4.0.0-beta.1 ✅ Added diff --git a/packages/stream_chat_localizations/pubspec.yaml b/packages/stream_chat_localizations/pubspec.yaml index 3c8a86be8..cad9679aa 100644 --- a/packages/stream_chat_localizations/pubspec.yaml +++ b/packages/stream_chat_localizations/pubspec.yaml @@ -1,6 +1,6 @@ name: stream_chat_localizations description: The Official localizations for Stream Chat Flutter, a service for building chat applications -version: 4.0.0-beta.1 +version: 4.0.0-beta.2 homepage: https://github.com/GetStream/stream-chat-flutter repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues @@ -14,7 +14,7 @@ dependencies: sdk: flutter flutter_localizations: sdk: flutter - stream_chat_flutter: ^4.0.0-beta.1 + stream_chat_flutter: ^5.0.0-beta.1 dev_dependencies: dart_code_metrics: ^4.16.0 flutter_test: diff --git a/packages/stream_chat_persistence/CHANGELOG.md b/packages/stream_chat_persistence/CHANGELOG.md index 0f4212d7b..9df732c90 100644 --- a/packages/stream_chat_persistence/CHANGELOG.md +++ b/packages/stream_chat_persistence/CHANGELOG.md @@ -1,4 +1,4 @@ -## Upcoming +## 5.0.0-beta.2 - Included the changes from version [4.3.0](#430) and [4.4.0](#440). diff --git a/packages/stream_chat_persistence/example/pubspec.yaml b/packages/stream_chat_persistence/example/pubspec.yaml index 268305344..2cc5d0344 100644 --- a/packages/stream_chat_persistence/example/pubspec.yaml +++ b/packages/stream_chat_persistence/example/pubspec.yaml @@ -11,8 +11,8 @@ dependencies: cupertino_icons: ^1.0.3 flutter: sdk: flutter - stream_chat: ^4.3.0 - stream_chat_persistence: ^4.2.0 + stream_chat: ^5.0.0-beta.2 + stream_chat_persistence: ^5.0.0-beta.2 dev_dependencies: flutter_test: sdk: flutter diff --git a/packages/stream_chat_persistence/pubspec.yaml b/packages/stream_chat_persistence/pubspec.yaml index e6e8d38b1..78fa72f86 100644 --- a/packages/stream_chat_persistence/pubspec.yaml +++ b/packages/stream_chat_persistence/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_persistence homepage: https://github.com/GetStream/stream-chat-flutter description: Official Stream Chat Persistence library. Build your own chat experience using Dart and Flutter. -version: 5.0.0-beta.1 +version: 5.0.0-beta.2 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues @@ -19,8 +19,7 @@ dependencies: path: ^1.8.0 path_provider: ^2.0.1 sqlite3_flutter_libs: ^0.5.0 - stream_chat: ^5.0.0-beta.1 - + stream_chat: ^5.0.0-beta.2 dev_dependencies: build_runner: ^2.0.1 dart_code_metrics: ^4.4.0