Skip to content

chore(deps): bump stripe/stripe-php from 15.7.0 to 17.0.0#2550

Closed
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/composer/development/stripe/stripe-php-17.0.0
Closed

chore(deps): bump stripe/stripe-php from 15.7.0 to 17.0.0#2550
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/composer/development/stripe/stripe-php-17.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Bumps stripe/stripe-php from 15.7.0 to 17.0.0.

Release notes

Sourced from stripe/stripe-php's releases.

v17.0.0

  • #1837 Better type hints in your editor!!

    • Added type hints for method parameters
    • Improved type hints for resource properties that are not primitive types. Take for example, the invoice settings in Customer resource. Previously, you could not reference inner fields like custom_fields on customer->invoice_settings without PHPStan complaining. This is now fixed.
  • #1818 Support for APIs in the new API version 2025-03-31.basil

    This release changes the pinned API version to 2025-03-31.basil.

    ⚠️ Breaking changes due to changes in the Stripe API

    Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

    • Remove support for resources UsageRecordSummary and UsageRecord
    • Remove support for create method on resource UsageRecord
    • Remove support for all method on resource UsageRecordSummary
    • Remove support for upcomingLines and upcoming methods on resource Invoice
    • Remove support for invoice on Charge and PaymentIntent
    • Remove support for shipping_details on Checkout.Session
    • Remove support for refund on CreditNote
    • Remove support for tax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
    • Remove support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
    • Remove support for application_fee_amount, charge, paid_out_of_band, paid, payment_intent, quote, subscription, subscription_details, subscription_proration_date, tax, total_tax_amounts, and transfer_data on Invoice
    • Remove support for discount on Invoice and Subscription
    • Remove support for invoice_item, proration_details, proration, tax_rates, and type on InvoiceLineItem
    • Remove support for plan, price, and subscription_item on InvoiceItem and InvoiceLineItem
    • Remove support for subscription, unit_amount_decimal, and unit_amount on InvoiceItem
    • Remove support for aggregate_usage on Plan
    • Remove support for billing_thresholds on SubscriptionItem and Subscription
    • Remove support for current_period_end and current_period_start on Subscription

    ⚠️ Other Breaking changes in the SDK

    • #1826 configure max_nextwork_retries at the client level
      • Allow setting maxNetworkRetries at the StripeClient level via a new argument to the RequestOptions constructor
        • ⚠️ (potentially breaking) a client's configuration for maxNetworkRetries is set during client initialization. Subsequent calls to Stripe::setMaxNetworkRetries() after client creation won't affect that client.
      • Allow setting maxNetworkRetries per-request via the max_network_retries config argument. This works for both the service and resource based patterns. In both cases, an explicitly passed value takes precedence over the global (or client) value.
    • #1835 Removed the protected method _searchResource as it is no longer used
      • ⚠️ Removed _searchResource method and Search trait. Use the public search method on Charge, Customer, Invoice, PaymentIntent, Price, Product, and Subscription resource.
    • #1832 Added requestCollection and requestSearchResult to StripeClientInterface
      • ⚠️ Added requestSearchResult, requestCollection to StripeClientInterface. Developers building custom StripeClient will now have to implement these new methods.

    Additions

    • Add support for new resource InvoicePayment
    • Add support for all and retrieve methods on resource InvoicePayment
    • Add support for new values forwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for new values stripe_balance_payment_debit_reversal and stripe_balance_payment_debit on enum BalanceTransaction.type

... (truncated)

Changelog

Sourced from stripe/stripe-php's changelog.

