diff --git a/CHANGELOG.md b/CHANGELOG.md index e787c6b..ae81817 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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; @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 703d38d..9b4e1cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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", diff --git a/src/lettr/__init__.py b/src/lettr/__init__.py index 17be529..94cd32c 100644 --- a/src/lettr/__init__.py +++ b/src/lettr/__init__.py @@ -61,7 +61,7 @@ ) from .resources import Domains, Emails, Projects, Templates, Webhooks -__version__ = "0.3.0" +__version__ = "1.0.0" __all__ = [ # Client diff --git a/src/lettr/__pycache__/__init__.cpython-313.pyc b/src/lettr/__pycache__/__init__.cpython-313.pyc index 88da3f6..ffef533 100644 Binary files a/src/lettr/__pycache__/__init__.cpython-313.pyc and b/src/lettr/__pycache__/__init__.cpython-313.pyc differ diff --git a/src/lettr/__pycache__/_client.cpython-313.pyc b/src/lettr/__pycache__/_client.cpython-313.pyc index 78226e2..71b88e9 100644 Binary files a/src/lettr/__pycache__/_client.cpython-313.pyc and b/src/lettr/__pycache__/_client.cpython-313.pyc differ diff --git a/src/lettr/__pycache__/_exceptions.cpython-313.pyc b/src/lettr/__pycache__/_exceptions.cpython-313.pyc index 46c67a9..fee3318 100644 Binary files a/src/lettr/__pycache__/_exceptions.cpython-313.pyc and b/src/lettr/__pycache__/_exceptions.cpython-313.pyc differ diff --git a/src/lettr/__pycache__/_types.cpython-313.pyc b/src/lettr/__pycache__/_types.cpython-313.pyc index 453d9d2..4b72358 100644 Binary files a/src/lettr/__pycache__/_types.cpython-313.pyc and b/src/lettr/__pycache__/_types.cpython-313.pyc differ diff --git a/src/lettr/_client.py b/src/lettr/_client.py index 294e550..dc84307 100644 --- a/src/lettr/_client.py +++ b/src/lettr/_client.py @@ -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", }, ) @@ -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: diff --git a/src/lettr/resources/__pycache__/domains.cpython-313.pyc b/src/lettr/resources/__pycache__/domains.cpython-313.pyc index 9c03391..af8eca5 100644 Binary files a/src/lettr/resources/__pycache__/domains.cpython-313.pyc and b/src/lettr/resources/__pycache__/domains.cpython-313.pyc differ diff --git a/src/lettr/resources/__pycache__/emails.cpython-313.pyc b/src/lettr/resources/__pycache__/emails.cpython-313.pyc index c6c2eb8..d5cf899 100644 Binary files a/src/lettr/resources/__pycache__/emails.cpython-313.pyc and b/src/lettr/resources/__pycache__/emails.cpython-313.pyc differ diff --git a/src/lettr/resources/__pycache__/projects.cpython-313.pyc b/src/lettr/resources/__pycache__/projects.cpython-313.pyc index da79895..2f7166b 100644 Binary files a/src/lettr/resources/__pycache__/projects.cpython-313.pyc and b/src/lettr/resources/__pycache__/projects.cpython-313.pyc differ diff --git a/src/lettr/resources/__pycache__/templates.cpython-313.pyc b/src/lettr/resources/__pycache__/templates.cpython-313.pyc index b35f63e..993d0fe 100644 Binary files a/src/lettr/resources/__pycache__/templates.cpython-313.pyc and b/src/lettr/resources/__pycache__/templates.cpython-313.pyc differ diff --git a/src/lettr/resources/__pycache__/webhooks.cpython-313.pyc b/src/lettr/resources/__pycache__/webhooks.cpython-313.pyc index 5242d06..62a2c65 100644 Binary files a/src/lettr/resources/__pycache__/webhooks.cpython-313.pyc and b/src/lettr/resources/__pycache__/webhooks.cpython-313.pyc differ diff --git a/tests/__pycache__/__init__.cpython-313.pyc b/tests/__pycache__/__init__.cpython-313.pyc index 01b8422..6ae4105 100644 Binary files a/tests/__pycache__/__init__.cpython-313.pyc and b/tests/__pycache__/__init__.cpython-313.pyc differ diff --git a/tests/__pycache__/conftest.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/conftest.cpython-313-pytest-9.0.3.pyc index 86cf205..c06036f 100644 Binary files a/tests/__pycache__/conftest.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/conftest.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_client.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_client.cpython-313-pytest-9.0.3.pyc index 0b3eef4..6d88fdb 100644 Binary files a/tests/__pycache__/test_client.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_client.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_domains.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_domains.cpython-313-pytest-9.0.3.pyc index 485042e..e17a1d4 100644 Binary files a/tests/__pycache__/test_domains.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_domains.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_emails.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_emails.cpython-313-pytest-9.0.3.pyc index e667ee6..a831e5b 100644 Binary files a/tests/__pycache__/test_emails.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_emails.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_exceptions.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_exceptions.cpython-313-pytest-9.0.3.pyc index 2067c15..8510914 100644 Binary files a/tests/__pycache__/test_exceptions.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_exceptions.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_lettr.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_lettr.cpython-313-pytest-9.0.3.pyc index 6bd69bc..4a82d51 100644 Binary files a/tests/__pycache__/test_lettr.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_lettr.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_projects.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_projects.cpython-313-pytest-9.0.3.pyc index b575ae3..e2ac8bd 100644 Binary files a/tests/__pycache__/test_projects.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_projects.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_templates.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_templates.cpython-313-pytest-9.0.3.pyc index b6c80a0..14c43a7 100644 Binary files a/tests/__pycache__/test_templates.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_templates.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_types.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_types.cpython-313-pytest-9.0.3.pyc index 2d3d888..46027cf 100644 Binary files a/tests/__pycache__/test_types.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_types.cpython-313-pytest-9.0.3.pyc differ diff --git a/tests/__pycache__/test_webhooks.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_webhooks.cpython-313-pytest-9.0.3.pyc index 332e386..3eba311 100644 Binary files a/tests/__pycache__/test_webhooks.cpython-313-pytest-9.0.3.pyc and b/tests/__pycache__/test_webhooks.cpython-313-pytest-9.0.3.pyc differ