rocketchat_sdk 0.2.0
rocketchat_sdk: ^0.2.0 copied to clipboard
A highly modular, strictly-typed, and enterprise-grade Dart & Flutter SDK for integrating Rocket.Chat REST APIs.
0.2.0 #
- Subscriptions API Support: Added
client.subscriptions.getandclient.subscriptions.readfor fetching active room subscriptions and marking subscriptions as read. - Direct Message API Enhancements: Added support for sending messages to DM rooms via
client.dm.sendMessage. - User Avatar Support: Added
client.users.getAvatarAPI to retrieve user avatar URLs, resolving redirects automatically and substituting localhost/127.0.0.1 with the configured client base URL. - Client Traffic Logging: Introduced logging capabilities via
enableLoggingandlogPrinteroptions inRocketChatClientinitialization. - Test Environment Support: Updated tests to run dynamically using environment variables or a
.envfile configuration.
0.1.0 #
- Initial release of a fully modular, strictly-typed Rocket.Chat REST API SDK.
- Support for Auth API (
client.auth.login,client.auth.logout,client.auth.me) with dynamic header management. - Support for DM API (
client.dm.list,client.dm.messages) for direct message chats. - Support for Channels API (
client.channels.list,client.channels.create,client.channels.join,client.channels.leave,client.channels.history,client.channels.info). - Support for Users API (
client.users.list,client.users.info,client.users.create,client.users.delete). - Built-in type safety with immutable Freezed models.
- Fully validated under strict Very Good Analysis guidelines.