Skip to content

Releases: infernojs/inferno

v8.1.1

19 Apr 19:32
Compare
Choose a tag to compare

Typescript

  • added types for inline CSS variables
  • added types for SVG attributes in native format
  • added types for indeterminate and for native attributes

Internal

Inferno v8.1.0

26 Mar 08:41
Compare
Choose a tag to compare

Typescript

  • Breaking change Inferno.JSX.Element type has been removed in favor of more correct automatic typing
    • InfernoNode and InfernoNodeSingle has been added as top level exports to inferno package.
    • InfernoNode can be used as a replacement for Inferno.JSX.Element for type checking "any" JSX entry
    • InfernoNodeSingle can be used to restrict Component children to a single JSX node ( excluding arrays )
      This fixes issue: #1630
  • $ReCreate attribute has been added to allowed TSX attributes
  • selectedIndex property has been added to allowed select attributes
  • type Key has been unified and moved as top level export of inferno package
  • math formula elements are now allowed in TSX
  • Typescript has been upgraded to v5
  • media element is now correctly typed in TSX

Inferno-vnode-flags

  • 0 is now reserved for unknown value

Internal

  • all inferno package tests has been converted to TSX
  • development dependencies updated

Inferno v8.0.6

08 Feb 18:10
Compare
Choose a tag to compare

Typescript

  • This release brings back native html event listener types, fixes: #1622

Inferno

  • Internal dependencies updated

Inferno v8.0.5

27 Nov 14:55
Compare
Choose a tag to compare

Typescript

  • Typescript typing improvements #1612

Inferno router

  • Fixes an issue where state was no longer passed to history #1608 e3c3deb
  • Implements className function to be compatible with React router #1613

v8.0.4

16 Oct 12:15
Compare
Choose a tag to compare

Typescript

  • Adds type information for Animation hooks 77acc73
  • AnimatedMoveComponent, PureComponent and Component are now abstract classes to indicate they must be extended
  • All attributes now accept null value eb88122
  • Refs now accept null value 12be729

Internal

  • Dependencies updated to latest versions
  • Rollup plugin bubble replaced with babel

Inferno v8.0.3

18 Aug 16:21
Compare
Choose a tag to compare

Inferno-core

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

02 Aug 16:51
Compare
Choose a tag to compare

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

19 Jun 06:36
Compare
Choose a tag to compare

Typescript

  • Fixes an issue where mixing React and Inferno in same application failed to resolve JSX Component type #1599 5192eef

Inferno v8.0.0

17 Jun 12:28
Compare
Choose a tag to compare

Inferno

Typescript

  • Added basic support for JSX Component default props 696006c
  • Added missing optimization flag #1595

Inferno-animation

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

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 package
  • inferno-devtools is discontinued 537cb2d
  • method findDOMfromVNode is now called findDOMFromVNode
  • method isDOMinsideComponent is now called isDOMInsideComponent

Inferno v8.0.0-alpha.6

24 May 21:16
Compare
Choose a tag to compare
Pre-release

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 called findDOMFromVNode
  • method isDOMinsideComponent is now called isDOMInsideComponent