FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Bump version to 21.0.0 · stripe/stripe-php@0498d20 · GitHub

Commit 0498d20

Browse files
committed
Bump version to 21.0.0
1 parent cec86a7 commit 0498d20

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

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+
314
## 20.3.1 - 2026-07-09
415
* [#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))
516
- Fixed: PHPStan no longer infers iterated Collection values as `mixed`; loop variables are now correctly typed as the collection's generic type parameter

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.3.1
1+
21.0.0

‎lib/Stripe.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Stripe
6161
/** @var float Initial delay between retries, in seconds */
6262
private static $initialNetworkRetryDelay = 0.5;
6363

64-
const VERSION = '20.3.1';
64+
const VERSION = '21.0.0';
6565

6666
/**
6767
* @return string the API key used for requests

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL