|
| 1 | +Changelog |
| 2 | +========= |
| 3 | + |
| 4 | +Here you can see the full list of changes between each Flask-OAuthlib release. |
| 5 | + |
| 6 | + |
| 7 | +Version 0.9.0 |
| 8 | +------------- |
| 9 | + |
| 10 | +Released on Feb 3, 2015 |
| 11 | + |
| 12 | +- New feature for contrib client, which will become the official client in |
| 13 | + the future via `#136`_ and `#176`_. |
| 14 | +- Add appropriate headers when making POST request for access toke via `#169`_. |
| 15 | +- Use a local copy of instance 'request_token_params' attribute to avoid side |
| 16 | + effects via `#177`_. |
| 17 | +- Some minor fixes of contrib by Hsiaoming Yang. |
| 18 | + |
| 19 | +.. _`#177`: https://github.com/lepture/flask-oauthlib/pull/177 |
| 20 | +.. _`#169`: https://github.com/lepture/flask-oauthlib/pull/169 |
| 21 | +.. _`#136`: https://github.com/lepture/flask-oauthlib/pull/136 |
| 22 | +.. _`#176`: https://github.com/lepture/flask-oauthlib/pull/176 |
| 23 | + |
| 24 | + |
| 25 | +Version 0.8.0 |
| 26 | +------------- |
| 27 | + |
| 28 | +Released on Dec 3, 2014 |
| 29 | + |
| 30 | +.. module:: flask_oauthlib.provider.oauth2 |
| 31 | + |
| 32 | +- New feature for generating refresh tokens |
| 33 | +- Add new function :meth:`OAuth2Provider.verify_request` for non vanilla Flask projects |
| 34 | +- Some small bugfixes |
| 35 | + |
| 36 | + |
| 37 | +Version 0.7.0 |
| 38 | +------------- |
| 39 | + |
| 40 | +Released on Aug 20, 2014 |
| 41 | + |
| 42 | +.. module:: flask_oauthlib.client |
| 43 | + |
| 44 | +- Deprecated :meth:`OAuthRemoteApp.authorized_handler` in favor of |
| 45 | + :meth:`OAuthRemoteApp.authorized_response`. |
| 46 | +- Add revocation endpoint via `#131`_. |
| 47 | +- Handle unknown exceptions in providers. |
| 48 | +- Add PATCH method for client via `#134`_. |
| 49 | + |
| 50 | +.. _`#131`: https://github.com/lepture/flask-oauthlib/pull/131 |
| 51 | +.. _`#134`: https://github.com/lepture/flask-oauthlib/pull/134 |
| 52 | + |
| 53 | + |
| 54 | +Version 0.6.0 |
| 55 | +------------- |
| 56 | + |
| 57 | +Released on Jul 29, 2014 |
| 58 | + |
| 59 | +- Compatible with OAuthLib 0.6.2 and 0.6.3 |
| 60 | +- Add invalid_response decorator to handle invalid request |
| 61 | +- Add error_message for OAuthLib Request. |
| 62 | + |
| 63 | +Version 0.5.0 |
| 64 | +------------- |
| 65 | + |
| 66 | +Released on May 13, 2014 |
| 67 | + |
| 68 | +- Add ``contrib.apps`` module, thanks for tonyseek via `#94`_. |
| 69 | +- Status code changed to 401 for invalid access token via `#93`_. |
| 70 | +- **Security bug** for access token via `#92`_. |
| 71 | +- Fix for client part, request token params for OAuth1 via `#91`_. |
| 72 | +- **API change** for ``oauth.require_oauth`` via `#89`_. |
| 73 | +- Fix for OAuth2 provider, support client authentication for authorization-code grant type via `#86`_. |
| 74 | +- Fix client_credentials logic in validate_grant_type via `#85`_. |
| 75 | +- Fix for client part, pass access token method via `#83`_. |
| 76 | +- Fix for OAuth2 provider related to confidential client via `#82`_. |
| 77 | + |
| 78 | +Upgrade From 0.4.x to 0.5.0 |
| 79 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 80 | + |
| 81 | +API for OAuth providers ``oauth.require_oauth`` has changed. |
| 82 | + |
| 83 | +Before the change, you would write code like:: |
| 84 | + |
| 85 | + @app.route('/api/user') |
| 86 | + @oauth.require_oauth('email') |
| 87 | + def user(req): |
| 88 | + return jsonify(req.user) |
| 89 | + |
| 90 | +After the change, you would write code like:: |
| 91 | + |
| 92 | + from flask import request |
| 93 | + |
| 94 | + @app.route('/api/user') |
| 95 | + @oauth.require_oauth('email') |
| 96 | + def user(): |
| 97 | + return jsonify(request.oauth.user) |
| 98 | + |
| 99 | +.. _`#94`: https://github.com/lepture/flask-oauthlib/pull/94 |
| 100 | +.. _`#93`: https://github.com/lepture/flask-oauthlib/issues/93 |
| 101 | +.. _`#92`: https://github.com/lepture/flask-oauthlib/issues/92 |
| 102 | +.. _`#91`: https://github.com/lepture/flask-oauthlib/issues/91 |
| 103 | +.. _`#89`: https://github.com/lepture/flask-oauthlib/issues/89 |
| 104 | +.. _`#86`: https://github.com/lepture/flask-oauthlib/pull/86 |
| 105 | +.. _`#85`: https://github.com/lepture/flask-oauthlib/pull/85 |
| 106 | +.. _`#83`: https://github.com/lepture/flask-oauthlib/pull/83 |
| 107 | +.. _`#82`: https://github.com/lepture/flask-oauthlib/issues/82 |
| 108 | + |
| 109 | +Thanks Stian Prestholdt and Jiangge Zhang. |
| 110 | + |
| 111 | +Version 0.4.3 |
| 112 | +------------- |
| 113 | + |
| 114 | +Released on Feb 18, 2014 |
| 115 | + |
| 116 | +- OAuthlib released 0.6.1, which caused a bug in oauth2 provider. |
| 117 | +- Validation for scopes on oauth2 right via `#72`_. |
| 118 | +- Handle empty response for application/json via `#69`_. |
| 119 | + |
| 120 | +.. _`#69`: https://github.com/lepture/flask-oauthlib/issues/69 |
| 121 | +.. _`#72`: https://github.com/lepture/flask-oauthlib/issues/72 |
| 122 | + |
| 123 | +Version 0.4.2 |
| 124 | +------------- |
| 125 | + |
| 126 | +Released on Jan 3, 2014 |
| 127 | + |
| 128 | +Happy New Year! |
| 129 | + |
| 130 | +- Add param ``state`` in authorize method via `#63`_. |
| 131 | +- Bugfix for encoding error in Python 3 via `#65`_. |
| 132 | + |
| 133 | +.. _`#63`: https://github.com/lepture/flask-oauthlib/issues/63 |
| 134 | +.. _`#65`: https://github.com/lepture/flask-oauthlib/issues/65 |
| 135 | + |
| 136 | +Version 0.4.1 |
| 137 | +------------- |
| 138 | + |
| 139 | +Released on Nov 25, 2013 |
| 140 | + |
| 141 | +- Add access_token on request object via `#53`_. |
| 142 | +- Bugfix for lazy loading configuration via `#55`_. |
| 143 | + |
| 144 | +.. _`#53`: https://github.com/lepture/flask-oauthlib/issues/53 |
| 145 | +.. _`#55`: https://github.com/lepture/flask-oauthlib/issues/55 |
| 146 | + |
| 147 | + |
| 148 | +Version 0.4.0 |
| 149 | +------------- |
| 150 | + |
| 151 | +Released on Nov 12, 2013 |
| 152 | + |
| 153 | +- Redesign contrib library. |
| 154 | +- A new way for lazy loading configuration via `#51`_. |
| 155 | +- Some bugfixes. |
| 156 | + |
| 157 | +.. _`#51`: https://github.com/lepture/flask-oauthlib/issues/51 |
| 158 | + |
| 159 | + |
| 160 | +Version 0.3.4 |
| 161 | +------------- |
| 162 | + |
| 163 | +Released on Oct 31, 2013 |
| 164 | + |
| 165 | +- Bugfix for client missing a string placeholder via `#49`_. |
| 166 | +- Bugfix for client property getter via `#48`_. |
| 167 | + |
| 168 | +.. _`#49`: https://github.com/lepture/flask-oauthlib/issues/49 |
| 169 | +.. _`#48`: https://github.com/lepture/flask-oauthlib/issues/48 |
| 170 | + |
| 171 | +Version 0.3.3 |
| 172 | +------------- |
| 173 | + |
| 174 | +Released on Oct 4, 2013 |
| 175 | + |
| 176 | +- Support for token generator in OAuth2 Provider via `#42`_. |
| 177 | +- Improve client part, improve test cases. |
| 178 | +- Fix scope via `#44`_. |
| 179 | + |
| 180 | +.. _`#42`: https://github.com/lepture/flask-oauthlib/issues/42 |
| 181 | +.. _`#44`: https://github.com/lepture/flask-oauthlib/issues/44 |
| 182 | + |
| 183 | +Version 0.3.2 |
| 184 | +------------- |
| 185 | + |
| 186 | +Released on Sep 13, 2013 |
| 187 | + |
| 188 | +- Upgrade oauthlib to 0.6 |
| 189 | +- A quick bugfix for request token params via `#40`_. |
| 190 | + |
| 191 | +.. _`#40`: https://github.com/lepture/flask-oauthlib/issues/40 |
| 192 | + |
| 193 | +Version 0.3.1 |
| 194 | +------------- |
| 195 | + |
| 196 | +Released on Aug 22, 2013 |
| 197 | + |
| 198 | +- Add contrib module via `#15`_. We are still working on it, |
| 199 | + take your own risk. |
| 200 | +- Add example of linkedin via `#35`_. |
| 201 | +- Compatible with new proposals of oauthlib. |
| 202 | +- Bugfix for client part. |
| 203 | +- Backward compatible for lower version of Flask via `#37`_. |
| 204 | + |
| 205 | +.. _`#15`: https://github.com/lepture/flask-oauthlib/issues/15 |
| 206 | +.. _`#35`: https://github.com/lepture/flask-oauthlib/issues/35 |
| 207 | +.. _`#37`: https://github.com/lepture/flask-oauthlib/issues/37 |
| 208 | + |
| 209 | +Version 0.3.0 |
| 210 | +------------- |
| 211 | + |
| 212 | +Released on July 10, 2013. |
| 213 | + |
| 214 | +- OAuth1 Provider available. Documentation at :doc:`oauth1`. :) |
| 215 | +- Add ``before_request`` and ``after_request`` via `#22`_. |
| 216 | +- Lazy load configuration for client via `#23`_. Documentation at :ref:`lazy-configuration`. |
| 217 | +- Python 3 compatible now. |
| 218 | + |
| 219 | +.. _`#22`: https://github.com/lepture/flask-oauthlib/issues/22 |
| 220 | +.. _`#23`: https://github.com/lepture/flask-oauthlib/issues/23 |
| 221 | + |
| 222 | +Version 0.2.0 |
| 223 | +------------- |
| 224 | + |
| 225 | +Released on June 19, 2013. |
| 226 | + |
| 227 | +- OAuth2 Provider available. Documentation at :doc:`oauth2`. :) |
| 228 | +- Make client part testable. |
| 229 | +- Change extension name of client from ``oauth-client`` to ``oauthlib.client``. |
| 230 | + |
| 231 | +Version 0.1.1 |
| 232 | +------------- |
| 233 | + |
| 234 | +Released on May 23, 2013. |
| 235 | + |
| 236 | +- Fix setup.py |
| 237 | + |
| 238 | +Version 0.1.0 |
| 239 | +------------- |
| 240 | + |
| 241 | +First public preview release on May 18, 2013. |
0 commit comments