Skip to content

Draft: Update dependency inferno-router to v8

Yasha requested to merge dep-inferno-router-8.x into trunk

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
inferno-router ^7.4.8 -> ^8.0.0 age adoption passing confidence

Release Notes

infernojs/inferno

v8.1.1

Compare Source

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

v8.1.0

Compare Source

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

v8.0.6

Compare Source

Typescript
  • This release brings back native html event listener types, fixes: #​1622
Inferno
  • Internal dependencies updated

v8.0.5

Compare Source

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

Compare Source

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

v8.0.3

Compare Source

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

v8.0.2

Compare Source

Typescript
  • Reverted Component state from read-only to mutable object
  • inferno-router typings improved
  • type IComponentConstructor removed it was not needed for anything

v8.0.1

Compare Source

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

v8.0.0

Compare Source

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

v7.4.11

Compare Source

  • Fixes an issue where top level context becomes null if Fragment was rendered having single child node #​1579

v7.4.10

Compare Source

All packages

This release fixes a possible supply chain attack by adding repository link to all packages #​1574

v7.4.9

Compare Source

Inferno-core
  • Adds typing support for lazy loading images e34e287
  • Fixes an issue where normalizeProps overrides explicitly defined class name property 592e065
Inferno-router
  • Adds typing support for title and other html element attributes to Link component 6480b05

Configuration

📅 Schedule: "before 14:00" in timezone UTC.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box.

This MR has been generated by Renovate Bot.

Edited by Yasha

Merge request reports