Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on stripe/stripe-php to permit the latest version.

Release notes

Sourced from stripe/stripe-php's releases.

v17.1.0

  • #1843 Add null type in resource fields to non required objects
    • Fixes nullable resource properties that were incorrectly set as required in PHPDocs

See the changelog for more details.

Changelog

Sourced from stripe/stripe-php's changelog.

17.1.0 - 2025-04-02

  • #1843 Add null type in resource fields to non required objects
    • Fixes nullable resource properties that were incorrectly set as required in PHPDocs

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

... (truncated)

Commits

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)

Updates the requirements on [stripe/stripe-php](https://github.com/stripe/stripe-php) to permit the latest version.
- [Release notes](https://github.com/stripe/stripe-php/releases)
- [Changelog](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-php@v12.2.0...v17.1.0)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  dependency-version: 17.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Apr 3, 2025
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.

0 participants