This repository was archived by the owner on Nov 1, 2018. It is now read-only.
Open
Conversation
737ef81 to
786037f
Compare
786037f to
2cc7ce0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.1tov5.0.6Release Notes
v5.0.6Compare 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/1338v5.0.5Compare Source
Inferno-core
Better typescript support across the library, fixes Github
https://github.com/infernojs/inferno/issues/1332Fixes
Maximum callstack size exceedederror when using AngularJS and inspire-tree-dom with Infernohttps://github.com/infernojs/inferno/pull/1331Internal
All dependencies updated
Travis moved to NodeJS 10
v5.0.4Compare 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/1330v5.0.3Compare Source
Inferno-core
Faster duplicate / missing key validation during development.
Typescript
More typescript type improvements: infernojs/inferno@402a5fe infernojs/inferno@e522531
v5.0.2Compare Source
Typescript type improvements
Inferno-router
https://github.com/infernojs/inferno/issues/1322)v5.0.1Compare Source
Typings
Inferno is now compiled using more strict typescript options.
https://github.com/infernojs/inferno/pull/1305Fixed typescript errors caused by v5 typescript changes.
https://github.com/infernojs/inferno/pull/1302https://github.com/infernojs/inferno/pull/1304Inferno-create-class
Fixed typo in docs
https://github.com/infernojs/inferno/pull/1306v5.0.0Compare Source
Breaking change
All modules have been renamed from
.mjsto.esm.jsfor better Webpack 4 compatibility.https://github.com/infernojs/inferno/issues/1296fe: (
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/1209https://github.com/infernojs/inferno/issues/1295https://github.com/infernojs/inferno/issues/686Fixture 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:debugto 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'sdomproperty 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
classNameattribute was rendered to output htmlInferno-compat
Added simple polyfills for
Event.isPropagationStoppedandEvent.isDefaultPreventedmethodsInferno-router
deprecated:
IndexLinkandIndexRoutecomponents have been removed. Replace them withLinkandRouteInferno-mobx
Updated Inferno-mobx to support Mobx v4
Inferno-devtools
initDevToolsis no longer called automatically.https://github.com/infernojs/inferno/issues/1289v4.0.8Compare Source
Inferno core
Inferno-redux
Small documentation improvements
v4.0.7Compare 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/1292v4.0.6Compare Source
Core
Added
inferno-sharedas dependency toinfernoto satisfy typescript types. Fixeshttps://github.com/infernojs/inferno/issues/1284Inferno-compat
Fixed typo in WrapperComponent infernojs/inferno@1bd6c46
note: 4.0.5 was skipped due to bad publish.
v4.0.5Compare Source
v4.0.4Compare Source
Core
Inferno-mobx
v4.0.3Compare Source
Core
https://github.com/infernojs/inferno/issues/1273This is work around for 12 years old Firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=184051
v4.0.2Compare 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 DOMReCreatehas 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
NoNormalizehas been removed, and is replaced by$HasVNodeChildrenhasKeyedChildren=>$HasKeyedChildrenhasNonKeyedChildren=>$HasNonKeyedChildrenES6 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-serverpackagedangerouslySetInnerHTMLnow correctly unmounts previous nodeshundreds of new tests have been added to
inferno-compatNew 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.1Compare Source
v4.0.0Compare Source
This PR has been generated by Renovate Bot.