Flask-gopher

Latest version: v3.0.0

Safety actively analyzes 621521 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

3.0.0

This version pulls in some long overdue dependency updates and adds
support for the latest versions of Flask and Python.

- Supported Python versions: `3.7`, `3.8`, `3.9`, `3.10`, `3.11`.
- Supported Flask versions: `2.1`, `2.2`

This version also removes the capability to negotiate TLS over
gopher. The code for this was particularly annoying to monkey-patch,
and the feature never gained traction to make it worth maintaining.

- Removed the `make_gopher_ssl_server` function.
- Removed the following WSGI server classes:
- ``GopherBaseWSGIServer``
- ``GopherSimpleWSGIServer``
- ``GopherThreadedWSGIServer``
- ``GopherForkingWSGIServer``

2.2.1

- Pin the werkzeug dependency to avoid breaking dependency changes.

2.2.0

- Added support for python 3.8
- Dropped support for python 3.4
- Added support for flask 1.1
- Renamed the following methods:

- ``menu.submenu()`` -> ``menu.dir()``
- ``menu.file()`` -> ``menu.text()``
- ``menu.binary()`` -> ``menu.bin()``

This was done as a personal preference because I found the original method
names to be overly verbose and hard to remember. The original methods will
remain for backwards compatibility, but they will no longer be listed in
the documentation.

2.1.1

- Add a helper method to generate a gopher menu from a directory.
- Fixed bug when redirecting to HTTP pages that was causing query parameters
to get lost.

2.1.0

- Added support for establishing TLS connections with gopher clients. See the
documentation for more details.

2.0.0

- Major restructuring of the codebase and the public API.
- Added a ``TextFormatter`` class with several helper methods for formatting
ASCII.
- Added a ``GopherSessionInterface`` class in order to support flask sessions.
- Added the ability to set the ``SERVER_NAME`` to an external URL.
- Included a ``demo/`` directory with a complete example gopher server.
- Several minor bug fixes and improvements.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.