Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump stripe/stripe-php from 10.19.0 to 12.1.0 #1860

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2023

Bumps stripe/stripe-php from 10.19.0 to 12.1.0.

Release notes

Sourced from stripe/stripe-php's releases.

v12.1.0

  • #1560 Update generated code
    • Add support for new resource AccountSession
    • Add support for create method on resource AccountSession
    • Add support for new values obligation_inbound, obligation_outbound, obligation_payout_failure, obligation_payout, obligation_reversal_inbound, and obligation_reversal_outbound on enum BalanceTransaction.type
    • Change type of Event.type from string to enum
    • Add support for application on PaymentLink
  • #1562 Nicer ApiErrorException::__toString()
  • #1558 Update generated code
    • Add support for payment_method_details on Dispute
    • Add support for prefetch on FinancialConnections.Session

See the changelog for more details.

v12.0.0

11.0.0 - 2023-08-16

Note: please use stripe-php v12.0.0 and do not use v11.0.0. In v11, StripeClient does not correctly apply the new pinning behavior.

⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️

See the changelog for more details.

v12.0.0-beta.1

  • #1549 Update generated code for beta
    • Add support for new resources QuotePreviewInvoice and QuotePreviewSchedule
    • Remove support for applies_to on Invoice and SubscriptionSchedule
  • #1556 Merge master into beta

See the changelog for more details.

v11.0.0

⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️

Version pinning

In this release, Stripe API Version 2023-08-16 (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your Stripe account's default API version.

To successfully upgrade to stripe-php v11, you must either

  1. (Recommended) Upgrade your integration to be compatible with API Version 2023-08-16.

    Please read the API Changelog carefully for each API Version from 2023-08-16 back to your Stripe account's default API version. Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe Test Mode before deploying them to production.

    You can read the v11 migration guide for more detailed instructions.

  2. (Alternative option) Specify a version other than 2023-08-16 when initializing stripe-php.

    If you were previously initializing stripe-php without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your Stripe account's default API version. For example:

... (truncated)

Changelog

Sourced from stripe/stripe-php's changelog.

12.1.0 - 2023-08-31

  • #1560 Update generated code
    • Add support for new resource AccountSession
    • Add support for create method on resource AccountSession
    • Add support for new values obligation_inbound, obligation_outbound, obligation_payout_failure, obligation_payout, obligation_reversal_inbound, and obligation_reversal_outbound on enum BalanceTransaction.type
    • Change type of Event.type from string to enum
    • Add support for application on PaymentLink
  • #1562 Nicer ApiErrorException::__toString()
  • #1558 Update generated code
    • Add support for payment_method_details on Dispute
    • Add support for prefetch on FinancialConnections.Session

12.0.0 - 2023-08-18

⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️

Version pinning

In this release, Stripe API Version 2023-08-16 (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your Stripe account's default API version.

To successfully upgrade to stripe-php v12, you must either

  1. (Recommended) Upgrade your integration to be compatible with API Version 2023-08-16.

    Please read the API Changelog carefully for each API Version from 2023-08-16 back to your Stripe account's default API version. Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe Test Mode before deploying them to production.

    You can read the v12 migration guide for more detailed instructions.

  2. (Alternative option) Specify a version other than 2023-08-16 when initializing stripe-php.

    If you were previously initializing stripe-php without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your Stripe account's default API version. For example:

      // if using StripeClient
    - $stripe = new \Stripe\StripeClient('sk_test_xyz');
    + $stripe = new \Stripe\StripeClient([
    +   'api_key' => 'sk_test_xyz',
        'stripe_version' => '2020-08-27',
    + ]);
    // if using the global client
    Stripe.apiKey = "sk_test_xyz";
    
    Stripe::setApiVersion('2020-08-27');
  3. If you were already initializing stripe-php with an explicit API Version, upgrading to v12 will not affect your integration.

    Read the v12 migration guide for more details.

    Going forward, each major release of this library will be pinned by default to the latest Stripe API Version at the time of release.

    That is, instead of upgrading stripe-php and separately upgrading your Stripe API Version through the Stripe Dashboard, whenever you upgrade major versions of stripe-php, you should also upgrade your integration to be compatible with the latest Stripe API version.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 1, 2023
@pirate-bot
Copy link
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 270.81 KB 270.81 KB 0 B (0.00%)
Blocks 1.42 MB 1.42 MB 0 B (0.00%)
CSS 85.28 KB 85.28 KB 0 B (0.00%)
Dashboard 122.49 KB 122.49 KB 0 B (0.00%)
Export Import 83.17 KB 83.17 KB 0 B (0.00%)
Pro 303.34 KB 303.34 KB 0 B (0.00%)

@pirate-bot
Copy link
Contributor

pirate-bot commented Sep 1, 2023

Plugin build for f851f27 is ready 🛎️!

@pirate-bot
Copy link
Contributor

pirate-bot commented Sep 1, 2023

E2E Summary

Typing

Test Average Time (ms) Standard Deviation (ms) Median Time (ms) Quantile for soft limit (%) Quantile for hard limit (%)
Typing 74.73 9.3 71.9 0 (60ms) 84.21 (80ms)
Values above 60ms "0 - 63.36, 1 - 93.09, 2 - 63.08, 3 - 74.22, 4 - 85.66, 5 - 75.26, 6 - 70.32, 7 - 67.55, 8 - 70.83, 9 - 74.75, 10 - 70.73, 11 - 74.64, 12 - 101.23, 13 - 74.39, 14 - 67.70, 15 - 70.83, 16 - 79.90, 17 - 70.45, 18 - 71.90"

Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 10.19.0 to 12.1.0.
- [Release notes](https://github.com/stripe/stripe-php/releases)
- [Changelog](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-php@v10.19.0...v12.1.0)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/composer/development/stripe/stripe-php-12.1.0 branch from c948ac9 to f851f27 Compare September 2, 2023 10:18
@HardeepAsrani HardeepAsrani merged commit 458678e into development Sep 2, 2023
12 checks passed
@HardeepAsrani HardeepAsrani deleted the dependabot/composer/development/stripe/stripe-php-12.1.0 branch September 2, 2023 10:33
@pirate-bot
Copy link
Contributor

🎉 This PR is included in version 2.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code released Indicate that an issue has been resolved and released in a particular version of the product.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants