Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down