diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c6500a3..b37a9d3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "7.24.0" + ".": "7.25.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 2b72539..6f303f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 145 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-9074e771bd8042233d1c6d73d11ea3c41ee63f3639119deae5dc3b7a5655e568.yml -openapi_spec_hash: f09e821d35afa0ad0117a1d8eb9d4d16 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-31abe25287f6885a9e18e84b9317abcb36a9fff5f694feb7a4353c5622d93730.yml +openapi_spec_hash: 65d48382e29817ef7b89e70b20bf8d4d config_hash: 3eb0070d128aef7a6da16173f7050177 diff --git a/CHANGELOG.md b/CHANGELOG.md index b434e63..308c242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 7.25.0 (2026-08-04) + +Full Changelog: [v7.24.0...v7.25.0](https://github.com/trycourier/courier-python/compare/v7.24.0...v7.25.0) + +### Features + +* Merge pull request [#178](https://github.com/trycourier/courier-python/issues/178) from trycourier/geraldosilva/c-19484-elemental-formatting-controls ([90f3b0b](https://github.com/trycourier/courier-python/commit/90f3b0bac8cb602c288f2d03429df6de6d04ac90)) + ## 7.24.0 (2026-08-03) Full Changelog: [v7.23.0...v7.24.0](https://github.com/trycourier/courier-python/compare/v7.23.0...v7.24.0) diff --git a/pyproject.toml b/pyproject.toml index fad6e6c..7d4a6ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "trycourier" -version = "7.24.0" +version = "7.25.0" description = "The official Python library for the Courier API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/courier/_version.py b/src/courier/_version.py index dd757ad..6a1bd53 100644 --- a/src/courier/_version.py +++ b/src/courier/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "courier" -__version__ = "7.24.0" # x-release-please-version +__version__ = "7.25.0" # x-release-please-version diff --git a/src/courier/types/shared/elemental_channel_node.py b/src/courier/types/shared/elemental_channel_node.py index cf34cac..e820088 100644 --- a/src/courier/types/shared/elemental_channel_node.py +++ b/src/courier/types/shared/elemental_channel_node.py @@ -25,6 +25,28 @@ class ElementalChannelNode(ElementalBaseNode): Can be `email`, `push`, `direct_message`, `sms` or a provider such as slack """ + font_size: Optional[str] = None + """Email only. + + Document-level base font size (CSS px, e.g. `16px`) for body content — text, + quote, list and action button labels. Heading styles (`h1`/`h2`/`h3`) and + `subtext` keep their preset sizes. + """ + + line_height: Optional[str] = None + """Email only. + + Document-level line height (CSS px or unitless multiplier, e.g. `24px` or `1.5`) + applied to all body content unless overridden per block. + """ + + padding: Optional[str] = None + """Email only. + + Document-level body padding applied once around the email body, as a CSS px + shorthand (1–4 values), e.g. `48px 64px`. + """ + raw: Optional[Dict[str, object]] = None """Raw data to apply to the channel. diff --git a/src/courier/types/shared_params/elemental_channel_node.py b/src/courier/types/shared_params/elemental_channel_node.py index bffdf2d..e26c8ae 100644 --- a/src/courier/types/shared_params/elemental_channel_node.py +++ b/src/courier/types/shared_params/elemental_channel_node.py @@ -27,6 +27,28 @@ class ElementalChannelNode(ElementalBaseNode, total=False): Can be `email`, `push`, `direct_message`, `sms` or a provider such as slack """ + font_size: Optional[str] + """Email only. + + Document-level base font size (CSS px, e.g. `16px`) for body content — text, + quote, list and action button labels. Heading styles (`h1`/`h2`/`h3`) and + `subtext` keep their preset sizes. + """ + + line_height: Optional[str] + """Email only. + + Document-level line height (CSS px or unitless multiplier, e.g. `24px` or `1.5`) + applied to all body content unless overridden per block. + """ + + padding: Optional[str] + """Email only. + + Document-level body padding applied once around the email body, as a CSS px + shorthand (1–4 values), e.g. `48px 64px`. + """ + raw: Optional[Dict[str, object]] """Raw data to apply to the channel.