Skip to content

Releases: infernojs/inferno

Inferno 0.7.20

11 Jul 23:31
Compare
Choose a tag to compare

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

09 Jul 20:26
Compare
Choose a tag to compare

Includes a fix for inferno-component where componentDidUpdate fired in the wrong place.

Inferno 0.7.16

08 Jul 10:20
Compare
Choose a tag to compare

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

07 Jul 22:00
Compare
Choose a tag to compare

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

06 Jul 20:03
Compare
Choose a tag to compare

This update greatly improves stability of Inferno and its packages. Highlights include:

  • inferno-server and inferno-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 and inferno-dom have better component lifecycle handling, especially in cases of firing unmounting events (such as componentWillUnmount).
  • inferno-dom now treats null, undefined, false and true values to a new internal VPlaceholder 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 object VList and VText respectfully.
  • inferno-dom has a new API addition of findDOMNode, replicating the functionality of React's findDOMNode.

Inferno 0.7.13

30 Jun 22:51
Compare
Choose a tag to compare

This release includes fixes for inferno-component, inferno-dom and inferno-create-class.

  • inferno-create-class had an an incorrect main specified.
  • inferno-component has an issue where a stack overflow might occur when sCU returned false.
  • inferno-dom incorrectly handled boolean values of true when rendered to the DOM.

Inferno 0.7.12

29 Jun 22:53
Compare
Choose a tag to compare

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 from inferno-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 use document.body).
  • inferno-server now handles Inferno's blueprints properly.
  • inferno-server no longer attempts to access the window object when in NodeJS.
  • inferno-dom unitless CSS property support has been re-added at a cost in bundle size.

Inferno 0.7.11

27 Jun 09:59
Compare
Choose a tag to compare

Includes a minor fix to inferno-router where browserHistorydid 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

25 Jun 21:22
Compare
Choose a tag to compare

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 contextis passed about functional components

Inferno 0.7.9

05 Jun 13:03
Compare
Choose a tag to compare

Minor changes made:

  • License changed to MIT
  • Removed a rogue debug line of code from rendering.js