Skip to content

Releases: jadolg/rocketchat_API

3.6.0

22 Apr 11:02
940073e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.5.0...3.6.0

3.5.0

11 Apr 16:58
e2a85e9

Choose a tag to compare

What's Changed

  • Update jadolg/rocketchat-notification-action to v 3.0.0 by @jadolg in #377
  • Add custom_user_status API section by @jadolg in #378
  • Add pagination support to custom_user_status_list method by @jadolg in #379
  • Add custom_sounds API section by @jadolg in #380
  • Add licenses_max_active_users method and expand license test coverage by @jadolg in #381

Full Changelog: 3.4.0...3.5.0

3.4.0

23 Mar 21:46
4c6b360

Choose a tag to compare

What's Changed

  • Add livechat_get_appearance and livechat_set_appearance methods and raw body POST support by @jadolg in #376

Full Changelog: 3.3.0...3.4.0

3.3.0

23 Mar 15:53
2cb1a67

Choose a tag to compare

What's Changed

  • Add dm_delete method 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_id and banners_dismiss methods by @jadolg in #372
  • Add moderation API section by @jadolg in #373
  • Add roles_delete and roles_get_users_in_public_roles endpoints by @jadolg in #374
  • Add missing invite methods by @jadolg in #375

Full Changelog: 3.2.0...3.3.0

3.2.0

18 Mar 12:23
b70570b

Choose a tag to compare

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_one by @jadolg in #353
  • Add tests to check posting multiline messages by @jadolg in #354
  • Add issue templates by @jadolg in #355
  • Improve users_reset_avatar docstring to specify default behavior and required permissions by @jadolg in #358
  • Add groups_set_encrypted by @jadolg in #359
  • Add groups_convert_to_team method by @jadolg in #360
  • Add groups_online method by @jadolg in #361
  • Refactor parameter validation to use predefined constants for error messages. by @jadolg in #362
  • Add teams_autocomplete method by @jadolg in #363
  • Add teams_list_rooms_of_user method 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

19 Jan 14:34
905d5d3

Choose a tag to compare

What's Changed

  • Remove deprecated 'im' API section and related tests by @jadolg in #348

Full Changelog: 3.0.0...3.1.0

3.0.0

19 Jan 13:12
4d15570

Choose a tag to compare

What's Changed

Breaking changes

  • Rework how exceptions work so they carry more information by @jadolg in #346

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 e

or

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

15 Jan 13:29
4453b69

Choose a tag to compare

What's Changed

🚨 Breaking changes 🚨

  • Removed deprecated rooms_upload method
  • Updated addUserToRole and removeUserFromRole to use role_id instead of role_name
  • Updated users_create_token to remove username parameter and add secret parameter which is now mandatory

Full Changelog: 2.0.1...2.1.0

2.0.1

13 Jan 21:23
1674a54

Choose a tag to compare

What's Changed

  • Fix pagination decorator to accept positional and keyword arguments by @jadolg in #337

Full Changelog: 2.0.0...2.0.1

2.0.0

07 Jan 14:18
924299a

Choose a tag to compare

🚨 Breaking changes 🚨

What's Changed

Full Changelog: 1.37.0...2.0.0