Release Notes¶
0.3.0¶
This is a small update to better handle JSON encoding errors.
Bugfixes¶
- Any exceptions thrown by a custom
json.JSONEncoder
will be reencoded after the exception has been thrown. JSON-RPC will not return a response if the custom encoder cannot encode the exception.
0.2.0¶
This is a small update from the last release based on usage.
Features¶
- Added ability to access the current request in method call
- Allowed more flexibility in JSON serialization
Bugfixes¶
- Exceptions which are not JSON-serializable are now converted to strings using
repr()
rather than failing serialization
Breaking changes¶
typedjsonrpc.registry.Registry.json_encoder
andtypedjsonrpc.registry.Registry.json_decoder
are now instances rather than class objects
0.1.0¶
Initial Release