Skip to content

Commit

Permalink
Merge pull request #1223 from GetStream/update-changelogs
Browse files Browse the repository at this point in the history
chore: Update changelogs & versions
  • Loading branch information
imtoori authored Jun 27, 2022
2 parents f49f055 + 2f9a1b4 commit eb54a4c
Show file tree
Hide file tree
Showing 13 changed files with 101 additions and 15 deletions.
5 changes: 5 additions & 0 deletions packages/stream_chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 5.0.0-beta.1

- Minor fixes.
- Removed deprecated code.

## 4.3.0

🐞 Fixed
Expand Down
1 change: 1 addition & 0 deletions packages/stream_chat/lib/stream_chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export 'src/core/models/own_user.dart';
export 'src/core/models/reaction.dart';
export 'src/core/models/read.dart';
export 'src/core/models/user.dart';
export 'src/core/platform_detector/platform_detector.dart';
export 'src/core/util/extension.dart';
export 'src/db/chat_persistence_client.dart';
export 'src/event_type.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/stream_chat/lib/version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '4.3.0';
const PACKAGE_VERSION = '5.0.0-beta.1';
2 changes: 1 addition & 1 deletion packages/stream_chat/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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: 4.3.0
version: 5.0.0-beta.1
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues

Expand Down
58 changes: 58 additions & 0 deletions packages/stream_chat_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
## 5.0.0-beta.1

- 🎉 Initial support for desktop 🖥️ and web 🧑‍💻
- Right-click context menus for messages and full-screen attachments
- Upload and download attachments using the native desktop file system
- Press the "enter" key to send a message
- If you are quoting a message and have not yet typed any text, you can press the "esc" key to remove the
quoted message.
- A dedicated "X" button for removing a quoted message with your mouse
- Drag and drop attachment files to `StreamMessageInput`
- New `StreamMessageInput.draggingBorder` property to customize the border color of the message input when
dropping a file.
- Message reactions bubbles
- Hovering over a message reaction will show the users that have reacted to the message
- Desktop attachment sharing UI
- Selectable message text
- Gallery navigation controls with keyboard shortcuts (left and right arrow keys)
- Appropriate message sizing for large screens
- Right-click context menu for `StreamChannelListView` items
- `StreamChannelListView` items not swipeable on desktop & web
- Video support for Windows & Linux through `dart_vlc`
- Video support for macOS through `video_player_macos`
- Replace bottom sheets with dialogs where appropriate
- Other Additions ✅
- `onQuotedMessageCleared` to `StreamMessageInput`
- `selected` and `selectedTileColor` to `StreamChannelListTile`
- `AttachmentUploadStateBuilder.inProgressBuilder` to `AttachmentUploadStateBuilder`
- `AttachmentUploadStateBuilder.successBuilder` to `AttachmentUploadStateBuilder`
- `AttachmentUploadStateBuilder.failedBuilder` to `AttachmentUploadStateBuilder`
- Translations:
- `couldNotReadBytesFromFileError`
- `downloadLabel`
- `toggleMuteUnmuteAction`
- `toggleMuteUnmuteGroupQuestion`
- `toggleMuteUnmuteGroupText`
- `toggleMuteUnmuteUserQuestion`
- `toggleMuteUnmuteUserText`
- Breaking changes 🚧
- Renamed `showConfirmationDialog` to `showConfirmationBottomSheet`
- Renamed `showInfoDialog` to `showInfoBottomSheet`
- `wrapAttachmentWidget` has been converted to a class
- `StreamImageAttachment.size` has been converted from type `Size` to type `BoxConstraints`
- `StreamFileAttachment.size` has been converted from type `Size` to type `BoxConstraints`
- `StreamGiphyAttachment.size` has been converted from type `Size` to type `BoxConstraints`
- `StreamVideoAttachment.size` has been converted from type `Size` to type `BoxConstraints`
- `StreamVideoThumbnailImage.width` and `StreamVideoThumbnailImage.height` have been removed in favor of
`StreamVideoThumbnailImage.constraints`
- Dependency updates ⬆️
- `chewie: ^1.3.0` -> `chewie: ^1.3.4`
- `path_provider: ^2.0.1` -> `path_provider: ^2.0.9`
- `video_player: ^2.1.0` -> `video_player: ^2.4.5`
- Code Improvements 🔧
- Extracted many widgets to classes to improve readability, maintainability, and devtools usage.
- Organized internal directory structure
- Extracted typedefs to their own file
- Updated dartdoc documentation
- Various code readability improvements

## 4.3.0

