Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stripe/stripe-php
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v14.7.0
Choose a base ref
...
head repository: stripe/stripe-php
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v14.8.0
Choose a head ref
  • 3 commits
  • 6 files changed
  • 3 contributors

Commits on May 21, 2024

  1. Rename section for object type generation (#1697)

    helenye-stripe authored May 21, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    appurva21 Appurva Murawat
    Copy the full SHA
    ca07566 View commit details

Commits on May 23, 2024

  1. Update generated code for v1047 (#1698)

    Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
    stripe-openapi[bot] authored May 23, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    appurva21 Appurva Murawat
    Copy the full SHA
    0ae152f View commit details
  2. Bump version to 14.8.0

    prathmesh-stripe committed May 23, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    appurva21 Appurva Murawat
    Copy the full SHA
    7038876 View commit details
Showing with 11 additions and 5 deletions.
  1. +5 −0 CHANGELOG.md
  2. +1 −1 OPENAPI_VERSION
  3. +1 −1 VERSION
  4. +1 −0 lib/ErrorObject.php
  5. +1 −1 lib/Stripe.php
  6. +2 −2 lib/Util/ObjectTypes.php
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 14.8.0 - 2024-05-23
* [#1698](https://github.com/stripe/stripe-php/pull/1698) Update generated code
* Add support for new value `terminal_reader_invalid_location_for_payment` on enum `StripeError.code`
* [#1697](https://github.com/stripe/stripe-php/pull/1697) Rename section for object type generation

## 14.7.0 - 2024-05-16
* [#1694](https://github.com/stripe/stripe-php/pull/1694) Update generated code
* Add support for `fee_source` on `ApplicationFee`
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1036
v1047
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.7.0
14.8.0
1 change: 1 addition & 0 deletions lib/ErrorObject.php
Original file line number Diff line number Diff line change
@@ -205,6 +205,7 @@ class ErrorObject extends StripeObject
const CODE_TERMINAL_LOCATION_COUNTRY_UNSUPPORTED = 'terminal_location_country_unsupported';
const CODE_TERMINAL_READER_BUSY = 'terminal_reader_busy';
const CODE_TERMINAL_READER_HARDWARE_FAULT = 'terminal_reader_hardware_fault';
const CODE_TERMINAL_READER_INVALID_LOCATION_FOR_PAYMENT = 'terminal_reader_invalid_location_for_payment';
const CODE_TERMINAL_READER_OFFLINE = 'terminal_reader_offline';
const CODE_TERMINAL_READER_TIMEOUT = 'terminal_reader_timeout';
const CODE_TESTMODE_CHARGES_ONLY = 'testmode_charges_only';
2 changes: 1 addition & 1 deletion lib/Stripe.php
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ class Stripe
/** @var float Initial delay between retries, in seconds */
private static $initialNetworkRetryDelay = 0.5;

const VERSION = '14.7.0';
const VERSION = '14.8.0';

/**
* @return string the API key used for requests
4 changes: 2 additions & 2 deletions lib/Util/ObjectTypes.php
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ class ObjectTypes
\Stripe\Issuing\CardDetails::OBJECT_NAME => \Stripe\Issuing\CardDetails::class,
\Stripe\SearchResult::OBJECT_NAME => \Stripe\SearchResult::class,
\Stripe\File::OBJECT_NAME_ALT => \Stripe\File::class,
// The beginning of the section generated from our OpenAPI spec
// object classes: The beginning of the section generated from our OpenAPI spec
\Stripe\Account::OBJECT_NAME => \Stripe\Account::class,
\Stripe\AccountLink::OBJECT_NAME => \Stripe\AccountLink::class,
\Stripe\AccountSession::OBJECT_NAME => \Stripe\AccountSession::class,
@@ -147,6 +147,6 @@ class ObjectTypes
\Stripe\UsageRecord::OBJECT_NAME => \Stripe\UsageRecord::class,
\Stripe\UsageRecordSummary::OBJECT_NAME => \Stripe\UsageRecordSummary::class,
\Stripe\WebhookEndpoint::OBJECT_NAME => \Stripe\WebhookEndpoint::class,
// The end of the section generated from our OpenAPI spec
// object classes: The end of the section generated from our OpenAPI spec
];
}