Releases: MithrilJS/mithril.js
v2.2.12
Release v2.2.12
Changelog
Patch Changes
disable Terser's "reduce_funcs" option for performance (@kfule)
Terser's “reduce_funcs” option seems to degrade performance. So, disable it.
Bump chokidar from 4.0.1 to 4.0.3 in the normal group across 1 directory (@dependabot[bot])
Bumps the normal group with 1 update in the / directory: chokidar. Updates chokidar
from 4.0.1 to 4.0.3. Release notes.
v2.2.11
Release v2.2.11
Changelog
Patch Changes
Use new pr-release prerelease hook (Fixes #2987) (@JAForbes)
Per @dead-claudia's suggestion, pr-release now allows you to invoke a custom command before creating the github release.
updateStyle(): use setProperty() when css vars and dashed-properties, fixes #2989 (@kfule)
This PR changes updateStyle() to use setProperty() for dashed-properties. This PR maybe fixes #2989.
Delete .github/ISSUE_TEMPLATE/0-docs.yml (@dead-claudia)
Do a much better job discouraging filing docs bugs here.
v2.2.10
v2.2.9
Release v2.2.9
Changelog
Patch Changes
[refactor] Refactoring of hyperscript.js and render.js, including performance improvements (@kfule)
Refactor hyperscript.js and render.js. In particular, the replacement of fix #2622 appears to have significantly improved the performance regression.
v2.2.8
Release v2.2.8
Changelog
Patch Changes
m.domFor(): workaround for unintentional mangling. Fix #2842 (@kfule)
Refactoring of domFor() for the internal bundler. https://github.com/MithrilJS/mithril.js/blob/cfa890f68571df1ab8543097f7fa61c34ee93683/mithril.js#L157.
Drop Istanbul to kill install warnings (@dead-claudia)
Title's pretty self-explanatory. Also, this isn't really used much in practice. From a local run: ```. $ npm ci.
v2.2.5
Release v2.2.5
Changelog
Patch Changes
Bump the normal group across 1 directory with 2 updates (@dependabot[bot])
Bumps the normal group with 2 updates in the / directory: chokidar and eslint.
Cleaning up code by making vnode.attrs always non-null (@kfule)
Commit f9e5163 made vnode.attrs always non-null, so there is no need for code to make vnode.attrs null or assume vnode.attrs is null.
v2.2.4
Release v2.2.4
Changelog
Patch Changes
Remove dependance on global window and document (@KoryNunn)
Use window and document from render target instead of using globals. This makes unit and intergration testing much easier.
hyperscript: handles shared empty attrs, fixes #2821 (@kfule)
Whenever there are selector-derived attrs, the attrs object will be regenerated and not shared.