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

stripe-go v65 #951

Merged
merged 4 commits into from
Oct 10, 2019
Merged

stripe-go v65 #951

merged 4 commits into from
Oct 10, 2019

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Sep 16, 2019

Integration branch for the next major version of stripe-go.

⚠️ = breaking changes

  • ⚠️Remove lossy "MarshalJSON" implementations (Remove lossy "MarshalJSON" implementations #950)
  • ⚠️Removed deprecated properties and most todos (Remi remove todos #962)
    • ⚠️ Removed GetBalanceTransaction and List from the balance package. Prefer using Get and List in the balancetransaction package.
    • ⚠️ Removed ApplicationFee from the charge and paymentintent packages. Prefer using ApplicationFeeAmount.
    • ⚠️ Removed TaxInfo and related fields from the customer packager. Prefer using the customertaxid package.
    • ⚠️ Removed unsupported Customer parameter on PaymentMethodParams and PaymentMethodDetachParams in the paymentmethod package.
    • ⚠️ Removed Billing properties in the invoice, sub and subschedule packages. Prefer using CollectionMethod.
    • ⚠️ Removed the InvoiceBilling type from the invoice package. Prefer using InvoiceCollectionMethod.
    • ⚠️ Removed the SubscriptionBilling type from the sub package. Prefer using SubscriptionCollectionMethod.
    • ⚠️ Removed deprecated constants for PaymentIntentConfirmationMethod in paymentintent package.
    • ⚠️ Removed OperatorAccount from Terminal APIs.
  • ⚠️ Remove issuerfraudrecord package. Prefer using earlyfraudwarning (Remove IssuerFraudRecord #960)
  • ⚠️ Update to latest API version 2019-10-08 (Update to latest API version 2019-10-08 #968)

brandur and others added 4 commits October 9, 2019 17:36
See #946 for context, but we're removing some `MarshalJSON`
implementations that are "lossy" in that they throw out information that
might be useful to somebody.

Note that we don't actually marshal API resources as part of normal
operations in stripe-go, so the only users that this will affect are
those that are manually re-marshaling resources to JSON in their
integrations.
* Removed `GetBalanceTransaction` and `List` from the `balance` package.
Prefer using `Get` and `List` in the `balancetransaction` package.
* Removed `ApplicationFee` from the `charge` and `paymentintent` packages.
Prefer using `ApplicationFeeAmount`.
* Removed `TaxInfo` and related fields from the `customer` packager.
Prefer using the `customertaxid` package.
* Removed unsupported `Customer` parameter on `PaymentMethodParams` and
`PaymentMethodDetachParams` in the `paymentmethod` package.
* Removed `Billing` properties in the `invoice`, `sub` and `subschedule`
packages. Prefer using `CollectionMethod`.
* Removed the `InvoiceBilling` type from the `invoice` package. Prefer
using `InvoiceCollectionMethod`.
* Removed the `SubscriptionBilling` type from the `sub` package. Prefer
using `SubscriptionCollectionMethod`.
* Removed deprecated constants for `PaymentIntentConfirmationMethod` in
`paymentintent` package.
* Removed `OperatorAccount` from Terminal APIs.
*
@ob-stripe ob-stripe changed the title [wip] stripe-go v64 stripe-go v65 Oct 10, 2019
@ob-stripe
Copy link
Contributor

@remi-stripe Can this be merged?

@ob-stripe ob-stripe merged commit 6ac7f97 into master Oct 10, 2019
@ob-stripe ob-stripe deleted the integration-v64 branch October 10, 2019 00:49
@ob-stripe
Copy link
Contributor

Released as 65.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants