You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add the get routes match endpoint
* Add the update template version copy endpoint
* Add the mailboxes credentials endpoint
* Add users endpoint
* test: Add test_get_routes_match to RoutesTests and AsyncRoutesTests
* test: Add test_update_template_version_copy to TemplatesTests and AsyncTemplatesTests
* Remove domain envelopes handler and some users examples
* test: Add test_put_mailboxes_credentials to DomainTests and AsyncDomainTests
* Improve users examples
* test: Add UsersTests and AsyncUsersTests
* Improve handle_templates
* Add get_own_user_details() to users examples
* docs: Add credentials and users examples to README
* test: Add test_own_user_details to AsyncUsersTests; mark it xfail because of a dynamic secret env variable
* test: Add docstrings to users tests
* test: Add docstrings to domain credentials tests
* ci: Update pre-commit hooks
* docs: Update changelog
Copy file name to clipboardExpand all lines: CHANGELOG.md
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,47 @@ We [keep a changelog.](http://keepachangelog.com/)
4
4
5
5
## [Unreleased]
6
6
7
+
### Added
8
+
9
+
- Add missing endpoints:
10
+
11
+
- Add "users", "me" to the `users` key of special cases in the class `Config`.
12
+
- Add `handle_users` to `mailgun.handlers.users_handler` for parsing [Users API](https://documentation.mailgun.com/docs/mailgun/api-reference/send/mailgun/users).
13
+
- 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).
14
+
15
+
- Examples:
16
+
17
+
- 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`
21
+
22
+
- Docs:
23
+
24
+
- Add `Credentials` and `Users` sections with examples to `README.md`.
25
+
- Add docstrings to the test class `UsersTests` & `AsyncUsersTests` and theirs methods.
26
+
27
+
- Tests:
28
+
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 `
32
+
- Add classes `UsersTests` and `AsyncUsersTests` to `tests/tests.py`.
33
+
34
+
### Changed
35
+
36
+
- Update `handle_templates()` in `mailgun/handlers/templates_handler.py` to handle `new_tag`
37
+
38
+
- 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`
0 commit comments