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

[DO NOT MERGE] Bump com.stripe:stripe-java from 21.10.0 to 27.1.0 #5574

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2024

Bumps com.stripe:stripe-java from 21.10.0 to 27.1.0.

Release notes

Sourced from com.stripe:stripe-java's releases.

v27.1.0

  • #1890 Update the class for ThinEvent to include livemode and reason
  • #1891 Removed the class RequestSigningAuthenticator that was added in the previous release. Request Signing is not supported yet.
  • #1889 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

See the changelog for more details.

v27.0.0

  • #1880 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 due to changes in the API

    • Rename usage_threshold_config to usage_threshold on Billing.Alert and billing.AlertCreateParams
    • Remove support for filter on Billing.Alert and billing.AlertCreateParams. Use the filters on the usage_threshold instead
    • Remove support for customer_consent_collected on terminal.ReaderProcessSetupIntentParams

    ⚠️ Other Breaking changes in the SDK

    • Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
      • max retries: 0 -> 2
    • Add method parseThinEvent() on the StripeClient class to parse thin events. Rename constructEvent() method on the same class to parseSnapshotEvent() to clearly distinguish between the two kinds of events.
    • Breaking changes to public classes that are meant for internal use only and should not affect you
      • Renamed setStripeResponseGetter on ApiResource to `setGlobalResponseGetter
      • Added another parameter to FormEncoder.flattenParams()
      • Removed the deprecated constructor overload on APIRequest
      • Removed GlobalStripeResponseGetterOptions.getAPiKey & StripeResponseGetterOptions.getApiKey. We now use a higher abstraction called Authenticator instead of passing around api keys
      • Changed return type of RequestOptions.RequestOptionsBuilder.getConnectTimeout from int to java.lang.Integer.
      • Removed the public constructor on StripeRequest in favor of a static StripeRequest.create()
      • The unused field partnerId on class Stripe is removed

    Additions

    • Add support for usage_threshold on Billing.Alert and billing.AlertCreateParams
    • Add support for custom_unit_amount on ProductCreateParams.default_price_data
    • Add support for allow_redisplay on terminal.ReaderProcessPaymentIntentParams.process_config and terminal.ReaderProcessSetupIntentParams
    • Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
    • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events under the v2 namespace
    • Add methods rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.

    Changes

    • Change billingportal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and billingportal.ConfigurationCreateParams.features.subscription_update.products to be optional

See the changelog for more details.

v26.13.0

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

... (truncated)

Changelog

Sourced from com.stripe:stripe-java's changelog.

27.1.0 - 2024-10-03

  • #1890 Update the class for ThinEvent to include livemode and reason
  • #1891 Removed the class RequestSigningAuthenticator that was added in the previous release. Request Signing is not supported yet.
  • #1889 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

27.0.0 - 2024-10-01

  • #1880 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 due to changes in the API

    • Rename usage_threshold_config to usage_threshold on Billing.Alert and billing.AlertCreateParams
    • Remove support for filter on Billing.Alert and billing.AlertCreateParams. Use the filters on the usage_threshold instead
    • Remove support for customer_consent_collected on terminal.ReaderProcessSetupIntentParams

    ⚠️ Other Breaking changes in the SDK

    • Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
      • max retries: 0 -> 2
    • Add method parseThinEvent() on the StripeClient class to parse thin events. Rename constructEvent() method on the same class to parseSnapshotEvent() to clearly distinguish between the two kinds of events.
    • Breaking changes to public classes that are meant for internal use only and should not affect you
      • Renamed setStripeResponseGetter on ApiResource to `setGlobalResponseGetter
      • Added another parameter to FormEncoder.flattenParams()
      • Removed the deprecated constructor overload on APIRequest
      • Removed GlobalStripeResponseGetterOptions.getAPiKey & StripeResponseGetterOptions.getApiKey. We now use a higher abstraction called Authenticator instead of passing around api keys
      • Changed return type of RequestOptions.RequestOptionsBuilder.getConnectTimeout from int to java.lang.Integer.
      • Removed the public constructor on StripeRequest in favor of a static StripeRequest.create()
      • The unused field partnerId on class Stripe is removed

    Additions

    • Add support for usage_threshold on Billing.Alert and billing.AlertCreateParams
    • Add support for custom_unit_amount on ProductCreateParams.default_price_data
    • Add support for allow_redisplay on terminal.ReaderProcessPaymentIntentParams.process_config and terminal.ReaderProcessSetupIntentParams
    • Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
    • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events under the v2 namespace
    • Add methods rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.

    Changes

    • Change billingportal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and billingportal.ConfigurationCreateParams.features.subscription_update.products to be optional

26.12.0 - 2024-09-18

  • #1866 Update generated code
    • Add support for payer_details on Charge.payment_method_details.klarna
    • Add support for amazon_pay on Dispute.payment_method_details
    • Add support for automatically_finalizes_at on Invoice
    • Add support for state_sales_tax on Tax.Registration.country_options.us and tax.RegistrationCreateParams.country_options.us

... (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 [com.stripe:stripe-java](https://github.com/stripe/stripe-java) from 21.10.0 to 27.1.0.
- [Release notes](https://github.com/stripe/stripe-java/releases)
- [Changelog](https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-java@v21.10.0...v27.1.0)

---
updated-dependencies:
- dependency-name: com.stripe:stripe-java
  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 govuk-pay java Pull requests that update Java code labels Oct 4, 2024
@SandorArpa SandorArpa changed the title Bump com.stripe:stripe-java from 21.10.0 to 27.1.0 [DO NOT MERGE] Bump com.stripe:stripe-java from 21.10.0 to 27.1.0 Oct 4, 2024
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 govuk-pay java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants