This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.
Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
- ⚠️ Breaking change: #2038 Drop support for PHP < 7.2. This is also the last major version to support PHP 7.2 and 7.3. Please upgrade to 7.4+ before September 2026. See the versioning policy for more information.
- ⚠️ Breaking change: #2042 Preserve null values in v2 JSON request bodies
- The SDK now preserves and sends
nullwhen set in V2 API metadata and params, enabling you to clear metadata entries and some unsettable properties for V2 APIs. - ⚠️ The
Util::objectsToIds()method now has a required$serializeNullparameter to indicate if null values set in the object should be output in the resulting hash. This is relevant for V2 POST APIs to let callers clear emptyable values.
- The SDK now preserves and sends
- #1917 Avoid using func_get_args
- #2011 Ensure that
previous_attributesis always an instance ofStripeObject - #2033 Add runtime support for V2 int64 string-encoded fields