Skip to content

Releases: MithrilJS/mithril.js

v2.3.8

08 Nov 04:58

Choose a tag to compare

Release v2.3.8

Changelog

Patch Changes

refactor execSelector (@kfule)

Make vnode.domSize assignment consistent between create and update. (@kfule)

This PR makes the code and behavior of create and update processes more consistent.

Bump rimraf from 6.0.1 to 6.1.0 in the normal group (@dependabot[bot])

Bumps the normal group with 1 update: rimraf. Updates rimraf from 6.0.1 to 6.1.0. Changelog. Sourced from rimraf's changelog.

Fix URI decoder bug and reduce bundle size through module tailoring and cleanup (@kfule)

This fixes the URI decoder used in the Router to decode more strictly.

refactor Vnode.normalizeChildren (@kfule)

Vnode.normalizeChildren now preallocates the array length and performs key-consistency checks after normalization.

Bump actions/setup-node from 5 to 6 in the normal group (@dependabot[bot])

Bumps the normal group with 1 update: actions/setup-node. Updates actions/setup-node from 5 to 6. Release notes.

Bump actions/setup-node from 4 to 5 in the normal group (@dependabot[bot])

Bumps the normal group with 1 update: actions/setup-node. Updates actions/setup-node from 4 to 5. Release notes.

docs: edited the link to the build badge (@Olexandr88)

v2.3.7

02 Sep 17:53

Choose a tag to compare

Release v2.3.6

Changelog

Patch Changes

Make the attrs of non-element vnodes always non-null. (@kfule)

In #3041, it seemed that the case of non-element vnodes was not fully considered in terms of not breaking existing behavior.

v2.3.6

02 Sep 17:53

Choose a tag to compare

Release v2.3.6

Changelog

Patch Changes

Make the attrs of non-element vnodes always non-null. (@kfule)

In #3041, it seemed that the case of non-element vnodes was not fully considered in terms of not breaking existing behavior.

v2.3.5

25 Aug 02:44

Choose a tag to compare

Release v2.3.5

Changelog

Patch Changes

Assorted Performance Improvements (@kfule)

This PR improves performance through the following changes: Adoption of the spread syntax, which can be optimized in modern browsers.

Bump actions/checkout from 4 to 5 in the normal group (@dependabot[bot])

Bumps the normal group with 1 update: actions/checkout. Updates actions/checkout from 4 to 5. Release notes.

v2.3.4

11 Aug 20:23

Choose a tag to compare

Release v2.3.4

Changelog

Patch Changes

Fix the error message selection condition (@dead-claudia)

The previous condition was basically "if this is non-nullish or a boolean". That "or a boolean" is very obviously redundant.

bundler: fix mangled comments and double suffixes (@kfule)

This PR removes unnecessary suffixes from comments in the bundle file. It also fixes the strange double suffix (mountRedraw00).

v2.3.3

24 Jun 03:47

Choose a tag to compare

Release v2.3.3

Changelog

Patch Changes

router: delay mounting RouterRoot until the first route is resolved (fixes #2621) (@kfule)

This PR delays the initial mounting of the router component until after the route has been resolved.

Bump glob from 11.0.2 to 11.0.3 in the normal group (@dependabot[bot])

Bumps the normal group with 1 update: glob. Updates glob from 11.0.2 to 11.0.3. Commits. af2e7ce 11.0.3.

v2.3.2

07 Jun 05:36

Choose a tag to compare

Release v2.3.2

Changelog

Patch Changes

Refactor router, fixes #2505 and #2778 (@kfule)

This PR refactors the router code to fix two issues (#2505 and #2778).

v2.3.1

27 May 18:21

Choose a tag to compare

Release v2.3.1

Changelog

Patch Changes

set trailing slash optional in route matching (@touletan)

Regexp has been updated to set trailing slash as optional in route matching. link to issue 3024. New test has been added.

v2.3.0

10 May 21:45

Choose a tag to compare

Release v2.3.0

Changelog

Minor Changes

feat: Make redraws when Promises returned by event handlers are completed (@kfule)

This PR allows redraw on completion of the async event handler. This PR makes redraws when Promises returned by event handlers are completed.

Patch Changes

Allow additional async redraw even if the first redraw is skipped (@kfule)

This PR allows asynchronous redraw processing even if the first redraw is skipped by setting event.redraw=false before await in the async function.

Bump glob from 11.0.1 to 11.0.2 in the normal group (@dependabot[bot])

Bumps the normal group with 1 update: glob. Updates glob from 11.0.1 to 11.0.2. Commits. fd61f24 11.0.2.

Fix badge for build status (@kfule)

The URL for the Shields.io badge for build status has been corrected.

v2.2.15

23 Mar 03:10

Choose a tag to compare

Release v2.2.15

Changelog

Patch Changes

[refactor] Limit the condition of the option tag to selected attribute in isFormAttribute() (@kfule)

This PR limits the evaluation of whether a tag is option to only when setting the selected attribute.

test-perf: Load Benckmark.js first in Node.js (@kfule)

Since Node21, global.navigator has been implemented, and together with browserMock, Benchmark.js incorrectly identifies the execution environment as a browser.