Skip to content

Bump wasmi from 0.40.0 to 0.51.0#2157

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wasmi-0.51.0
Closed

Bump wasmi from 0.40.0 to 0.51.0#2157
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wasmi-0.51.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2025

Copy link
Copy Markdown
Contributor

Bumps wasmi from 0.40.0 to 0.51.0.

Release notes

Sourced from wasmi's releases.

v0.51.0 - 2025-08-13

Final deprecations before Wasmi 1.0.

Changed

  • Redesign the stack limits Config API. #1631
    • Deprecated the StackLimits type and Config::set_stack_limits method.
    • Deprecated the Config::cached_stacks method.
    • Added Config::set_{max_recursion_depth,min_stack_height,max_stack_height} methods.

#1631: wasmi-labs/wasmi#1631

v0.50.0 - 2025-08-11

This is supposedly the final release before Wasmi 1.0.0.

Added

  • This version ships with an entirely new Wasm bytecode to Wasmi bytecode translator.
    • The new translator is ~5-10% faster than the old one.
    • Fuel-metering is no longer an afterthought and thus comes nearly for free.
    • The new codebase is much simpler to maintain and reason about.
    • Wasmi bytecode generated by the new translator shows similar performance as the old one.
    • The new translator provides a lot more information to Wasmi's optimizer which allows for new optimizations in upcoming Wasmi releases.
    • PRs: #1512 #1618
  • Add lowerings for xor instructions when used in comparisons.
    • This reduced the number of Wasmi bytecode instructions by a whopping 20 which might have positive effects on execution performance due to decreased cache pressure.
    • PRs: #1625

Changed

  • Removed Wasmi bytecode instructions that are no longer generated by the new translator.
    • This also reduces the number of Wasmi bytecode instructions by 8 which might have positive effects on execution performance due to decreased cache pressure.
    • PRs: #1623 #1624

Internal

  • Remove some Wasmi dependencies.
    • Namely, smallvec, multi-stash and arrayvec.
    • PRs: #1620 #1626

#1512: wasmi-labs/wasmi#1512 #1618: wasmi-labs/wasmi#1618 #1620: wasmi-labs/wasmi#1620 #1626: wasmi-labs/wasmi#1626 #1625: wasmi-labs/wasmi#1625

... (truncated)

Changelog

Sourced from wasmi's changelog.

0.51.0 - 2025-08-13

Changed

  • Redesign the stack limits Config API. #1631
    • Deprecated the StackLimits type and Config::set_stack_limits method.
    • Deprecated the Config::cached_stacks method.
    • Added Config::set_{max_recursion_depth,min_stack_height,max_stack_height} methods.

#1631: wasmi-labs/wasmi#1631

0.50.0 - 2025-08-11

This is supposedly the final release before Wasmi 1.0.0.

Added

  • This version ships with an entirely new Wasm bytecode to Wasmi bytecode translator.
    • The new translator is ~5-10% faster than the old one.
    • Fuel-metering is no longer an afterthought and thus comes nearly for free.
    • The new codebase is much simpler to maintain and reason about.
    • Wasmi bytecode generated by the new translator shows similar performance as the old one.
    • The new translator provides a lot more information to Wasmi's optimizer which allows for new optimizations in upcoming Wasmi releases.
    • PRs: #1512 #1618
  • Add lowerings for xor instructions when used in comparisons.
    • This reduced the number of Wasmi bytecode instructions by a whopping 20 which might have positive effects on execution performance due to decreased cache pressure.
    • PRs: #1625

Changed

  • Removed Wasmi bytecode instructions that are no longer generated by the new translator.
    • This also reduces the number of Wasmi bytecode instructions by 8 which might have positive effects on execution performance due to decreased cache pressure.
    • PRs: #1623 #1624

Internal

  • Remove some Wasmi dependencies.
    • Namely, smallvec, multi-stash and arrayvec.
    • PRs: #1620 #1626

#1512: wasmi-labs/wasmi#1512 #1618: wasmi-labs/wasmi#1618 #1620: wasmi-labs/wasmi#1620 #1626: wasmi-labs/wasmi#1626 #1625: wasmi-labs/wasmi#1625

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [wasmi](https://github.com/wasmi-labs/wasmi) from 0.40.0 to 0.51.0.
- [Release notes](https://github.com/wasmi-labs/wasmi/releases)
- [Changelog](https://github.com/wasmi-labs/wasmi/blob/main/CHANGELOG.md)
- [Commits](wasmi-labs/wasmi@v0.40.0...v0.51.0)

---
updated-dependencies:
- dependency-name: wasmi
  dependency-version: 0.51.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 13, 2025
@dependabot
dependabot Bot requested a review from tomaka as a code owner August 13, 2025 21:48
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 13, 2025
@dependabot @github

dependabot Bot commented on behalf of github Aug 26, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #2163.

@dependabot dependabot Bot closed this Aug 26, 2025
@dependabot
dependabot Bot deleted the dependabot/cargo/wasmi-0.51.0 branch August 26, 2025 14:46
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants