Skip to content

Commit

Permalink
Update document and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Sep 3, 2019
1 parent 79713de commit c6f802e
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 13 deletions.
36 changes: 23 additions & 13 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ Here you can see the full list of changes between each Authlib release.
Version 0.12
------------

**Release Date not Decided**
**Released on Sep 3, 2019.**

**Breaking Change**: Authlib Grant system has been redesigned. If you
are creating OpenID Connect providers, please read the new documentation
for OpenID Connect.

**Important Update**: Django OAuth 2.0 server integration is ready now.
You can create OAuth 2.0 provider and OpenID Connect 1.0 with Django
framework.

RFC implementations and updates in this release:

- RFC6749: Fixed scope validation, omit the invalid scope
Expand All @@ -24,10 +28,16 @@ RFC implementations and updates in this release:

Refactor and bug fixes in this release:

- **Breaking Change**: add ``RefreshTokenGrant.revoke_old_credential`` method
- Rewrite lots of code for ``authlib.client``, no breaking changes
- Refactor ``OAuth2Request``, use explicit query and form
- Change ``requests`` to optional dependency
- Add ``AsyncAssertionClient`` for aiohttp

**Deprecate Changes**: find how to solve the deprecate issues via https://git.io/fjPsV

Version 0.11: Kaori
-------------------
Version 0.11
------------

**Released on Apr 6, 2019.**

Expand Down Expand Up @@ -56,8 +66,8 @@ Small changes and bug fixes in this release:
**Experiment Features**: There is an experiment ``aiohttp`` client for OAuth1
and OAuth2 in ``authlib.client.aiohttp``.

Version 0.10: Kluke
-------------------
Version 0.10
------------

**Released on Oct 12, 2018.**

Expand All @@ -83,8 +93,8 @@ Besides that, there are other improvements:

**Deprecate Changes**: find how to solve the deprecate issues via https://git.io/fAmW1

Version 0.9: Ponyo
------------------
Version 0.9
-----------

**Released on Aug 12, 2018. Fun Dive.**

Expand All @@ -105,8 +115,8 @@ RFC implementations in this release:
- Deprecated ``authlib.client.apps`` from v0.7 has been dropped.


Version 0.8: Arutoria
---------------------
Version 0.8
-----------

**Released on Jun 17, 2018. Try Django.**

Expand Down Expand Up @@ -135,8 +145,8 @@ in version 0.8:
- Rename Flask OAuth 2.0 ``create_expires_generator`` to
``create_token_expires_in_generator``

Version 0.7: Honami
-------------------
Version 0.7
-----------

**Released on Apr 28, 2018. Better Beta.**

Expand Down Expand Up @@ -167,8 +177,8 @@ Besides that, there are more changes:
.. _Loginpass: https://github.com/authlib/loginpass


Version 0.6: Matoi
------------------
Version 0.6
-----------

**Released on Mar 20, 2018. Going Beta!**

Expand Down
5 changes: 5 additions & 0 deletions docs/django/2/grants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ You can add more in the subclass::
'client_secret_basic', 'client_secret_post'
]

By default, RefreshTokenGrant will not issue a ``refresh_token`` in the token
response. Developers can change this behavior with::

class RefreshTokenGrant(grants.RefreshTokenGrant):
INCLUDE_NEW_REFRESH_TOKEN = True

Custom Grant Types
------------------
Expand Down
6 changes: 6 additions & 0 deletions docs/flask/2/grants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ You can add more in the subclass::
'client_secret_basic', 'client_secret_post'
]

By default, RefreshTokenGrant will not issue a ``refresh_token`` in the token
response. Developers can change this behavior with::

class RefreshTokenGrant(grants.RefreshTokenGrant):
INCLUDE_NEW_REFRESH_TOKEN = True

.. _flask_oauth2_custom_grant_types:

Custom Grant Types
Expand Down
2 changes: 2 additions & 0 deletions docs/specs/rfc6749.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ This section contains the generic implementation of RFC6749_. You should
2. How to use :ref:`oauth_2_session` for Requests
3. How to implement :ref:`flask_client`
4. How to implement :ref:`flask_oauth2_server`
5. How to implement :ref:`django_client`
6. How to implement :ref:`django_oauth2_server`

.. _RFC6749: https://tools.ietf.org/html/rfc6749

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
Expand Down

0 comments on commit c6f802e

Please sign in to comment.