elementary / website

The elementary.io website
https://elementary.io
MIT License
1.24k stars 707 forks source link

Bump stripe/stripe-php from 10.21.0 to 12.2.0 in /_backend #3347

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps stripe/stripe-php from 10.21.0 to 12.2.0.

Release notes

Sourced from stripe/stripe-php's releases.

v12.2.0

  • #1571 Update generated code
    • Add support for new resource PaymentMethodDomain
    • Add support for all, create, retrieve, update, and validate methods on resource PaymentMethodDomain
    • Add support for new values treasury.credit_reversal.created, treasury.credit_reversal.posted, treasury.debit_reversal.completed, treasury.debit_reversal.created, treasury.debit_reversal.initial_credit_granted, treasury.financial_account.closed, treasury.financial_account.created, treasury.financial_account.features_status_updated, treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, treasury.outbound_payment.canceled, treasury.outbound_payment.created, treasury.outbound_payment.expected_arrival_date_updated, treasury.outbound_payment.failed, treasury.outbound_payment.posted, treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, treasury.outbound_transfer.created, treasury.outbound_transfer.expected_arrival_date_updated, treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, treasury.outbound_transfer.returned, treasury.received_credit.created, treasury.received_credit.failed, treasury.received_credit.succeeded, and treasury.received_debit.created on enum Event.type
    • Remove support for value invoiceitem.updated from enum Event.type
    • Add support for features on Product

See the changelog for more details.

v12.2.0-beta.1

  • #1559 Update generated code for beta
    • Rename Quote.previewInvoices to Quote.allPreviewInvoices and Quote.previewSubscriptionSchedules to Quote.allSubscriptionSchedules

See the changelog for more details.

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 ⚠️

... (truncated)

Changelog

Sourced from stripe/stripe-php's changelog.

12.2.0 - 2023-09-07

  • #1571 Update generated code
    • Add support for new resource PaymentMethodDomain
    • Add support for all, create, retrieve, update, and validate methods on resource PaymentMethodDomain
    • Add support for new values treasury.credit_reversal.created, treasury.credit_reversal.posted, treasury.debit_reversal.completed, treasury.debit_reversal.created, treasury.debit_reversal.initial_credit_granted, treasury.financial_account.closed, treasury.financial_account.created, treasury.financial_account.features_status_updated, treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, treasury.outbound_payment.canceled, treasury.outbound_payment.created, treasury.outbound_payment.expected_arrival_date_updated, treasury.outbound_payment.failed, treasury.outbound_payment.posted, treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, treasury.outbound_transfer.created, treasury.outbound_transfer.expected_arrival_date_updated, treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, treasury.outbound_transfer.returned, treasury.received_credit.created, treasury.received_credit.failed, treasury.received_credit.succeeded, and treasury.received_debit.created on enum Event.type
    • Remove support for value invoiceitem.updated from enum Event.type
    • Add support for features on Product

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');

... (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 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[bot] commented 1 year ago

Superseded by #3352.