Skip to content

Commit 6c639b5

Browse files
authored
Merge pull request #22 from scrtlabs/v1.1.10-secret
V1.1.10 secret
2 parents 254687a + c090264 commit 6c639b5

File tree

13 files changed

+68
-52
lines changed

13 files changed

+68
-52
lines changed

CHANGELOG.md

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ and this project adheres to
66

77
## [Unreleased]
88

9+
## [1.1.10] - 2023-05-08
10+
11+
### Fixed
12+
13+
- Querier error parsing ([#8]).
14+
- Fix the `backtraces` feature ([#12]).
15+
16+
### Changed
17+
18+
- Change crates names back to support `crates.io`, while creating a compatability crates to support native libraries ([#17], [#20]).
19+
20+
### Added
21+
22+
- Decimal/Uint 256/512 implementations.
23+
- Support for `gas_evaporate()` ([#13], [#14]).
24+
- Support for `FinalizeTx` ([#15], ([#18])).
25+
- Support for SecretVRF ([#16]).
26+
927
## [1.1.9] - 2022-12-06
1028

1129
### Fixed
@@ -15,9 +33,7 @@ and this project adheres to
1533

1634
[#1527]: https://github.com/CosmWasm/cosmwasm/issues/1527
1735

18-
## [1.1.8] - 2022-11-22
19-
20-
### Fixed
36+
## [1.1.8] - 2022-11-22f
2137

2238
- cosmwasm-schema: Fix type params on `QueryMsg` causing a compiler error when
2339
used with the `QueryResponses` derive macro.
@@ -111,13 +127,15 @@ and this project adheres to
111127
- cosmwasm-schema: Using `QueryResponses` with a `QueryMsg` containing a
112128
unit-like variant will no longer crash. The different variant types in Rust
113129
are:
130+
114131
```rust
115132
enum QueryMsg {
116133
UnitLike,
117134
Tuple(),
118135
Struct {},
119136
}
120137
```
138+
121139
It's still recommended to only use struct variants, even if there are no
122140
fields.
123141

@@ -155,7 +173,7 @@ and this project adheres to
155173
convenience helper for querying `WasmQuery::ContractInfo`.
156174
- cosmwasm-check: This is a new binary package that allows running various
157175
CosmWasm compatibility checks on compiled .wasm files. See
158-
https://crates.io/crates/cosmwasm-check for usage info.
176+
<https://crates.io/crates/cosmwasm-check> for usage info.
159177

160178
[#1334]: https://github.com/CosmWasm/cosmwasm/pull/1334
161179
[#1356]: https://github.com/CosmWasm/cosmwasm/pull/1356
@@ -803,17 +821,17 @@ and this project adheres to
803821
- cosmwasm-std: The arithmetic methods of `Uint128` got a huge overhaul, making
804822
them more consistent with the behaviour of the Rust primitive types. Thank you
805823
[@yihuang] for bringing this up and for the great implementation. ([#853])
806-
1. `Uint128` got the new functions `checked_add`, `checked_sub`,
824+
1. `Uint128` got the new functions `checked_add`, `checked_sub`,
807825
`checked_mul`, `checked_div`, `checked_div_euclid`, `checked_rem`,
808826
`wrapping_add`, `wrapping_sub`, `wrapping_mul`, `wrapping_pow`,
809827
`saturating_add`, `saturating_sub`, `saturating_mul` and `saturating_pow`
810828
which match their equivalent in [u128] except that instead of `Option` the
811829
checked methods return a `Result` with an `OverflowError` or
812830
`DivideByZeroError` that carries a few debug information and can directly
813831
be converted to `StdError`/`StdResult` by using the `?` operator.
814-
2. `StdError::Underflow` and `StdError::underflow` were removed in favour of
832+
2. `StdError::Underflow` and `StdError::underflow` were removed in favour of
815833
`StdError::Overflow`. `StdError::DivideByZeroError` was added.
816-
3. The `-` operator (`impl ops::Sub<Uint128> for Uint128`) was removed
834+
3. The `-` operator (`impl ops::Sub<Uint128> for Uint128`) was removed
817835
because it returned a `StdResult` instead of panicking in the case of an
818836
overflow. This behaviour was inconsistent with `+` and the Rust standard
819837
library. Please use the explicit `*_sub` methods introduced above. In a
@@ -856,7 +874,6 @@ and this project adheres to
856874
[#853]: https://github.com/CosmWasm/cosmwasm/pull/853
857875
[#858]: https://github.com/CosmWasm/cosmwasm/issues/858
858876
[u128]: https://doc.rust-lang.org/std/primitive.u128.html
859-
[#802]: https://github.com/CosmWasm/cosmwasm/pull/802
860877
[#871]: https://github.com/CosmWasm/cosmwasm/issues/871
861878
[#861]: https://github.com/CosmWasm/cosmwasm/issues/861
862879
[#848]: https://github.com/CosmWasm/cosmwasm/issues/848
@@ -873,8 +890,6 @@ and this project adheres to
873890
`String` when there was `HumanAddr` before. There is also the new `Addr`,
874891
which holds a validated immutable human readable address. ([#802])
875892

876-
[#802]: https://github.com/CosmWasm/cosmwasm/pull/802
877-
878893
## [0.13.2] - 2021-01-14
879894

880895
## Changed
@@ -1173,7 +1188,7 @@ and this project adheres to
11731188
## 0.9.0 (2020-06-25)
11741189

11751190
Note: this version contains an API bug and should not be used (see
1176-
https://github.com/CosmWasm/cosmwasm/issues/451).
1191+
<https://github.com/CosmWasm/cosmwasm/issues/451>).
11771192

11781193
**all**
11791194

@@ -1194,9 +1209,11 @@ https://github.com/CosmWasm/cosmwasm/issues/451).
11941209
`StdResult<Vec<u8>>`.
11951210
- Added contract migration mechanism. Contracts can now optionally export a
11961211
`migrate` function with the following definition:
1212+
11971213
```rust
11981214
extern "C" fn migrate(env_ptr: u32, msg_ptr: u32) -> u32;
11991215
```
1216+
12001217
- InitResponse no longer has a data field. We always return the contract address
12011218
in the data field in the blockchain and don't allow you to override. `handle`
12021219
can still make use of the field.
@@ -1539,7 +1556,8 @@ Some main points:
15391556

15401557
All future Changelog entries will reference this base
15411558

1542-
[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/v1.1.9...HEAD
1559+
[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/v1.1.10...HEAD
1560+
[1.1.10]: https://github.com/CosmWasm/cosmwasm/compare/v1.1.9...v1.1.10
15431561
[1.1.9]: https://github.com/CosmWasm/cosmwasm/compare/v1.1.8...v1.1.9
15441562
[1.1.8]: https://github.com/CosmWasm/cosmwasm/compare/v1.1.6...v1.1.8
15451563
[1.1.6]: https://github.com/CosmWasm/cosmwasm/compare/v1.1.5...v1.1.6

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/hackatom/Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/staking/Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/crypto-compat/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
[package]
22
name = "cosmwasm-crypto"
3-
version = "1.1.9"
4-
authors = [
5-
"SCRT Labs <info@scrtlabs.com>",
6-
]
3+
version = "1.1.10"
4+
authors = ["SCRT Labs <info@scrtlabs.com>"]
75
edition = "2021"
86
description = "Compatability layer for contracts that want to use the git versions of the std fork with a patch"
97
repository = "https://github.com/scrtlabs/cosmwasm/tree/secret/packages/crypto"
@@ -17,4 +15,4 @@ default = []
1715
backtraces = []
1816

1917
[dependencies]
20-
secret-cosmwasm-crypto = { path = "../crypto" }
18+
secret-cosmwasm-crypto = { path = "../crypto" }

packages/crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secret-cosmwasm-crypto"
3-
version = "1.1.9"
3+
version = "1.1.10"
44
authors = [
55
"Mauro Lacy <maurolacy@users.noreply.github.com>",
66
"SCRT Labs <info@scrtlabs.com>",

packages/derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cosmwasm-derive"
3-
version = "1.1.9"
3+
version = "1.1.10"
44
authors = ["Simon Warta <webmaster128@users.noreply.github.com>"]
55
edition = "2021"
66
description = "A package for auto-generated code used for CosmWasm contract development. This is shipped as part of cosmwasm-std. Do not use directly."

packages/schema-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cosmwasm-schema-derive"
3-
version = "1.1.9"
3+
version = "1.1.10"
44
authors = ["Tomasz Kurcz <tom@confio.gmbh>"]
55
edition = "2021"
66
description = "Derive macros for cosmwasm-schema"

packages/schema/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cosmwasm-schema"
3-
version = "1.1.9"
3+
version = "1.1.10"
44
authors = [
55
"Simon Warta <webmaster128@users.noreply.github.com>",
66
"Ethan Frey <ethanfrey@users.noreply.github.com>",
@@ -11,7 +11,7 @@ repository = "https://github.com/CosmWasm/cosmwasm/tree/main/packages/schema"
1111
license = "Apache-2.0"
1212

1313
[dependencies]
14-
cosmwasm-schema-derive = { version = "=1.1.9", path = "../schema-derive" }
14+
cosmwasm-schema-derive = { version = "=1.1.10", path = "../schema-derive" }
1515
schemars = "0.8.3"
1616
serde = "1.0"
1717
serde_json = "1.0.40"

packages/std-compat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cosmwasm-std"
3-
version = "1.1.9"
3+
version = "1.1.10"
44
edition = "2021"
55
description = "Compatability layer for contracts that want to use the git versions of the std fork with a patch"
66

0 commit comments

Comments
 (0)