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
@@ -162,7 +162,7 @@ All notable changes to this project will be documented in this file.
162
162
- The `Mail` helper signature has changed.
163
163
- Setting up a `SendGridAPIClient` has changed.
164
164
165
-
Please see the [use cases documentation](https://github.com/sendgrid/sendgrid-python/blob/master/use_cases/README.md) for implemenation details.
165
+
Please see the [use cases documentation](use_cases/README.md) for implemenation details.
166
166
167
167
This refactor was based on [this issue](https://github.com/sendgrid/sendgrid-python/issues/347). BIG thanks to all of those who [participated](https://github.com/sendgrid/sendgrid-python/issues/323) in shaping this release.
168
168
@@ -198,7 +198,7 @@ In particular, BIG THANKS to:
198
198
-[PR #488](https://github.com/sendgrid/sendgrid-python/pull/488): Fix similar code issue in mail.py helper (BIG thanks to [@adiman9](https://github.com/adiman9))
199
199
-[PR #496](https://github.com/sendgrid/sendgrid-python/pull/496): Fix issues in sendgrid/helpers/mail/mail.py (BIG thanks to [@galihmelon](https://github.com/galihmelon))
200
200
-[PR #510](https://github.com/sendgrid/sendgrid-python/pull/510): Fix similar code issue in sendgrid/helpers/mail/mail.py (BIG thanks to [@nanspro](https://github.com/nanspro))
201
-
-[PR #524](https://github.com/sendgrid/sendgrid-python/pull/524): Fix master failure on travis (relating to ASM raise-assertion). (BIG thanks to [@extemporalgenome](https://github.com/extemporalgenome))
201
+
-[PR #524](https://github.com/sendgrid/sendgrid-python/pull/524): Fix main failure on travis (relating to ASM raise-assertion). (BIG thanks to [@extemporalgenome](https://github.com/extemporalgenome))
202
202
203
203
### Added
204
204
-[PR #666](https://github.com/sendgrid/sendgrid-python/pull/666): Created First-timers.md File (BIG thanks to [@jaykay12](https://github.com/jaykay12))
@@ -316,7 +316,7 @@ Removed the trailing white spaces. Big thanks to [Siddaram Halli](https://github
316
316
## [5.0.0] - 2017-08-11
317
317
### BREAKING CHANGE
318
318
- The breaking change actually happened in [version 4.2.1](https://github.com/sendgrid/sendgrid-python/releases/tag/v4.2.1), where I mistakenly applied a patch version bump. See issues #328 and #321 for details.
319
-
- This version (5.0.0) replaces error handling via HTTPError from urllib in favor of custom error handling via the [HTTPError class](https://github.com/sendgrid/python-http-client/blob/master/python_http_client/exceptions.py) as was the case in version 4.2.0.
319
+
- This version (5.0.0) replaces error handling via HTTPError from urllib in favor of custom error handling via the [HTTPError class](https://github.com/sendgrid/python-http-client/blob/HEAD/python_http_client/exceptions.py) as was the case in version 4.2.0.
320
320
321
321
## [4.2.1] - 2017-08-03 ##
322
322
### Fixed
@@ -337,7 +337,7 @@ Removed the trailing white spaces. Big thanks to [Siddaram Halli](https://github
337
337
### BREAKING CHANGE
338
338
- Pull #244[refactor helpers using property getter/setter](https://github.com/sendgrid/sendgrid-python/pull/244/files)
339
339
- Big thanks to [Denis Vlasov](https://github.com/denis90) for the pull request!
340
-
- The changes break the implementation of the [Mail Helper](https://github.com/sendgrid/sendgrid-python/tree/master/sendgrid/helpers/mail)`Mail()` class
340
+
- The changes break the implementation of the [Mail Helper](sendgrid/helpers/mail)`Mail()` class
341
341
-`set_from()` is now the property `from_email`
342
342
-`set_subject()` is now the property `subject`
343
343
-`set_template_id()` is now the property `template_id`
@@ -426,7 +426,7 @@ Removed the trailing white spaces. Big thanks to [Siddaram Halli](https://github
426
426
## [3.2.2] - 2016-08-23 ##
427
427
### Added
428
428
- Table of Contents in the README
429
-
- Added a [USE_CASES.md](https://github.com/sendgrid/sendgrid-python/blob/master/USE_CASES.md) section, with the first use case example for transactional templates
429
+
- Added a [USE_CASES.md](USE_CASES.md) section, with the first use case example for transactional templates
430
430
431
431
## [3.2.1] - 2016-08-17 ##
432
432
### Fixed
@@ -448,7 +448,7 @@ Removed the trailing white spaces. Big thanks to [Siddaram Halli](https://github
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ source .env
87
87
88
88
#### Execute
89
89
90
-
See the [examples folder](https://github.com/sendgrid/sendgrid-python/tree/master/examples) to get started quickly.
90
+
See the [examples folder](examples) to get started quickly.
91
91
92
92
If testing from the root directory of this repo, create a new file (e.g. test.py) and replace `import sendgrid` with `from sendgrid import *`
93
93
@@ -104,7 +104,7 @@ If testing from the root directory of this repo, create a new file (e.g. test.py
104
104
105
105
The PR must pass all the tests before it is reviewed.
106
106
107
-
All test files are in the [`test`](https://github.com/sendgrid/sendgrid-python/test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid.py`](https://github.com/sendgrid/sendgrid-python/tree/master/test/test_sendgrid.py) file with unit tests as you modify the code.
107
+
All test files are in the [`test`](test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid.py`](test/test_sendgrid.py) file with unit tests as you modify the code.
108
108
109
109
The integration tests require a Twilio SendGrid mock API in order to execute. We've simplified setting this up using Docker to run the tests. You will just need [Docker Desktop](https://docs.docker.com/get-docker/) and `make`.
110
110
@@ -165,7 +165,7 @@ Please run your code through:
165
165
5. Locally merge (or rebase) the upstream development branch into your topic branch:
166
166
167
167
```bash
168
-
git pull [--rebase] upstream master
168
+
git pull [--rebase] upstream main
169
169
```
170
170
171
171
6. Push your topic branch up to your fork:
@@ -175,7 +175,7 @@ Please run your code through:
175
175
```
176
176
177
177
7.[Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
178
-
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
178
+
with a clear title and description against the `main` branch. All tests must be passing before we will review the PR.
179
179
180
180
## Code Reviews
181
181
If you can, please look at open PRs and review them. Give feedback and help us merge these PRs much faster! If you don't know how, GitHub has some great [information on how to review a Pull Request](https://help.github.com/articles/about-pull-request-reviews/).
Copy file name to clipboardExpand all lines: FIRST_TIMERS.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,13 @@ Kindly make sure, to check for any duplicate issues raised by fellow contributor
54
54
55
55
**Step 4:** Commit the changes in logical chunks & add commit messages strictly following [this](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
56
56
57
-
**Step 5:** Run all test locally, [for more info](https://github.com/sendgrid/sendgrid-python/blob/master/CONTRIBUTING.md#testing)
57
+
**Step 5:** Run all test locally, [for more info](CONTRIBUTING.md#testing)
58
58
59
-
**Step 6:** Locally merge your the upstream development branch into your topic-branch using `git pull [--rebase] upstream master`
59
+
**Step 6:** Locally merge your the upstream development branch into your topic-branch using `git pull [--rebase] upstream main`
60
60
61
61
**Step 7:** Push the topic branch up to your fork using `git push origin <topic-branch-name>`
62
62
63
-
**Step 8:** Open a Pull Request with clear title and description against the master branch.
63
+
**Step 8:** Open a Pull Request with clear title and description against the main branch.
Version 3.X.X+ of this library provides full support for all SendGrid [Web API v3](https://sendgrid.com/docs/API_Reference/Web_API_v3/index.html) endpoints, including the new [v3 /mail/send](https://sendgrid.com/blog/introducing-v3mailsend-sendgrids-new-mail-endpoint).
17
17
18
-
This library represents the beginning of a new path for SendGrid. We want this library to be community driven and SendGrid led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/sendgrid/sendgrid-python/issues) and [pull requests](https://github.com/sendgrid/sendgrid-python/blob/master/CONTRIBUTING.md) or simply upvote or comment on existing issues or pull requests.
18
+
This library represents the beginning of a new path for SendGrid. We want this library to be community driven and SendGrid led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/sendgrid/sendgrid-python/issues) and [pull requests](CONTRIBUTING.md) or simply upvote or comment on existing issues or pull requests.
19
19
20
20
Please browse the rest of this README for further detail.
21
21
@@ -82,7 +82,7 @@ pip install sendgrid
82
82
83
83
## Hello Email
84
84
85
-
The following is the minimum needed code to send an email with the [/mail/send Helper](https://github.com/sendgrid/sendgrid-python/tree/master/sendgrid/helpers/mail) ([here](https://github.com/sendgrid/sendgrid-python/blob/master/examples/helpers/mail_example.py#L9) is a full example):
85
+
The following is the minimum needed code to send an email with the [/mail/send Helper](sendgrid/helpers/mail) ([here](examples/helpers/mail_example.py#L9) is a full example):
86
86
87
87
### With Mail Helper Class
88
88
@@ -103,11 +103,11 @@ print(response.body)
103
103
print(response.headers)
104
104
```
105
105
106
-
The `Mail` constructor creates a [personalization object](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/personalizations.html) for you. [Here](https://github.com/sendgrid/sendgrid-python/blob/master/examples/helpers/mail_example.py#L16) is an example of how to add it.
106
+
The `Mail` constructor creates a [personalization object](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/personalizations.html) for you. [Here](examples/helpers/mail_example.py#L16) is an example of how to add it.
107
107
108
108
### Without Mail Helper Class
109
109
110
-
The following is the minimum needed code to send an email without the /mail/send Helper ([here](https://github.com/sendgrid/sendgrid-python/blob/master/examples/mail/mail.py#L27) is a full example):
110
+
The following is the minimum needed code to send an email without the /mail/send Helper ([here](examples/mail/mail.py#L27) is a full example):
111
111
112
112
```python
113
113
import sendgrid
@@ -170,29 +170,29 @@ print(response.headers)
170
170
<aname="inbound"></a>
171
171
# Processing Inbound Email
172
172
173
-
Please see [our helper](https://github.com/sendgrid/sendgrid-python/tree/master/sendgrid/helpers/inbound) for utilizing our Inbound Parse webhook.
173
+
Please see [our helper](sendgrid/helpers/inbound) for utilizing our Inbound Parse webhook.
-[How-to: Migration from v2 to v3](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/how_to_migrate_from_v2_to_v3_mail_send.html)
182
-
-[v3 Web API Mail Send Helper](https://github.com/sendgrid/sendgrid-python/tree/master/sendgrid/helpers/mail) - build a request object payload for a v3 /mail/send API call.
[Examples of common API use cases](https://github.com/sendgrid/sendgrid-python/blob/master/use_cases/README.md), such as how to send an email with a transactional template.
188
+
[Examples of common API use cases](use_cases/README.md), such as how to send an email with a transactional template.
189
189
190
190
<aname="announcements"></a>
191
191
# Announcements
192
192
193
193
Please see our announcement regarding [breaking changes](https://github.com/sendgrid/sendgrid-python/issues/217). Your support is appreciated!
194
194
195
-
All updates to this library are documented in our [CHANGELOG](https://github.com/sendgrid/sendgrid-python/blob/master/CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-python/releases). You may also subscribe to email [release notifications](https://dx.sendgrid.com/newsletter/java) for releases and breaking changes.
195
+
All updates to this library are documented in our [CHANGELOG](CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-python/releases). You may also subscribe to email [release notifications](https://dx.sendgrid.com/newsletter/java) for releases and breaking changes.
196
196
197
197
<aname="roadmap"></a>
198
198
# Roadmap
@@ -202,19 +202,19 @@ If you are interested in the future direction of this project, please take a loo
202
202
<aname="contribute"></a>
203
203
# How to Contribute
204
204
205
-
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/sendgrid/sendgrid-python/blob/master/CONTRIBUTING.md) guide for details.
205
+
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](CONTRIBUTING.md) guide for details.
0 commit comments