Upping version

This commit is contained in:
Michael Lazar 2019-09-22 22:13:00 -04:00
parent 60f8965ab4
commit 177e32cb93
3 changed files with 10 additions and 13 deletions

View File

@ -1,17 +1,15 @@
# Jetforce Changelog # Jetforce Changelog
### Unreleased ### v0.1.0 (2019-09-22)
- The server will now return a redirect if a directory is requested but the URL - The server will now return a redirect if a directory is requested but the URL
does not end in a trailing slash. This reduces duplicate selectors and makes does not end in a trailing slash. This is intended to reduce duplicate
it easier for clients to resolve relative links. selectors and make it easier for clients to resolve relative links.
- Added a ``-V`` / ``--version`` argument to display the version and exit. - Added a ``-V`` / ``--version`` argument to display the version and exit.
- The server now returns a ``50 PERMENANT FAILURE`` response when a client - The server now returns an error code of ``50 PERMENANT FAILURE`` by default
requests a URL that does not exist on the server. This change is motivated by if the URL does not match the server's scheme or hostname.
the suggestion that a ``51 NOT FOUND`` status might not always be appropriate - Timestamps in log messages are now displayed in the server's local timezone.
if the scheme/host component of the URL does not match. As before, the UTC offset is included as "+HHMM" to avoid ambiguity.
- Timestamps in log messages are now displayed to the server's local timezone.
The UTC offset is included in the timestamp as "+HHMM" to prevent ambiguity.
### v0.0.7 (2019-08-30) ### v0.0.7 (2019-08-30)

View File

@ -5,7 +5,6 @@ import argparse
import asyncio import asyncio
import codecs import codecs
import dataclasses import dataclasses
import datetime
import mimetypes import mimetypes
import os import os
import pathlib import pathlib
@ -22,7 +21,7 @@ import urllib.parse
if sys.version_info < (3, 7): if sys.version_info < (3, 7):
sys.exit("Fatal Error: jetforce requires Python 3.7+") sys.exit("Fatal Error: jetforce requires Python 3.7+")
__version__ = "0.0.7" __version__ = "0.1.0"
__title__ = "Jetforce Gemini Server" __title__ = "Jetforce Gemini Server"
__author__ = "Michael Lazar" __author__ = "Michael Lazar"
__license__ = "GNU General Public License v3.0" __license__ = "GNU General Public License v3.0"
@ -161,7 +160,7 @@ class JetforceApplication:
yield from response.body yield from response.body
break break
else: else:
send_status(Status.PERMANENT_FAILURE, "URL not found on server") send_status(Status.PERMANENT_FAILURE, "Unrecognized URL")
def route( def route(
self, self,

View File

@ -10,7 +10,7 @@ def long_description():
setuptools.setup( setuptools.setup(
name="Jetforce", name="Jetforce",
version="0.0.7", version="0.1.0",
url="https://github.com/michael-lazar/jetforce", url="https://github.com/michael-lazar/jetforce",
license="Other/Proprietary License", license="Other/Proprietary License",
author="Michael Lazar", author="Michael Lazar",