Releases: flyerhq/flutter_chat_ui
Releases · flyerhq/flutter_chat_ui
2.0.0-dev.3
- 🎉 Emoji-only messages: added support for text messages containing only emojis, displayed without a bubble.
- 🧩 Message grouping: added support for grouping messages for a cleaner chat display.
- 🐛 Bug fix: fixed an issue where timeouts were not being cleared properly.
- 🔧 Chat builders: chat message builders now include the message index in their parameters.
- 📱 Safe area: added safe area support for reversed lists.
2.0.0-dev.2
🖼️ API Example
- Added support for image uploads
- Added a web sockets connection status indicator with reconnection logic examples
🔗 cross-cache
- Added new methods:
delete(String key)
– delete entriesupdateKey(String key, String newKey)
– rename keys while keeping the data
CustomNetworkImage
is nowCachedNetworkImage
and has been moved to the cross-cache package- Exposed the
set
method for better flexibility
💬 flutter-chat-core
- Added
customMessageBuilder
for building custom messages - Added
overlay
parameter toImageMessage
- Themes:
- Added
ImageMessageTheme
(replacingimagePlaceholderColor
) - Updated
InputTheme
(addingtextFieldColor
) - Updated
ScrollToBottomTheme
- Updated
TextMessageTheme
- Added
- Added
UploadProgressMixin
for handling upload progress tracking
📝 flutter-chat-ui
- Automatically handles the safe area (optional, enabled by default)
- Scrolls content up when the keyboard is opened
- Added support for an action bar above the input field (with example)
- Exported
ChatInputHeightNotifier
- Enhanced
ChatAnimatedList
with:topSliver
andbottomSliver
for custom widgets at the top or bottom of the chat (both scrollable)
📸 flyer-chat-image-message
- Theme now derives from
imageMessageTheme
- Added an upload progress indicator
- Fixed default constraints
- Added an optional overlay to images
2.0.0-dev.1
- 🚀 Exciting pre-release of
v2
! This version is a complete rewrite, focusing on extensibility, customizability, performance, and stability. 🛠️ ⚠️ Some features are still in progress, so use with caution. However, I've aimed to make this version more practical for real-world applications. 💼- 🌟 New examples include integrations with REST API and AI (Gemini), with more to come! 🤖
- 💻 Works seamlessly across all platforms. 📱🖥️
- 📚 Documentation and migration guide are in the works and will be available in the coming weeks.
- 🗓️ A public backlog for the new version is planned to keep everyone informed about upcoming features.
- 🔔 Stay tuned by following our GitHub for updates!
- 🙏 If you have a chance to test
v2
or review the code, I'd love to hear your thoughts! 💬
v1.6.15
- Last release of
v1
andv2
is replacing it on main branch soon. - Updated markdown matchers to be bold (double asterisk), italic (double underscore),
linethrough(double tilde) andcode
(single backtick). - Removed PopScope since new api requires Flutter v3.22 and I want to still support older versions. Let me know if it introduces breaking behaviour.
- Added support for AssetImage (uri starts with
assets/
). Thanks @thomers for the PR!
v1.6.14
- While
v2
is still in the works (unexpected blockers, see GitHub for progress) releasing a small patch update with improvements. - Added optional scroll
preferPosition
toscrollController.scrollToIndex
. Thanks @chdo002 for the PR! - Removed
isComposingRangeValid
check from the input to hopefully fix send button that does not appear. - Added
usesSafeArea
option to theinputOptions
to be able to remove safe area backed inside the input.
v1.6.13
- While
v2
is still in the works (unexpected blockers, see GitHub for progress) releasing a small patch update with improvements. - Potentially breaking: bumped dependencies, but I used ranges (>= and <) so don't expect any problems. Please raise an issue if some change breaks your project.
- Added support for overriding the
bubbleMargin
property usingChatTheme
. Thanks @ishchhabra for the PR! - Added localisation support to the typing indicator which was hardcoded english only previously. Thanks @longnh2k1 for raising the issue!
v1.6.12
- Remove
defaultBubbleMessage
from thebubbleBuilder
as it breaks compatibility. If you need this please use previous release, this is the only change here. Next should be v2.0.0 preview.
v1.6.11
- Small patch release while 2.0.0 is still in the works.
- Added
messageMaxWidth
to the theme. Thanks @bobz392 for the PR! - Added
isLeftStatus
to display status on the left side of the message. Thanks @hndrr for the PR! - Added localisation for Persian language (fa locale). Thanks @xclud for the PR!
- Added default message to the
bubbleBuilder
. Thanks @asoap for the PR! - Added
messageWidthRatio
to the chat. Thanks @elihaialgoaitech for the PR! - Added
customTypingWidget
,customTypingIndicatorBuilder
,typingWidgetBuilder
andmultiUserTextBuilder
to theTypingIndicatorOptions
. Thanks @phamconganh for the PR!
v1.6.10
- Possibly last release before 2.0.0, which will be a complete re-write focused on extensibility, customizability, performance and stability.
- Fixed repaint if type indicator is not used. Thanks @mozomig for the PR!
- Added ability to highlight message when scrolling to it. Thanks @SergeySor for the PR!
- Added more theming to the text input. Thanks @claudius-kienle for the PR!
- Fixed an exception when user exiting the chat. Thanks @elihaialgoaitech for the PR!
- Fixed input bug for the Japanese language. Thanks @okano4413 for the PR!
- Added
slidableMessageBuilder
. Thanks @leeyisoft for the PR! - Matchers are now reusable and used in system message as well. Thanks @provokateurin for the PR!
avatarBuilder
now provides whole user object. Thanks @kahyoongho for the PR!- Added semantics for the send button, useful in e2e tests. Thanks @GustekDev for the PR!
v1.6.9
Update dependencies