Skip to content

Releases: braintree-go/braintree-go

v0.22.0

20 Nov 05:39
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Add TransactionRefundRequest.
  • Add RefundWithRequest, with OrderID, to TransactionGateway.
  • Add ProductID to CreditCard.
  • Add AuthorizationExpiresAt to Transaction.
  • Add ProcessorResponseType to Transaction.
  • Add GenerateWithRequest to ClientTokenGateway.

INTERNAL:

  • Minor test improvements.

v0.21.0

03 Nov 04:44
Compare
Choose a tag to compare

BACKWARDS INCOMPATIBILITES:

  • Move package from github.com/lionelbarrow/braintree-go to github.com/braintree-go/braintree-go.

IMPROVEMENTS:

  • Add go.mod and go.sum for support of Go1.11 modules.
  • Add BIN to ApplePayCard.
  • Add BIN to ApplePayDetails.
  • Add AccountUpdaterDailyReport webhook subject.

v0.20.0

04 Aug 06:10
Compare
Choose a tag to compare

BACKWARDS INCOMPATIBILITES:

  • Add subscription ID parameter to SubscriptionGateway Update. See #243.

DEPRECATED:

  • TransactionGateway Search and SearchNext functions are deprecated, use SearchIDs and SearchPage instead.
  • SubscriptionGateway Search and SearchNext functions are deprecated, use SearchIDs and SearchPage instead.
  • CustomerGateway Search function is deprecated, use SearchIDs and SearchPage instead.

IMPROVEMENTS:

  • Add CreatedAt, UpdatedAt to Subscription.
  • Add StoreInVaultOnSuccess to TransactionOptions.
  • Add PaymentInstrumentType constants to Transaction.
  • Add SearchPage to TransactionGateway, deprecating Search and SearchNext.
  • Add SearchPage to SubscriptionGateway, deprecating Search and SearchNext.
  • Add ExpiringBetweenIDs, ExpiringBetweenPage to CreditCardGateway.
  • Add SearchIDs, SearchPage to CustomerGateway.
  • Add PaymentMethodNonce, PaymentMethodNonceDetails, PaymentMethodNonceGateway.
  • Add 3DS support:
    • Add ThreeDSecure to TransactionOptions.
    • Add ThreeDSecureInfo to Transaction.

v0.19.0

09 Jun 04:18
Compare
Choose a tag to compare

BACKWARDS INCOMPATIBILITES:

  • Rewrite error handling and interfaces. See #222 for details.

IMPROVEMENTS:

  • Add TransactionLineItemGateway, TransactionLineItem, TransactionLineItemRequest, and add LineItems to TransactionRequest.
  • Add DisputeGateway, Dispute, DisputeEvidence, DisputeTextEvidenceRequest, related types, and add Disputes to Transaction.
  • Add support for validation errors on all fields. See #222 for details.
  • Add RetryCharge to SubscriptionGateway.
  • Add TransactionSource to TransactionRequest.
  • Add CurrentBillingCycle to Modification.
  • Add SubscriptionDetails to Transaction.
  • Add StatusEvents to Subscription.
  • Add SearchIDs, Search, and SearchNext to SubscriptionGateway.
  • Add CreatedAt and UpdatedAt to Customer.
  • Add comments to some exported functions, constants, and types.

INTERNAL:

  • Fix VenmoSDK tests.
  • Fix errcheck checks.
  • Other minor test fixes.

v0.18.0

03 Mar 01:26
Compare
Choose a tag to compare

BACKWARDS INCOMPATIBILITES:

  • Require TLS 1.2 on outgoing connections.
  • Replace Address with AddressRequest for creating Addresses.
  • Replace Customer with CustomerRequest for creating and updating Customers.

IMPROVEMENTS:

  • Add SearchIDs to TransactionGateway.
  • Add SearchNext to TransactionGateway.
  • Add SkipAdvancedFraudChecking to TransactionOptions.
  • Add Update to AddressGateway.
  • Add Addresses to Customer.

v0.17.0

05 Jan 19:37
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Add NumerOfBillingCycles to Modifications.
  • Add PurchaseOrderNumber to Transaction and TransactionRequest.

INTERNAL:

  • Remove omitempty from structs only used for deserialization.
  • Add build tags for unit and integration tests.
  • Add analysis detailed warning messages.
  • Remove slow unit tests.

v0.16.0

05 Jan 19:37
Compare
Choose a tag to compare

BACKWARDS INCOMPATIBILITES:

  • Support for Go1.6 has been dropped. Support from this version onwards is Go1.7+.
  • Add context.Context as the first parameter to call functions that make an outgoing remote call.

IMPROVEMENTS:

  • Add go test -log flag that logs requests and responses to stderr.

BUG FIXES:

  • Responses not GZIP encoded were still attempted to be GZIP decoded.

v0.15.0

03 Oct 20:46
Compare
Choose a tag to compare

BACKWARDS INCOMPATIBILITES:

  • Change VerifyCard on CreditCardOptions and PaymentMethodRequestOptions from bool to *bool.

BUG FIXES:

  • Setting false for the VerifyCard field on CreditCardOptions and PaymentMethodRequestOptions did not send a value to Braintree and would not turn off verification if verification was enabled account wide.

v0.14.0

20 Sep 19:55
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Add support for transaction cloning:
    • Clone function added to transaction gateway.
    • TransactionCloneRequest added.
    • TransactionCloneOptions added.
  • Add support for escrow:
    • EscrowStatus added to Transaction.
    • HoldInEscrow added to TransactionOptions.
    • CancelRelease function added to transaction gateway.
    • ReleaseFromEscrow function added to transaction gateway.
    • HoldInEscrow function added to transaction gateway.
  • Channel added to Transaction, TransactionRequest, and TransactionCloneRequest.

BUG FIXES:

  • Test and CI reliability improvements to reduce flakiness of integration tests.

v0.13.0

20 Sep 19:56
Compare
Choose a tag to compare

BACKWARDS INCOMPATIBILITES:

  • Nullable struct types were removed, with *NullBool/*NullInt64 replaced with *bool/*int and bool/int.

IMPROVEMENTS:

  • TransactionOptionsPaypalRequest added to TransactionOptions.
  • TaxAmount added to Transaction and TransactionRequest.
  • TaxExempt added to Transaction and TransactionRequest.

BUG FIXES:

  • Minor example typo fix.