Skip to content

Releases: MithrilJS/mithril.js

v2.2.11

25 Nov 04:22
Compare
Choose a tag to compare

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

07 Nov 10:37
Compare
Choose a tag to compare

Release v2.2.10

Changelog

Patch Changes

[refactor] Performance improvement of updateStyle() (@kfule)

This is a refactoring to improve the performance of updateStyle().

v2.2.9

31 Oct 09:58
Compare
Choose a tag to compare

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

05 Oct 01:51
Compare
Choose a tag to compare

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

26 Sep 03:51
Compare
Choose a tag to compare

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

25 Sep 02:03
Compare
Choose a tag to compare

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.

v2.2.3

24 Jan 20:17
Compare
Choose a tag to compare

Release v2.2.2

Changelog

Patch Changes

Use markdown for the README badges (@pygy)

Use markdown for the README badges.

v2.2.2

25 May 18:30
Compare
Choose a tag to compare

Release v2.2.2

Changelog

Patch Changes

Use markdown for the README badges (@pygy)

Use markdown for the README badges.

v2.2.1

24 May 23:54
Compare
Choose a tag to compare

Release v2.2.1

Changelog

Patch Changes

Move the chat to Zulip (@pygy)

This updates the documentation to link to the new Zulip chat room.

v2.2.0

16 May 08:14
Compare
Choose a tag to compare

Release v2.2.0

Changelog

Minor Changes

m.censor: work around a bunder bug (@kfule)

The internal bundler sometimes mangles the words in RegExp literals incorrectly. Please see below.

Warn about reusing mutated attrs object - fixes #2719 (@StephanHoyer)

Send URLSearchParams as request body without extra configuration (@Coteh)

This PR fixes an oddity I noticed in the way m.request handles URLSearchParams object. It now handles it in the same sort of way XHR and Fetch do it.

Add params: to m.route.Link, fix docs (@dead-claudia)

Add params: to m.route.Link. Minor fix to docs to reflect reality with m.route.Link's disabled: attribute.

Allow Mithril to be loaded in non-browser environments without modification (@dead-claudia)

Recast the global reads to all be guarded with typeof, so that if they aren't defined, they're just null.

Add a m.Fragment = "[" utility for JSX users. (@dead-claudia)

The title says it all, and the diff's obvious. Resolves #2640 and probably others.

Patch Changes

Enable --minimize-semver-change for pr-release (@JAForbes)

Minimizes semver changes on release to the minimum required version bump to satisfy major/minor/patch semver ranges. Minimizes the semver change so that.

Clean up m.route.Link (@barneycarroll)

An attempt at better demonstrating m.route.Link with less text. Fixes #2767.

Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (@dead-claudia)

This PR is in two parts: 1. Revise the build system and some of the local dev setup. Fully split ospec from the repo, and add it as a dependency.

Add meta description to docs (@StephanHoyer)

rework of #2149. added a meta description parser and meta descriptions to all docs pages. because google. built the docs, inspected the output manually.

Fixed badges, consistent naming of Mithril.js (@tbreuss)

use consistent naming of Mithril.js. fix badges in README. Fixes issue #2749.

Catch malformed URI Components (@jdiderik)

Fix for error thrown when a value contains non-valid / malformed URI Component. Example: test=%c5%a1%e8ZM%80%82H. will throw "URI malformed".

Correctly handle invalid escapes in routes based on 0a5ead31c9fbd7b153c521c7f9d3df7bf826ce6c (@StephanHoyer)

fixes #2061. @dead-claudia I just redid your change but slightly different in order to handle a mix of wrong and right encodings properly.

Standardise vnode text representation (@barneycarroll)

This addresses the crucial feature of #2669: text is always represented as virtual text nodes, never as a vnode.text.

Issue 2624 no content 204 parse (@Evoke-PHP)

Added guard so that JSON.parse does not fail on IE11 with no content empty string being parsed. Fixes #2624.

[m.request] work around a bundler bug, fix #2647 (@pygy)

The bundler mangles identifier-like strings within RegExps, this works around the problem by not using such RegExps.

Reject request on XHR timeout (@kevinfiol)

Derived from PR #2581. Allows requests to properly reject on event of a timeout.

Remove extra isLifecycleMethod call from removeAttr (@ZeikJT)

Removing an extra isLifecycleMethod in the removeAttr method, it isn't needed since it's already checked on the previous line.

Fix #2601 (@dead-claudia)

Fix issue where ending a stream in the middle of a stream callback would result in erroneous parent stream state for the rest of that emit. Fixes #2601.

Add streams to releases again, include minified bundle, drop internal stuff from npm (@dead-claudia)

Add stream/stream.js to releases again. Add stream/stream.min.js now that the process is remotely sane now.

Make errors and their messages more accurate and helpful (@dead-claudia)

I updated error messages to be much more helpful.

Fix assertion descriptions (@soulofmischief)

I moved the return statement to the end of define() so that it returns even if the comparison fails.

Fix branch target (@dead-claudia)

https://github.com/MithrilJS/mithril.js/runs/6199543939?check_suite_focus=true.

Automate mithril's release workflow (@JAForbes)

Automated releases, pre-releases, (code) rollbacks and recovery, npm publishing, change log management just by using normal github flow.

rework jsx docs (@StephanHoyer)

Add Simple Application Flems Supporting v2.0.4 and up (@tbreuss)

Added Flems for Simple Application supporting v2.0.4 of Mithril.js. Fixes Issue #2710.

Make example work with webpack v5.69.1 (@StephanHoyer)

fixes #2634.

2604: correct and move text about statements in view method (@kevinfiol)

Addresses #2604.

Fix lint errors (@StephanHoyer)

WIP: Update modularisation details in Installation docs (@orbitbot)

added link to flems.io as an easier way to just try out the framework. -. Documentation has grown a bit stale.

Added power support for the travis.yml file with ppc64le (@sreekanth370)

Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le.

Updated babel/webpack docs to work with latest versions (@pereriksson)

As a developer I tried setting up Mithril with Babel and Webpack but failed because of a variety of errors.

[docs] route redirection using the history API (@pygy)

This is an attempt at fixing #1759, but there may be more to be added. Feedback welcome. ping @dontwork.

Bump path-parse from 1.0.6 to 1.0.7 (@dependabot[bot])

Bumps path-parse from 1.0.6 to 1.0.7. Commits. See full diff in compare view.

Bump glob-parent from 5.1.0 to 5.1.2 (@dependabot[bot])

Bumps glob-parent from 5.1.0 to 5.1.2. Release notes. Sourced from glob-parent's releases. v5.1.2. Bug Fixes.

Bump ajv from 6.10.2 to 6.12.6 (@dependabot[bot])

Bumps ajv from 6.10.2 to 6.12.6. Release notes. Sourced from ajv's releases. v6.12.6. Fix performance issue of "url" format.

Update standalone usage (@ghost)

Avoid double encoding of function signatures - fixes #2720 (@StephanHoyer)

Show previous versions (@mike-ward)

Add Dropdown that shows links to archived versions of the documentation.

docs: improve m.request return value description (@GAumala)

In the m.request return value description, add a line informing that error status codes cause the promise to reject.

A note on JSX events (@pereriksson)

Naming JSX events according to their documentation produces unexpected results with incorrectly named events when using JSX with Mithril.

Document route resolution cancellation, fixes #1759 (@barneycarroll)

Also...

Read more