Skip to content

chore: 🐝 Update SDK - Generate PHP SDK 0.6.2#26

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
speakeasy-sdk-regen-1773274217
Open

chore: 🐝 Update SDK - Generate PHP SDK 0.6.2#26
github-actions[bot] wants to merge 1 commit into
mainfrom
speakeasy-sdk-regen-1773274217

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented Mar 12, 2026

SDK update

Versioning

Version Bump Type: [patch] - 🤖 (automated)

Tip

If updates to your OpenAPI document introduce breaking changes, be sure to update the info.version field to trigger the correct version bump.
Speakeasy supports manual control of SDK versioning through multiple methods.

OpenAPI Change Summary No specification changes

View full report

Linting Report 0 errors, 100 warnings, 12 hints

View full report

PHP CHANGELOG

core: 3.9.23 - 2026-05-26

🐝 New Features

  • capability to directly control casing (acronym) rules (commit by @ThomasRooney)

core: 3.9.22 - 2026-03-26

🐛 Bug Fixes

  • stabilize phpstan and pint config generation against toolchain drift (commit by @tristanspeakeasy)

core: 3.9.21 - 2026-03-25

🐛 Bug Fixes

  • remove unused namespace use-imports for array fields referencing custom model namespaces (commit by @AshGodfrey)

core: 3.9.20 - 2026-03-10

🐛 Bug Fixes

  • Pin laravel/pint to 1.21.2 in generated PHP SDK dev dependencies to avoid formatter drift breaking pint --test [force-gen]

core: 3.9.19 - 2026-03-10

🐝 New Features

  • Migrated formatter for improved performance (commit by @bflad)

core: 3.9.18 - 2026-03-04

🐛 Bug Fixes

  • include global security in SDK Example Usage snippets and per-operation docs (commit by @mfbx9da4)

flattening: 2.81.2 - 2026-03-31

🐛 Bug Fixes

  • sort nullable parameters after required parameters in method signatures to avoid PHP 8.0+ deprecation warnings (commit by @AshGodfrey)

globalSecurity: 2.81.12 - 2026-03-25

🐛 Bug Fixes

  • basic-http handling when used as a security option wrapper (commit by @2ynn)

globalSecurity: 2.81.11 - 2026-03-24

🐛 Bug Fixes

  • respect global security alternatives ordering and enforce operation-level security restrictions when hoisted (commit by @2ynn)

methodSecurity: 2.82.4 - 2026-03-09

🐛 Bug Fixes

  • allow method security hoisting when both global and operation-level security are optional (commit by @2ynn)

Based on Speakeasy CLI 1.771.0

Last updated by Speakeasy workflow


Note

Medium Risk
The consolidated error-hook path runs for all 4XX/5XX responses and may change hook side effects for SDK consumers; otherwise this is generated output with no spec drift.

Overview
Automated Speakeasy regeneration bumps the PHP SDK from 0.6.1 to 0.6.2 with no OpenAPI spec changes—tooling and generated client code only.

Runtime client behavior: HTTP helpers across service classes (e.g. AddressValidation, Customers, Transactions) now invoke afterError hooks when the status matches 4XX or 5XX in one step, instead of matching a long list of specific codes before branching. Per-status handling (401, 422, etc.) still runs afterward. PHPDoc on public methods and model constructors now uses fully qualified \KintsugiTax\SDK\... types in @param / @return.

Packaging & quality: composer.json pins dev tools (laravel/pint 1.29.0, phpstan/phpstan 2.1.44, broader PHPUnit ranges). pint.json disables additional format rules; phpstan.neon drops a ReflectionProperty constructor ignore. Speakeasy metadata (.speakeasy/gen.lock, workflow lock, RELEASES.md) reflects CLI 1.771.0 and generator feature bumps.

Reviewed by Cursor Bugbot for commit b1f14e2. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added the patch Patch version bump label Mar 12, 2026
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 7 times, most recently from 3dca571 to da3bfdc Compare March 19, 2026 00:13
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 7 times, most recently from 5fea6a1 to c309c56 Compare March 26, 2026 00:14
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 7 times, most recently from 48cf88a to 589769f Compare April 2, 2026 00:13
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 7 times, most recently from 9959960 to de1eb5a Compare April 9, 2026 00:13
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch from de1eb5a to 8779ef5 Compare April 10, 2026 00:16
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 7 times, most recently from b2de0f0 to b7c4fed Compare April 30, 2026 00:24
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 3 times, most recently from dc2660d to 7d7c69c Compare May 3, 2026 00:22
Comment thread src/AddressValidation.php
$httpResponse = $res;
}

$statusCode = $httpResponse->getStatusCode();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale contentType after afterError hook modifies response

Low Severity

$contentType is captured from the original $httpResponse before the afterError hook runs, but $statusCode is now captured after the hook potentially replaces $httpResponse. Previously both were captured before the hook, making them consistently from the same response. Now if a custom afterError hook modifies the response (e.g., changes status code from error to success), the subsequent matchContentType check uses a stale $contentType from the original error response rather than from the hook-modified response. This affects all service classes uniformly.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7d7c69c. Configure here.

@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 7 times, most recently from 1d16488 to f0cc309 Compare May 10, 2026 00:24
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 7 times, most recently from ee95fca to b204443 Compare May 17, 2026 00:25
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1773274217 branch 3 times, most recently from 88a2c4f to 22ef020 Compare May 20, 2026 00:30
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b1f14e2. Configure here.

* @param ?string $fein
* @param ?string $salesTaxId
* @param ?ExemptionStatus $status
* @param ?\KintsugiTax\SDK\Models\Components\ExemptionStatus $status
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exemption constructor reordered parameters

Low Severity

The generated Exemption constructor moved reseller after fein, salesTaxId, status, and organizationId. Callers that still pass optional arguments positionally (as in 0.6.1) can bind values to the wrong parameters without a type error.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b1f14e2. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Patch version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant