Skip to content

Commit 71f24ec

Browse files
committed
Update changelog
1 parent 0cae25c commit 71f24ec

File tree

2 files changed

+26
-15
lines changed

2 files changed

+26
-15
lines changed

CHANGELOG.md

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,56 @@ We [keep a changelog.](http://keepachangelog.com/)
44

55
## [Unreleased]
66

7+
## [1.5.0] - 2025-12-11
8+
79
### Added
810

11+
- Add `AsyncClient` and `AsyncEndpoint` that work based on asynchronous approach. Signatures and usage is basically the same but `AsyncClient`
12+
supports async context manager mode.
13+
14+
- Add `httpx >=0.24.0` as an additional runtime dependency in order to support async/await and also `typing_extensions >=4.7.1` to `environment.yaml`, `environment-dev.yaml`, and `pyproject.toml`.
15+
916
- Add missing endpoints:
1017

11-
- Add "users", "me" to the `users` key of special cases in the class `Config`.
18+
- Add `"users"`, `"me"` to the `users` key of special cases in the class `Config`.
1219
- Add `handle_users` to `mailgun.handlers.users_handler` for parsing [Users API](https://documentation.mailgun.com/docs/mailgun/api-reference/send/mailgun/users).
1320
- Add `handle_mailboxes_credentials()` to `mailgun.handlers.domains_handler` for parsing `Update Mailgun SMTP credentials` in [Credentials API](https://documentation.mailgun.com/docs/mailgun/api-reference/send/mailgun/credentials).
1421

1522
- Examples:
1623

24+
- Add async examples to `async_client_examples.py`.
1725
- Move credentials examples from `mailgun/examples/domain_examples.py` to `mailgun/examples/credentials_examples.py` and add a new example `put_mailboxes_credentials()`.
18-
- Add the `get_routes_match()` example to `mailgun/examples/routes_examples.py`
19-
- Add the `update_template_version_copy()` example to `mailgun/examples/templates_examples.py`
20-
- Add `mailgun/examples/users_examples.py`
26+
- Add the `get_routes_match()` example to `mailgun/examples/routes_examples.py`.
27+
- Add the `update_template_version_copy()` example to `mailgun/examples/templates_examples.py`.
28+
- Add `mailgun/examples/users_examples.py`.
2129

2230
- Docs:
2331

32+
- Add the `AsyncClient` section to `README.md`.
2433
- Add `Credentials` and `Users` sections with examples to `README.md`.
2534
- Add docstrings to the test class `UsersTests` & `AsyncUsersTests` and theirs methods.
2635

2736
- Tests:
2837

29-
- Add `test_put_mailboxes_credentials` to `DomainTests` and `AsyncDomainTests`
30-
- Add `test_get_routes_match` to `RoutesTests` and `AsyncRoutesTests`
31-
- Add `test_update_template_version_copy` to `TemplatesTests ` and `AsyncTemplatesTests `
38+
- Add same tests for `AsyncClient` as exist for `Client`.
39+
- Add `test_put_mailboxes_credentials` to `DomainTests` and `AsyncDomainTests`.
40+
- Add `test_get_routes_match` to `RoutesTests` and `AsyncRoutesTests`.
41+
- Add `test_update_template_version_copy` to `TemplatesTests ` and `AsyncTemplatesTests`.
3242
- Add classes `UsersTests` and `AsyncUsersTests` to `tests/tests.py`.
3343

3444
### Changed
3545

36-
- Update `handle_templates()` in `mailgun/handlers/templates_handler.py` to handle `new_tag`
37-
46+
- Update `handle_templates()` in `mailgun/handlers/templates_handler.py` to handle `new_tag`.
3847
- Update CI workflows: update `pre-commit` hooks to the latest versions.
39-
40-
- Modify `mypy`'s additional_dependencies in `.pre-commit-config.yaml` to suppress `error: Untyped decorator makes function` by adding `pytest-order`
41-
42-
- Replace spaces with tabs in `Makefile`
48+
- Modify `mypy`'s additional_dependencies in `.pre-commit-config.yaml` to suppress `error: Untyped decorator makes function` by adding `pytest-order`.
49+
- Replace spaces with tabs in `Makefile`.
50+
- Update `Makefile`: add `make check-env` and improve `make test`.
4351

4452
### Pull Requests Merged
4553

54+
- [PR_24](https://github.com/mailgun/mailgun-python/pull/24) - Async client support
4655
- [PR_25](https://github.com/mailgun/mailgun-python/pull/25) - Add missing endpoints
56+
- [PR_26](https://github.com/mailgun/mailgun-python/pull/26) - Release v1.5.0
4757

4858
## [1.4.0] - 2025-11-20
4959

@@ -210,4 +220,5 @@ We [keep a changelog.](http://keepachangelog.com/)
210220
[1.2.0]: https://github.com/mailgun/mailgun-python/releases/tag/v1.2.0
211221
[1.3.0]: https://github.com/mailgun/mailgun-python/releases/tag/v1.3.0
212222
[1.4.0]: https://github.com/mailgun/mailgun-python/releases/tag/v1.4.0
213-
[unreleased]: https://github.com/mailgun/mailgun-python/compare/v1.4.0...HEAD
223+
[1.5.0]: https://github.com/mailgun/mailgun-python/releases/tag/v1.5.0
224+
[unreleased]: https://github.com/mailgun/mailgun-python/compare/v1.5.0...HEAD

mailgun/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.4.0.post1.dev11"
1+
__version__ = "1.5.0"

0 commit comments

Comments
 (0)