diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2a8f4ff..3e9af1b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.3.0" + ".": "1.4.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 2f13795..37b615f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 89 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-46f457b0a70074dc6b49569ab3c72a7aeedc111aabf2ffe84f64e5e2f386c14c.yml -openapi_spec_hash: e0fe11d0ae0a6be4f9c052fa649b2a1a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-2c885f8f3762bcc577255242aa61b3ad890170497c865f664d8ab42c8872d97c.yml +openapi_spec_hash: e0f6dd3ae8329fa8b96d1ffdc937cbc9 config_hash: 2ae8965d371a03bd30c6a56819c04cf2 diff --git a/CHANGELOG.md b/CHANGELOG.md index de8b038..1142ce8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.4.0 (2025-05-29) + +Full Changelog: [v1.3.0...v1.4.0](https://github.com/knocklabs/knock-python/compare/v1.3.0...v1.4.0) + +### Features + +* **api:** api update ([5a60edb](https://github.com/knocklabs/knock-python/commit/5a60edb537de411fb6384b6d77ad3a2cfa91dbc1)) + ## 1.3.0 (2025-05-27) Full Changelog: [v1.2.0...v1.3.0](https://github.com/knocklabs/knock-python/compare/v1.2.0...v1.3.0) diff --git a/pyproject.toml b/pyproject.toml index 009fb4f..5f67ee8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "knockapi" -version = "1.3.0" +version = "1.4.0" description = "The official Python library for the knock API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/knockapi/_version.py b/src/knockapi/_version.py index 11f873b..9946b73 100644 --- a/src/knockapi/_version.py +++ b/src/knockapi/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "knockapi" -__version__ = "1.3.0" # x-release-please-version +__version__ = "1.4.0" # x-release-please-version diff --git a/src/knockapi/resources/users/users.py b/src/knockapi/resources/users/users.py index ec6c771..e488b16 100644 --- a/src/knockapi/resources/users/users.py +++ b/src/knockapi/resources/users/users.py @@ -701,8 +701,11 @@ def set_channel_data( extra_body: Body | None = None, timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> ChannelData: - """ - Updates or creates channel data for a specific user and channel ID. + """Updates or creates channel data for a specific user and channel ID. + + If no user + exists in the current environment for the given `user_id`, Knock will create the + user entry as part of this request. Args: data: Channel data for a given channel type. @@ -1456,8 +1459,11 @@ async def set_channel_data( extra_body: Body | None = None, timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> ChannelData: - """ - Updates or creates channel data for a specific user and channel ID. + """Updates or creates channel data for a specific user and channel ID. + + If no user + exists in the current environment for the given `user_id`, Knock will create the + user entry as part of this request. Args: data: Channel data for a given channel type.