Releases: jadolg/rocketchat_API
Releases · jadolg/rocketchat_API
3.6.0
What's Changed
- Add rooms_media_confirm and improve rooms_media input flexibility by @ErfanBahramali in #382
New Contributors
- @ErfanBahramali made their first contribution in #382
Full Changelog: 3.5.0...3.6.0
3.5.0
What's Changed
- Update jadolg/rocketchat-notification-action to v 3.0.0 by @jadolg in #377
- Add
custom_user_statusAPI section by @jadolg in #378 - Add pagination support to
custom_user_status_listmethod by @jadolg in #379 - Add
custom_soundsAPI section by @jadolg in #380 - Add
licenses_max_active_usersmethod and expand license test coverage by @jadolg in #381
Full Changelog: 3.4.0...3.5.0
3.4.0
3.3.0
What's Changed
- Add
dm_deletemethod to remove direct message rooms by @jadolg in #370 - Add chat methods for unfollowing, retrieving deleted, pinned messages, and managing threads by @jadolg in #371
- Add
banners_get_by_idandbanners_dismissmethods by @jadolg in #372 - Add moderation API section by @jadolg in #373
- Add
roles_deleteandroles_get_users_in_public_rolesendpoints by @jadolg in #374 - Add missing invite methods by @jadolg in #375
Full Changelog: 3.2.0...3.3.0
3.2.0
What's Changed
- Bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in #349
- Enhance README with comprehensive installation, usage, development, and testing instructions. by @jadolg in #350
- Set complex password on tests by @jadolg in #352
- Update tested Rocket.Chat versions in the CI workflow matrix. by @jadolg in #351
- Add method
livechat_inquiries_get_oneby @jadolg in #353 - Add tests to check posting multiline messages by @jadolg in #354
- Add issue templates by @jadolg in #355
- Improve
users_reset_avatardocstring to specify default behavior and required permissions by @jadolg in #358 - Add
groups_set_encryptedby @jadolg in #359 - Add
groups_convert_to_teammethod by @jadolg in #360 - Add
groups_onlinemethod by @jadolg in #361 - Refactor parameter validation to use predefined constants for error messages. by @jadolg in #362
- Add
teams_autocompletemethod by @jadolg in #363 - Add
teams_list_rooms_of_usermethod by @jadolg in #364 - Add custom emojis API methods by @jadolg in #365
- Add automatic pagination to statistics list retrieval by @jadolg in #366
- Add self-hosted image to test setting avatar from URL to avoid rate-limits by @jadolg in #368
- Add pagination to various API methods for channels, chat, direct messages, groups, live chat, and settings by @jadolg in #367
- Add max_count to paginated methods by @jadolg in #357
- Add users engagement API methods by @jadolg in #369
Full Changelog: 3.1.0...3.2.0
3.1.0
3.0.0
What's Changed
Breaking changes
Now exceptions will have error data in them. Eg:
try:
testuser = logged_rocket.users_info(username="testuser1")
except RocketApiException as e:
if e.error == "User not found":
testuser = logged_rocket.users_create(
"testuser1@domain.com", "testuser1", "password", "testuser1"
)
else:
raise eor
try:
logged_rocket.channels_leave("GENERAL")
except RocketApiException as e:
if e.error_type == "error-you-are-last-owner":
print("Not allowed to leave cause you are the last owner")Also now RocketBadStatusCodeException triggers only when the API does not return valid data (maybe reverse proxy error or similar). RocketApiException is now the way to check for common API errors.
Github Actions
- Protect github actions inputs by @jadolg in #340
- Potential fix for code scanning alert no. 3: Workflow does not contain permissions by @jadolg in #341
- Potential fix for code scanning alert no. 5: Workflow does not contain permissions by @jadolg in #342
- Potential fix for code scanning alert no. 4: Workflow does not contain permissions by @jadolg in #343
- Potential fix for code scanning alert no. 7: Workflow does not contain permissions by @jadolg in #344
Full Changelog: 2.1.0...3.0.0
2.1.0
What's Changed
- Update mongodb to version 8 by @jadolg in #338
- Prepare library for rocket.chat V8 by @jadolg in #339
🚨 Breaking changes 🚨
- Removed deprecated
rooms_upload method - Updated
addUserToRoleandremoveUserFromRoleto userole_idinstead ofrole_name - Updated
users_create_tokento removeusernameparameter and addsecretparameter which is now mandatory
Full Changelog: 2.0.1...2.1.0
2.0.1
2.0.0
🚨 Breaking changes 🚨
What's Changed
- Bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #326
- Stop returning requests objects by @jadolg in #329
- Make connection pooling the default behavior by @jadolg in #331
- Remove query parameter from
channels_onlineby @jadolg in #332 - Remove outdated information from readme by @jadolg in #333
- Return iterators for paginated endpoints by @jadolg in #327
- Remove pprint from README by @jadolg in #334
- Update test matrix by @jadolg in #335
Full Changelog: 1.37.0...2.0.0