Skip to content

Commit 17c6d15

Browse files
committed
Fix API docs and repository links
1 parent 8821498 commit 17c6d15

5 files changed

Lines changed: 23 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,42 @@
11
## [2.4.0] - 2025-12-04
2+
23
* Fix issue #52: Update README.md using new guideline by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/55
34
* Fix issue #53: Add full usage in all examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/56
45
* Merge functionality and examples in Readme by @yanchuk in https://github.com/mailtrap/mailtrap-python/pull/57
56
* Fix issue #54: Add SendingDomainsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/58
67

78
## [2.3.0] - 2025-10-24
9+
810
* Fix issue #24: Add batch_send method to SendingApi, add models by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/47
911
* Fix issue #42: Add GeneralApi, related models, examples, tests. by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/48
1012
* Fix issue #41: Add ContactExportsApi, related models, tests and examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/49
1113
* Fix issue #45: Add ContactEventsApi, related models, tests and examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/51
1214

1315
## [2.2.0] - 2025-09-18
14-
- Potential fix for code scanning alert no. 1: Workflow does not contain permissions by @mklocek in https://github.com/railsware/mailtrap-python/pull/15
15-
- Fix issue #29. Add support of Emails Sandbox (Testing) API: Projects by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/31
16-
- Issue 25 by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/33
17-
- Fix issue #18: Add api for EmailTemplates, add tests and examples by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/34
18-
- Fix issue #19: Add ContactFieldsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/35
19-
- Fix issue #20: Add ContactListsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/36
20-
- Fix issue #21: Add ContactsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/37
21-
- Fix issue #22: Add ContactImportsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/38
22-
- Fix issue #23: Add SuppressionsApi, related models, tests and examples by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/39
23-
- Fix issue #27: Add InboxesApi, related models, tests, examples. by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/40
24-
- Fix issue #26: Add MessagesApi, releated models, examples, tests by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/43
25-
- Fix issue #28: Add AttachmentsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/railsware/mailtrap-python/pull/44
16+
17+
- Potential fix for code scanning alert no. 1: Workflow does not contain permissions by @mklocek in https://github.com/mailtrap/mailtrap-python/pull/15
18+
- Fix issue #29. Add support of Emails Sandbox (Testing) API: Projects by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/31
19+
- Issue 25 by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/33
20+
- Fix issue #18: Add api for EmailTemplates, add tests and examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/34
21+
- Fix issue #19: Add ContactFieldsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/35
22+
- Fix issue #20: Add ContactListsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/36
23+
- Fix issue #21: Add ContactsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/37
24+
- Fix issue #22: Add ContactImportsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/38
25+
- Fix issue #23: Add SuppressionsApi, related models, tests and examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/39
26+
- Fix issue #27: Add InboxesApi, related models, tests, examples. by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/40
27+
- Fix issue #26: Add MessagesApi, releated models, examples, tests by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/43
28+
- Fix issue #28: Add AttachmentsApi, related models, tests, examples by @Ihor-Bilous in https://github.com/mailtrap/mailtrap-python/pull/44
2629

2730
## [2.1.0] - 2025-05-12
31+
2832
- Add sandbox mode support in MailtrapClient
2933
- It requires inbox_id parameter to be set
3034
- Add bulk mode support in MailtrapClient
3135
- Drop support python 3.6 - 3.8
3236
- Add support for python 3.12 - 3.13
3337

3438
## [2.0.1] - 2023-05-18
39+
3540
- Add User-Agent header to all requests
3641

3742
## [2.0.0] - 2023-03-11

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Official Mailtrap Python client
77

8-
This Python package offers integration with the [official API](https://api-docs.mailtrap.io/) for [Mailtrap](https://mailtrap.io).
8+
This Python package offers integration with the [official API](https://docs.mailtrap.io/developers) for [Mailtrap](https://mailtrap.io).
99

1010
Add email sending functionality to your Python application quickly with Mailtrap.
1111

mailtrap/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def headers(self) -> dict[str, str]:
148148
"Authorization": f"Bearer {self.token}",
149149
"Content-Type": "application/json",
150150
"User-Agent": (
151-
"mailtrap-python (https://github.com/railsware/mailtrap-python)"
151+
"mailtrap-python (https://github.com/mailtrap/mailtrap-python)"
152152
),
153153
}
154154

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ dynamic = ["dependencies"]
2121

2222
[project.urls]
2323
Homepage = "https://mailtrap.io/"
24-
Documentation = "https://github.com/railsware/mailtrap-python"
25-
Repository = "https://github.com/railsware/mailtrap-python.git"
26-
"API documentation" = "https://api-docs.mailtrap.io/"
24+
Documentation = "https://github.com/mailtrap/mailtrap-python"
25+
Repository = "https://github.com/mailtrap/mailtrap-python.git"
26+
"API documentation" = "https://docs.mailtrap.io/developers"
2727

2828
[build-system]
2929
requires = ["setuptools"]

tests/unit/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ def test_headers_should_return_appropriate_dict(self) -> None:
8787
"Authorization": "Bearer fake_token",
8888
"Content-Type": "application/json",
8989
"User-Agent": (
90-
"mailtrap-python (https://github.com/railsware/mailtrap-python)"
90+
"mailtrap-python (https://github.com/mailtrap/mailtrap-python)"
9191
),
9292
}

0 commit comments

Comments
 (0)