- Updated `photo_view` dependency to [`0.14.0`](https://pub.dev/packages/photo_view/changelog).
Expand Down
6 changes: 3 additions & 3 deletions packages/stream_chat_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// ignore_for_file: public_member_api_docs

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:responsive_builder/responsive_builder.dart';
import 'package:stream_chat_flutter/stream_chat_flutter.dart';
Expand Down Expand Up @@ -263,7 +261,9 @@ class _ChannelPageState extends State<ChannelPage> {
Expanded(
child: StreamMessageListView(
onMessageSwiped:
(Platform.isAndroid || Platform.isIOS) ? reply : null,
(CurrentPlatform.isAndroid || CurrentPlatform.isIos)
? reply
: null,
threadBuilder: (context, parent) {
return ThreadPage(
parent: parent!,
Expand Down
5 changes: 3 additions & 2 deletions packages/stream_chat_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: stream_chat_flutter
homepage: https://github.com/GetStream/stream-chat-flutter
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
version: 4.3.0
version: 5.0.0-beta.1
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues

Expand Down Expand Up @@ -29,6 +29,7 @@ dependencies:
flutter_portal: ^1.0.0
flutter_slidable: ^1.2.0
flutter_svg: ^1.0.1
http: ^0.13.4
http_parser: ^4.0.0
image_gallery_saver: ^1.7.0
image_picker: ^0.8.2
Expand All @@ -41,7 +42,7 @@ dependencies:
rxdart: ^0.27.0
share_plus: ^4.0.1
shimmer: ^2.0.0
stream_chat_flutter_core: ^4.3.0
stream_chat_flutter_core: ^5.0.0-beta.1
substring_highlight: ^1.0.26
synchronized: ^3.0.0
thumblr: ^0.0.4
Expand Down
5 changes: 5 additions & 0 deletions packages/stream_chat_flutter_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 5.0.0-beta.1

- Updated `stream_chat` dependency to [`5.0.0-beta.1`](https://pub.dev/packages/stream_chat/changelog).
- Removed deprecated code.

## 4.3.0

- Updated `stream_chat` dependency to [`4.3.0`](https://pub.dev/packages/stream_chat/changelog).
Expand Down
6 changes: 3 additions & 3 deletions packages/stream_chat_flutter_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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: 4.3.0
version: 5.0.0-beta.1
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues

Expand All @@ -17,8 +17,8 @@ dependencies:
freezed_annotation: ^2.0.3
meta: ^1.3.0
rxdart: ^0.27.0
stream_chat: ^4.3.0
stream_chat: ^5.0.0-beta.1

dev_dependencies:
build_runner: ^2.0.1
dart_code_metrics: ^4.4.0
Expand Down
12 changes: 12 additions & 0 deletions packages/stream_chat_localizations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 4.0.0-beta.1

✅ Added

* `couldNotReadBytesFromFileError` with translations
* `downloadLabel` with translations
* `toggleMuteUnmuteAction` with translations
* `toggleMuteUnmuteGroupQuestion` with translations
* `toggleMuteUnmuteGroupText` with translations
* `toggleMuteUnmuteUserQuestion` with translations
* `toggleMuteUnmuteUserText` with translations

## 3.2.0

✅ Added
Expand Down
6 changes: 3 additions & 3 deletions packages/stream_chat_localizations/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stream_chat_localizations
description: The Official localizations for Stream Chat Flutter, a service for building chat applications
version: 3.2.0
version: 4.0.0-beta.1
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
Expand All @@ -14,8 +14,8 @@ dependencies:
sdk: flutter
flutter_localizations:
sdk: flutter
stream_chat_flutter: ^4.3.0
stream_chat_flutter: ^4.0.0-beta.1
dev_dependencies:
dart_code_metrics: ^4.4.0
dart_code_metrics: ^4.16.0
flutter_test:
sdk: flutter
4 changes: 4 additions & 0 deletions packages/stream_chat_persistence/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 5.0.0-beta.1

- Updated `stream_chat` dependency to [`5.0.0-beta.1`](https://pub.dev/packages/stream_chat/changelog).

## 4.2.0

- Added support for `Channel.ownCapabilities`
Expand Down
4 changes: 2 additions & 2 deletions packages/stream_chat_persistence/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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: 4.2.0
version: 5.0.0-beta.1
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues

Expand All @@ -19,7 +19,7 @@ dependencies:
path: ^1.8.0
path_provider: ^2.0.1
sqlite3_flutter_libs: ^0.5.0
stream_chat: ^4.3.0
stream_chat: ^5.0.0-beta.1

dev_dependencies:
build_runner: ^2.0.1
Expand Down

0 comments on commit eb54a4c

Please sign in to comment.