fnf-org / TicketBooth

Rails 7.1 app for creating closed community events, distributing the ticket request URL, approving and selling tickets via Stripe Integration.
https://fnf.org
Other
9 stars 3 forks source link

Bump stripe from 11.7.0 to 13.1.0 #336

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 2 weeks ago

Bumps stripe from 11.7.0 to 13.1.0.

Release notes

Sourced from stripe's releases.

v13.1.0

  • #1472 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
  • #1476 Fix APIResource#retrieve bug not returning instance of custom resources
    • Fix bug in APIResource#refresh and APIResource#retrieve where they returned an instance of StripeObject for custom resources. They should now return the instance of the custom resource.

See the changelog for more details.

v13.1.0-beta.3

  • #1469 Update generated code for beta

See the changelog for more details.

v13.1.0-beta.2

  • #1468 Update generated code for beta
    • Add support for submit_card test helper method on resource Issuing.Card

See the changelog for more details.

v13.1.0-beta.1

  • #1465 Updates to the Preview class
    • Remove Stripe::Preview. Use StripeClient#raw_request instead (see below).
    • Marked Stripe.raw_request and Stripe.deserialize as deprecated. Use StripeClient#raw_request and StripeClient#deserialize instead. In StripeClient, the params and opts parameters are passed as keyword arguments:
      # Before
      resp = Stripe.raw_request(:post, "v1/charges", , {p1: "p1"}, {stripe_account: "acct_123"})
      charge = Stripe.deserialize(resp.data)
      

      After

      client = StripeClient.new("sk_test_123") resp = client.raw_request(:post, "/v1/charges", params: {p1: "p1"}, opts: {stripe_account: "acct_123"}) charge = client.deserialize(resp.data)

See the changelog for more details.

v13.0.2

  • #1473 Always return the result of APIResource#refresh in APIResource.retrieve

    • Fix bug where we would not return the mutated self object when calling APIResource.retrieve

See the changelog for more details.

v13.0.1

  • #1471 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #1470 Cleaned up examples and added documentation

... (truncated)

Changelog

Sourced from stripe's changelog.

13.1.0 - 2024-10-29

  • #1472 Update generated code
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
  • #1476 Fix APIResource#retrieve bug not returning instance of custom resources
    • Fix bug in APIResource#refresh and APIResource#retrieve where they returned an instance of StripeObject for custom resources. They should now return the instance of the custom resource.

13.0.2 - 2024-10-23

  • #1473 Always return the result of APIResource#refresh in APIResource.retrieve

    • Fix bug where we would not return the mutated self object when calling APIResource.retrieve

13.0.1 - 2024-10-18

  • #1471 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #1470 Cleaned up examples and added documentation

13.0.0 - 2024-10-01

  • #1458 Support for APIs in the new API version 2024-09-30.acacia

    This release changes the pinned API version to 2024-09-30.acacia. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    Please refer to our migration guide for v13 for more information about the backwards incompatible changes.

    StripeClient and related changes

    • Move StripeClient and requestor logic to APIRequestor.
      • StripeClient#request is still available, but is deprecated and will be removed. We encourage StripeClient#raw_request as a replacement (see other breaking changes for more detail).
    • Repurpose and introduce StripeClient as the the entry-point to the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm. Services are available under the v1 and v2 accessors.
      • No global config: you can simultaneously use multiple clients with different configuration options (such as API keys)
      • No extra API calls. All API endpoints can be accessed with a single method call. You don't have to call retrieve before doing an update.
      • No static methods. Much easier mocking.

    Other breaking changes

    • Adjust default values around retries for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
      • max retries: 0 -> 2
      • max retry delay (seconds) 2 -> 5
    • Remove StripeClient#connection_manager. This was a legacy method from years ago.
    • Singleton retrieve method now requires params to be passed as the first argument. Existing calls to singleton retrieve method with only opts argument will have to be updated to account for the addition of params argument.
      params = { expand: ["available"] }
      opts = { stripe_account: "acct_123" }
      

      ❌ No longer works

      Stripe::Balance.retrieve(opts)

... (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 week ago

Superseded by #339.