CHANGELOG
Unreleased
Code
Documentation
Maintenance
10.12.0
Code
Add
MattermostErrorbase exception classAdd
ÌnvalidMattermostErrorfor mattermost errors returning invalid error formatAdd
UnknownMattermostErrorfor unknown status codesAdd
status_code,request_id,error_idandis_oauth_errorparameters to all exceptions (except for InvalidMattermostError)
10.8.2
Code
Remove deprecated
basepathconnection argument (backwards incompatible change)
Documentation
Examples of a sync and async client have been added to the documentation
Maintenance
API breaking changes - A new endpoint interface is now in place that exposes individual API arguments. See the API deprecation docs for more information.
Warning
Starting with version 10.8.2 this project now follows releases of the official Mattermost server. This changelog will also no longer document API changes as those are available as part of release notes of the Mattermost project.
This changelog will therefore only include changes that concern this project and the wrapping code.
2.3.0
Code
driver.disconnect()no longer errors if not connected or initializedAdd
jobs.update_job_statusNew endpoints
LogsandRemoteClustersRename
permissions.get_ancillary_permissionstopermissions.get_ancillary_permissions_postAdd
shared_channels.get_shared_channel_remotes_by_remote_clusterAdd
shared_channels.invite_remote_cluster_to_channelAdd
shared_channels.uninvite_remote_cluster_to_channelNew attribute
default_team_idinremote_clusters.patch_remote_clusterNew attribute
include_total_countinwebhooks.get_incoming_webhoooksNew attribute
timezoneinusers.update_userandusers.patch_userNew attribute
positioninusers.patch_userRename attribute
pageSizetoper_pageinthreads.get_user_threadsandusers.get_usersAdd
files.search_filesandsearch.search_filesAdd
system.test_notificationRename
users.attach_device_idtousers.attach_device_extra_propsFix trailing slash in URL used in
timeline.remove_timeline_eventNew endpoints
MetricsandScheduled Post
Documentation
Update
channels.add_channel_memberUpdate
channels.search_all_channels- documentexclude_remoteUpdate
jobs.get_jobsUpdate
remote_clusters.accept_remote_cluster_invite- adddefault_team_idUpdate
remote_clusters.create_remote_cluster- adddefault_team_idUpdate
remote_clusters.get_remote_clusters- documentincluded_deletedUpdate
schemes.create_scheme- documentdisplay_nameUpdate
shared_channels.get_shared_channel_remotes_by_remote_cluster- documentinclude_unconfirmed,exclude_confirmed,include_deletedAdd
MetricsautomoduleAdd
Scheduled Postautomodule
Maintenance
Pin
httpxto 0.28.0 to address removed argument - see issue #15Tolerate but warn about missing tags in mattermost documentation
2.2.0
Code
Add
paramsargument tosystem.generate_support_packetRename
users.get_user_limitstousers.get_server_limits
Documentation
Update descriptions and remove mention of limit of 200 users per page
2.1.0
Code
New endpoints
Bookmarks,OutgoingConnections,OutgoingOauthConnectionsandReportsModified
oauth.Oauthendpoints extensivelyRenamed
posts.save_acknowledgement_for_posttoposts.delete_acknowledgement_for_postAdd
posts.move_threadAdd option
use_rest_semanticstosystem.get_pingRemove
system.get_warn_metrics_statusRemove
system.send_warn_metric_ackRemove
system.send_trial_license_warn_metric_ackAdd
users.get_users_for_reportingAdd
users.get_user_count_for_reportingAdd
users.get_user_limits
Documentation
Minor typos corrected and slight reformatting
2.0.0
Code
Remove non-standard “TRACE” debug level in httpx code
Fix logging output when passing
debug=TruetoDriver()Include API cnanges as of 2023-12-01
Add
cloud.get_endpoint_for_installation_informationAdd
emoji.get_emojis_by_namesAdd
groups.restore_groupAdd
users.get_users_with_invalid_emailsFix URL of
commands.list_command_autocomplete_suggestionsFix URL of
files.get_file_publicRemove
insightsandopengraphendpointsNew endpoints
filteringandipthreads.set_thread_unread_by_post_idnow uses POST
Documentation
Updated README API clone instructions. API is now part of main mattermost repository.
Maintenance
Rename GitHub Actions for clarity
Force upgrade of pip in sphinx build GitHub Action - fixes docutils incompatibility resolution
1.3.0
Release 1.2.3 and 1.2.4 should have been made under a new minor digit. This release addresses this mistake.
Code
Minor refactor to avoid using basepath in hook calls
Fix missing /api/v4 in websocket handcrafted URL
Maintenance
Update GitHub Actions to resolve deprecation warnings
Fix GitHub Action Python 3.10 related failures
Add possiblity to manually release to PyPi
1.2.4
Code
Include playbook API interface changes as of 2023-05-31
Remove basepath to accomodate API changes due to the inclusion of playbook endpoints
Endpoint root paths now include the full API path
Documentation
Hide table of contents from index page
Maintenance
GitHub action renamed to clarify purpose and action taken
Restart CHANGELOG.md to reflect mattermostautodriver changes and releases
Add Python 3.11 to list of supported versions
1.2.3
Code
Include playbook API interface changes as of 2023-03-21
Fix syntax problem in install_requires
Maintenance
Update deployment python version in GitHub action
1.2.2
Code
Endpoints updated to reflect Mattermost API status as of 2022-10-11
Logout API endpoint renamed - endpoint is logout() not logout_user()
Thread-specific API endpoints are now available
Mattermost API documentation is now linked from method docstrings
The dependency
inflectionwas pinned to at least version 0.5.1
Documentation
Documentation was reworked to include links to Mattermost API docs
Maintenance
Missing operationId is now fatal when converting
1.2.1
Code
Only documentation changes occurred in this release.
Documentation
Several style formatting changes
Sphinx now specifies english as documentation language
Maintenance
Fix indentation alignment issues
Reduce number of line breaks around titles
1.2.0
Code
Only documentation changes occurred in this release
Documentation
Several style formatting changes
Sphinx now specifies english as documentation language
Maintenance
Update API according to upload semantics
Add files attribute to any API call involving uploads
Update command as swagget2openapi isn’t always available
Update API spec as of 2022-08-25
Update location of call_webhook
1.1.5
Don’t check hostname when using ssl.CERT_NONE
Update endpoints docs
1.1.4
Re-fix __new__ signature
1.1.3
Fix __new__ signature
1.1.2
Fix version require
1.1.1
Change auth method
Fixing commas in README
1.1.0
Re-add call_webhook previous webhooks.call_webhook
Add get_last_trial_license endpoint
Replace hardcoded property endpoints with dynamic ones
Add doc about (re)generating API spec
Update API spec to latest
Use CamelCase for class names in API
Add black and inflection to dependencies
Use CamelCase for class names
1.0.0
Clarify relation to mattermostdriver
Rename driver to mattermostautodriver
Bump version to 8.0.0 due to many API renames and backwards incompatibility
Add self-generated endpoints
Use pyproject.toml as black config
Add helper script to generate updated endpoints
Format all files with black in a single invocation
Use lowecase names for modules
Avoid adding f-strings when containing no attributes
Remove unused logging configuration
Implement OpenAPI conversion using Python AST