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

chore(deps): bump com.stripe:stripe-java from 24.22.0 to 25.0.0 in /usage-based-subscriptions/server/java #1021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2024

Bumps com.stripe:stripe-java from 24.22.0 to 25.0.0.

Release notes

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

v25.0.0

  • #1776

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    • Add a new TaxIdService for operations on /v1/tax_ids endpoints.

    ⚠️ Breaking changes

    • Rename features to marketing_features on ProductCreateParams, ProductUpdateParams, and Product
    • Rename "child" services to be prefixed with the associated parent service to allow for the same resource to be exposed at top level (e.g., /v1/tax_ids via client.taxIds()) and as a child (e.g., /v1/customers/{}/tax_ids via client.customers().taxIds()).
      • Rename CapabilityService -> AccountCapabilityService
      • Rename ExternalAccountService -> AccountExternalAccountService
      • Rename LoginLinkService -> AccountLoginLinkService
      • Rename PersonService -> AccountPersonService
      • Rename FeeRefundService -> ApplicationFeeRefundService
      • Rename CashBalanceService -> CustomerCashBalanceService
      • Rename PaymentSourceService -> CustomerPaymentSourceService
      • Rename UsageRecordService -> SubscriptionItemUsageRecordService
      • Rename UsageRecordSummaryService -> SubscriptionItemUsageRecordSummaryService
      • Rename TaxIdService -> CustomerTaxIdService.
    • Remove support for verify method on BankAccountService.
      • Please use the verify method on CustomerPaymentSourceService instead
      // BEFORE
      client.bankAccounts().verify("cus_...", "ba_...");
      // AFTER
      client.customers().paymentSources().verify("cus_...", "ba_...");

    • Remove support for list and create methods on treasury.FinancialAccountFeaturesService. These methods were incorrectly named.
      • Please migrate list -> retrieve and create -> update.
    • Update setPageTypeToken method on StripeCollectionInterface to be required and remove default implementation.
    • Remove deprecated setUsage method on BaseApiRequest.
    • Update usage on BaseApiRequest class to be final.
    • Remove deprecated maybeEnqueueMetrics method on RequestTelemetry.

    ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

    • Remove Configuration.SubscriptionPause for Billing Portal as the feature to pause subscription on the portal has been deprecated.
    • Remove the support for the below deprecated values in BalanceTransaction.Type
      • obligation_inbound
      • obligation_payout
      • obligation_payout_failure
      • obligation_reversal_outbound
    • Remove the below deprecated events from Event.Type, WebhookEndpointCreateOptions.EnabledEvent, WebhookEndpointUpdateOptions.EnabledEvent
      • invoiceitem.updated
      • order.created
      • recipient.created
      • recipient.deleted

... (truncated)

Changelog

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

25.0.0 - 2024-04-10

  • #1776

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    • Add a new TaxIdService for operations on /v1/tax_ids endpoints.

    ⚠️ Breaking changes

    • Rename features to marketing_features on ProductCreateParams, ProductUpdateParams, and Product
    • Rename "child" services to be prefixed with the associated parent service to allow for the same resource to be exposed at top level (e.g., /v1/tax_ids via client.taxIds()) and as a child (e.g., /v1/customers/{}/tax_ids via client.customers().taxIds()).
      • Rename CapabilityService -> AccountCapabilityService
      • Rename ExternalAccountService -> AccountExternalAccountService
      • Rename LoginLinkService -> AccountLoginLinkService
      • Rename PersonService -> AccountPersonService
      • Rename FeeRefundService -> ApplicationFeeRefundService
      • Rename CashBalanceService -> CustomerCashBalanceService
      • Rename PaymentSourceService -> CustomerPaymentSourceService
      • Rename UsageRecordService -> SubscriptionItemUsageRecordService
      • Rename UsageRecordSummaryService -> SubscriptionItemUsageRecordSummaryService
      • Rename TaxIdService -> CustomerTaxIdService.
    • Remove support for verify method on BankAccountService.
      • Please use the verify method on CustomerPaymentSourceService instead
      // BEFORE
      client.bankAccounts().verify("cus_...", "ba_...");
      // AFTER
      client.customers().paymentSources().verify("cus_...", "ba_...");

    • Remove support for list and create methods on treasury.FinancialAccountFeaturesService. These methods were incorrectly named.
      • Please migrate list -> retrieve and create -> update.
    • Update setPageTypeToken method on StripeCollectionInterface to be required and remove default implementation.
    • Remove deprecated setUsage method on BaseApiRequest.
    • Update usage on BaseApiRequest class to be final.
    • Remove deprecated maybeEnqueueMetrics method on RequestTelemetry.

    ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

    • Remove Configuration.SubscriptionPause for Billing Portal as the feature to pause subscription on the portal has been deprecated.
    • Remove the support for the below deprecated values in BalanceTransaction.Type
      • obligation_inbound
      • obligation_payout
      • obligation_payout_failure
      • obligation_reversal_outbound
    • Remove the below deprecated events from Event.Type, WebhookEndpointCreateOptions.EnabledEvent, WebhookEndpointUpdateOptions.EnabledEvent
      • invoiceitem.updated
      • order.created
      • recipient.created
      • recipient.deleted

... (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 24.22.0 to 25.0.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@v24.22.0...v25.0.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 java Pull requests that update Java code labels Apr 11, 2024
@github-actions github-actions bot merged commit ab7566c into main Apr 11, 2024
28 checks passed
@dependabot dependabot bot deleted the dependabot/maven/usage-based-subscriptions/server/java/com.stripe-stripe-java-25.0.0 branch April 11, 2024 16:20
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants