Skip to content

Latest commit

 

History

History
318 lines (241 loc) · 10.2 KB

CHANGELOG.md

File metadata and controls

318 lines (241 loc) · 10.2 KB

Braintree Android SDK Release Notes

2.1.2

  • Update Google Play Services Wallet to 8.4.0
  • Use ENVIRONMENT_TEST for Android Pay requests in sandbox
  • Add AndroidPay#isReadyToPay method

2.1.1

  • Demo app upgrades
  • Update PayPal SDK to 2.4.3 (fixes #67)
  • Update android-card-form to 2.1.1
  • Update gradle to 2.8
  • Update build tools to 23.0.2
  • Features
    • Add support for fraud data collection in Drop-in
  • Fixes
    • Add rule to suppress ProGuard warnings
    • Fix Drop-in crash
    • Fix NPE when there is no active network (fixes #77)

2.1.0

  • Pay with Venmo
  • PaymentButton#newInstance now accepts a container id to add PaymentButton to that container
  • Android Pay assets
  • Fixes
    • Add onInflate method for Android versions < 23
    • PayPal cancel events (fixes #63)

2.0.1

  • Make support annotations an optional dependency
  • Cache configuration to prevent unnecessary network requests
  • Fixes
    • Fix BraintreeDataCollector as an optional dependency
    • Fix PaymentRequest crash when Google Play Services is not present

2.0.0

  • Increase minSdkVersion to 15 (see Platform Versions for the current distribution of Android versions)
  • Remove Gson dependency
  • Replace Braintree class with headless BraintreeFragment
    • Move methods for creating payment methods from central Braintree class to their own classes e.g. PayPal#authorizeAccount, Card#tokenize
  • Add support for Tokenization Keys in addition to Client Tokens
  • Rename PaymentMethod to PaymentMethodNonce
  • Rename BraintreeData module to BraintreeDataCollector
  • Update PayPal
    • Remove PayPal Android SDK dependency
    • Replace in-app log in with browser based log in
    • Add support for PayPal billing agreements and one-time payments
  • Convert PaymentButton class from a view to a fragment
  • Create PaymentRequest class for specifying options in Drop-in and the PaymentButton
  • Remove Venmo One Touch. To join the beta for Pay with Venmo, contact Braintree Support
  • Remove Coinbase
  • Many additional structural and name changes. For more details, see the migration guide and the source code

1.7.4

  • Fixes
    • Increase minimum version of Google Play Services Wallet to 8.0.0 to prevent VerifyError

1.7.3

  • Fixes
    • Fix Android Pay bug caused by shared state between Activities

1.7.2

  • Update PayPal SDK to 2.11.1 (fixes #48)

1.7.1

  • Fixes
    • Fix tokenization failure in Coinbase

1.7.0

  • Update gradle plugin to 1.3.1
  • Update build tools to 23.0.1
  • Update compileSdkVersion and targetSdkVersion to 23
  • Update PayPal SDK to 2.10.0
  • Increase maximum version of Google Play Services to 9.0.0 (#50)
  • Set compile options to use Java 7
  • Features
    • Add support for Coinbase. Please note: this API is in beta and subject to change.
  • Fixes
    • Fix rare crash when Braintree was recreated
    • Fix 3D Secure bug that prevented a card from being returned
    • Remove use of Apache library (#43)
    • Remove single line description limitation (#45)

1.6.5

  • Update PayPal SDK to 2.9.10
  • Fixes
    • Fix incorrect custom integration in demo app
    • Fix incorrect selected payment method in Drop-in after creating a new payment method
    • Fix NoClassDefFoundError crash in Drop-in

1.6.4

  • Update PayPal SDK to 2.9.8
  • Improvements
    • Follow Android convention around button and text casing in Drop-in
    • Update android-card-form to 2.0.1

1.6.3

  • Improvements
    • BraintreeData can now be optionally excluded
  • Fixes
    • Remove optional dependency from full jar

1.6.2

  • Update PayPal SDK to 2.9.7
  • Add support for additional PayPal scopes to PaymentButton
  • Fixes
    • Return error instead of silently failing setup with bad client tokens
    • Fix NoClassDefFoundError in Drop-in caused by optional dependency

1.6.1

  • Fixes
    • Fix NoClassDefFoundError in Drop-in and PaymentButton caused by optional dependency (#34)

1.6.0

  • Update PayPal SDK to 2.9.6
  • Update gradle plugin to 1.2.3
  • Update build tools to 22.0.1
  • Features
    • Add Android Pay support. Please note: this API is in beta and subject to change.
    • Add Braintree#onActivityResult method
    • Add support for additional PayPal scopes
      • A List of additional scopes may be passed to Braintree#startPayWithPayPal
      • PayPalAccount#getBillingAddress can be used to retrieve the billing address when the address scope is requested.

1.5.1

  • Update PayPal SDK to 2.9.5
  • Switch to OkHttp for Demo app
  • Improvements
    • Add methods to persist state across rotations
  • Fixes
    • Fix Demo app crash when MainActivity was destroyed (#26)
    • Fix NPE in Drop-in (#30)
    • Fix ProGuard support and add ProGuard rules (#29)
    • Fix Drop-in error handling for non-card errors

1.5.0

  • Update PayPal SDK to 2.9.4
  • Move CardForm to separate repo
  • Deprecate Braintree#getInstance in favor of Braintree#setup
  • Fixes
    • Remove metadata from assets, fixes #16

1.4.0

  • Update gradle plugin to 1.1.2
  • Update build tools to 22
  • Update compileSdkVersion and targetSdkVersion to 22
  • Update PayPal SDK to 2.9.0
  • Features
    • Add support for 3D Secure. Please note: this API is in beta and subject to change.
  • Fixes
    • Fix missing expiration date float label (#21)

1.3.0

  • Remove Drop-In support for Eclipse
  • Open source card form separate from Drop-In
  • Update PayPal SDK to 2.8.5
    • card.io is no longer included in the SDK
  • Update Espresso to 2.0
  • Remove unused PayPal PROFILE scope

1.2.7

  • Update gradle plugin to 0.14.1
  • Update build tools to 21.1.1
  • Update PayPal SDK to 2.7.3
  • Remove android:allowBackup="false" from library manifests, apps will now be able to choose if they allow backups
  • Remove ACCESS_WIFI_STATE permission
  • Improvements
    • Add localizations for more locales (da-rDK, en-rAU, es, fr-rCA, iw-rIL, nl, no, pl, pt, ru, sv-rSE, tr, zh-rCN)
    • Add initial right to left language support
    • Add type safety to Braintree#addListener(Listener). Thanks @adstro!

1.2.6

  • Increase targetSdkVersion to 21
  • Increase buildToolsVersion to 21.0.2
  • Fixes
    • Fix max length on EditTexts
    • Fix crash caused by PRNGFixes
  • Improvements
    • Update PayPal SDK
    • Add first and last name to CardBuilder

1.2.5

  • Fixes
    • Fix incorrectly named language resource directories

1.2.4

  • Fixes
    • Work around manifest merging issues on newer build plugins

1.2.3

  • minSdk is now 10
  • Fixes
    • Set max length on card field for unknown card types in Drop-In
    • Update PayPal SDK to fix rotation bug
    • Fix edge cases in expiration entry in Drop-In
  • Improvements
    • Error messages are now returned from Drop-In
    • Drop-In auto advances to next field now

1.2.2

  • Fixes
    • Fix crash caused by too large request code in PaymentButton
    • Resume the payment method form after rotation
  • Improvements
    • Updated PayPal SDK
      • email scope is now requested in all PayPal requests
    • correlationId is now included in the device data string returned from BraintreeData#collectDeviceData

1.2.1

  • Fixes
    • BraintreeApi release now includes the PayPal SDK again. Sorry!
  • Improvements
    • All assets are now namespaced to avoid any conflicts on import.
    • Updated PayPal SDK

1.2.0

  • Features
    • App switch based payments for PayPal and Venmo (One Touch)
      • No changes for existing Pay With PayPal integrations
      • See the docs for more information
    • Unified payment button (PaymentButton) for PayPal and/or Venmo payments
  • Improvements
    • Minor bugfixes and internal tweaks
  • Deprecations
    • PayPalButton is deprecated in favor of PaymentButton

1.1.0

  • Breaking Change
    • BraintreeData returns deviceData instead of deviceSessionId on collectDeviceData
  • Improvements
    • References sdk-manager-plugin from vendor to simplify build process

1.0.8

  • Improvements
    • CardBuilder now accepts billing address fields other than postal code (credit: @chiuki)
  • Packaging
    • Fixed an issue building Drop-In in Eclipse

1.0.7

  • Improvements
    • BraintreeApi no longer depends on OkHttp
    • Added localizations for more locales (UK, FR, DE, IT)

1.0.6

  • Fixes
    • Fixed disabled submit button in landscape
    • Fixed next field button in landscape
    • Add max length to expiration date and prevent user from typing illegal characters
  • Move to sdk-manager-plugin for CI dependencies

1.0.5

  • Packaging
    • Set Braintree package to default to AAR instead of ZIP

1.0.4 - Gradle and Maven will incorrectly download the ZIP instead of AAR, use 1.0.5+

  • Improvements
    • Added assets for a wider range of resolutions
    • Enforce maximum length for card and postal code fields
    • Added README for fraud tools
  • Packaging
    • Improvements for usage in environments other than Maven or Gradle
  • Fixes
    • Fixed lint errors

1.0.3

  • Fixes
    • Fix crash on Android SDK < 19
  • Add PayPal correlationId to PayPal account creation

1.0.2 - crash on Android SDK < 19, do not use

  • Fixes
    • Improved packaging for non-Gradle uses of SDK

1.0.1

  • Fixes
    • Attach Javadocs and sources to Maven Central build.

1.0.0

  • Public release of v.zero SDK