Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add upgrade guide for dropping python 2.7, 3.4 & 3.5 #570

Merged
merged 7 commits into from
Sep 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add example and missing space
  • Loading branch information
JenniferMah committed Jul 20, 2021
commit cb1bf5e1c7b124913449302483a45147159ed55f
16 changes: 14 additions & 2 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_`MAJOR` version bumps will have upgrade notes
posted here._

[2021-07-XX] 6.x.x to 7.x.x
[2021-XX-XX] 6.x.x to 7.x.x
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Date will be added when MVR date is known.

---------------------------
### Overview
Version `7.x.x` is the first version that officially drops support for Python versions 2.7, 3.4, and 3.5.
Expand All @@ -23,11 +23,23 @@ Version `7.x.x` is the first version that officially drops support for Python ve
- [twilio/jwt/__init__.py](https://github.com/twilio/twilio-python/pull/560/files?file-filters%5B%5D=.ini&file-filters%5B%5D=.py&file-filters%5B%5D=.yml#diff-9152dd65476e69cc34a307781d5cef195070f48da5670ed0934fd34a9ac91150L12-L16)
- Removed import for `simplejson` and `json`

####Updated dependencies
#### Updated dependencies
- [Updated PyJWT to >=2.0.0](https://github.com/twilio/twilio-python/pull/560/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552L6)

### CHANGED - [Remove the ability to override the `algorithm` in `Jwt.to_jwt()`](https://github.com/karls/twilio-python/commit/dab158f429015e0894217d6503f55b517c27c474).

#### 6.x.x
```python
from twilio.jwt.access_token import AccessToken
token.to_jwt(algorithm='HS512')
```

#### 7.X.x
```python
from twilio.jwt.access_token import AccessToken
token.to_jwt()
```

[2017-09-28] 6.6.x to 6.7.x
---------------------------

Expand Down