Skip to content

Commit 4856908

Browse files
n2ygkauvipy
authored andcommitted
try to document undocumented PRs since 1.2.0
1 parent a3e9dcd commit 4856908

File tree

1 file changed

+84
-34
lines changed

1 file changed

+84
-34
lines changed

CHANGELOG.md

Lines changed: 84 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,64 @@
1-
## Changelog
2-
### 1.3.0 [unreleased]
3-
4-
* Fix a race condition in creation of AccessToken with external oauth2 server.
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [unreleased]
8+
### Added
9+
### Changed
10+
### Deprecated
11+
### Removed
12+
### Fixed
13+
### Security
14+
15+
## [1.3.0] 2020-03-TBD
16+
17+
### Added
18+
* Add support for Python 3.7 & 3.8
19+
* Add support for Django>=2.1,<=3.0
20+
* Add requirement for oauthlib>=3.0.1
21+
* Add support for [Proof Key for Code Exchange (PKCE, RFC 7636)](https://tools.ietf.org/html/rfc7636).
22+
* Add support for custom token generators (e.g. to create JWT tokens).
23+
* Add new `OAUTH2_PROVIDER` [settings](https://django-oauth-toolkit.readthedocs.io/en/latest/settings.html):
24+
- `ACCESS_TOKEN_GENERATOR` to override the default access token generator.
25+
- `REFRESH_TOKEN_GENERATOR` to override the default refresh token generator.
26+
- `EXTRA_SERVER_KWARGS` options dictionary for oauthlib's Server class.
27+
- `PKCE_REQUIRED` to require PKCE.
28+
* Add `createapplication` management command to create an application.
29+
* Add `id` in toolkit admin console applications list.
30+
* Add nonstandard Google support for [urn:ietf:wg:oauth:2.0:oob] `redirect_uri`
31+
for [Google OAuth2](https://developers.google.com/identity/protocols/OAuth2InstalledApp) "manual copy/paste".
32+
**N.B.** this feature appears to be deprecated and replaced with methods described in
33+
[RFC 8252: OAuth2 for Native Apps](https://tools.ietf.org/html/rfc8252) and *may* be deprecated and/or removed
34+
from a future release of Django-oauth-toolkit.
35+
36+
### Changed
37+
* Change this change log to use [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.
538
* **Backwards-incompatible** squashed migrations:
6-
If you are currently on a release < 1.2.0, you will need to first install 1.2.x then `manage.py migrate` before
39+
If you are currently on a release < 1.2.0, you will need to first install 1.2.0 then `manage.py migrate` before
740
upgrading to >= 1.3.0.
8-
* Bump django minimum to 2.1
9-
* Dropped Python 3.4
41+
* Improved the [tutorial](https://django-oauth-toolkit.readthedocs.io/en/latest/tutorial/tutorial.html).
1042

11-
### 1.2.0 [2018-06-03]
43+
### Removed
44+
* Remove support for Python 3.4
45+
* Remove support for Django<=2.0
46+
* Remove requirement for oauthlib<3.0
47+
48+
### Fixed
49+
* Fix a race condition in creation of AccessToken with external oauth2 server.
50+
* Fix several concurrency issues. (#[638](https://github.com/jazzband/django-oauth-toolkit/issues/638))
51+
* Fix to pass `request` to `django.contrib.auth.authenticate()` (#[636](https://github.com/jazzband/django-oauth-toolkit/issues/636))
52+
* Fix missing `oauth2_error` property exception oauthlib_core.verify_request method raises exceptions in authenticate.
53+
(#[633](https://github.com/jazzband/django-oauth-toolkit/issues/633))
54+
* Fix "django.db.utils.NotSupportedError: FOR UPDATE cannot be applied to the nullable side of an outer join" for postgresql.
55+
(#[714](https://github.com/jazzband/django-oauth-toolkit/issues/714))
56+
* Fix to return a new refresh token during grace period rather than the recently-revoked one.
57+
(#[702](https://github.com/jazzband/django-oauth-toolkit/issues/702))
58+
* Fix a bug in refresh token revocation.
59+
(#[625](https://github.com/jazzband/django-oauth-toolkit/issues/625))
60+
61+
## 1.2.0 [2018-06-03]
1262

1363
* **Compatibility**: Python 3.4 is the new minimum required version.
1464
* **Compatibility**: Django 2.0 is the new minimum required version.
@@ -17,21 +67,21 @@
1767
* Moved `redirect_uris` validation to the application clean() method.
1868

1969

20-
### 1.1.2 [2018-05-12]
70+
## 1.1.2 [2018-05-12]
2171

2272
* Return state with Authorization Denied error (RFC6749 section 4.1.2.1)
2373
* Fix a crash with malformed base64 authentication headers
2474
* Fix a crash with malformed IPv6 redirect URIs
2575

26-
### 1.1.1 [2018-05-08]
76+
## 1.1.1 [2018-05-08]
2777

2878
* **Critical**: Django OAuth Toolkit 1.1.0 contained a migration that would revoke all existing
2979
RefreshTokens (`0006_auto_20171214_2232`). This release corrects the migration.
3080
If you have already ran it in production, please see the following issue for more details:
3181
https://github.com/jazzband/django-oauth-toolkit/issues/589
3282

3383

34-
### 1.1.0 [2018-04-13]
84+
## 1.1.0 [2018-04-13]
3585

3686
* **Notice**: The Django OAuth Toolkit project is now hosted by JazzBand.
3787
* **Compatibility**: Django 1.11 is the new minimum required version. Django 1.10 is no longer supported.
@@ -45,7 +95,7 @@
4595
refresh tokens may be re-used.
4696
* An `app_authorized` signal is fired when a token is generated.
4797

48-
### 1.0.0 [2017-06-07]
98+
## 1.0.0 [2017-06-07]
4999

50100
* **New feature**: AccessToken, RefreshToken and Grant models are now swappable.
51101
* #477: **New feature**: Add support for RFC 7662 (IntrospectTokenView, introspect scope)
@@ -61,7 +111,7 @@
61111
* The dependency on django-braces has been dropped.
62112
* The oauthlib dependency is no longer pinned.
63113

64-
### 0.12.0 [2017-02-24]
114+
## 0.12.0 [2017-02-24]
65115

66116
* **New feature**: Class-based scopes backends. Listing scopes, available scopes and default scopes
67117
is now done through the class that the `SCOPES_BACKEND_CLASS` setting points to.
@@ -75,7 +125,7 @@
75125
* #434: Relax URL patterns to allow for UUID primary keys
76126

77127

78-
### 0.11.0 [2016-12-1]
128+
## 0.11.0 [2016-12-1]
79129

80130
* #315: AuthorizationView does not overwrite requests on get
81131
* #425: Added support for Django 1.10
@@ -84,7 +134,7 @@
84134
* #389: Reuse refresh tokens if enabled.
85135

86136

87-
### 0.10.0 [2015-12-14]
137+
## 0.10.0 [2015-12-14]
88138

89139
* **#322: dropping support for python 2.6 and django 1.4, 1.5, 1.6**
90140
* #310: Fixed error that could occur sometimes when checking validity of incomplete AccessToken/Grant
@@ -101,7 +151,7 @@
101151
* #273: Generic read write scope by resource
102152

103153

104-
### 0.9.0 [2015-07-28]
154+
## 0.9.0 [2015-07-28]
105155

106156
* ``oauthlib_backend_class`` is now pluggable through Django settings
107157
* #127: ``application/json`` Content-Type is now supported using ``JSONOAuthLibCore``
@@ -110,15 +160,15 @@
110160
* added support for oauthlib 1.0
111161

112162

113-
### 0.8.2 [2015-06-25]
163+
## 0.8.2 [2015-06-25]
114164

115165
* Fix the migrations to be two-step and allow upgrade from 0.7.2
116166

117-
### 0.8.1 [2015-04-27]
167+
## 0.8.1 [2015-04-27]
118168

119169
* South migrations fixed. Added new django migrations.
120170

121-
### 0.8.0 [2015-03-27]
171+
## 0.8.0 [2015-03-27]
122172

123173
* Several docs improvements and minor fixes
124174
* #185: fixed vulnerabilities on Basic authentication
@@ -136,17 +186,17 @@
136186
* #38: create access tokens not bound to a user instance for *client credentials* flow
137187

138188

139-
### 0.7.2 [2014-07-02]
189+
## 0.7.2 [2014-07-02]
140190

141191
* Don't pin oauthlib
142192

143-
### 0.7.1 [2014-04-27]
193+
## 0.7.1 [2014-04-27]
144194

145195
* Added database indexes to the OAuth2 related models to improve performances.
146196

147197
**Warning: schema migration does not work for sqlite3 database, migration should be performed manually**
148198

149-
### 0.7.0 [2014-03-01]
199+
## 0.7.0 [2014-03-01]
150200

151201
* Created a setting for the default value for approval prompt.
152202
* Improved docs
@@ -157,12 +207,12 @@
157207
* Make Application model truly "swappable" (introduces a new non-namespaced setting `OAUTH2_PROVIDER_APPLICATION_MODEL`)
158208

159209

160-
### 0.6.1 [2014-02-05]
210+
## 0.6.1 [2014-02-05]
161211

162212
* added support for `scope` query parameter keeping backwards compatibility for the original `scopes` parameter.
163213
* __str__ method in Application model returns content of `name` field when available
164214

165-
### 0.6.0 [2014-01-26]
215+
## 0.6.0 [2014-01-26]
166216

167217
* oauthlib 0.6.1 support
168218
* Django dev branch support
@@ -178,7 +228,7 @@
178228
* Issue #64: Fix urlencode clientid secret
179229

180230

181-
### 0.5.0 [2013-09-17]
231+
## 0.5.0 [2013-09-17]
182232

183233
* oauthlib 0.6.0 support
184234

@@ -195,11 +245,11 @@
195245
* Issue #53: Quote characters in the url query that are safe for Django but not for oauthlib
196246

197247

198-
### 0.4.1 [2013-09-06]
248+
## 0.4.1 [2013-09-06]
199249

200250
* Optimize queries on access token validation
201251

202-
### 0.4.0 [2013-08-09]
252+
## 0.4.0 [2013-08-09]
203253

204254
**New Features**
205255

@@ -229,15 +279,15 @@
229279
* Issue #47: Add docs for views decorators
230280

231281

232-
### 0.3.2 [2013-07-10]
282+
## 0.3.2 [2013-07-10]
233283

234284
* Bugfix #37: Error in migrations with custom user on Django 1.5
235285

236-
### 0.3.1 [2013-07-10]
286+
## 0.3.1 [2013-07-10]
237287

238288
* Bugfix #27: OAuthlib refresh token refactoring
239289

240-
### 0.3.0 [2013-06-14]
290+
## 0.3.0 [2013-06-14]
241291

242292
* [Django REST Framework](http://django-rest-framework.org/) integration layer
243293
* Bugfix #13: Populate request with client and user in `validate_bearer_token`
@@ -248,24 +298,24 @@
248298
* `requested_scopes` parameter in ScopedResourceMixin changed to `required_scopes`
249299

250300

251-
### 0.2.1 [2013-06-06]
301+
## 0.2.1 [2013-06-06]
252302

253303
* Core optimizations
254304

255-
### 0.2.0 [2013-06-05]
305+
## 0.2.0 [2013-06-05]
256306

257307
* Add support for Django1.4 and Django1.6
258308
* Add support for Python 3.3
259309
* Add a default ReadWriteScoped view
260310
* Add tutorial to docs
261311

262312

263-
### 0.1.0 [2013-05-31]
313+
## 0.1.0 [2013-05-31]
264314

265315
* Support OAuth2 Authorization Flows
266316

267317

268-
### 0.0.0 [2013-05-17]
318+
## 0.0.0 [2013-05-17]
269319

270320
* Discussion with Daniel Greenfeld at Django Circus
271321
* Ignition

0 commit comments

Comments
 (0)