Skip to content
Open
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 @@
{
".": "7.24.0"
".": "7.25.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: 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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 = "trycourier"
version = "7.24.0"
version = "7.25.0"
description = "The official Python library for the Courier API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/courier/_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__ = "courier"
__version__ = "7.24.0" # x-release-please-version
__version__ = "7.25.0" # x-release-please-version
22 changes: 22 additions & 0 deletions src/courier/types/shared/elemental_channel_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
22 changes: 22 additions & 0 deletions src/courier/types/shared_params/elemental_channel_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down