| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,16 @@ | |||
| 1 | 1 | # Changelog | |
| 2 | 2 | ||
| 3 | + ## 21.0.0 - 2026-07-15 | ||
| 4 | + This release **does not** change the pinned API version. It's still `2026-06-24.dahlia`. | ||
| 5 | + | ||
| 6 | + We're releasing it as a major out of an abundance of caution, but it should be functionally a patch release for most users. See below. | ||
| 7 | + | ||
| 8 | + * [#2097](https://github.com/stripe/stripe-php/pull/2097) ⚠️ Correctly type properties on `ErrorObject` | ||
| 9 | + * the properties of `ErrorObject` were typed as `string` when many of them should have been `null|string`. If you (or your typechecker) were treating these as plain strings, you'll need to be more defensive in your code. | ||
| 10 | + * to be clear: no runtime code has changed, we've just made the types more accurate. We didn't want to break any builds in a patch version, so this is released as a major | ||
| 11 | + * [#2098](https://github.com/stripe/stripe-php/pull/2098) Replace source hash with Telemetry UUID | ||
| 12 | + * [#2095](https://github.com/stripe/stripe-php/pull/2095) Remove unused Retry-After header support | ||
| 13 | + | ||
| 3 | 14 | ## 20.3.1 - 2026-07-09 | |
| 4 | 15 | * [#2093](https://github.com/stripe/stripe-php/pull/2093) Add TStripeObject to iterator PHPDoc comments (fixes [#2091](https://github.com/stripe/stripe-php/issues/2091)) | |
| 5 | 16 | - Fixed: PHPStan no longer infers iterated Collection values as `mixed`; loop variables are now correctly typed as the collection's generic type parameter | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - 20.3.1 | ||
| 1 | + 21.0.0 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,7 +61,7 @@ class Stripe | |||
| 61 | 61 | /** @var float Initial delay between retries, in seconds */ | |
| 62 | 62 | private static $initialNetworkRetryDelay = 0.5; | |
| 63 | 63 | ||
| 64 | - const VERSION = '20.3.1'; | ||
| 64 | + const VERSION = '21.0.0'; | ||
| 65 | 65 | ||
| 66 | 66 | /** | |
| 67 | 67 | * @return string the API key used for requests | |
| Back | FazBrowse Home | New Git URL |
0 commit comments