Bump cosmwasm-std from 1.5.0 to 1.5.4 #2

Open
dependabot[bot] wants to merge 1 commit from dependabot/cargo/cosmwasm-std-1.5.4 into main
dependabot[bot] commented 2024-04-24 13:38:28 -04:00 (Migrated from github.com)

Bumps cosmwasm-std from 1.5.0 to 1.5.4.

Release notes

Sourced from cosmwasm-std's releases.

v1.5.4

The release notes are available in CHANGELOG.md. For upgrading contracts also consult MIGRATING.md.\n\nAttached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release.

v1.5.3

The release notes are available in CHANGELOG.md. For upgrading contracts also consult MIGRATING.md.\n\nAttached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release.

v1.5.2

The release notes are available in CHANGELOG.md. For upgrading contracts also consult MIGRATING.md.\n\nAttached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release.

Changelog

Sourced from cosmwasm-std's changelog.

[1.5.4]

Fixed

  • cosmwasm-std: Fix CWA-2024-002

Added

  • cosmwasm-std: Implement &T + T and &T op &T for Uint64, Uint128, Uint256 and Uint512; improve panic message for Uint64::add and Uint512::add (#2092)
  • cosmwasm-std: Add Uint{64,128,256,512}::strict_add and ::strict_sub which are like the Add/Sub implementations but const. (#2098, #2107)

#2092: CosmWasm/cosmwasm#2092 #2098: CosmWasm/cosmwasm#2098 #2107: CosmWasm/cosmwasm#2107

Changed

  • cosmwasm-std: Let Timestamp::plus_nanos/::minus_nanos use Uint64::strict_add/::strict_sub and document overflows. (#2098, #2107)

#2098: CosmWasm/cosmwasm#2098 #2107: CosmWasm/cosmwasm#2107

Fixed

  • cosmwasm-std: Correctly deallocate vectors that were turned into a Region via release_buffer (#2062)

#2062: CosmWasm/cosmwasm#2062

[1.5.3]

Changed

  • cosmwasm-vm: Read Region from Wasm memory as bytes and convert to Region afterwards (#2005)

#2005: CosmWasm/cosmwasm#2005

[1.5.2] - 2024-01-15

Fixed

  • cosmwasm-vm: Fix memory increase issue (1.3 -> 1.4 regression) by avoiding the use of a long running Wasmer Engine. (#1978)

#1978: CosmWasm/cosmwasm#1978

... (truncated)

Commits
  • 95bfc2d Set version: 1.5.4
  • eff79bc Fix
  • 9f88e7c fix: avoid div with zero in assert_approx_eq (#2101) (#2113)
  • 41b1d16 Rename math functions to strict_add/strict_sub (backport #2107) (#2110)
  • 695970c Use newly added panicking_add/panicking_sub for Timestamp math (backport #209...
  • a39a171 Implement add for Uint* more consistently
  • d65150f Adjust documentation
  • 26d23c2 Update packages/std/src/memory.rs
  • 2b26879 Remove AsRef\<[u8]> bounds
  • 61e12f9 Abstract away the source behind an unsafe trait
  • Additional commits viewable in compare view

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
Bumps [cosmwasm-std](https://github.com/CosmWasm/cosmwasm) from 1.5.0 to 1.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/CosmWasm/cosmwasm/releases">cosmwasm-std's releases</a>.</em></p> <blockquote> <h2>v1.5.4</h2> <p>The release notes are available in <a href="https://github.com/CosmWasm/cosmwasm/blob/v1.5.4/CHANGELOG.md">CHANGELOG.md</a>. For upgrading contracts also consult <a href="https://github.com/CosmWasm/cosmwasm/blob/v1.5.4/MIGRATING.md">MIGRATING.md</a>.\n\nAttached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release.</p> <h2>v1.5.3</h2> <p>The release notes are available in <a href="https://github.com/CosmWasm/cosmwasm/blob/v1.5.3/CHANGELOG.md">CHANGELOG.md</a>. For upgrading contracts also consult <a href="https://github.com/CosmWasm/cosmwasm/blob/v1.5.3/MIGRATING.md">MIGRATING.md</a>.\n\nAttached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release.</p> <h2>v1.5.2</h2> <p>The release notes are available in <a href="https://github.com/CosmWasm/cosmwasm/blob/v1.5.2/CHANGELOG.md">CHANGELOG.md</a>. For upgrading contracts also consult <a href="https://github.com/CosmWasm/cosmwasm/blob/v1.5.2/MIGRATING.md">MIGRATING.md</a>.\n\nAttached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/CosmWasm/cosmwasm/blob/v1.5.4/CHANGELOG.md">cosmwasm-std's changelog</a>.</em></p> <blockquote> <h2>[1.5.4]</h2> <h3>Fixed</h3> <ul> <li>cosmwasm-std: Fix CWA-2024-002</li> </ul> <h3>Added</h3> <ul> <li>cosmwasm-std: Implement <code>&amp;T + T</code> and <code>&amp;T op &amp;T</code> for <code>Uint64</code>, <code>Uint128</code>, <code>Uint256</code> and <code>Uint512</code>; improve panic message for <code>Uint64::add</code> and <code>Uint512::add</code> (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2092">#2092</a>)</li> <li>cosmwasm-std: Add <code>Uint{64,128,256,512}::strict_add</code> and <code>::strict_sub</code> which are like the <code>Add</code>/<code>Sub</code> implementations but <code>const</code>. (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2098">#2098</a>, <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2107">#2107</a>)</li> </ul> <p><a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2092">#2092</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/pull/2092">CosmWasm/cosmwasm#2092</a> <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2098">#2098</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/pull/2098">CosmWasm/cosmwasm#2098</a> <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2107">#2107</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/pull/2107">CosmWasm/cosmwasm#2107</a></p> <h3>Changed</h3> <ul> <li>cosmwasm-std: Let <code>Timestamp::plus_nanos</code>/<code>::minus_nanos</code> use <code>Uint64::strict_add</code>/<code>::strict_sub</code> and document overflows. (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2098">#2098</a>, <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2107">#2107</a>)</li> </ul> <p><a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2098">#2098</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/pull/2098">CosmWasm/cosmwasm#2098</a> <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2107">#2107</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/pull/2107">CosmWasm/cosmwasm#2107</a></p> <h3>Fixed</h3> <ul> <li>cosmwasm-std: Correctly deallocate vectors that were turned into a <code>Region</code> via <code>release_buffer</code> (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2062">#2062</a>)</li> </ul> <p><a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2062">#2062</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/pull/2062">CosmWasm/cosmwasm#2062</a></p> <h2>[1.5.3]</h2> <h3>Changed</h3> <ul> <li>cosmwasm-vm: Read <code>Region</code> from Wasm memory as bytes and convert to <code>Region</code> afterwards (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2005">#2005</a>)</li> </ul> <p><a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2005">#2005</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/pull/2005">CosmWasm/cosmwasm#2005</a></p> <h2>[1.5.2] - 2024-01-15</h2> <h3>Fixed</h3> <ul> <li>cosmwasm-vm: Fix memory increase issue (1.3 -&gt; 1.4 regression) by avoiding the use of a long running Wasmer Engine. (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/1978">#1978</a>)</li> </ul> <p><a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/1978">#1978</a>: <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/1978">CosmWasm/cosmwasm#1978</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/95bfc2dcea012b2a1c45ffb7f607dbf4ff17a87a"><code>95bfc2d</code></a> Set version: 1.5.4</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/eff79bcbe73b61178817aacf0a6449437adad6a9"><code>eff79bc</code></a> Fix</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/9f88e7c3b9c6ca8859827c702774c0db275b61a3"><code>9f88e7c</code></a> fix: avoid div with zero in assert_approx_eq (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2101">#2101</a>) (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2113">#2113</a>)</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/41b1d161962ac374f2cc419763f26784408a72b8"><code>41b1d16</code></a> Rename math functions to strict_add/strict_sub (backport <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2107">#2107</a>) (<a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/2110">#2110</a>)</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/695970c9045a8ad6cdd01a46444c46d01b6360ce"><code>695970c</code></a> Use newly added panicking_add/panicking_sub for Timestamp math (backport <a href="https://redirect.github.com/CosmWasm/cosmwasm/issues/209">#209</a>...</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/a39a171e6ba1007eebd94441e163c2f760aa4815"><code>a39a171</code></a> Implement add for Uint* more consistently</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/d65150fb3d5df20e66102b396b591ebd73374e63"><code>d65150f</code></a> Adjust documentation</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/26d23c2f3592f311611cb126626c2940764a9e2a"><code>26d23c2</code></a> Update packages/std/src/memory.rs</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/2b26879b7cc9284baf1c1135f20f4c958e25048b"><code>2b26879</code></a> Remove <code>AsRef\&lt;[u8]&gt;</code> bounds</li> <li><a href="https://github.com/CosmWasm/cosmwasm/commit/61e12f9be5f61358a1a12acaf51cf7ffa07ec8a0"><code>61e12f9</code></a> Abstract away the source behind an unsafe trait</li> <li>Additional commits viewable in <a href="https://github.com/CosmWasm/cosmwasm/compare/v1.5.0...v1.5.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cosmwasm-std&package-manager=cargo&previous-version=1.5.0&new-version=1.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/orpheuslummis/cosmwasm-babysteps/network/alerts). </details>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/cargo/cosmwasm-std-1.5.4:dependabot/cargo/cosmwasm-std-1.5.4
git switch dependabot/cargo/cosmwasm-std-1.5.4

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/cargo/cosmwasm-std-1.5.4
git switch dependabot/cargo/cosmwasm-std-1.5.4
git rebase main
git switch main
git merge --ff-only dependabot/cargo/cosmwasm-std-1.5.4
git switch dependabot/cargo/cosmwasm-std-1.5.4
git rebase main
git switch main
git merge --no-ff dependabot/cargo/cosmwasm-std-1.5.4
git switch main
git merge --squash dependabot/cargo/cosmwasm-std-1.5.4
git switch main
git merge --ff-only dependabot/cargo/cosmwasm-std-1.5.4
git switch main
git merge dependabot/cargo/cosmwasm-std-1.5.4
git push origin main
Sign in to join this conversation.
No description provided.