1.16.9

(fix): Fixes an issue where the generated usage snippets in the README.md was not prioritizing user defined example values over autogenerated example values.

1.16.5

(fix): Fix duplicate array types in undiscriminated union properties. Previously, nested unions containing different array types (e.g., array<string, mixed> and array<Recipient>) would generate duplicate array annotations in PHP union types (array|array|null). The fix implements recursive union flattening with proper deduplication during type generation.

1.16.4

(feat): Add documentation for using a custom client in the README. This makes it easier for our customers to visualize how they can override the default client.

1.16.3

(feat): Add documentation for pagination in the README, this uses the AST to build some human readable example of how to use the pagination on the client results.

1.16.2

(feat): Add documentation for retries and timeout parameters in the README, including examples of how to configure maxRetries and timeout options at the request level

1.16.1

(feat): Add exception handling documentation to README with examples of catching and handling API exceptions

1.16.0

(feat): Introduce initial version of README generation for the PHP SDK with Installation, Usage, and Contributing sections.

1.15.1

(internal): Update the IR to v58.

0.14.2

(fix): This updates the PHP generator to better support undiscriminated unions that define one or more optional types. With this, the generator unwraps each of the optional types, and includes a |null variant (e.g. array<string, mixed>|Metadata|null).