From fe9fcf2c99973507f7055d6c9e05e155957c2549 Mon Sep 17 00:00:00 2001 From: Thomas Calmant Date: Sun, 13 Jan 2019 19:12:05 +0100 Subject: [PATCH] Added a changelog to the documentation I tried to fill GitHub releases gaps based on PyPI upload history. --- docs/changelog.rst | 235 +++++++++++++++++++++++++++++++++++++++++++++ docs/index.rst | 5 + 2 files changed, 240 insertions(+) create mode 100644 docs/changelog.rst diff --git a/docs/changelog.rst b/docs/changelog.rst new file mode 100644 index 0000000..2064456 --- /dev/null +++ b/docs/changelog.rst @@ -0,0 +1,235 @@ +.. _changelog: + +Release Notes +############# + +0.4.0 +===== + +:Release Date: 2019-01-13 + +* Added back support of Unix sockets on both server and client side. + **Note:** HTTPS is not supported on server-side Unix sockets +* Fixed the CGI request handler +* Fixed the request handler wrapping on server side +* Documentation is now hosted on ReadTheDocs: + https://jsonrpclib-pelix.readthedocs.io/ + + +0.3.2 +===== + +:Release Date: 2018-10-26 + +* Fixed a memory leak in the Thread Pool, causing the ``PooledJSONRPCServer`` + to crash after some uptime + (see `#35 `_). + Thanks `@animalmutch `_ for reporting it. + + +0.3.1 +===== + +:Release Date: 2017-06-27 + +* Hide *dunder* methods from remote calls + (thanks to `@MarcSchmitzer `_). + This avoids weird behaviours with special/meta methods + (``__len__``, ``__add__``, ...). + See (`#32 `_) for reference. + + +0.3.0 +===== + +:Release Date: 2017-04-27 + +* Handle the potentially incomplete ``xmlrpc.server`` package when the future + package is used + (thanks to `@MarcSchmitzer `_) + + +0.2.9 +===== + +:Release Date: 2016-12-12 + +* Added support for enumerations (``enum.Enum`` classes, added in Python 3.4) +* Removed tests for ``pypy3`` as it doesn't work with ``pip`` anymore + + +0.2.8 +===== + +:Release Date: 2016-08-23 + +* Clients can now connect servers using basic authentication. + The server URL must be given using this format: http://user:password@server +* The thread pool has been updated to reflect the fixes contributed by + `@Paltoquet `_ for the + `iPOPO `_ project. + + +0.2.7 +===== + +:Release Date: 2016-06-12 + +* Application of the ``TransportMixin`` fix developped by + `@MarcSchmitzer `_ + (`#26 `_). + + +0.2.6 +===== + +:Release Date: 2015-08-24 + +* Removed support for Python 2.6 +* Added a ``__repr__`` method to the ``_Method`` class +* Project is now tested against Python 3.4 and Pypy 3 on Travis-CI + + +0.2.5 +===== + +:Release Date: 2015-02-28 + +* Corrects the ``PooledJSONRPCServer`` +* Stops the thread pool of the ``PooledJSONRPCServer`` in ``server_close()`` +* Corrects the ``Config.copy()`` method: it now uses a copy of local classes + and serialization handlers instead of sharing those dictionaries. + + +0.2.4 +===== + +:Release Date: 2015-02-16 + +* Added a thread pool to handle requests +* Corrects the handling of reused request sockets on the server side +* Corrects the ``additional_header`` feature: now supports different headers + for different proxies, from + `@MarcSchmitzer `_ +* Adds a ``data`` field to error responses, from + `@MarcSchmitzer `_ and + `@mbra `_ + + +0.2.3 +===== + +:Release Date: 2015-01-16 + +* Added support for a custom ``SSLContext`` on client side + + +0.2.2 +===== + +:Release Date: 2014-12-23 + +* Fixed support for IronPython +* Fixed Python 2.6 compatibility in tests +* Added logs on server side + + +0.2.1 +===== + +:Release Date: 2014-09-18 + +* Return ``None`` instead of an empty list on empty replies +* Better lookup of the custom serializer to look for + + +0.2.0 +===== + +:Release Date: 2014-08-28 + +* Code review +* Fixed propagation of configuration through ``jsonclass``, from + `dawryn `_ + + +0.1.9 +===== + +:Release Date: 2014-06-09 + +* Fixed compatibility with JSON-RPC 1.0 +* Propagate configuration through ``jsonclass``, from + `dawryn `_ + + +0.1.8 +===== + +:Release Date: 2014-06-05 + +* Enhanced support for bean inheritance + + +0.1.7 +===== + +:Release Date: 2014-06-02 + +* Enhanced support of custom objects (with ``__slots__`` and handlers), from + `dawryn `_ + See Pull requests + `#5 `_, + `#6 `_, + `#7 `_) +* Added tests +* First upload as a Wheel file + + +0.1.6.1 +======= + +:Release Date: 2013-10-25 + + +* Fixed loading of recursive bean fields (beans can contain other beans) +* ``ServerProxy`` can now be closed using: ``client("close")()`` + + +0.1.6 +===== + +:Release Date: 2013-10-14 + +* Fixed bean marshalling +* Added support for ``set`` and ``frozenset`` values +* Changed configuration singleton to ``Config`` instances + + +0.1.5 +===== + +:Release Date: 2013-06-20 + +* Requests with ID 0 are not considered notifications anymore +* Fixed memory leak due to keeping history in ``ServerProxy`` +* ``Content-Type`` can be configured +* Better feeding of the JSON parser (avoid missing parts of a multi-bytes + character) +* Code formatting/compatibility enhancements +* Applied enhancements found on other forks: + + * Less strict error response handling from + `drdaeman `_ + * In case of a non-predefined error, raise an ``AppError`` and give access + to *error.data*, from + `tuomassalo `_ + + +0.1.4 +===== + +:Release Date: 2013-05-22 + +* First published version of this fork, with support for Python 3 +* Version number was following the original project one diff --git a/docs/index.rst b/docs/index.rst index 13058b9..5a349a9 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -27,6 +27,11 @@ This library is licensed under the terms of the client server class_translation + +.. toctree:: + :maxdepth: 1 + + changelog license