Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Releases: stripe-archive/react-stripe-elements

v1.4.1

22 Jan 22:51
@jez jez
Compare
Choose a tag to compare

Fixed a TODO in an error message emitted by Provider.js.

1.4.0

17 Jan 18:18
Compare
Choose a tag to compare

Modify build pipeline to fix issues with IE9 and IE10.

v1.3.2

11 Jan 18:24
Compare
Choose a tag to compare

Fix split Element token creation for async codepath. (#148)

v1.3.1

10 Jan 18:51
@jez jez
Compare
Choose a tag to compare

Fixes a regression introduced by v1.3.0 (#146).

v1.3.0

09 Jan 21:34
@jez jez
Compare
Choose a tag to compare

Adds support for a handful of requested features:

  • Loading Stripe.js and react-stripe-elements asynchronously
  • Rendering react-stripe-elements on the server
  • Passing a custom stripe instance to StripeProvider

For an overview of how this works, see the Advanced integrations section.

v1.2.1

22 Nov 01:20
@jez jez
Compare
Choose a tag to compare

We've fixed a bug where using pure components under the <Elements> component
would lead to an error.

For example, this used to raise an error but does not anymore:

class PureWrapper extends React.PureComponent {
  render() {
    return <div>{this.props.children}</div>;
  }
}

// ...

    <StripeProvider apiKey='pk_test_foo123'>
      <Elements>
        <PureWrapper>
          <InjectedCheckoutForm />
        </PureWrapper>
      </Elements>
    </StripeProvider>

v1.2.0

12 Oct 22:44
Compare
Choose a tag to compare

The PaymentRequestButtonElement now accepts an onClick prop that maps to the element.on('click') event.

v1.1.1

11 Oct 18:39
Compare
Choose a tag to compare

The instance of Stripe provided by StripeProvider is now consistent across StripeProvider usages across your application, as long as you're passing in the same API key & configuration.

v1.1.0

05 Oct 19:02
@jez jez
Compare
Choose a tag to compare

We've added a new component! You can now use <PaymentRequestButtonElement />
which wraps up elements.create('paymentRequestButton') in a React component.

v1.0.1

18 Sep 22:30
Compare
Choose a tag to compare

Same as 1.0.0, but avoiding a version number collision.