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

Bump Stripe.net from 45.14.0 to 46.1.0 #1707

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps Stripe.net from 45.14.0 to 46.1.0.

Release notes

Sourced from Stripe.net's releases.

v46.1.0

  • #2995 Update the class for ThinEvent to include Livemode and Reason
  • #2992 Remove special case Newtonsoft v12 for .net8.0
  • #2993 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

See the changelog for more details.

v46.0.0

  • #2980 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 UsageThresholdConfig to UsageThreshold on Billing.Alert and Billing.AlertCreateOptions
    • Remove support for Filter on Billing.Alert and BillingAlert.AlertCreateOptions . Use the filters on the UsageThreshold instead
    • Remove support for CustomerConsentCollected on Terminal.ReaderProcessSetupIntentOptions

    ⚠️ Other Breaking changes in the SDK

    Refer to our migration guide for v46 for a list of backwards incompatible changes in this release. Here is a summary of things to watch out for:

    Additions

    • Add support for UsageThreshold on Billing.AlertCreateOptions and BillingAlert
    • Add support for CustomUnitAmount on ProductDefaultPriceDataOptions
    • Add support for AllowRedisplay on Terminal.ReaderProcessSetupIntentOptions and TerminalReaderProcessConfigOptions
    • 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 method ParseThinEvent() on the StripeClient class to parse thin events.
    • Add methods RawRequestAsync() 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.
    • Add access to services to StripeClient under V1 and V2 property accessors, so that instead of
      StripeConfiguration.ApiKey = apiKey;
      var svc = new CustomerService();
      svc.Get(customerId);

    you can write:

    var client = new StripeClient(apiKey);
    client.V1.Customers.Get(customerId)

... (truncated)

Changelog

Sourced from Stripe.net's changelog.

46.1.0 - 2024-10-03

  • #2995 Update the class for ThinEvent to include Livemode and Reason
  • #2992 Remove special case Newtonsoft v12 for .net8.0
  • #2993 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

46.0.0 - 2024-10-01

  • #2980 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 UsageThresholdConfig to UsageThreshold on Billing.Alert and Billing.AlertCreateOptions
    • Remove support for Filter on Billing.Alert and BillingAlert.AlertCreateOptions . Use the filters on the UsageThreshold instead
    • Remove support for CustomerConsentCollected on Terminal.ReaderProcessSetupIntentOptions

    ⚠️ Other Breaking changes in the SDK

    Refer to our migration guide for v46 for a list of backwards incompatible changes in this release. Here is a summary of things to watch out for:

    Additions

    • Add support for UsageThreshold on Billing.AlertCreateOptions and BillingAlert
    • Add support for CustomUnitAmount on ProductDefaultPriceDataOptions
    • Add support for AllowRedisplay on Terminal.ReaderProcessSetupIntentOptions and TerminalReaderProcessConfigOptions
    • 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 method ParseThinEvent() on the StripeClient class to parse thin events.
    • Add methods RawRequestAsync() 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.
    • Add access to services to StripeClient under V1 and V2 property accessors, so that instead of
      StripeConfiguration.ApiKey = apiKey;
      var svc = new CustomerService();
      svc.Get(customerId);

    you can write:

    var client = new StripeClient(apiKey);
    client.V1.Customers.Get(customerId)

    This supports a move towards a services-based client pattern where a StripeClient instance consolidates configuration and service access. This enables you simultaneously use multiple clients with different configuration options (such as API keys), and makes it much easier to discover what services are available by inspecting the V1 and V2 properties (either manually or via your code editors auto-completion).

Commits
  • 67df67c Bump version to 46.1.0
  • 29c695e Added Livemode and Reason properties to ThinEvent (#2995)
  • f8b339e Remove special case Newtonsoft version, and update TargetFrameworks (#2992)
  • ad87550 Update generated code for v1268 (#2993)
  • 6c3d8c4 Revert "Remove obsolete options classes (#2987)"
  • 407e9c1 Remove obsolete options classes (#2987)
  • e30ac77 Bump version to 46.0.0
  • 9c581ef Bump version to 45.15.0
  • 6f20b81 make sure Service.Requestor always defaults to the settings from the currentl...
  • c7eded4 Added better description for ThinEvent class (#2986)
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Oct 7, 2024
Bumps [Stripe.net](https://github.com/stripe/stripe-dotnet) from 45.14.0 to 46.1.0.
- [Release notes](https://github.com/stripe/stripe-dotnet/releases)
- [Changelog](https://github.com/stripe/stripe-dotnet/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-dotnet@v45.14.0...v46.1.0)

---
updated-dependencies:
- dependency-name: Stripe.net
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/Stripe.net-46.1.0 branch from 85e1855 to 865628e Compare October 9, 2024 21:37
@niemyjski niemyjski merged commit 776adf0 into main Oct 9, 2024
3 of 6 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/Stripe.net-46.1.0 branch October 9, 2024 21:38
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 .NET Pull requests that update .net code
Development

Successfully merging this pull request may close these issues.

1 participant