Inferno
- Added new Component lifecycle methods
componentWillMove,componentDidAppearandcomponentWillDisappear - Added a warning when rendering links with
javascript:URLs 7bc3763 - Inferno now uses
String.prototype.substringinstead of deprecatedString.prototype.substr06195ad 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-animationis a new package that eases animation work using inferno v8componentDidAppearandcomponentWillDisappearhooks 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
historypackage 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.Voidhas 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-componentpackage has been removed. Component is available in "inferno" main packageinferno-devtoolsis discontinued 537cb2d- method findDOMfromVNode is now called findDOMFromVNode
- method isDOMinsideComponent is now called isDOMInsideComponent