Draft: Update dependency inferno-router to v8
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
inferno-router | ^7.4.8 -> ^8.0.0 |
Release Notes
infernojs/inferno
v8.1.1
Typescript
- added types for inline CSS variables
- added types for SVG attributes in native format
- added types for
indeterminate
andfor
native attributes
Internal
- All inferno JSX tests are now run using both ts-plugin-inferno and babel-plugin-inferno
- internal dependencies updated
v8.1.0
Typescript
-
Breaking change
Inferno.JSX.Element
type has been removed in favor of more correct automatic typing-
InfernoNode
andInfernoNodeSingle
has been added as top level exports toinferno
package. -
InfernoNode
can be used as a replacement forInferno.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 ofinferno
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
Typescript
- This release brings back native html event listener types, fixes: #1622
Inferno
- Internal dependencies updated
v8.0.5
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
Typescript
- Adds type information for Animation hooks
77acc73
-
AnimatedMoveComponent
,PureComponent
andComponent
are now abstract classes to indicate they must be extended - All attributes now accept
null
valueeb88122
-
Ref
s now acceptnull
value12be729
Internal
- Dependencies updated to latest versions
- Rollup plugin bubble replaced with babel
v8.0.3
Inferno-core
- Added funding note to package.json
7f76923
- Improved documentation about bundling inferno application https://github.com/infernojs/inferno#application-bundling
de56ad6
Typescript
- Added back types for CssProperties, correctly typed with hyphen case, fixes #1604
Dependencies
-
inferno-shared
moved to devDependencies in all packages231d717
v8.0.2
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
Typescript
- Fixes an issue where mixing React and Inferno in same application failed to resolve JSX Component type #1599
5192eef
v8.0.0
Inferno
- Added new Component lifecycle methods
componentWillMove
,componentDidAppear
andcomponentWillDisappear
- Added a warning when rendering links with
javascript:
URLs7bc3763
- Inferno now uses
String.prototype.substring
instead of deprecatedString.prototype.substr
06195ad
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr - Removed development bundle warning when Inferno is used in Jest test environment
5c017e1
Typescript
Inferno-animation
-
inferno-animation
is a new package that eases animation work using inferno v8componentDidAppear
andcomponentWillDisappear
hooks to coordinate animations and reduce number of repaints browsers have to do https://github.com/infernojs/inferno/tree/master/packages/inferno-animation #1583
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
- Inferno build system has been improved and is now 13 times faster thanks to @jhsware #1558
- Development dependencies have been updated
- Inferno build scripts have been converted to ESM syntax
614a1d2
- Removed color.js and colored output from build, because its maintainer created infinite loop on purpose
320be7d
https://github.com/advisories/GHSA-gh88-3pxp-6fm8 - Removed rollup-plugin-typescript2
4e36aa7
- Sinon.Js has been removed
0abcc9f
- Benchmarks and Examples have been merged #1554 https://infernojs.github.io/inferno/
Breaking changes
-
VNodeFlags.Void
has been removedc658a41
, 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 discontinued537cb2d
- method findDOMfromVNode is now called findDOMFromVNode
- method isDOMinsideComponent is now called isDOMInsideComponent
v7.4.11
- Fixes an issue where top level context becomes null if Fragment was rendered having single child node #1579
v7.4.10
All packages
This release fixes a possible supply chain attack by adding repository link to all packages #1574
v7.4.9
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
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by Yasha