Skip to content

Conversation

@JAForbes
Copy link
Collaborator

@JAForbes JAForbes commented Sep 3, 2025

Release v2.3.8

Changelog

Patch Changes

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)

Signed-off-by: Olexandr88 <radole1203@gmail.com>
@JAForbes JAForbes requested a review from a team as a code owner September 3, 2025 22:18
Bumps the normal group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: normal
...

Signed-off-by: dependabot[bot] <support@github.com>
@dead-claudia dead-claudia requested a review from a team as a code owner September 4, 2025 19:24
@JAForbes JAForbes added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Sep 4, 2025
kfule and others added 18 commits October 5, 2025 09:38
setImmediate() is not supported in almost all environments except IE11. Furthermore, by not using setImmediate(), the assignment code to callAsync itself, which takes non-browser environments into account, can be removed.
The `window` is no longer used within m.render().
The bundle size can be reduced by removing the intermediate object used to export domFor and delayedRemoval.
Additionally, the file paths used in domFor-related require() calls have been standardized.
…undle by changing the module loading order and variable name

Mithril's internal bundler enables module bundling without generating intermediate variables by carefully managing module loading order and variable names. This commit prevents assigning `mountRedraw`, `decodeURIComponentSave`, and `hyperscript` to intermediate variables.

It also improves readability by moving all member additions for `m` to the end of the file.
Some router-related tests have fixed issues where UTF-8 strings were not decoded.
… types

This will make the results more consistent with decodeURIComponent.
…rect mangling by internal bundler

Because "c" was being improperly mangled and the "c0" suffix was being improperly removed, it was changed to "c[01]" rather than just dropping the literal use.
Also, since the backslash in "\d" is escaped ("\\d"), I simply changed it to "0-9" of the same string length.
…n the internal bundler

This allows regular expression literals to be used even where RegExp() was previously used as a workaround.
Like the issue addressed in #3000, it seemed that the performance of mithril.min.js had degraded again. I tried some compression options for terser and found that disabling the `conditionals` option improved performance and also reduced the bundle size.
It seemed that, for example, `var i` might cause a suffix to be added to the "i" flag within a regular expression literal. So the entire regular expression literal, including flags, is now corrected within the bundler.
Bumps the normal group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 5 to 6
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: normal
...

Signed-off-by: dependabot[bot] <support@github.com>
…cy checks after normalization

This change preallocates the array to the input length and collapses multiple loops into a single pass. Assigning immediately after preallocation improves performance on V8 (generally neutral elsewhere).

Key checks are now performed on normalized vnodes, making the consistency validation more accurate and clarifying the correspondence between error messages and code.
Perf-sensitive comments have been clarified to reflect the original intent of commit 6c562d2.

Behavior is unchanged, except that the timing/order of related errors may differ slightly. All existing tests pass.
Additionally, bundle size is slightly reduced.
Bumps the normal group with 1 update: [rimraf](https://github.com/isaacs/rimraf).


Updates `rimraf` from 6.0.1 to 6.1.0
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](isaacs/rimraf@v6.0.1...v6.1.0)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-version: 6.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: normal
...

Signed-off-by: dependabot[bot] <support@github.com>
@JAForbes JAForbes added the javascript Pull requests that update Javascript code label Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants