Skip to content

Releases: infernojs/inferno

Inferno v7.0.4

13 Dec 18:35
Compare
Choose a tag to compare

Inferno core

  • This release fixes an issue where vNode tree might get re-mounted when VNode is passed as reference. #1426
  • Internal development dependencies updated

skip

13 Dec 18:33
Compare
Choose a tag to compare

release process failed

Inferno v7.0.2

05 Dec 14:32
Compare
Choose a tag to compare

Inferno core

  • Fixes an issue caused by Inferno 7.0.1 when vNode's were passed to multiple locations in the vNode tree rendered incorrectly.
  • Updated to babel 7.2

Inferno v7.0.1

03 Dec 19:55
Compare
Choose a tag to compare

Inferno core

  • Fixes typescript issue where Component was not assignable as IComponentConstructor #1422
  • Small code clean up

Inferno v7.0.0

29 Nov 23:18
Compare
Choose a tag to compare

Inferno core

This release changes how inferno queues setState calls. In earlier versions (v6 and before) Inferno used Component's instance to keep track of its updating state. However this pattern failed when child component called parent method or raised an event which lead parent to do setState during child's update lifecycle.

This has been fixed by moving update detection outside Component instance. Because of this change, setState calls will get more aggressively put into the micro task queue. This is a breaking change for applications which expected setState to render synchronously.

If your application code depends on the changed state, you can use setState callback to track when state has changed. Or if synchronous execution is necessary, you can call rerender() method which flushes all pending setState calls. This method should be generally avoided because it can cause infinite loops. It is useful for example in testing purposes to avoid setTimeout.

Due to this change version has been increased to 7.

Inferno v6.3.1

25 Nov 11:07
Compare
Choose a tag to compare

Inferno core

  • Fixes an issue where Fragment appended its content outside its boundary #1421
  • Fixes an issue where optimized Fragments $HasKeyedChildren / $HasNonKeyedChildren failed for empty content

Inferno v6.3.0

24 Nov 18:11
Compare
Choose a tag to compare

Inferno core

  • Fixes an issue where setState function gets wrong state argument #1420
  • Optimized rendering count when setState is called multiple times

Inferno v6.2.1

11 Nov 12:58
Compare
Choose a tag to compare

Inferno SSR

  • Fix error in SSR "Node is not defined" when JSDom is not available

Inferno v6.2.0

11 Nov 12:37
Compare
Choose a tag to compare

Inferno core

This release does small improvement to runtime performance on V8 and code clean up

  • Fixed v8 de-optimization "not enough type information..." in patchChildren method
  • Fixed issue where v8 was de-opting during event delegation handling reason "wrong map"
  • Fixed issue where linkEvent methods were always re-attached

JSX plugin (babel-plugin-inferno v6.0.3)

  • Added new option defineAllArguments it can be used to work around V8 Builtin:ArgumentsAdaptorTrampoline this comes with a cost of bundle size increase. Disabled by default

Inferno v6.1.5

07 Nov 13:52
Compare
Choose a tag to compare

Inferno core

Fixes an issue where setState callback was not called after queuing multiple setStates