Skip to content

Releases: cranetm/yii2-json-rpc-2.0

Validators improvements

17 Jan 22:58
Compare
Choose a tag to compare
  1. Improved validation system (see validators in JsonRpc2\Validator folder)
  2. All JsonRpc2 Exception now are translatable.
  3. Added Yii error logging for response errors

CORS Support

09 Jul 12:26
Compare
Choose a tag to compare

CORS Support added

1.2.4 Release

24 Jun 08:23
Compare
Choose a tag to compare

Bugfix Release

1.2 Release

12 Dec 22:05
Compare
Choose a tag to compare

Full JSON-RPC 2.0 Specification support.
Notification & batch support added.

1.2 RC release

08 Dec 21:28
Compare
Choose a tag to compare
1.2 RC release Pre-release
Pre-release
  1. JSON-RPC 2.0 Specification support (without notifications and batches)
  2. Validation for required params if its do not have a default value
  3. Validation for params types (string, int, float, bool)

    3.1 Supports DTOs as structured type

    3.2 Supports square brackets for array types like string[], int[], bool[] or for DTO: ClassName[]
  4. @null tag to allowing null values (by default all data brings to specific type)
  5. @inarray tag to restrict values like @inarray["red","brown","yellow"]. Works only with string and int datatypes.

1.1 Release

07 Dec 01:17
Compare
Choose a tag to compare

From now method params validate to types, described in phpDoc comments.

1.0 RC Release

05 Dec 12:50
Compare
Choose a tag to compare
1.0 RC Release Pre-release
Pre-release

Basic JSON-RPC 2.0 support