Skip to content

Commit

Permalink
Bump version and update changelog and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaelor committed Nov 11, 2017
1 parent 92dd7e4 commit 0597fc4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
4.0.0
'''''
This has some changes related to Mattermost 4.4

BREAKING CHANGES:
- Endpoints moved from `team` to `channels` https://github.com/mattermost/mattermost-api-reference/pull/298/files
- `get_public_channels`
- `get_deleted_channels`
- `search_channels`

Added endpoints:
- `revoke_all_user_sessions` in `/users`
- `disable_personal_access_token` in `/users`
- `enable_personal_access_token` in `/users`

Also, you can now access the api endpoints directly,
without using `Driver.api['endpoint']`, instead you can
`Driver.users.get_user('me')`.
Both ways are working, so no breaking change there.
Related Issue for this: https://github.com/Vaelor/python-mattermost-driver/issues/5

3.0.1
'''''
Thanks to SmartHoneyBee!
Expand Down
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ Usage
foo.login()
# You can make api calls by using api['yourendpointofchoice'].
# Since v4.0.0 you can now also call the endpoint directly.
# So, for example, wherever you see `Driver.api['users'].get_user('me')`,
# you can just do `Driver.users.get_user('me')`.
# The names of the endpoints and requests are almost identical to
# the names on the api.mattermost.com/v4 page.
# API calls always return the json the server send as a response.
Expand Down
2 changes: 1 addition & 1 deletion src/mattermostdriver/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
full_version = '3.0.1'
full_version = '4.0.0'
short_version = '.'.join(full_version.split('.', 2)[:2])

0 comments on commit 0597fc4

Please sign in to comment.