Breaking change
All modules have been renamed from .mjs
to .esm.js
for better Webpack 4 compatibility. #1296
fe: ( inferno/dist/inferno.dev.mjs => inferno/dist/inferno.dev.esm.js
)
Safari7, IE9 and PhantomJS support has been dropped. These browsers might or might not work, they are not tested anymore.
Better typescript support
Typescript support has been improved. PR d7f0408
It resolved the following issues: #1209 #1295 #686
Fixture tests
All packaging tests have been updated to the latest versions. Webpack, systemjs, requirejs, amd, brunch, globals and browserify. https://github.com/infernojs/inferno/tree/master/fixtures/packaging
Unit tests
All tests are now run using inferno-compat on/off to have better compatibility with React.
You can now use npm run test:browser:debug
to debug inferno tests using your favorite browser
Inferno-core
Fixes the issue where hoisted Components might unnecessarily get re-mounted
Removed side-effects from patchKeyedChildren
. This fixes the issue where vNode's dom
property becomes null and could cause run time exception.
Fixes bug where it was possible to patch same DOM twice by chaining setStates
Fixes IE10-IE11 exception when calling render asynchronously in strict mode (TypeError: Invalid calling object)
Inferno-compat + SSR
Fixes bug where className
attribute was rendered to output html
Inferno-compat
Added simple polyfills for Event.isPropagationStopped
and Event.isDefaultPrevented
methods
Inferno-router
deprecated: IndexLink
and IndexRoute
components have been removed. Replace them with Link
and Route
Inferno-mobx
Updated Inferno-mobx to support Mobx v4
Inferno-devtools
initDevTools
is no longer called automatically. #1289