From 11154236baff072f63e3dcf41b1a35f559bf023e Mon Sep 17 00:00:00 2001 From: Luca Sbardella Date: Wed, 6 Jan 2016 20:48:01 +0000 Subject: [PATCH] Release 1.1.0 --- CHANGELOG.rst | 48 +++++++++++++++++++++++++++++++++ pulsar/__init__.py | 2 +- pulsar/apps/release/__init__.py | 2 +- releases/release.json | 4 +-- 4 files changed, 52 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e25dc32e..4ec27232 100755 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,51 @@ +Ver. 1.1.0 - 2016-Jan-06 +============================ +* Full support for python 3.5 +* Pulsar **1.1.x** is the last minor release ("major.minor.micro") to support python 3.4 +* From pulsar **1.2.x**, support for python 3.4 will be dropped and the new + async-await_ syntax will be used in the whole codebase + +Core +----------------- +* Added CI for python 3.5 +* Added ``debug`` properties to all ``AsyncObject``. The property returns the event loop + debug mode flag + +HttpClient +---------------- +* Backward incompatible changes with API much closer to requests_ and far better support for streaming both uploads and downloads +* Added ``content`` attribute to ``HttpResponse``, in line with requests_ +* Ability to pass ``stream=True`` during a request, same API as python requests_ +* Added the ``raw`` property to the Http Response, it can be used in conjunction with + ``stream`` to stream http data. Similar API to requests_ +* Renamed ``proxy_info`` to ``proxies``, same API as python requests_ +* You can now pass ``proxies`` dictionary during a request +* Stream uploads by passing a generator as ``data`` parameter +* Better websocket upgrade process +* Tidy up ``CONNECT`` request url (for tunneling) +* Added tests for proxyserver example using requests_ + +WSGI +------ +* Both ``wsgi`` and ``http`` apps use the same ``pulsar.utils.httpurl.http_chunks`` + function for transfer-encoding ``chunked`` +* ``render_error`` escapes the Exception message to prevent XSS_ + +Data Store +----------- +* Better ``pulsards_url`` function, default value form ``cfg.data_store`` +* ``key_value_save`` set to empty list by default (no persistence) + +Examples +------------- +* Refactored proxy server example +* Updated django chat example so that warning are no longer issued + +.. _requests: http://docs.python-requests.org/ +.. _XSS: https://en.wikipedia.org/wiki/Cross-site_scripting +.. _async-await: https://www.python.org/dev/peps/pep-0492/#specification + + Ver. 1.0.7 - 2015-Dec-10 ============================ Api diff --git a/pulsar/__init__.py b/pulsar/__init__.py index 43097154..f5989aea 100644 --- a/pulsar/__init__.py +++ b/pulsar/__init__.py @@ -5,7 +5,7 @@ from .utils.version import get_version -VERSION = (1, 1, 0, 'alpha', 0) +VERSION = (1, 1, 0, 'final', 0) __version__ = version = get_version(VERSION) __license__ = "BSD" diff --git a/pulsar/apps/release/__init__.py b/pulsar/apps/release/__init__.py index ec74abe7..f09c0636 100644 --- a/pulsar/apps/release/__init__.py +++ b/pulsar/apps/release/__init__.py @@ -46,7 +46,7 @@ class BeforeCommit(ReleaseSetting): class WriteNotes(ReleaseSetting): name = "write_notes" - validator = pulsar.validate_callable(4) + validator = pulsar.validate_callable(2) type = "callable" default = staticmethod(write_notes) desc = """\ diff --git a/releases/release.json b/releases/release.json index eb1fcd01..58467fa3 100644 --- a/releases/release.json +++ b/releases/release.json @@ -1,4 +1,4 @@ { - "tag_name": "1.0.7", - "name": "Minor Bug fixes" + "tag_name": "1.1.0", + "name": "HTTP client improvements" }