17.0.0 - 2025-04-01

  • #1837 Better type hints in your editor!!

    • Added type hints for method parameters
    • Improved type hints for resource properties that are not primitive types. Take for example, the invoice settings in Customer resource. Previously, you could not reference inner fields like custom_fields on customer->invoice_settings without PHPStan complaining. This is now fixed.
  • #1818 Support for APIs in the new API version 2025-03-31.basil

    This release changes the pinned API version to 2025-03-31.basil.

    ⚠️ Breaking changes due to changes in the Stripe API

    Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

    • Remove support for resources UsageRecordSummary and UsageRecord
    • Remove support for create method on resource UsageRecord
    • Remove support for all method on resource UsageRecordSummary
    • Remove support for upcomingLines and upcoming methods on resource Invoice
    • Remove support for invoice on Charge and PaymentIntent
    • Remove support for shipping_details on Checkout.Session
    • Remove support for refund on CreditNote
    • Remove support for tax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
    • Remove support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
    • Remove support for application_fee_amount, charge, paid_out_of_band, paid, payment_intent, quote, subscription, subscription_details, subscription_proration_date, tax, total_tax_amounts, and transfer_data on Invoice
    • Remove support for discount on Invoice and Subscription
    • Remove support for invoice_item, proration_details, proration, tax_rates, and type on InvoiceLineItem
    • Remove support for plan, price, and subscription_item on InvoiceItem and InvoiceLineItem
    • Remove support for subscription, unit_amount_decimal, and unit_amount on InvoiceItem
    • Remove support for aggregate_usage on Plan
    • Remove support for billing_thresholds on SubscriptionItem and Subscription
    • Remove support for current_period_end and current_period_start on Subscription

    ⚠️ Other Breaking changes in the SDK

    • #1826 configure max_nextwork_retries at the client level
      • Allow setting maxNetworkRetries at the StripeClient level via a new argument to the RequestOptions constructor
        • ⚠️ (potentially breaking) a client's configuration for maxNetworkRetries is set during client initialization. Subsequent calls to Stripe::setMaxNetworkRetries() after client creation won't affect that client.
      • Allow setting maxNetworkRetries per-request via the max_network_retries config argument. This works for both the service and resource based patterns. In both cases, an explicitly passed value takes precedence over the global (or client) value.
    • #1835 Removed the protected method _searchResource as it is no longer used
      • ⚠️ Removed _searchResource method and Search trait. Use the public search method on Charge, Customer, Invoice, PaymentIntent, Price, Product, and Subscription resource.
    • #1832 Added requestCollection and requestSearchResult to StripeClientInterface
      • ⚠️ Added requestSearchResult, requestCollection to StripeClientInterface. Developers building custom StripeClient will now have to implement these new methods.

    Additions

    • Add support for new resource InvoicePayment
    • Add support for all and retrieve methods on resource InvoicePayment
    • Add support for new values forwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for new values stripe_balance_payment_debit_reversal and stripe_balance_payment_debit on enum BalanceTransaction.type

... (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)

Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 15.7.0 to 17.0.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@v15.7.0...v17.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Apr 1, 2025
@pirate-bot
Copy link
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 271.36 KB 271.36 KB 0 B (0.00%)
Blocks 1.56 MB 1.56 MB 0 B (0.00%)
CSS 100.83 KB 100.83 KB 0 B (0.00%)
Dashboard 203.93 KB 203.93 KB 0 B (0.00%)
Onboarding 161.04 KB 161.04 KB 0 B (0.00%)
Export Import 97.72 KB 97.72 KB 0 B (0.00%)
Pro 421.73 KB 421.73 KB 0 B (0.00%)

@pirate-bot
Copy link
Contributor

Plugin build for 9733e36 is ready 🛎️!

@pirate-bot
Copy link
Contributor

E2E Tests

Playwright Test Status:

Performance Results serverResponse: 271.4, firstPaint: 478.05, domContentLoaded: 1402.4, loaded: 1402.85, firstContentfulPaint: 3034.7, firstBlock: 6508.15, type: 11.9, minType: 10.69, maxType: 13.12, typeContainer: 7.83, minTypeContainer: 6.45, maxTypeContainer: 9.31, focus: 29.8, minFocus: 26.01, maxFocus: 34.43, inserterOpen: 18.89, minInserterOpen: 16.01, maxInserterOpen: 25.45, inserterSearch: 0.59, minInserterSearch: 0.5, maxInserterSearch: 0.69, inserterHover: 3.7, minInserterHover: 3.23, maxInserterHover: 5.01, listViewOpen: 90.25, minListViewOpen: 82.72, maxListViewOpen: 114.84

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 13, 2025

Superseded by #2555.

@dependabot dependabot bot closed this Apr 13, 2025
@dependabot dependabot bot deleted the dependabot/composer/development/stripe/stripe-php-17.0.0 branch April 13, 2025 23:44
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant