mattermost-api v30802.0.0 Release Notes
-
๐ This release supports server version 3.8.2.
API changes:
- The
Network.Mattermost.Types
module is now directly exported and all clients should obtain their types from this import. The types are still exported fromNetwork.Mattermost
to allow time for this change but this export is deprecated will be removed in a future version. - โ Added the CommandResponse type for the execute endpoint.
- mmGetMoreChannels, mmGetChannelMembers, and mmGetProfiles now take limit/offset parameters.
- ๐ mmGetFile now supports v4 file-fetching.
- โ Added new constructors to the WebsocketEventType corresponding to server websocket events.
- โก๏ธ mmUpdateLastViewedAt was replaced with mmViewChannel.
- โ Added the WithDefault type to wrap around bools and NotifyOptions.
- โ Added NotifyProps types.
- The
Token
type has been replaced with aSession
type, representing a combination of aToken
and aConnectionData
type. All exposed API functions which require an authenticated connection will use this instead. This is a major breaking change, but makes the API significantly cleaner. - โ Removed
UserProfile
type in favor of single pervasiveUser
type. - Replaced the return type of
mmGetTeamMembers
to use aTeamMember
instead of raw JSONValue
s.
๐ Documentation:
- ๐ All API functions how have corresponding HTTP route documentation.
๐ฆ Package changes:
- โก๏ธ Source repository was updated.
- Constrained 'memory' version to avoid 'foundation' dependency.
- Include Network.Mattermost.TH.
- The
Network.Mattermost.Websocket
module now exports everything exported byNetwork.Mattermost.Websocket.Types
in order to cut down on the number of imports needed by users.
- The