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 from Network.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 a Session type, representing a combination of a Token and a ConnectionData 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 pervasive User type.
    • Replaced the return type of mmGetTeamMembers to use a TeamMember instead of raw JSON Values.

    ๐Ÿ“š 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 by Network.Mattermost.Websocket.Types in order to cut down on the number of imports needed by users.