Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Update dependency inferno-router to v5 #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 24, 2018

This Pull Request updates dependency inferno-router from v3.10.1 to v5.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 Inferno https://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

  • Support class and styleName attributes (#​1307)
  • Allow EventHandlers to be null (#​1313)
  • Fix Router and Switch component types (#​1318)

Inferno-router

  • Fixes bug where changing route did not update DOM (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 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. https://github.com/infernojs/inferno/issues/1289


v4.0.8

Compare Source

Inferno core
  • Fixes bug where default functional component lifecycle hooks did not work with spread operator
Inferno-redux
  • Fixes bug where functional component lifecycle hooks did not get attached

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 to inferno to satisfy typescript types. Fixes https://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

  • Removed unnecessary function call from non keyed mounting
  • Sauce labs timeout increased to 60seconds
  • Internal dependencies updated

Inferno-mobx

  • Docs: Code example updated

v4.0.3

Compare Source

Core

  • Fixes issue where Firefox triggers synthetic click event from mid/right mouse buttons. 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 DOM
  • Router has been updated to v4 to match React Router v4 API
  • Mobx and Redux integrations have been ported to the latest version
  • new VNodeFlag ReCreate has been added. It can be used to always re-create element instead of diffing it.
  • defaultHooks has been added to Functional Components
  • Inferno now supports IE9+ without polyfills reducing
  • Inferno size has been reduced to 7.8kb gzip including the ES2015 Component!
  • Small performance improvements
function Static() {
    return <div>1</div>;
}

Static.defaultHooks = {
    onComponentShouldUpdate() {
        return false;
    }
}

export const Com = Static;
  • TouchEvents are now part of Synthetic event system

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 package

  • dangerouslySetInnerHTML now correctly unmounts previous nodes

  • hundreds 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.

@renovate renovate bot force-pushed the renovate/inferno-router-5.x branch from 737ef81 to 786037f Compare May 12, 2018 10:14
@renovate renovate bot force-pushed the renovate/inferno-router-5.x branch from 786037f to 2cc7ce0 Compare May 16, 2018 20:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant