Skip to content

Commit

Permalink
Merge pull request #159 from blag/last-3.1.0-tweaks
Browse files Browse the repository at this point in the history
Last 3.1.0 tweaks
  • Loading branch information
blag authored Dec 10, 2019
2 parents 68a0de7 + e1ada4d commit ccd8fad
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 45 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ after_success:
- codecov
matrix:
include:
# Linting
- python: 3.6
env: TOX_ENV=flake8
# CPython 2.7
- python: 2.7
env: TOXENV=py27-base
Expand Down Expand Up @@ -77,6 +80,3 @@ matrix:
env: TOXENV=pypy-pycrypto-norsa
- python: pypy3.5
env: TOXENV=pypy-compatibility
# Linting
- python: 3.6
env: TOX_ENV=flake8
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Changelog #

## 3.1.0 -- 2019-12-10 ##

This is a greatly overdue release.

### Features ###

* Improve `JWT.decode()` #76 (fixes #75)
* Sort headers when serializing to allow for headless JWT #136 (fixes #80)
* Adjust dependency handling
- Use PyCryptodome instead of PyCrypto #83
- Update package dependencies #124 (fixes #158)
* Avoid using deprecated methods #85
* Support X509 certificates #107
* Isolate and flesh out cryptographic backends to enable independent operation #129 (fixes #114)
- Remove pyca/cryptography backend's dependency on python-ecdsa #117
- Remove pycrypto/dome backends' dependency on python-rsa #121
- Make pyca/cryptography backend the preferred backend if multiple backends are present #122

### Bugfixes/Improvements ###

* Enable flake8 check in tox/TravisCI #77
* Fix `crytography` dependency typo #94
* Trigger tests using `python setup.py test` #97
* Properly raise an error if a claim is expected and not given #98
* Typo fixes #110
* Fix invalid RSA private key PKCS8 encoding by python-rsa backend #120 (fixes #119)
* Remove `future` dependency #134 (fixes #112)
* Fix incorrect use of `pytest.raises(message=...)` #141
* Typo fix #143
* Clarify sign docstring to allow for `dict` payload #150

### Housekeeping ###

* Streamline the code a bit and update classifiers #87
* Fix typo and rephrase `access_token` documentation #89
* Code linting now mostly honors flake8 #101
* Document using a `dict` for `jwt.encode` and `jwt.decode` #103
* Include docs and tests in source distributions #111
* Updating README descriptions of crypto backends #130
* Document versioning policy #131
* Add `CHANGELOG.rst` #132 (fixes #99)
* Simplify and extend `.travis.yml` #135
* Move `CHANGELOG.rst` to `CHANGELOG.md` and update it #159
41 changes: 0 additions & 41 deletions CHANGELOG.rst

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def _cryptography_version():
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
Expand Down

0 comments on commit ccd8fad

Please sign in to comment.