Skip to content

Commit

Permalink
Release v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffy-critter committed Mar 7, 2023
1 parent b1a18d7 commit 021c643
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion authl/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
""" version """
__version__ = "0.6.2"
__version__ = "0.7.0"
2 changes: 1 addition & 1 deletion authl/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def stylesheet(self) -> str:

def client_id():
""" A shim to generate a client ID based on the current site URL, for use
with IndieAuth. """
with IndieAuth, Fediverse, and so on. """
from flask import request
parsed = urllib.parse.urlparse(request.base_url)
baseurl = f'{parsed.scheme}://{parsed.hostname}'
Expand Down
2 changes: 2 additions & 0 deletions docs/flow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ Example (pseudo-)code follows:
return redirect(disp.redir)
if isinstance(disp, disposition.Notify):
return render_notification_page(message=disp.cdata)
if isinstance(disp, disposition.NeedsPost):
return render_post_form(message=disp.message, url=disp.url, data=disp.data)
if isinstance(disp, disposition.Error):
return render_login_form(error=disp.message, redir=disp.redir)
raise RuntimeError("Unknown disposition type " + disp)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ as appropriate.
Installation
------------

Authl requires Python 3.6 or later.
Authl requires Python 3.8.1 or later.

Install with pip::

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Authl"
version = "0.6.2"
version = "0.7.0"
description = "Framework-agnostic authentication wrapper"
authors = ["fluffy <fluffy@beesbuzz.biz>"]
license = "MIT"
Expand Down

0 comments on commit 021c643

Please sign in to comment.