Skip to content

Latest commit

 

History

History
181 lines (108 loc) · 8.37 KB

CHANGELOG.md

File metadata and controls

181 lines (108 loc) · 8.37 KB

1.0.0

Find this version on PyPI or in the releases on GitHub.

Additions

  • Handle all response and request headers;
  • Get or set all cookies coming from the browser;
  • Add or get the body of an HTTP response or request;
  • Can get parameters from URL.

1.1.0

Find this version on PyPI or in the releases on GitHub.

Aditions

  • Adding Response class to create responses;
  • Removing direct use of the "make_response" function;
  • New docstring added to methods and functions;
  • Formatting URL arguments.

Corrections

  • 6ca2ed7 Assigning empty dictionary to "cookies" and "headers" attributes;
  • 906bb0e Removing TABS and fixing conditions in _print.py;
  • 379df60 Changing response log style.

1.2.0

Find this version on PyPI or in the releases on GitHub.

Aditions

  • Adding method name verification when registering a route;
  • Adding functionality to get parameters of dynamic routes;
  • Adding functionality to add dynamic routes;
  • Plugin functionality for the application;
  • Adding IPFilter plugin.

Fix

  • ab0691` Moving routes variable to PySGI class;
  • 7c7d6a1 Displaying query string in request log.
  • ef2d24b Decoding the route path;
  • 8652aeb Fixed data duplication errors.

1.2.1

Find this version on PyPI or in the releases on GitHub.

Fix

  • 3c1cad2 Creating MANIFEST.in to include DESCRIPTION.md file;

1.2.2

Find this version on PyPI or in the releases on GitHub.

Fix

  • cf042a0: Improving condition structure in _request.py;
  • 4e9bf1c: Renaming "wrapper" function to "decorator";
  • 5e5241c: Using parentheses to format the return string from ClientRequest's repr method.

1.2.3

Find this version on PyPI or in the releases on GitHub.

Fix

  • 80d77e0: Fix argument name in decorator.

1.2.4

Find this version on PyPI or in the releases on GitHub.

Fix

  • 5fa8b6a: Using HTTPPyParser to get request data.

1.2.5

Find this version on PyPI or in the releases on GitHub.

Fix

  • 889f26d: Updating version from HTTPPyParser;
  • 8558055: Print full requested path in request log.

1.2.6

Find this version on PyPI or in the releases on GitHub.

Fix

  • 8da5670: Fix import error adding version in setup.py.

1.2.7

Find this version on PyPI or in the releases on GitHub.

Fix

  • f36386a: Handle InvalidHTTPMessageError and returning bad request error.

1.2.8

Find this version on PyPI or in the releases on GitHub.

Fix

  • d9b026d: Fixing request.args attribute to request.query in documentation;
  • 077887b: Updating http-pyparser requirement version;
  • c9bda32: Changing CHANGELOG.md design.

1.2.9

Find this version on PyPI or in the releases on GitHub.

Additions

  • 9964efc: Adding default error messages in HTML;
  • e8fdac4: Changing start and response log message.

1.2.10

Find this version on PyPI or in the releases on GitHub.

Improvements

  • 533349b: Using SocketHandler instance as PySGI attribute;
  • 65d8c37: Adding client_host attribute to request object;
  • 739769f: Getting client_host in IPFilter plugin;
  • f865e03: Removing accepted methods list;
  • 18ebbe7: Creating _routes dict inside of instance;
  • a956f1c: Removing use_environ from SocketHandler;
  • 31b4623: Restructuring thread creating to handle requests;
  • ed8c1bc: End line with "\r\n" in HTTP message.

1.3.0

Find this version on PyPI or in the releases on GitHub.

Features

  • 087b7ef: Adding RequestData class to store request data;
  • b11b80a: Setting content type if the body is a dictionary or list;
  • bb90817: Getting IP machine if host is 0.0.0.0;
  • 46a236e: Adding error message if server cannot be started;

Improvements

  • 521343a: Adding _get_route_response method in Request;
  • f9e3a5e: Removing send_response method from SocketHandler;
  • 1bf496b: Creating daemon threads to manage requests;
  • 0683d35: Removing plugins import.

1.3.1

Find this version on PyPI or in the releases on GitHub.

Fixes

  • 64ac964: Adding pysgi/utils to packages in setup script.

1.3.2

Find this version on PyPI or in the releases on GitHub.

Fixes

  • 90fb4d1: Fix None value to query, headers and cookies in ResponseData

1.3.3

Find this version on PyPI or in the releases on GitHub.

Fixes

  • 9b4bf50: Fix TypeError in argument type.