Skip to content

Releases: jeyroik/extas-jsonrpc

4.1.0

25 Jun 06:41
c560f02
Compare
Choose a tag to compare
  • Added this changelog.
  • Added version maintenance information.
  • Added IHasHttpIO to OperationDispatcher. Now you can use method getHttpIO to quickly get request and response.
  • Added composer script up.

4.0.0

17 Jun 12:00
f220f57
Compare
Choose a tag to compare
  • Use extas-http.

  • Removed IHasPsrRequest, IHasPsrResponse.

  • Added IHasJsonRpcRequest, IHasJsonRpcResponse.

BC breaking:

OperationDispatcher has convertPsrToJsonRpcResponse() method no more. Please, use getJsonRpcRequest instead.

3.1.0

11 Jun 10:02
c212378
Compare
Choose a tag to compare
Merge pull request #5 from jeyroik/development

rm redundant + update command version

3.0.0

10 Jun 11:03
1b74f5a
Compare
Choose a tag to compare

Brand new version.

  • Use installer v3! So you can easily attach your logic to any stage of installing this package or operations.
  • Removed crawlers logic by using extas-crawlers.
  • Removed generators logic by using extas-generators.
  • Removed a lot of redundant code.
  • Made jsonrpc command ready-to-extend, so you can extend it by any options you want.
  • Nearly 100% test coverage (only the start script index.php is not coveraged).
  • Added badges for quick information referencing.

1.1.1

25 May 14:03
e577ee3
Compare
Choose a tag to compare
Merge pull request #3 from jeyroik/development

rm ext using in the jsonrpc command + update operations table name

1.1.0

21 May 13:45
1f68f7b
Compare
Choose a tag to compare
Merge pull request #2 from jeyroik/development

Allow multi generators and crawlers

1.0.12

15 May 08:33
Compare
Choose a tag to compare
fix: return request id in a response

2.2.0

13 May 17:54
0c268db
Compare
Choose a tag to compare

Allow to define methods for generation specs

/**
 * @jsonrpc_method create
 * @jsonrpc_method index
 */

See details in 2.1.0.

2.1.0

13 May 17:42
Compare
Choose a tag to compare

Allow to define entities properties for generation

If you are using jsonrpc extas-command, all class FIELD_-properties moved to the generation result by default.
Now you can define which properties shoud be added to the generation result by adding <field.name>:<field.type> to a class doc comment.

SomeClass.php

/**
 * @jsonrpc_field name:string
 * @jsonrpc_field title:string
 **/
class SomeClass

2.0.0

08 May 14:21
Compare
Choose a tag to compare
  • Moved to Slim 4.*.
  • Fully moved to psr request/response instead of extas-servers.
  • Added tests.