Skip to content

Commit 9270747

Browse files
release: 6.4.0 (#106)
* chore(internal/tests): avoid race condition with implicit client cleanup * feat: Organization update * chore(internal): grammar fix (it's -> its) * codegen metadata * feat: Attempt kick off again * release: 6.4.0-alpha20 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent b5c849c commit 9270747

9 files changed

Lines changed: 235 additions & 182 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "6.4.0-alpha19"
2+
".": "6.4.0-alpha20"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 77
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-674ed1cbb95c8873a65e9ccce88c583c7fc8e65e7e266f213b340ebf3cd30ccd.yml
3-
openapi_spec_hash: c0f755026b10aa2283853347915ee90f
4-
config_hash: 935323e0c2c5db0c9395d46768e05f28
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-855709baf82b33aed6d6c6f879c1bcd476a000da4be69589633b34346e3e5b6f.yml
3+
openapi_spec_hash: 149246dde4cf9f20abf1a877962ddd30
4+
config_hash: d6c6b0c7362ef3c03bfcd149b13468f3

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 6.4.0-alpha20 (2025-11-04)
4+
5+
Full Changelog: [v6.4.0-alpha19...v6.4.0-alpha20](https://github.com/trycourier/courier-python/compare/v6.4.0-alpha19...v6.4.0-alpha20)
6+
7+
### Features
8+
9+
* Attempt kick off again ([d6f825e](https://github.com/trycourier/courier-python/commit/d6f825e2fae7878f03066540056f672b5ff8463d))
10+
* Organization update ([4ba51f6](https://github.com/trycourier/courier-python/commit/4ba51f6bbdf8af2c82cd076935ade4d7d185971e))
11+
12+
13+
### Chores
14+
15+
* **internal/tests:** avoid race condition with implicit client cleanup ([a01184b](https://github.com/trycourier/courier-python/commit/a01184b50a2c8c951d499cf85967fa2350a5371f))
16+
* **internal:** grammar fix (it's -&gt; its) ([e774a66](https://github.com/trycourier/courier-python/commit/e774a6671c0892b648f02d051c56a441baabc679))
17+
318
## 6.4.0-alpha19 (2025-11-01)
419

520
Full Changelog: [v6.4.0-alpha18...v6.4.0-alpha19](https://github.com/trycourier/courier-python/compare/v6.4.0-alpha18...v6.4.0-alpha19)

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1111

1212
## Documentation
1313

14-
The full API of this library can be found in [api.md](api.md).
14+
The REST API documentation can be found on [www.courier.com](https://www.courier.com/docs). The full API of this library can be found in [api.md](api.md).
1515

1616
## Installation
1717

@@ -35,7 +35,7 @@ client = Courier(
3535
response = client.send.message(
3636
message={
3737
"to": {"user_id": "your_user_id"},
38-
"template": "your_template",
38+
"template": "your_template_id",
3939
"data": {"foo": "bar"},
4040
},
4141
)
@@ -65,7 +65,7 @@ async def main() -> None:
6565
response = await client.send.message(
6666
message={
6767
"to": {"user_id": "your_user_id"},
68-
"template": "your_template",
68+
"template": "your_template_id",
6969
"data": {"foo": "bar"},
7070
},
7171
)
@@ -104,7 +104,7 @@ async def main() -> None:
104104
response = await client.send.message(
105105
message={
106106
"to": {"user_id": "your_user_id"},
107-
"template": "your_template",
107+
"template": "your_template_id",
108108
"data": {"foo": "bar"},
109109
},
110110
)
@@ -161,7 +161,7 @@ try:
161161
client.send.message(
162162
message={
163163
"to": {"user_id": "your_user_id"},
164-
"template": "your_template",
164+
"template": "your_template_id",
165165
"data": {"foo": "bar"},
166166
},
167167
)
@@ -210,7 +210,7 @@ client = Courier(
210210
client.with_options(max_retries=5).send.message(
211211
message={
212212
"to": {"user_id": "your_user_id"},
213-
"template": "your_template",
213+
"template": "your_template_id",
214214
"data": {"foo": "bar"},
215215
},
216216
)
@@ -239,7 +239,7 @@ client = Courier(
239239
client.with_options(timeout=5.0).send.message(
240240
message={
241241
"to": {"user_id": "your_user_id"},
242-
"template": "your_template",
242+
"template": "your_template_id",
243243
"data": {"foo": "bar"},
244244
},
245245
)
@@ -288,7 +288,7 @@ response = client.send.with_raw_response.message(
288288
"to": {
289289
"user_id": "your_user_id"
290290
},
291-
"template": "your_template",
291+
"template": "your_template_id",
292292
"data": {
293293
"foo": "bar"
294294
},
@@ -314,7 +314,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi
314314
with client.send.with_streaming_response.message(
315315
message={
316316
"to": {"user_id": "your_user_id"},
317-
"template": "your_template",
317+
"template": "your_template_id",
318318
"data": {"foo": "bar"},
319319
},
320320
) as response:

SECURITY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ before making any information public.
1818
If you encounter security issues that are not directly related to SDKs but pertain to the services
1919
or products provided by Courier, please follow the respective company's security reporting guidelines.
2020

21+
### Courier Terms and Policies
22+
23+
Please contact support@courier.com for any questions or concerns regarding the security of our services.
24+
2125
---
2226

2327
Thank you for helping us keep the SDKs and systems they interact with secure.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[project]
22
name = "trycourier"
3-
version = "6.4.0-alpha19"
4-
description = "The official Python library for the courier API"
3+
version = "6.4.0-alpha20"
4+
description = "The official Python library for the Courier API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
77
authors = [
8-
{ name = "Courier", email = "" },
8+
{ name = "Courier", email = "support@courier.com" },
99
]
1010
dependencies = [
1111
"httpx>=0.23.0, <1",

src/courier/_utils/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def is_given(obj: _T | NotGiven | Omit) -> TypeGuard[_T]:
133133
# Type safe methods for narrowing types with TypeVars.
134134
# The default narrowing for isinstance(obj, dict) is dict[unknown, unknown],
135135
# however this cause Pyright to rightfully report errors. As we know we don't
136-
# care about the contained types we can safely use `object` in it's place.
136+
# care about the contained types we can safely use `object` in its place.
137137
#
138138
# There are two separate functions defined, `is_*` and `is_*_t` for different use cases.
139139
# `is_*` is for when you're dealing with an unknown input

src/courier/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "courier"
4-
__version__ = "6.4.0-alpha19" # x-release-please-version
4+
__version__ = "6.4.0-alpha20" # x-release-please-version

0 commit comments

Comments
 (0)