mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 22:50:29 +01:00
1.4 KiB
1.4 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[6.1.0] - 2020-02-28
Added
- The "Client::preEncode" and "Client::postDecode" methods have been added to allow advanced users to inspect and tweak the inner workings of the JSON-RPC library.
- The "Server::rawReply" method has been added to complement the new "Client" methods.
[6.0.0] - 2019-07-25
Changed
- There are now two types of responses--an "ErrorResponse" and a "ResultResponse"-- which both derive from a base "Response" class. The "Client::decode" method returns a list of these "Response" objects. You can use the "instanceof" type operator to see which type of response you have received.
[5.0.0] - 2018-05-16
Added
- The "Client::decode" method now throws an "ErrorException" when the input is not a valid JSON-RPC 2.0 reply string
- The "Client::query" and "Client::notify" methods now return the object handle, so you can chain method calls if you like
Changed
- The "Client::decode" method now returns a list of "Response" objects (rather than an associative array of raw JSON-RPC 2.0 keys and values)
- The four exception classes have been moved (e.g. "Datto\JsonRpc\Exception\Application" => "Datto\JsonRpc\Exceptions\ApplicationException")