diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 111b74ef..c88635a6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - ".": "7.1.0", + ".": "8.0.0", "getstream-rtc": "0.1.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f94c6f6..09e057ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,35 @@ Entries from 6.1.1 on are generated by release-please from commit messages; earl ones were written by hand in the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format. +## [8.0.0](https://github.com/GetStream/stream-py/compare/v7.1.0...v8.0.0) (2026-11-11) + + +### ⚠ BREAKING CHANGES + +* new optional parameters sit in the middle of many method signatures, and a few models and return types changed. See [#313](https://github.com/GetStream/stream-py/pull/313) and the [migration guide](https://github.com/GetStream/stream-py/blob/main/MIGRATION_v7_to_v8.md) for all changes. The main changes: + * pass optional parameters by keyword: 41 methods, among them `send_message`, `query_channels`, `get_or_create_channel`, `ban`, `unban`, `get_activity` and the poll methods, have new parameters before existing ones + * `update_channel_type` makes `automod`, `automod_behavior` and `max_message_length` optional, and `submit_moderation_feedback` makes `message`, `published_at` and `reference` optional; both move them behind the required parameters + * `update_campaign` returns `UpdateCampaignResponse` and `stop_campaign` returns `StopCampaignResponse`; read the campaign from `.campaign` + * the empty request models `CancelImportV2TaskRequest`, `CommitMessageRequest`, `EndCallRequest`, `ExportFeedUserDataRequest`, `RestoreFeedGroupRequest`, `StartHLSBroadcastingRequest`, `StartPolicyTestRunRequest`, `StopAllRTMPBroadcastsRequest`, `StopCampaignRequest`, `StopFrameRecordingRequest`, `StopHLSBroadcastingRequest`, `VideoEndCallRequestPayload` and `VideoKickUserRequestPayload` are removed, as is `Time`; `EnrichedReaction.created_at` and `updated_at` are `str` + * `AIVideoConfig.provider` is removed + +### Features + +* add `fork_channel`, `fork_message_ids` and `rewind_channel`, also on `Channel` as `fork`, `fork_message_ids` and `rewind` ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* add `query_channel_bans`, `search_all`, `claim_guest_user`, `check_gcp_pub_sub` and the history window team methods `get_history_window_teams`, `set_history_window_teams` and `delete_history_window_teams` ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* add `query_deleted_channels` to list deleted channels ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* add scheduled messages: `send_message(scheduled_at=...)`, `query_scheduled_messages`, `update_scheduled_message`, `delete_scheduled_message` and `send_scheduled_message_now` ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* **feeds:** add feed exports (`export_feeds_app`, `export_feeds_by_type`, `cancel_export_feeds`), retention policies (`feeds_get_retention_policy`, `feeds_set_retention_policy`, `feeds_delete_retention_policy`, `feeds_get_retention_policy_runs`), user interests (`upsert_user_interests`, `delete_user_interests`), `comment_feedback` and `get_notification_status` ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* **moderation:** add config versions (`save_config_version`, `list_config_versions`, `get_config_version`, `publish_config_version`), `query_moderation_feedback` and `reveal_media`, plus `matched_blocklists` on `ModerationRulesTriggeredEvent` and `severities` on `ClosedCaptionRuleParameters` ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* page through `list_imports` with `limit` and `offset`, and set `ImportV2TaskSettings.custom_format` to read custom data from the root of each item or from a nested `custom` object ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* regenerate the client from the current Stream API ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) +* **video:** add `query_call_ring_attempts` ([cc5538e](https://github.com/GetStream/stream-py/commit/cc5538ec188fc7a683c82da7959eaa18358990e7)) + + +### Bug Fixes + +* stop double-encoding list query parameters ([#306](https://github.com/GetStream/stream-py/issues/306)) ([a584118](https://github.com/GetStream/stream-py/commit/a584118a15db9bd60b7daf571fa13d52e459b6d2)), closes [#305](https://github.com/GetStream/stream-py/issues/305) + ## [7.1.0](https://github.com/GetStream/stream-py/compare/v7.0.0...v7.1.0) (2026-11-04) diff --git a/pyproject.toml b/pyproject.toml index ec586fc6..0ec08422 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "getstream" -version = "7.1.0" +version = "8.0.0" description = "GetStream Python SDK - Build scalable activity feeds, chat, and video calling applications" authors = [ { name = "sachaarbonel", email = "sacha.arbonel@hotmail.fr" }, diff --git a/uv.lock b/uv.lock index 2b923ebb..0502fb7f 100644 --- a/uv.lock +++ b/uv.lock @@ -863,7 +863,7 @@ wheels = [ [[package]] name = "getstream" -version = "7.1.0" +version = "8.0.0" source = { editable = "." } dependencies = [ { name = "dataclasses-json" },