Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Jan 6, 2016
1 parent aa14875 commit 1115423
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 4 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pulsar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pulsar/apps/release/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """\
Expand Down
4 changes: 2 additions & 2 deletions releases/release.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"tag_name": "1.0.7",
"name": "Minor Bug fixes"
"tag_name": "1.1.0",
"name": "HTTP client improvements"
}

0 comments on commit 1115423

Please sign in to comment.