Skip to content

Latest commit

 

History

History
128 lines (108 loc) · 4.88 KB

CHANGELOG.rst

File metadata and controls

128 lines (108 loc) · 4.88 KB

Change Log

unreleased

  • Removed the Dictective utility class, and replaced it with werkzeug.datastructures.CallbackDict. It does the same thing, but it's better tested, and already a part of one of Flask-Dance's dependencies.

0.7.0 (2015-08-21)

  • Flask-Dance no longer checks for the existence of a X-Forwarded-Proto header to determine if generated URLs should use a https:// scheme. If you are running your application behind a TLS termination proxy, use Werkzeug's ProxyFix middleware to inform Flask of that.

0.6.0 (2015-05-12)

  • Added the Dropbox pre-set configuration
  • Added the Meetup pre-set configuration
  • Added the Facebook pre-set configuration
  • Flask-Dance now always passes the optional redirect_uri parameter to the OAuth 2 authorization request, since Dropbox requires it.
  • Make Flask-Dance provide additional information in errors when providers fail to provide auth tokens

0.5.1 (2015-04-28)

  • Make the authorized property on both OAuth1Session and OAuth2Session dynamically load the token from the backend

0.5.0 (2015-04-20)

  • Redesigned token storage backend system: it now uses objects

Warning

This release is not backwards-compatible, due to the changes to how backends work. If you are using the SQLAlchemy backend, read the documentation to see how it works now!

  • Added documentation about OAuth protocol
  • Added quickstarts for Google, and for a multi-user SQLAlchemy system
  • Added reprompt_consent parameter to Google pre-set configuration
  • Added oauth_error signal
  • If there is an error with the OAuth 2 authorization process, Flask-Dance will now redirect the user anyway rather than letting the error bubble up and cause a 500 status code. The oauth_error signal will be fired with information about the error.

0.4.3 (2015-03-09)

  • OAuth2ConsumerBlueprint now accepts two new arguments to its constructor: authorization_url_params and token_url_params
  • When using the Google pre-set configuration, you can now request offline access for your OAuth token by passing offline=True to the make_google_blueprint function

0.4.2 (2015-03-01)

  • Added anon_user argument to set_token_storage_sqlalchemy() method
  • Fire oauth_authorized signal before setting token, so that a signal handler can set the logged-in user
  • You can now indicate that an OAuth token should not be stored by returning False from any receiver function that is connected to the oauth_authorized signal

0.4.1 (2015-02-28)

  • OAuth1SessionWithBaseURL has been renamed to OAuth1Session. The old name still exists as an alias, for backwards compatibility.
  • OAuth2SessionWithBaseURL has been renamed to OAuth2Session. The old name still exists as an alias, for backwards compatibility.
  • You can now pass a user or user_id object to blueprint.load_token.
  • OAuth1Session and OAuth2Session now store a reference to the blueprint, so that you can also call session.load_token, which is proxied to the blueprint. This method also takes user or user_id arguments.

0.4.0 (2015-02-12)

  • Renamed assign_token_to_session to load_token
  • Added a from_config dict to OAuthConsumerBlueprint objects. The info in that dict is used to dynamically populate information on the blueprint at runtime from the configuration of the app that the blueprint is bound to. Also set up sensible configuration variable names for the pre-set configurations.
  • If neither redirect_url nor redirect_to are specified, default to redirecting the user to the root of the website (/). Previously, specifying one of these two options was required.

0.3.2 (2015-01-06)

  • Added a the Google pre-set configuration.

0.3.1 (2014-12-16)

  • Added a new session_class parameter, so that you can specify a custom requests.Session subclass with custom behavior.

0.3.0 (2014-12-15)

  • Changed OAuthConsumerMixin.created_on to OAuthConsumerMixin.created_at, to reflect the fact that it is a DateTime, not a Date. If you are upgrading from an older version of Flask-Dance and using OAuthConsumerMixin, this will require a database migration.

0.2.3 (2014-10-13)

  • Renamed OAuthMixin to OAuthConsumerMixin

0.2.2 (2014-10-13)

  • Changed event sender from app to blueprint, to match docs

0.2.1 (2014-10-13)

  • Fixed packaging problems

0.2 (2014-10-12)

  • Added SQLAlchemy support
  • Added Sphinx-based documentation
  • Added support for Flask-Login and Flask-Cache
  • Switch from login_callback decorator to blinker signals

0.1 (2014-09-15)

  • Initial release