Skip to content
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
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] - 2026-04-20

### Changed
- Marked the SDK as stable (1.0.0). No code-behavior changes since 0.3.0;
this release commits to the current public API under semantic versioning.
Breaking changes will require a 2.0.0.

## [0.3.0] - 2026-04-20

### Changed
- Synced with the latest OpenAPI spec: `ListEmailsResponse` and
`ListProjectsResponse` no longer carry a top-level `success` flag;
Expand Down Expand Up @@ -105,6 +114,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`ValidationError`, `NotFoundError`, `ConflictError`, `BadRequestError`,
`ServerError`)

[Unreleased]: https://github.com/lettr/lettr-python/compare/v0.2.0...HEAD
[Unreleased]: https://github.com/lettr/lettr-python/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/lettr/lettr-python/compare/v0.3.0...v1.0.0
[0.3.0]: https://github.com/lettr/lettr-python/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/lettr/lettr-python/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/lettr/lettr-python/releases/tag/v0.1.0
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "lettr"
version = "0.3.0"
version = "1.0.0"
description = "Official Python SDK for the Lettr Email API"
readme = "README.md"
license = "MIT"
Expand All @@ -14,7 +14,7 @@ authors = [
]
keywords = ["email", "transactional", "lettr", "api", "sdk"]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
2 changes: 1 addition & 1 deletion src/lettr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
)
from .resources import Domains, Emails, Projects, Templates, Webhooks

__version__ = "0.3.0"
__version__ = "1.0.0"

__all__ = [
# Client
Expand Down
Binary file modified src/lettr/__pycache__/__init__.cpython-313.pyc
Binary file not shown.
Binary file modified src/lettr/__pycache__/_client.cpython-313.pyc
Binary file not shown.
Binary file modified src/lettr/__pycache__/_exceptions.cpython-313.pyc
Binary file not shown.
Binary file modified src/lettr/__pycache__/_types.cpython-313.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions src/lettr/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
"Accept": "application/json",
"User-Agent": "lettr-python/0.3.0",
"User-Agent": "lettr-python/1.0.0",
},
)

Expand Down Expand Up @@ -98,7 +98,7 @@ def get_no_auth(self, path: str, *, params: dict[str, Any] | None = None) -> Any
timeout=self._timeout,
headers={
"Accept": "application/json",
"User-Agent": "lettr-python/0.3.0",
"User-Agent": "lettr-python/1.0.0",
},
)
except httpx.HTTPError as exc:
Expand Down
Binary file modified src/lettr/resources/__pycache__/domains.cpython-313.pyc
Binary file not shown.
Binary file modified src/lettr/resources/__pycache__/emails.cpython-313.pyc
Binary file not shown.
Binary file modified src/lettr/resources/__pycache__/projects.cpython-313.pyc
Binary file not shown.
Binary file modified src/lettr/resources/__pycache__/templates.cpython-313.pyc
Binary file not shown.
Binary file modified src/lettr/resources/__pycache__/webhooks.cpython-313.pyc
Binary file not shown.
Binary file modified tests/__pycache__/__init__.cpython-313.pyc
Binary file not shown.
Binary file modified tests/__pycache__/conftest.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_client.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_domains.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_emails.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_exceptions.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_lettr.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_projects.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_templates.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_types.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_webhooks.cpython-313-pytest-9.0.3.pyc
Binary file not shown.
Loading