Releases: infernojs/inferno
Releases · infernojs/inferno
v8.0.4
Typescript
- Adds type information for Animation hooks 77acc73
AnimatedMoveComponent
,PureComponent
andComponent
are now abstract classes to indicate they must be extended- All attributes now accept
null
value eb88122 Ref
s now acceptnull
value 12be729
Internal
- Dependencies updated to latest versions
- Rollup plugin bubble replaced with babel
Inferno v8.0.3
Inferno-core
- Added funding note to package.json 7f76923
- Improved documentation about bundling inferno application https://github.com/infernojs/inferno#application-bundling de56ad6
Typescript
- Added back types for CssProperties, correctly typed with hyphen case, fixes #1604
Dependencies
inferno-shared
moved to devDependencies in all packages 231d717
Inferno v8.0.2
Typescript
- Reverted Component state from read-only to mutable object
inferno-router
typings improved- type
IComponentConstructor
removed it was not needed for anything
Inferno v8.0.1
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