Skip to content

Update generated code for private-preview - #2225

Open
stripe-openapi[bot] wants to merge 3 commits into
private-previewfrom
latest-codegen-private-preview
Open

stripe-openapi[bot] wants to merge 3 commits into
private-previewfrom
latest-codegen-private-preview

Conversation

@stripe-openapi

@stripe-openapi stripe-openapi Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Codegen for openapi v2603 and v2 openapi 6c64d235ce1f50af70491f132acc4c694dbbf8d9.

Changelog

  • Release specs are identical.

…2217)

* Remove stale fields through __unset in StripeObject::refreshFrom()

refreshFrom() dropped fields missing from the new values with
unset($this->{$k}). Inside the class that unsets a declared property
when the field name matches one (_opts, _values, _retrieveOptions, ...),
rather than going through __unset. The object then lost its request
options or bookkeeping, and later reads of that name fell through to
the stale field value. Calling __unset directly removes the field from
_values for every name, which is what already happened for all other
field names.

Committed-By-Agent: claude

* Drop the template placeholder from the refreshFrom changefile

hark new writes an instructional comment into the body; it is not release text.

Committed-By-Agent: claude
@stripe-openapi
stripe-openapi Bot requested a review from a team as a code owner December 4, 2026 01:43
@stripe-openapi
stripe-openapi Bot requested review from mark-kogan-stripe and removed request for a team December 4, 2026 01:43
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from 8d61a02 to c319025 Compare December 4, 2026 01:43
@stripe-openapi
stripe-openapi Bot removed the request for review from mark-kogan-stripe December 4, 2026 01:44
@stripe-openapi
stripe-openapi Bot enabled auto-merge December 4, 2026 01:44
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 2 times, most recently from 06621e7 to 5429736 Compare December 4, 2026 02:00
…2218)

* Add http_status, error, request_start_ms, and retry_count in telemetry emission while allowing request_id to be null

* Add changefile and update docblock to reference minor change in request return

* Replace assertMatchesRegularExpression with compat version

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Replace openssl_random_psuedo_bytes with built in random_bytes

* Move request_start_ms calculation to after response is read

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 3 times, most recently from de468d0 to 98391d5 Compare December 4, 2026 21:14
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from 98391d5 to eaa119f Compare December 4, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants