Releases: infernojs/inferno
Releases · infernojs/inferno
Inferno v8.0.0
Inferno
- Added new Component lifecycle methods
componentWillMove
,componentDidAppear
andcomponentWillDisappear
- Added a warning when rendering links with
javascript:
URLs 7bc3763 - Inferno now uses
String.prototype.substring
instead of deprecatedString.prototype.substr
06195ad https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr - Removed development bundle warning when Inferno is used in Jest test environment 5c017e1
Typescript
Inferno-animation
inferno-animation
is a new package that eases animation work using inferno v8componentDidAppear
andcomponentWillDisappear
hooks to coordinate animations and reduce number of repaints browsers have to do https://github.com/infernojs/inferno/tree/master/packages/inferno-animation #1583
Special thanks for improving inferno animations to @jhsware
Inferno-router
history
package has been updated to version 5
Inferno-mobx
- Document details about server side rendering for inferno-mobx d0ed1ca
- Forward exceptions thrown by render so MobX does not eat them 0165ff0
- inferno-mobx observer now correctly throws an exception for incompatible components 2da4cb6
- Clean up new inferno-mobx examples 779f04f
- Added observerPatch to inferno-mobx 8b6750f
Special thanks for improving inferno-mobx to @Gwenio
Build system and internal changes
- Inferno build system has been improved and is now 13 times faster thanks to @jhsware #1558
- Development dependencies have been updated
- Inferno build scripts have been converted to ESM syntax 614a1d2
- Removed color.js and colored output from build, because its maintainer created infinite loop on purpose 320be7d GHSA-gh88-3pxp-6fm8
- Removed rollup-plugin-typescript2 4e36aa7
- Sinon.Js has been removed 0abcc9f
- Benchmarks and Examples have been merged #1554 https://infernojs.github.io/inferno/
Breaking changes
VNodeFlags.Void
has been removed c658a41, use null or undefined vNode instead- Internet Explorer is not actively tested anymore due to Internet Explorer retiring on June 15, 2022 and jasmine v4 has dropped IE support https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md
inferno-component
package has been removed. Component is available in "inferno" main packageinferno-devtools
is discontinued 537cb2d- method findDOMfromVNode is now called findDOMFromVNode
- method isDOMinsideComponent is now called isDOMInsideComponent
Inferno v8.0.0-alpha.6
inferno
- Fixes performance regression in patch method 9dcc198
- Fixes performance regression in unmounting logic 1170cea
- Small performance optimization to moveVNodeDOM method 7b66a2d
Breaking change
- inferno-devtools is discontinued 537cb2d
- method
findDOMfromVNode
is now calledfindDOMFromVNode
- method
isDOMinsideComponent
is now calledisDOMInsideComponent
Inferno v8.0.0-alpha.3
Inferno v8.0.0-alpha.2
- Fixes inferno-animation server side rendering bug a71edbb
Inferno v7.4.11
- Fixes an issue where top level context becomes null if Fragment was rendered having single child node #1579
Inferno v8.0.0-alpha.1
Inferno v8.0.0-alpha.0
New package inferno-animation has been added
Inferno-router
"history" package has been updated to the latest major version 5
Multiple internal changes to build system and dependencies
Note
This is preview release available for testing and there might be breaking changes in future releases
Inferno v7.4.10
All packages
This release fixes a possible supply chain attack by adding repository link to all packages #1574