diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9c23567 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# Jetforce Changelog + +### v0.0.5 (2019-08-12) + +Updates to conform to the v0.9.1 Gemini specification + +- The request line is now expected to be a full URL instead of a PATH. +- Response status codes have been updated to match the new specification. +- The server now requires a "hostname" be specified via a command line argument. +- Request URLs that contain other protocols / hosts are disallowed. +- A simple gemini client, ``jetforce-client``, is now included. diff --git a/jetforce.py b/jetforce.py index 6454245..b05a75c 100755 --- a/jetforce.py +++ b/jetforce.py @@ -16,7 +16,7 @@ import urllib.parse if sys.version_info < (3, 7): sys.exit("Fatal Error: jetforce requires Python 3.7+") -__version__ = "0.0.4" +__version__ = "0.0.5" __title__ = "Jetforce Gemini Server" __author__ = "Michael Lazar" __license__ = "GNU General Public License v3.0" @@ -94,7 +94,6 @@ class StaticDirectoryApp: self.root = pathlib.Path(root).resolve(strict=True) self.environ = environ self.send_status = send_status - self.mimetypes = mimetypes.MimeTypes() @classmethod diff --git a/setup.py b/setup.py index 8e5dd3c..9e13300 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def long_description(): setuptools.setup( name="Jetforce", - version="0.0.4", + version="0.0.5", url="https://github.com/michael-lazar/jetforce", license="GPL-3.0", author="Michael Lazar",