diff --git a/CHANGELOG.md b/CHANGELOG.md index 469a099..5ab7dbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ +## 3.0.1 (April 10, 2018) + +Replaced a few unintentional `let` keywords with `var` to ensure broader browser compatibility. ([#17](https://github.com/reactjs/react-lifecycles-compat/pull/17)) + ## 3.0.0 (April 9, 2018) Throw an error for any polyfilled component that mixes old lifecycles (`componentWillMount`, `componentWillReceiveProps`, or `componentWillUpdate`) and new lifecycles (`getDerivedStateFromProps` or `getSnapshotBeforeUpdate`) as React 16.3+ does not support this case and will not invoke the old lifecycles. This error ensures consistent behavior between React 16.3+ and older versions. ([#14](https://github.com/reactjs/react-lifecycles-compat/pull/14)) diff --git a/package.json b/package.json index 0ba8ada..eee988e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-lifecycles-compat", - "version": "3.0.0", + "version": "3.0.1", "description": "Backwards compatibility polyfill for React class components", "main": "react-lifecycles-compat.cjs.js", "module": "react-lifecycles-compat.es.js",