Jsonrpcserver

Latest version: v5.0.9

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

5.0.3

- Update readme and documentation.
- Internal function `compose` has been replaced with a better one.

5.0.2

- Update readme and setup.py, minor adjustments.

5.0.0

A complete rebuild, with a few important usage changes.

See a post explaining the changes at
[https://composed.blog/jsonrpcserver-5-changes](https://composed.blog/jsonrpcserver-5-changes).

Read the full version 5 documentation at
[jsonrpcserver.com](https://www.jsonrpcserver.com/).

- Methods must now return a Result (Success or Error).
- The dispatch function now returns a string.
- Methods collection is now a simple dict, the Methods class has been removed.
- Changed all classes (Request, Response, Methods, etc) to namedtuples.
- Logging removed. User can log instead.
- Config file removed. Configure with arguments to dispatch.
- Removed "trim log values" and "convert camel case" options.
- Removed the custom exceptions, replaced with one JsonRpcError exception.

4.2.0

- Add ability to use custom serializer and deserializer ([125](https://github.com/explodinglabs/jsonrpcserver/pull/125))
- Add ability to use custom method name ([127](https://github.com/explodinglabs/jsonrpcserver/pull/127))
- Deny additional parameters in json-rpc request ([128](https://github.com/explodinglabs/jsonrpcserver/pull/128))

Thanks to deptyped.

4.1.3

- In the case of a method returning a non-serializable value, return a JSON-RPC
error response. It was previously erroring server-side without responding to
the client. (119)
- Fix for Python 3.8 - ensures the same exceptions will be raised in 3.8 and
pre-3.8. (122)

4.1.2

- Fix the egg-info directory in package.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.