* lint(persistence): Apply team linter Signed-off-by: Sahil Kumar <[email protected]> * style: flutter format Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): Add tests for channel dao Signed-off-by: Sahil Kumar <[email protected]> * refactor(persistence): remove dummy comments Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): Add test for channel query dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for connection event dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for member dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for message dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for pinned message dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for reaction dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for read dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): minor improvement in update function tests Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for user dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for list converter Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for map converter Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for message sending status converter Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for channel mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for event mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for member mapper Signed-off-by: Sahil Kumar <[email protected]> * remove useless dependencies * test(persistence): add tests for message mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for pinned message mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for reaction mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for read mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for user mapper Signed-off-by: Sahil Kumar <[email protected]> * refactor(persistence): remove redundant UsersTable getter from ConnectionEventDao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for stream chat persistence client Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests moor chat database Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add moor schemas for future migration tests Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add clear queryCache test in channel query dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add getThreadMessagesByParentId along with pagination test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add getMessagesByCid along with pagination test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * update ci * apply locale to jiffy * fix test * test(persistence): add getMessagesByCid along with quotedMessage test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add extra checks in getMessagesByCid along with pagination test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add return channel with pagination applies test in channel query dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): improve message mapper, pinned message mapper test Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add client constructor test in stream chat persistence client Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add coverage:ignore-file for entities and db/shared directory Signed-off-by: Sahil Kumar <[email protected]> * skip pub publish --dry-run for develop branch Signed-off-by: Sahil Kumar <[email protected]> * add remove from coverage script Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix locale * fix message input _parseExistingMessage * fix(UI-Kit): Show selected attachment file as file in message input widget Signed-off-by: Sahil Kumar <[email protected]> * fix: ws disconnection (#345) * update ws removing custom implementation; fixed disconnection while connecting * add test * feat: Apply team lints to core package (#334) * Add analyzer file to core package * Apply team lint rules to core package * clean up analyzer warnings in stream chat flutter * remove unused line * add ignore * sync analysis options * [Core -> MessageWidget] Fix variable dynamic types Signed-off-by: Sahil Kumar <[email protected]> Co-authored-by: Salvatore Giordano <[email protected]> Co-authored-by: Sahil Kumar <[email protected]> * test: add tests for stream chat flutter core (#354) * test(core): add tests for channels bloc Signed-off-by: Sahil Kumar <[email protected]> * test(core): refactor some tests due to changes in channels bloc Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for channel list core Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for users bloc, minor improvements Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for user list core, minor improvements Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for message search bloc, refactor Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for message search list core, refactor Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for lazy load scroll view Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for stream chat core Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for message list core Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for stream channel Signed-off-by: Sahil Kumar <[email protected]> * Fix merge conflicts Signed-off-by: Sahil Kumar <[email protected]> * flutter format Signed-off-by: Sahil Kumar <[email protected]> * fixes Signed-off-by: Sahil Kumar <[email protected]> * update workflow Signed-off-by: Sahil Kumar <[email protected]> * chore(core): fix analyzer issues Signed-off-by: Sahil Kumar <[email protected]> * chore(ui-kit): fix analyzer issues Signed-off-by: Sahil Kumar <[email protected]> * refactor(ui-kit): update giphy interaction (#361) * refactor(ui-kit): update giphy interaction Signed-off-by: Sahil Kumar <[email protected]> * fix overflow Co-authored-by: Salvatore Giordano <[email protected]> * fix: Fixed sendingbutton.outside case (#355) * fix: Fixed sendingbutton.outside case * fix: Fixed all actionbutton cases * fix review Co-authored-by: Salvatore Giordano <[email protected]> * fix(ui-kit): fix accessibility text size scaling in message widget Signed-off-by: Sahil Kumar <[email protected]> * fix(ui-kit): fix message widget long username overflow Signed-off-by: Sahil Kumar <[email protected]> * fix(ui-kit): fix message input dm checkbox accessibility scaling issue Signed-off-by: Sahil Kumar <[email protected]> * feat: exposed textbuilder callback (#367) * exposed textbuilder callback * exposed textbuilder callback * fixes Signed-off-by: Sahil Kumar <[email protected]> * check if user.mutes is null * check if user.mutes is null * fixes #370: remove all controls on full screen media if message is of type ephemeral (#373) * fix: fix channel list pagination spinner (#375) Signed-off-by: Sahil Kumar <[email protected]> * fix: attachments upload when size exceeds (#377) * fix: Fixed file upload error * fix: Fixed file upload error * fix coverage script Signed-off-by: Sahil Kumar <[email protected]> * fix: message input (#382) * feat: Added mentions suffix builder * feat: Added builders for mentions and theme element for message input expanded button * refactor: refactored PR to suit other style * fix: fixes trailing commas and changes names * doc: added documentation to new elements * doc: added documentation to new elements * bump version * add meta dep to core * sort deps Co-authored-by: Sahil Kumar <[email protected]> Co-authored-by: Neevash Ramdial (Nash) <[email protected]> Co-authored-by: Deven Joshi <[email protected]>
511 lines
9.1 KiB
Markdown
511 lines
9.1 KiB
Markdown
## 1.5.1
|
|
|
|
- Minor fixes and improvements
|
|
|
|
## 1.5.0
|
|
|
|
- Minor fixes and improvements
|
|
|
|
## 1.4.0-beta
|
|
|
|
- Improved attachment uploading
|
|
- Fix: update member presence
|
|
- Added skip_push to message model
|
|
- Minor fixes and improvements
|
|
|
|
## 1.3.2+1-beta
|
|
|
|
- Fixed queryChannels bug
|
|
|
|
## 1.3.1-beta
|
|
|
|
- Debounced frequent db calls
|
|
|
|
## 1.3.0-beta
|
|
|
|
- Save pinned messages in offline storage
|
|
- Minor fixes
|
|
- `StreamClient.QueryChannels` now returns a Stream and fetches the channels from storage before calling the api
|
|
- Added `StreamClient.QueryChannelsOnline` and `StreamClient.QueryChannelsOffline` to fetch channels only from online or offline
|
|
|
|
## 1.2.0-beta
|
|
|
|
- 🛑 **BREAKING** Changed signature of `StreamClient.search` method
|
|
- Added `pinMessage` feature [docs here](https://getstream.io/chat/docs/flutter-dart/pinned_messages/?language=dart)
|
|
- Fixed minor bugs
|
|
|
|
## 1.1.0-beta
|
|
|
|
- Fixed minor bugs
|
|
- Add support for custom attachment upload [docs here](https://getstream.io/chat/docs/flutter-dart/file_uploads/?language=dart)
|
|
- Add support for asynchronous attachment upload
|
|
|
|
## 1.0.3-beta
|
|
|
|
- Fixed issue with disconnecting after connecting without awaiting the connection result
|
|
- Fixed bug that caused duplicated typing.stop events to be fired
|
|
|
|
## 1.0.2-beta
|
|
|
|
- Deprecated `setUser`, `setGuestUser`, `setUserWithProvider` in favor of `connectUser`, `connectGuestUser`, `connectUserWithProvider`
|
|
- Optimised reaction updates - i.e., Update first call Api later.
|
|
|
|
## 1.0.1-beta
|
|
|
|
- Fixed pub analysis issues
|
|
|
|
## 1.0.0-beta
|
|
|
|
- 🛑 **BREAKING** Renamed `Client` to less generic `StreamChatClient`
|
|
- 🛑 **BREAKING** Segregated the persistence layer into separate package [stream_chat_persistence](https://pub.dev/packages/stream_chat_persistence)
|
|
- 🛑 **BREAKING** Moved `Client.backgroundKeepAlive` to [core package](https://pub.dev/packages/stream_chat_core)
|
|
- 🛑 **BREAKING** Moved `Client.showLocalNotification` to [core package](https://pub.dev/packages/stream_chat_core) and renamed it to `StreamChatCore.onBackgroundEventReceived`
|
|
- Removed `flutter` dependency. This is now a pure Dart package 🥳
|
|
- Minor improvements and bugfixes
|
|
|
|
## 0.2.24+2
|
|
|
|
- Fix reconnection bug while using tokenProvider
|
|
|
|
## 0.2.24+1
|
|
|
|
- Stop ws reconnection after calling disconnect
|
|
|
|
## 0.2.24
|
|
|
|
- Create enum for push providers
|
|
- Add merge helper functions in `Message` and `ChannelModel` for easier data manipulation
|
|
|
|
## 0.2.23+3
|
|
|
|
- Remove + notation from userAgent
|
|
- Fix optimistic update for totalUnreadCount
|
|
|
|
## 0.2.23+2
|
|
|
|
- Do not throw an error when calling queryChannels without an active connection if the offline storage is enabled
|
|
|
|
## 0.2.23+1
|
|
|
|
- Throw an error when calling queryChannels without an active connection
|
|
- Wait to establish a connection if calling queryChannels while connecting
|
|
|
|
## 0.2.23
|
|
|
|
- Add thread_participants in message model
|
|
|
|
## 0.2.22
|
|
|
|
- Add thread-less message reply feature (QuotedMessage)
|
|
|
|
## 0.2.21+2
|
|
|
|
- Fix but not throwing error during querychannels and persistance disabled
|
|
- Fix reaction.updated event handling
|
|
|
|
## 0.2.21+1
|
|
|
|
- Fix error in the offline storage queryChannelCids query
|
|
|
|
## 0.2.21
|
|
|
|
- Fix channel.hide(clearHistory: true) not clearing local messages
|
|
- Add banned field to member
|
|
|
|
## 0.2.20
|
|
|
|
- Return offline data only if the backend is unreachable. This avoids the glitch of the ChannelListView because we cannot sort by custom properties.
|
|
|
|
## 0.2.19
|
|
|
|
- Added message filters for `Client.search()`
|
|
|
|
## 0.2.18
|
|
|
|
- Correctly dispose resources when disposing the client state
|
|
- Limit parallel queryChannels with same parameters to 1
|
|
- Added `clearUser` parameter to `client.disconnect` to remove the user instance of the client
|
|
|
|
## 0.2.17+1
|
|
|
|
- Do not retry messages when server returns error
|
|
|
|
## 0.2.17
|
|
|
|
- Add shadow ban feature
|
|
|
|
## 0.2.16
|
|
|
|
- Listen for user.updated events
|
|
|
|
## 0.2.15+2
|
|
|
|
- Fix reaction score updates
|
|
|
|
## 0.2.15+1
|
|
|
|
- Listen to reaction.updated event
|
|
|
|
## 0.2.15
|
|
|
|
- Fix search message response
|
|
|
|
## 0.2.14
|
|
|
|
- Add event.extradata
|
|
|
|
## 0.2.13+1
|
|
|
|
- Let user change channel.extradata if the channel is not initialized yet
|
|
|
|
## 0.2.13
|
|
|
|
- Add parent_id to events for typing indicators in threads
|
|
|
|
## 0.2.12+2
|
|
|
|
- Fix error with reactions with null user
|
|
|
|
## 0.2.12
|
|
|
|
- Do not save channels in memory if not being watched. This was leading to some bugs in some specific use-cases.
|
|
|
|
## 0.2.11
|
|
|
|
- Fix user.name getter
|
|
- Use detached loggers
|
|
- Throw error while connecting if it comes from backend
|
|
- Fix ws reconnection
|
|
|
|
## 0.2.10+2
|
|
|
|
- Fix bug with event filtering
|
|
|
|
## 0.2.10+1
|
|
|
|
- Add default limit to pagination
|
|
|
|
## 0.2.10
|
|
|
|
- Added `channel.state.unreadCountStream`
|
|
|
|
## 0.2.9
|
|
|
|
- Adding a message on `Channel.update` is now optional
|
|
|
|
## 0.2.8+1
|
|
|
|
- Fix retry logic
|
|
|
|
## 0.2.8
|
|
|
|
- Add missing event types
|
|
- Fix local sorting on offline storage
|
|
|
|
## 0.2.7+1
|
|
|
|
- `Client.channel` returns an existing channel if available
|
|
- Update message in the offline storage if attachment has expired (for the new CDN)
|
|
- Fix `GetMessagesByIdResponse` format
|
|
- Do not query messages if already existing in offline storage
|
|
|
|
## 0.2.6
|
|
|
|
- Experimental support for Flutter web and MacOs
|
|
|
|
## 0.2.5+2
|
|
|
|
- Cleaned up Serialization on extra_data
|
|
|
|
## 0.2.5+1
|
|
|
|
- Fix `channel.show` api call
|
|
|
|
## 0.2.5
|
|
|
|
- Add `channelType` and `channelId` properties to event object
|
|
|
|
## 0.2.4+2
|
|
|
|
- Fix query members messing channel state
|
|
|
|
## 0.2.4+1
|
|
|
|
- Do not resync if there is no channel in offlinestorage
|
|
|
|
## 0.2.4
|
|
|
|
- Add null-safety to ws disconnect
|
|
- Add pagination parameters to queryUsers request
|
|
|
|
## 0.2.3+3
|
|
|
|
- Fix reaction add/remove logic
|
|
|
|
## 0.2.3+2
|
|
|
|
- Skip system messages during unreadCount computation
|
|
|
|
## 0.2.3+1
|
|
|
|
- Removed moor_ffi from dependencies in favor of moor/ffi
|
|
|
|
## 0.2.3
|
|
|
|
- Fix reject invite payload
|
|
|
|
- Add multi-tenant properties to channel and user
|
|
|
|
## 0.2.2+1
|
|
|
|
- Fix queryChannels payload
|
|
|
|
## 0.2.2
|
|
|
|
- Fix add/remove/invite members api calls
|
|
|
|
## 0.2.1
|
|
|
|
- Add `isMutedStream` to `Channel`
|
|
- Add `isGroup` to `Channel`
|
|
- Add `isDistinct` to `Channel`
|
|
|
|
## 0.2.0+2
|
|
|
|
- Fix search messages response class
|
|
|
|
## 0.2.0+1
|
|
|
|
- Fix offline members update
|
|
- Add channel mutes
|
|
- Fix default channel sort
|
|
|
|
## 0.2.0
|
|
|
|
- Add `lastMessage` getter to Channel.state
|
|
- Add `isSystem` property to Message
|
|
- Incremental websocket reconnection timeout
|
|
- Add translate message api call
|
|
- Add queryMembers api call
|
|
- Add user list to client state
|
|
- Synchronize channel members status
|
|
- Add offline storage
|
|
- Add push notifications helper functions
|
|
|
|
## 0.2.0-alpha+23
|
|
|
|
- Add `lastMessage` getter to `Channel.state`
|
|
|
|
## 0.2.0-alpha+22
|
|
|
|
- Add `isSystem` property to Message
|
|
|
|
## 0.2.0-alpha+21
|
|
|
|
- Incremental websocket reconnection timeout
|
|
|
|
## 0.2.0-alpha+20
|
|
|
|
- More robust offline storage insertions
|
|
|
|
## 0.2.0-alpha+19
|
|
|
|
- Add translate message api call
|
|
- Add queryMembers api call
|
|
|
|
## 0.2.0-alpha+18
|
|
|
|
- Revert moor_ffi version to 0.5.0
|
|
|
|
## 0.2.0-alpha+17
|
|
|
|
- Add user list to client
|
|
|
|
- Synchronize channel members status
|
|
|
|
## 0.2.0-alpha+16
|
|
|
|
- Try QueryChannels when `resync` endpoint returns an error
|
|
|
|
## 0.2.0-alpha+15
|
|
|
|
- Fix receiving reactions
|
|
|
|
## 0.2.0-alpha+14
|
|
|
|
- Avoid sending local event for optimistic updates
|
|
|
|
## 0.2.0-alpha+13
|
|
|
|
- Fix offline on app first start up
|
|
|
|
## 0.2.0-alpha+12
|
|
|
|
- Fix retry mechanism in threads
|
|
- Fix delete channel query
|
|
|
|
## 0.2.0-alpha+9
|
|
|
|
- Add retry mechanism and retry queue
|
|
|
|
## 0.2.0-alpha+8
|
|
|
|
- Add copyWith to Attachment
|
|
|
|
## 0.2.0-alpha+7
|
|
|
|
- Add channel deleted/updated event handling
|
|
|
|
## 0.2.0-alpha+6
|
|
|
|
- Align with stable release
|
|
|
|
## 0.2.0-alpha+5
|
|
|
|
- Rename client parameters
|
|
|
|
## 0.2.0-alpha+3
|
|
|
|
- Remove dependencies on notification service
|
|
|
|
- Expose some helping method for integrate offline storage with push notifications
|
|
|
|
## 0.2.0-alpha+2
|
|
|
|
- Fix unread count
|
|
|
|
## 0.2.0-alpha
|
|
|
|
- Offline storage
|
|
|
|
- Push notifications
|
|
|
|
- Minor bug fixes
|
|
|
|
## 0.1.30
|
|
|
|
- Add silent property to message
|
|
|
|
## 0.1.29
|
|
|
|
- Fix read event handling
|
|
|
|
## 0.1.28
|
|
|
|
- Fix bug clearing members when receiving a message
|
|
|
|
## 0.1.27
|
|
|
|
- Update dependencies
|
|
|
|
## 0.1.26
|
|
|
|
- Remove wrong `members` property from `ChannelModel`
|
|
|
|
## 0.1.25
|
|
|
|
- Fix online status
|
|
|
|
## 0.1.24
|
|
|
|
- Fix unread count
|
|
|
|
## 0.1.22
|
|
|
|
- Add mute/unmute channel
|
|
|
|
## 0.1.20
|
|
|
|
- Fix channel query path without id
|
|
|
|
## 0.1.19
|
|
|
|
- Fix loading message replies
|
|
|
|
## 0.1.18
|
|
|
|
- Export dio error
|
|
|
|
## 0.1.17
|
|
|
|
- Ignore current user typing events
|
|
|
|
- Add event types
|
|
|
|
## 0.1.16
|
|
|
|
- Fix message update
|
|
|
|
## 0.1.15
|
|
|
|
- Fix mentions handling
|
|
|
|
## 0.1.14
|
|
|
|
- Handle message modification and commands
|
|
|
|
## 0.1.13
|
|
|
|
- Add message.updated event handling
|
|
|
|
## 0.1.12
|
|
|
|
- Add export multipart_file from dio
|
|
|
|
## 0.1.11
|
|
|
|
- Add channel config checks
|
|
|
|
## 0.1.10
|
|
|
|
- Rename Channel.channelClients to channels
|
|
|
|
## 0.1.9
|
|
|
|
- Fix channel update on message delete
|
|
|
|
## 0.1.8
|
|
|
|
- Add delete message handling
|
|
|
|
## 0.1.7
|
|
|
|
- Add reaction handling
|
|
|
|
## 0.1.6
|
|
|
|
- Add initialized completer
|
|
|
|
- Update example
|
|
|
|
## 0.1.5
|
|
|
|
- Add `ClientState` and `ChannelClientState` classes to handle channel state updates using events
|
|
|
|
- Update example supporting threads
|
|
|
|
## 0.1.4
|
|
|
|
- Update some api with wrong or incomplete signatures
|
|
|
|
- Add documentation for public apis
|
|
|
|
## 0.1.2
|
|
|
|
- add websocket reconnection logic
|
|
|
|
- add token expiration mechanism
|
|
|
|
## 0.1.1
|
|
|
|
- add typing events handling
|
|
|
|
## 0.1.0
|
|
|
|
- a better example can be found in the example/ directory
|
|
|
|
- fix some api calls and add missing one
|
|
|
|
## 0.0.2
|
|
|
|
- first beta version |