From 173960c3f4594b3117d84b73a33eabe5217239e6 Mon Sep 17 00:00:00 2001 From: David Weedon Date: Tue, 22 Oct 2019 14:55:47 -0500 Subject: [PATCH] v5.1.0 --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96cf3b5..2bfc8db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ `react-stripe-elements` adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## v5.1.0 - 2019-10-22 + +### New Features + +- Add support for accessing the underlying Element using refs via `getElement`. + +### Bug Fixes + +- Fix crash when trying to create element while unmounting. Thanks @CarsonF! + ## v5.0.1 - 2019-09-18 ### Bug Fixes diff --git a/package.json b/package.json index eed9482..62763d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-stripe-elements", - "version": "5.0.1", + "version": "5.1.0", "description": "React components for Stripe.js and Stripe Elements", "main": "./lib/index.js", "module": "es/index.js",