- 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