Skip to content

release: 1.4.0 #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.3.0"
".": "1.4.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/knockapi/_version.py
Original file line number Diff line number Diff line change
@@ -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
14 changes: 10 additions & 4 deletions src/knockapi/resources/users/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down