Skip to content

Commit

Permalink
Release braintree-web 2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
braintreeps committed Apr 21, 2015
1 parent 11da7c7 commit 55abeb4
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 5 deletions.
99 changes: 99 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
CHANGELOG
=========

## 2.7.2
* Drop-in
* Refactor expiration validation to max out at 19 years in the future

## 2.7.1
* Custom
* Ensures that nonces are written to the DOM immediately after they are generated

## 2.7.0
* Add `onReady` callback
* Custom
* Credit card form is no longer required
* Drop-in
* Ensure only whitelisted payment methods are displayed (Credit cards, PayPal, Coinbase)
* Fix Safari autofill issue
* Coinbase
* Add iOS8/Lollipop completion page when popup cannot close
* Do not render button in ie8

## 2.6.3
* Bugfixes

## 2.6.2
* Bugfixes

## 2.6.1
* Coinbase
* Prevent rendering Authorization state when user denies auth flow or closes popup

## 2.6.0
* 3D Secure
* Add an `onUserClose` callback
* Fix modal repaint issues during orientation changes
* Minor style updates

## 2.5.5
* Prevent Coinbase authorization from invoking callback in custom integration before form submit

## 2.5.4
* PayPal
* Call `onUnsupported` callback when an invalid country is provided to the checkout flow

## 2.5.3
* Drop-in
* Restrict input formatting to certain devices
* Blacklists Android < 4.4
* Blacklists Firefox on Android

## 2.5.2
* Bugfixes

## 2.5.1
* Bugfixes

## 2.5.0
* Adds Coinbase
* Introduce unified callback `onPaymentMethodReceived` and `onError` across all integrations

## 2.4.1
* Drop-in
* Add ability to autofill card form and format input values on paste
* Provide names to generated iframes

## 2.4.0
* Adds 3D Secure
* Fix bug where JSONP callbacks were colliding

## 2.3.3
* Expose `shippingAddress` in PayPal `onSuccess` callback

## 2.3.2
* Bugfixes

## 2.3.1
* Bugfixes

## 2.3.0
* Custom Integrations
* Accepts `onPaymentMethodReceived` callback in top-level configuration
* Drop-in
* Fix input styling issues on Firefox for Android
* PayPal
* Application re-skin
* Accepts a `{boolean} enableShippingAddress` field in the options configuration
* Displays your account shipping address details (Future payment flow only)
* Additional locale translations added

## 2.2.4
* Drop-in
* Bugfixes
* Remove PayPal monogram from PayPal button

## 2.2.3
* Drop-in
* Bugfixes
* Remove PayPal monogram from PayPal button
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "braintree-web",
"version": "2.7.1",
"version": "2.7.2",
"authors": [
"braintree <[email protected]>"
],
Expand Down
4 changes: 2 additions & 2 deletions dist/braintree.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "braintree-web",
"description": "A suite of tools for integrating Braintree in the browser",
"version": "2.7.1",
"version": "2.7.2",
"main": "dist/braintree.js",
"repository": {
"type": "git",
Expand Down
5 changes: 4 additions & 1 deletion scripts/sanity-check
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ req.end();
// verify versions all match
dest.on('finish', function () {
jsdom.env('', ['../dist/braintree.js'], function (errors, window) {
assert.equal(pkg.version, window.braintree.VERSION);
assert.equal(
pkg.version,
window.braintree.VERSION,
'bower/npm version (' + pkg.version +') does not match hotlinked version (' + window.braintree.VERSION + ')');
});
});

0 comments on commit 55abeb4

Please sign in to comment.