diff --git a/CHANGELOG.md b/CHANGELOG.md index f81b686..a26b715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ## [Unreleased] +## [0.17.1] - 2025-10-22 + +- Bump Rust to 1.90.0. ([#168]) +- Bump binaryen to 124. ([#168]) + +[#168]: https://github.com/CosmWasm/optimizer/pull/168 + ## [0.17.0] - 2025-06-26 - Bump Rust to 1.86.0. ([#168]) @@ -293,7 +300,8 @@ sources and should not be used. 0.7.0, 0.7.1 and 0.7.3 unaffected. - Bump emscripten to 1.39.8-fastcomp - Bump Rust to 1.41.0 -[unreleased]: https://github.com/CosmWasm/rust-optimizer/compare/v0.17.0...HEAD +[unreleased]: https://github.com/CosmWasm/rust-optimizer/compare/v0.17.1...HEAD +[0.17.1]: https://github.com/CosmWasm/rust-optimizer/compare/v0.17.0...v0.17.1 [0.17.0]: https://github.com/CosmWasm/rust-optimizer/compare/v0.16.1...v0.17.0 [0.16.1]: https://github.com/CosmWasm/rust-optimizer/compare/v0.16.0...v0.16.1 [0.16.0]: https://github.com/CosmWasm/rust-optimizer/compare/v0.15.1...v0.16.0 diff --git a/Dockerfile b/Dockerfile index b78751a..8ab616c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM rust:1.86.0-alpine AS targetarch +FROM rust:1.90.0-alpine AS targetarch ARG BUILDPLATFORM ARG TARGETPLATFORM ARG TARGETARCH -ARG BINARYEN_VERSION="version_116" +ARG BINARYEN_VERSION="version_124" RUN echo "Running on $BUILDPLATFORM, building for $TARGETPLATFORM" @@ -74,7 +74,7 @@ RUN cd bob_the_builder && \ # # rust-optimizer target # -FROM rust:1.86.0-alpine AS rust-optimizer +FROM rust:1.90.0-alpine AS rust-optimizer # Download the crates.io index using the new sparse protocol to improve performance ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Makefile b/Makefile index 2356003..85be0e3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ DN_OPTIMIZER := "cosmwasm/optimizer" DN_RUST_OPTIMIZER := "cosmwasm/rust-optimizer" DN_WORKSPACE_OPTIMIZER := "cosmwasm/workspace-optimizer" -DOCKER_TAG := 0.17.0 +DOCKER_TAG := 0.17.1 # Native arch BUILDARCH := $(shell uname -m) diff --git a/README.md b/README.md index ac614d9..a649de0 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ you to produce a smaller build that works with the cosmwasm integration tests docker run --rm -v "$(pwd)":/code \ --mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ - cosmwasm/optimizer:0.17.0 + cosmwasm/optimizer:0.17.1 ``` Demo this with `cosmwasm-examples` (going into eg. `erc20` subdir before running), @@ -63,7 +63,7 @@ To compile all contracts in the workspace deterministically, you can run: docker run --rm -v "$(pwd)":/code \ --mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ - cosmwasm/optimizer:0.17.0 + cosmwasm/optimizer:0.17.1 ``` The downside is that to verify one contract in the workspace, you need to compile them @@ -89,7 +89,7 @@ case, we can use the optimize.sh command: docker run --rm -v "$(pwd)":/code \ --mount type=volume,source="devcontract_cache_burner",target=/code/contracts/burner/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ - cosmwasm/optimizer:0.17.0 ./contracts/burner + cosmwasm/optimizer:0.17.1 ./contracts/burner ``` ## Caches