Skip to content

Commit

Permalink
Release 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciuschiele committed Nov 8, 2015
1 parent c031e45 commit d658c83
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
---------

1.8.0
++++++++++++++++++
- Added String field
- Added a new customizable layer called Content Negotiation to selection of Parser and Renderer
- Added support to parameters on Content-Type and Accept headers
- Improved Enum field performance.
- Removed Encoders and Decoders in favor of Parser and Renderer
1.7.0
++++++++++++++++++
- Apache Licence has been replaced for MIT Licence
Expand Down
2 changes: 1 addition & 1 deletion flask_io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
from .io import FlaskIO
from .utils import Error

__version__ = '1.7.0'
__version__ = '1.8.0'
__author__ = 'Vinicius Chiele'
__license__ = 'MIT'
5 changes: 5 additions & 0 deletions flask_io/negotiation.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def select_renderer(self, request, renderers):


class DefaultContentNegotiation(ContentNegotiation):
"""
Selects a parser by request content type and a
renderer by request accept.
"""

def select_parser(self, request, parsers):
"""
Selects the appropriated parser which matches to the request's content type.
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import flask_io

from setuptools import setup

setup(
name='flask-io',
version='1.7.0',
version=flask_io.__version__,
packages=['flask_io'],
url='https://github.com/viniciuschiele/flask-io',
license='MIT',
author='Vinicius Chiele',
license=flask_io.__license__,
author=flask_io.__version__,
author_email='vinicius.chiele@gmail.com',
description='Flask-IO is a library for parsing Flask request arguments into parameters and for serialization of complex objects into Flask response.',
keywords=['flask', 'rest', 'parse', 'encode', 'decode', 'request', 'json', 'marshmallow'],
Expand Down

0 comments on commit d658c83

Please sign in to comment.