0.11.0

(feat): The SDK now supports a bodyProperties and queryParameters request option, which can be used to add arbitrary properties to the request. This is useful for interacting with alpha or undocumented functionality.

$response = $client->users->list(
1 new ListUsersRequest([
2 ...
3 ]),
4 [
5 'queryParameters' => [
6 'limit' => 100,
7 ],
8 ]
9); ```

0.8.0

(feat): Add automatic pagination support for endpoints that return a paginated response. Here’s an example of how users can use paginated endpoints:

$items = $client->list($request); foreach($items as $item){
1 echo $item;
2} $pages = $items->getPages(); foreach($pages as $page){
3 foreach($page as $item){
4 echo $item;
5 }
6} ```

0.5.2

(fix): Update the endpoint generator to not require the in-lined request wrapper if it’s only composed of optional properties.

(fix): Update optional query parameters lists to be generated as an optional array instead of an array of optional values.



0.3.1

(fix): Improve multiline parameter docs by writing them above the tag, e.g.

class UpdateUserRequest extends JsonSerializableType {
1 /**
2 * The user to update.
3 *
4 * See [User](https://acme.co/user) for more information.
5 *
6 * @var ?User $user
7 */
8 public ?User $user;
9} ```
10
11**`(fix):`** Add .idea to the generated .gitignore file.

0.2.3

(fix): Updates a variety of properties in the generated composer.json file, including:

  • Pin guzzlehttp/guzzle to version ^7.4.
  • Custom license support.
  • Set memory-limit to 1G in the analyze script.



Built with