Releases: facebook/react
Releases · facebook/react
v15.6.1
v15.6.0
15.6.0 (June 13, 2017)
React
- Downgrade deprecation warnings to use
console.warn
instead ofconsole.error
. (@flarnie in #9753) - Add a deprecation warning for
React.createClass
. Points users tocreate-react-class
instead. (@flarnie in #9771) - Add deprecation warnings and separate module for
React.DOM
factory helpers. (@nhunzaker in #8356) - Warn for deprecation of
React.createMixin
helper, which was never used. (@aweary in #8853)
React DOM
- Add support for CSS variables in
style
attribute. (@aweary in #9302) - Add support for CSS Grid style properties. (@ericsakmar in #9185)
- Fix bug where inputs mutated value on type conversion. (@nhunzaker in #9806)
- Fix issues with
onChange
not firing properly for some inputs. (@jquense in #8575) - Fix bug where controlled number input mistakenly allowed period. (@nhunzaker in #9584)
- Fix bug where performance entries were being cleared. (@chrisui in #9451)
React Addons
- Fix AMD support for addons depending on
react
. (@flarnie in #9919) - Fix
isMounted()
to returntrue
incomponentWillUnmount
. (@mridgway in #9638) - Fix
react-addons-update
to not depend on nativeObject.assign
. (@gaearon in #9937) - Remove broken Google Closure Compiler annotation from
create-react-class
. (@gaearon in #9933) - Remove unnecessary dependency from
react-linked-input
. (@gaearon in #9766) - Point
react-addons-(css-)transition-group
to the new package. (@gaearon in #9937)
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)