Releases: facebook/react
Releases · facebook/react
v15.5.4
v15.5.3
15.5.3 (April 7, 2017)
Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.
React Addons
v15.5.2
15.5.2 (April 7, 2017)
Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.
React Addons
v15.5.1
v15.5.0
15.5.0 (April 7, 2017)
Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.
React
- Added a deprecation warning for
React.createClass
. Points users to create-react-class instead. (@acdlite in d9a4fa4) - Added a deprecation warning for
React.PropTypes
. Points users to prop-types instead. (@acdlite in 043845c) - Fixed an issue when using
ReactDOM
together withReactDOMServer
. (@wacii in #9005) - Fixed issue with Closure Compiler. (@anmonteiro in #8895)
- Another fix for Closure Compiler. (@Shastel in #8882)
- Added component stack info to invalid element type warning. (@n3tr in #8495)
React DOM
- Fixed Chrome bug when backspacing in number inputs. (@nhunzaker in #7359)
- Added
react-dom/test-utils
, which exports the React Test Utils. (@bvaughn)
React Test Renderer
- Fixed bug where
componentWillUnmount
was not called for children. (@gre in #8512) - Added
react-test-renderer/shallow
, which exports the shallow renderer. (@bvaughn)
React Addons
- Last release for addons; they will no longer be actively maintained.
- Removed
peerDependencies
so that addons continue to work indefinitely. (@acdlite and @bvaughn in 8a06cd7 and 67a8db3) - Updated to remove references to
React.createClass
andReact.PropTypes
(@acdlite in 12a96b9) react-addons-test-utils
is deprecated. Usereact-dom/test-utils
andreact-test-renderer/shallow
instead. (@bvaughn)
v15.4.2
15.4.2 (January 6, 2017)
React
- Fixed build issues with the Brunch bundler. (@gaearon in #8686)
- Improved error messages for invalid element types. (@spicyj in #8612)
- Removed a warning about
getInitialState
whenthis.state
is set. (@bvaughn in #8594) - Removed some dead code. (@diegomura in #8050, @dfrownfelter in #8597)
React DOM
- Fixed a decimal point issue on uncontrolled number inputs. (@nhunzaker in #7750)
- Fixed rendering of textarea placeholder in IE11. (@aweary in #8020)
- Worked around a script engine bug in IE9. (@eoin in #8018)
React Addons
- Fixed build issues in RequireJS and SystemJS environments. (@gaearon in #8686)
- Added missing package dependencies. (@kweiberth in #8467)
v15.4.1
v15.4.0
React
- React package and browser build no longer "secretly" includes React DOM. (@sebmarkbage in #7164 and #7168)
- Required PropTypes now fail with specific messages for null and undefined. (@chenglou in #7291)
- Improved development performance by freezing children instead of copying. (@keyanzhang in #7455)
React DOM
- Fixed occasional test failures when React DOM is used together with shallow renderer. (@goatslacker in #8097)
- Added a warning for invalid
aria-
attributes. (@jessebeach in #7744) - Added a warning for using
autofocus
rather thanautoFocus
. (@hkal in #7694) - Removed an unnecessary warning about polyfilling
String.prototype.split
. (@nhunzaker in #7629) - Clarified the warning about not calling PropTypes manually. (@jedwards1211 in #7777)
- The unstable
batchedUpdates
API now passes the wrapped function's return value through. (@bgnorlov in #7444) - Fixed a bug with updating text in IE 8. (@mnpenner in #7832)
React Perf
- When ReactPerf is started, you can now view the relative time spent in components as a chart in Chrome Timeline. (@gaearon in #7549)
React Test Utils
- If you call
Simulate.click()
on a<input disabled onClick={foo} />
thenfoo
will get called whereas it didn't before. (@nhunzaker in #7642)
React Test Renderer
- Due to packaging changes, it no longer crashes when imported together with React DOM in the same file. (@sebmarkbage in #7164 and #7168)
ReactTestRenderer.create()
now accepts{createNodeMock: element => mock}
as an optional argument so you can mock refs with snapshot testing. (@Aweary in #7649, #8261)
v15.3.2
React
React DOM
- Add
playsInline
to supported HTML attributes. (@reaperhulk in #7519) - Add
as
to supported HTML attributes. (@kevinslin in #7582) - Improve DOM nesting validation warning about whitespace. (@spicyj in #7515)
- Avoid "Member not found" exception in IE10 when calling
preventDefault()
in Synthetic Events. (@g-palmer in #7411) - Fix memory leak in
onSelect
implementation. (@AgtLucas in #7533) - Improve robustness of
document.documentMode
checks to handle Google Tag Manager. (@SchleyB in #7594) - Add more cases to controlled inputs warning. (@marcin-mazurek in #7544)
- Handle case of popup blockers overriding
document.createEvent
. (@Andarist in #7621) - Fix issue with
dangerouslySetInnerHTML
and SVG in Internet Explorer. (@zpao in #7618) - Improve handling of Japanese IME on Internet Explorer. (@msmania in #7107)
React Test Renderer
- Support error boundaries. (@millermedeiros in #7558, #7569, #7619)
- Skip null ref warning. (@Aweary in #7658)
React Perf Add-on
v15.3.1
React
- Improve performance of development builds in various ways. (@gaearon in #7461, #7463, #7483, #7488, #7491, #7510)
- Cleanup internal hooks to improve performance of development builds. (@gaearon in #7464, #7472, #7481, #7496)
- Upgrade fbjs to pick up another performance improvement from @gaearon for development builds. (@zpao in #7532)
- Improve startup time of React in Node. (@zertosh in #7493)
- Improve error message of
React.Children.only
. (@spicyj in #7514)
React DOM
- Avoid
<input>
validation warning from browsers when changingtype
. (@nhunzaker in #7333) - Avoid "Member not found" exception in IE10 when calling
stopPropagation()
in Synthetic Events. (@nhunzaker in #7343) - Fix issue resulting in inability to update some
<input>
elements in mobile browsers. (@keyanzhang in #7397) - Fix memory leak in server rendering. (@keyanzhang in #7410)
- Fix issue resulting in
<input type="range">
values not updating when changingmin
ormax
. (@troydemonbreun in #7486) - Add new warning for rare case of attempting to unmount a container owned by a different copy of React. (@ventuno in #7456)
React Test Renderer
React Native Renderer
- Change
trackedTouchCount
invariant into a console.error for better reliability. (@yungsters in #7400)