Releases: infernojs/inferno
Inferno 0.7.20
This aligns all packages with the same version to keep things consistent. It also fixes issues in inferno-compat
and usage within Inferno and React mixed environments.
Inferno 0.7.17
Includes a fix for inferno-component
where componentDidUpdate
fired in the wrong place.
Inferno 0.7.16
This update contains bug fixes for regression issues from 0.7.15
plus a fix to inferno-component
and how it handles setState
whilst in componentWillReceiveProps
.
Inferno 0.7.15
This update contained performance improvements, a small code base and several fixes and improvements.
inferno-dom
now has a much leaner patch mechanism which results in better performance.inferno-server
now handles stripping of potentially bad HTML characters from attributes and text nodes, which could be used for XSS attacks.inferno
now properly handles JSX spread attribute events that are camelCase.inferno-dom
better recycles nonKeyed elements and unmounts them with a better implementation.
Inferno 0.7.14
This update greatly improves stability of Inferno and its packages. Highlights include:
inferno-server
andinferno-dom
have much improved server-sider rendering capabilities and hydration features.inferno-dom
has a completely revamped non-keyed patch implementation that is about 30% faster. It's also much easier to understand and read.inferno-router
has had many bugs fixed and support for nested routes.inferno-compat
has been added to add parity to users coming from React. Make sure you check the README on how to use it and give feedback where possible.inferno-component
andinferno-dom
have better component lifecycle handling, especially in cases of firing unmounting events (such ascomponentWillUnmount
).inferno-dom
now treatsnull
,undefined
,false
andtrue
values to a new internalVPlaceholder
node that uses empty DOM TextNodes to track their positions as they move around the DOM tree. Furthermore, arrays within arrays and text children also adopt a similar technique using the internal objectVList
andVText
respectfully.inferno-dom
has a new API addition offindDOMNode
, replicating the functionality of React'sfindDOMNode
.
Inferno 0.7.13
This release includes fixes for inferno-component
, inferno-dom
and inferno-create-class
.
inferno-create-class
had an an incorrectmain
specified.inferno-component
has an issue where a stack overflow might occur when sCU returned false.inferno-dom
incorrectly handledboolean
values oftrue
when rendered to the DOM.
Inferno 0.7.12
This release brings about many bug fixes to inferno-server
, inferno-component
and inferno-dom
. Most notably, a new package has been added.
- New package:
inferno-create-class
allowing for ES5 creation of Inferno Components. inferno-dom
now attempts to hydrate SSR content frominferno-server
.inferno-component
now properly handles sCU in some use cases where it might instead clear the content.inferno-dom
now clears a container if it is no longer empty (and warns the user if they usedocument.body
).inferno-server
now handles Inferno's blueprints properly.inferno-server
no longer attempts to access thewindow
object when in NodeJS.inferno-dom
unitless CSS property support has been re-added at a cost in bundle size.
Inferno 0.7.11
Includes a minor fix to inferno-router
where browserHistory
did not correctly provide the correct URL for a hashbang URL. The example for inferno-router
has also been updated and a small bug fix has been made to ensure it works with the new inferno-router
changes.
Inferno 0.7.10
Overview
This release fixes various issues with inferno
, inferno-dom
and inferno-component
. It also introduces a new core package routing module called inferno-router
. More can be found out about inferno-router
at https://github.com/trueadm/inferno/tree/master/packages/inferno-router. Also, due to popular demand Inferno now supports dangerouslySetInnerHTML
as per the React specification.
Bug Fixes
- Components using blueprints no longer mutate static children props when a child is changed between updates
- Ref children nodes now correctly get referenced to the right parent
- Various tweaks how
context
is passed about functional components
Inferno 0.7.9
Minor changes made:
- License changed to MIT
- Removed a rogue debug line of code from
rendering.js