This repository has been archived by the owner on Nov 1, 2018. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency inferno-router from
v3.10.1
tov5.0.6
Release Notes
v5.0.6
Compare Source
Inferno-core
Adds support for boolean expressions in children types TSX (Typescript JSX)
Adds support for style property as string
https://github.com/infernojs/inferno/issues/1338
v5.0.5
Compare Source
Inferno-core
Better typescript support across the library, fixes Github
https://github.com/infernojs/inferno/issues/1332
Fixes
Maximum callstack size exceeded
error when using AngularJS and inspire-tree-dom with Infernohttps://github.com/infernojs/inferno/pull/1331
Internal
All dependencies updated
Travis moved to NodeJS 10
v5.0.4
Compare Source
Inferno-core
Improved keyed patch runtime performance by keeping "Sources" variable type "PACKED_SMI_ELEMENTS" v8 infernojs/inferno@e6799c6
Inferno-clone-vnode
Fixes bug where cloning text vNode it did not honor children argument.
https://github.com/infernojs/inferno/issues/1330
v5.0.3
Compare Source
Inferno-core
Faster duplicate / missing key validation during development.
Typescript
More typescript type improvements: infernojs/inferno@402a5fe infernojs/inferno@e522531
v5.0.2
Compare Source
Typescript type improvements
Inferno-router
https://github.com/infernojs/inferno/issues/1322
)v5.0.1
Compare Source
Typings
Inferno is now compiled using more strict typescript options.
https://github.com/infernojs/inferno/pull/1305
Fixed typescript errors caused by v5 typescript changes.
https://github.com/infernojs/inferno/pull/1302
https://github.com/infernojs/inferno/pull/1304
Inferno-create-class
Fixed typo in docs
https://github.com/infernojs/inferno/pull/1306
v5.0.0
Compare Source
Breaking change
All modules have been renamed from
.mjs
to.esm.js
for better Webpack 4 compatibility.https://github.com/infernojs/inferno/issues/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 infernojs/inferno@d7f0408
It resolved the following issues:
https://github.com/infernojs/inferno/issues/1209
https://github.com/infernojs/inferno/issues/1295
https://github.com/infernojs/inferno/issues/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 browserInferno-core
Fixes the issue where hoisted Components might unnecessarily get re-mounted
Removed side-effects from
patchKeyedChildren
. This fixes the issue where vNode'sdom
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 htmlInferno-compat
Added simple polyfills for
Event.isPropagationStopped
andEvent.isDefaultPrevented
methodsInferno-router
deprecated:
IndexLink
andIndexRoute
components have been removed. Replace them withLink
andRoute
Inferno-mobx
Updated Inferno-mobx to support Mobx v4
Inferno-devtools
initDevTools
is no longer called automatically.https://github.com/infernojs/inferno/issues/1289
v4.0.8
Compare Source
Inferno core
Inferno-redux
Small documentation improvements
v4.0.7
Compare Source
Inferno-compat
Fixes performance issue where arrays were converted to arrays when creating new vNodes. infernojs/inferno@59769ba
Fixes bug where iterable falsy values were ignored.
https://github.com/infernojs/inferno/issues/1292
v4.0.6
Compare Source
Core
Added
inferno-shared
as dependency toinferno
to satisfy typescript types. Fixeshttps://github.com/infernojs/inferno/issues/1284
Inferno-compat
Fixed typo in WrapperComponent infernojs/inferno@1bd6c46
note: 4.0.5 was skipped due to bad publish.
v4.0.5
Compare Source
v4.0.4
Compare Source
Core
Inferno-mobx
v4.0.3
Compare Source
Core
https://github.com/infernojs/inferno/issues/1273
This is work around for 12 years old Firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=184051
v4.0.2
Compare Source
Inferno v4
In this release we have reworked Inferno's normalization process. In the previous versions Inferno always normalized all input, meaning it looped through all the vNode children checking for invalid nodes, flattening nested arrays etc. This process costs O(n) runtime, where n is number of input nodes. This has been improved by adding more logic into our babel plugin to detect static shapes compile time. Inferno will now normalize only dynamic shapes and even those can be avoided by pre-defining children shape using
childFlags
.Breaking changes
There is v3 to v4 migration documentation available here
New features
{Inferno.createPortal(vNode, DOM)}
can be used to render vNode to external location in DOMReCreate
has been added. It can be used to always re-create element instead of diffing it.Common changes:
All Inferno properties follow the same naming convention.
JSX Flags
NoNormalize
has been removed, and is replaced by$HasVNodeChildren
hasKeyedChildren
=>$HasKeyedChildren
hasNonKeyedChildren
=>$HasNonKeyedChildren
ES6 Component properties that are considered private are now
$
- prefixed.Normalization process generated keys are now
$
- prefixed.Bug Fixes
XSS vulnerability has been fixed in
inferno-server
packagedangerouslySetInnerHTML
now correctly unmounts previous nodeshundreds of new tests have been added to
inferno-compat
New website
We have also updated our Website https://infernojs.org/! If you have built something for inferno you can now add it there to utilities section 🥇
Open collective
InfernoJS is now part of open collective program, please consider supporting us!
v4.0.1
Compare Source
v4.0.0
Compare Source
This PR has been generated by Renovate Bot.