- Update dependencies
- Update dependencies. Requires Dart >= 2.19.0.
- Add audio message type. Thanks @marinkobabic for the PR!
- Add video message type
- Update dependencies. Requires Dart >= 2.18.0.
- Update to Flutter 3.3.3
- Exported system message type. Thanks @felixgabler for the PR!
- Add system message type. Thanks @felixgabler for the PR!
- Update dependencies
- Code refactor
- Fix partial message constructors
- Downgrade meta to support flutter test
- Update to Flutter 3. Thanks @felixgabler for the PR!
- Fix
copyWith
for all message types. Thanks @felixgabler for the PR!
- Add
isLoading
to the file message. Thanks @felixgabler for the PR!
- Add
author
andcreatedAt
to thecopyWith
method. Thanks @felixgabler for the PR!
- Add
showStatus
to all messages. Thanks @arsamme for the PR! - Update to Flutter 2.10.4
- Update to Flutter 2.10.2
- Do not include null values in JSON. Thanks @felixgabler for the PR!
- Update to Flutter 2.10
- Update dependencies. Requires Dart >= 2.15.1.
- Update dependencies
- Update dependencies
- Remove
unsupported
room type
- Add
remoteId
to equatable props
- Add
remoteId
message property
- Additionally, revert
json_annotation
upgrade
- Revert
meta
upgrade, becausepub.dev
is analyzing code with an old Flutter version
- Update to Flutter 2.5
- Use
num
instead ofint
for sizes
- Fix missing
type
- Migrate to
json_serializable
- Export partial custom message
- Add
metadata
to partial messages - Add
previewData
to the partial text message
- Fix issue where
lastMessages
can be null
- Add
updatedAt
to the message, room and user
- Add
lastMessages
to the room
This release marks a major chat architecture overhaul based on a community feedback. In the future we don't expect such big changes in one release and will try to do backwards compatible code as much as possible.
- BREAKING CHANGE: [FileMessage]
fileName
is renamed toname
- BREAKING CHANGE: [ImageMessage]
imageName
is renamed toname
- BREAKING CHANGE: [Messages]
authorId
is replaced withauthor
to support avatars and names inside the chat - BREAKING CHANGE: [Messages]
timestamp
is renamed tocreatedAt
. All timestamps are inms
now. - BREAKING CHANGE: [Status]
read
is renamed toseen
- BREAKING CHANGE: [User]
avatarUrl
is renamed toimageUrl
- New
custom
andunsupported
message types. First one is used to build any message you want, second one is to support backwards compatibility copyWith
text option for theTextMessage
- Exported
utils
- Some additional fields like user's role for the future features
- Revert meta upgrade
- Update dependencies
- Update to Flutter 2.2
- Add equatable to every type
- Fix bug with empty preview data
- Add
copyWith
to the message
- Add custom metadata to message and user classes
- Add custom metadata to the room class. Thanks @alihen for the PR!
- Update homepage
- Update README
- Update types
- Add Room type
- Fix null status
- Add CI
- Update to null safety
- Update to Flutter 2
- Finish documentation
- Rename URL to URI
- Add partial classes
- Add null checking
- Fix TextMessage mapping
- Fix PreviewData mapping
- Code cleanup
- Export PreviewDatImage type
- Add PreviewData type
- Make timestamp optional
- Add toJson method
- Fix file message type
- Add file message type
- Initial release