Repository: CosmWasm/cosmwasm
Pull request #1507 (2022-11-22 23:41:55)

Merge the 1.1.8 patch


Patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b19dd670..b1953c0b3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,13 @@ and this project adheres to
 
 [#1406]: https://github.com/CosmWasm/cosmwasm/pull/1406
 
+## [1.1.8] - 2022-11-22
+
+### Fixed
+
+- cosmwasm-schema: Fix type params on `QueryMsg` causing a compiler error when
+  used with the `QueryResponses` derive macro.
+
 ## [1.1.6] - 2022-11-16
 
 ### Added
diff --git a/Cargo.lock b/Cargo.lock
index d43b7d1b6..0c1203379 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -246,7 +246,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-check"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "anyhow",
  "clap",
@@ -257,7 +257,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "criterion",
@@ -276,7 +276,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "syn",
@@ -284,7 +284,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "anyhow",
  "cosmwasm-schema-derive",
@@ -298,7 +298,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -307,7 +307,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "chrono",
@@ -329,7 +329,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -337,7 +337,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/burner/Cargo.lock b/contracts/burner/Cargo.lock
index 8ce9fa5f8..3b13fee01 100644
--- a/contracts/burner/Cargo.lock
+++ b/contracts/burner/Cargo.lock
@@ -174,7 +174,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -185,14 +185,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -203,7 +203,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -212,7 +212,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -230,7 +230,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/crypto-verify/Cargo.lock b/contracts/crypto-verify/Cargo.lock
index 45b1e80a9..3a1acbba0 100644
--- a/contracts/crypto-verify/Cargo.lock
+++ b/contracts/crypto-verify/Cargo.lock
@@ -169,7 +169,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -180,14 +180,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -198,7 +198,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -207,7 +207,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -225,7 +225,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -233,7 +233,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/cyberpunk/Cargo.lock b/contracts/cyberpunk/Cargo.lock
index b62dcbdf6..ee02933d9 100644
--- a/contracts/cyberpunk/Cargo.lock
+++ b/contracts/cyberpunk/Cargo.lock
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -203,14 +203,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -221,7 +221,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -230,7 +230,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -248,7 +248,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -256,7 +256,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/floaty/Cargo.lock b/contracts/floaty/Cargo.lock
index 1f2c2202d..e052e68cb 100644
--- a/contracts/floaty/Cargo.lock
+++ b/contracts/floaty/Cargo.lock
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -174,14 +174,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -201,7 +201,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -219,7 +219,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -227,7 +227,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/hackatom/Cargo.lock b/contracts/hackatom/Cargo.lock
index 9cc29d7b9..75a24bb61 100644
--- a/contracts/hackatom/Cargo.lock
+++ b/contracts/hackatom/Cargo.lock
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -174,14 +174,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -201,7 +201,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -219,7 +219,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -227,7 +227,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/ibc-reflect-send/Cargo.lock b/contracts/ibc-reflect-send/Cargo.lock
index fd280678f..a19d75fdc 100644
--- a/contracts/ibc-reflect-send/Cargo.lock
+++ b/contracts/ibc-reflect-send/Cargo.lock
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -174,14 +174,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -201,7 +201,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -219,7 +219,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -227,7 +227,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/ibc-reflect/Cargo.lock b/contracts/ibc-reflect/Cargo.lock
index 198d98063..b637da55a 100644
--- a/contracts/ibc-reflect/Cargo.lock
+++ b/contracts/ibc-reflect/Cargo.lock
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -174,14 +174,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -201,7 +201,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -219,7 +219,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -227,7 +227,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/queue/Cargo.lock b/contracts/queue/Cargo.lock
index bdc63c558..e13c6ab13 100644
--- a/contracts/queue/Cargo.lock
+++ b/contracts/queue/Cargo.lock
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -174,14 +174,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -201,7 +201,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -219,7 +219,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/reflect/Cargo.lock b/contracts/reflect/Cargo.lock
index f1005dd6f..7a03999f6 100644
--- a/contracts/reflect/Cargo.lock
+++ b/contracts/reflect/Cargo.lock
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -174,14 +174,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -201,7 +201,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -219,7 +219,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -227,7 +227,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/contracts/staking/Cargo.lock b/contracts/staking/Cargo.lock
index db94696e4..e8c19be09 100644
--- a/contracts/staking/Cargo.lock
+++ b/contracts/staking/Cargo.lock
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "digest 0.10.3",
  "ed25519-zebra",
@@ -174,14 +174,14 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "syn",
 ]
 
 [[package]]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-schema-derive",
  "schemars",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -201,7 +201,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "base64",
  "cosmwasm-crypto",
@@ -219,7 +219,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "cosmwasm-std",
  "serde",
@@ -227,7 +227,7 @@ dependencies = [
 
 [[package]]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 dependencies = [
  "bitflags",
  "bytecheck",
diff --git a/packages/check/Cargo.toml b/packages/check/Cargo.toml
index 16298994c..c5f406f18 100644
--- a/packages/check/Cargo.toml
+++ b/packages/check/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-check"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Mauro Lacy <mauro@lacy.com.es>"]
 edition = "2021"
 description = "A CLI tool for verifying CosmWasm smart contracts"
@@ -11,5 +11,5 @@ license = "Apache-2.0"
 anyhow = "1.0.57"
 clap = "2"
 colored = "2"
-cosmwasm-vm = { path = "../vm", version = "1.1.6" }
-cosmwasm-std = { path = "../std", version = "1.1.6" }
+cosmwasm-vm = { path = "../vm", version = "1.1.8" }
+cosmwasm-std = { path = "../std", version = "1.1.8" }
diff --git a/packages/crypto/Cargo.toml b/packages/crypto/Cargo.toml
index e8177964f..72435158d 100644
--- a/packages/crypto/Cargo.toml
+++ b/packages/crypto/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-crypto"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Mauro Lacy <maurolacy@users.noreply.github.com>"]
 edition = "2021"
 description = "Crypto bindings for cosmwasm contracts"
diff --git a/packages/derive/Cargo.toml b/packages/derive/Cargo.toml
index 36bbf3838..f50fd0fea 100644
--- a/packages/derive/Cargo.toml
+++ b/packages/derive/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-derive"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Simon Warta <webmaster128@users.noreply.github.com>"]
 edition = "2021"
 description = "A package for auto-generated code used for CosmWasm contract development. This is shipped as part of cosmwasm-std. Do not use directly."
diff --git a/packages/schema-derive/Cargo.toml b/packages/schema-derive/Cargo.toml
index 5476c1fe6..f99e6a9ac 100644
--- a/packages/schema-derive/Cargo.toml
+++ b/packages/schema-derive/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-schema-derive"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Tomasz Kurcz <tom@confio.gmbh>"]
 edition = "2021"
 description = "Derive macros for cosmwasm-schema"
diff --git a/packages/schema-derive/src/query_responses.rs b/packages/schema-derive/src/query_responses.rs
index 7c8d32a64..195bb93d7 100644
--- a/packages/schema-derive/src/query_responses.rs
+++ b/packages/schema-derive/src/query_responses.rs
@@ -58,6 +58,10 @@ pub fn query_responses_derive_impl(input: ItemEnum) -> ItemImpl {
 fn impl_generics(ctx: &Context, generics: &Generics) -> Generics {
     let mut impl_generics = generics.to_owned();
     for param in impl_generics.type_params_mut() {
+        // remove the default type if present, as those are invalid in
+        // a trait implementation
+        param.default = None;
+
         if !ctx.no_bounds_for.contains(&param.ident) {
             param
                 .bounds
diff --git a/packages/schema/Cargo.toml b/packages/schema/Cargo.toml
index efde157f5..543e9c460 100644
--- a/packages/schema/Cargo.toml
+++ b/packages/schema/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-schema"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Simon Warta <webmaster128@users.noreply.github.com>", "Ethan Frey <ethanfrey@users.noreply.github.com>"]
 edition = "2021"
 description = "A dev-dependency for CosmWasm contracts to generate JSON Schema files."
@@ -8,7 +8,7 @@ repository = "https://github.com/CosmWasm/cosmwasm/tree/main/packages/schema"
 license = "Apache-2.0"
 
 [dependencies]
-cosmwasm-schema-derive = { version = "=1.1.6", path = "../schema-derive" }
+cosmwasm-schema-derive = { version = "=1.1.8", path = "../schema-derive" }
 schemars = "0.8.3"
 serde = "1.0"
 serde_json = "1.0.40"
diff --git a/packages/std/Cargo.toml b/packages/std/Cargo.toml
index 5d7475d06..5d8f1d15f 100644
--- a/packages/std/Cargo.toml
+++ b/packages/std/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-std"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
 edition = "2021"
 description = "Standard library for Wasm based smart contracts on Cosmos blockchains"
@@ -42,7 +42,7 @@ cosmwasm_1_2 = []
 
 [dependencies]
 base64 = "0.13.0"
-cosmwasm-derive = { path = "../derive", version = "1.1.6" }
+cosmwasm-derive = { path = "../derive", version = "1.1.8" }
 derivative = "2"
 forward_ref = "1"
 hex = "0.4"
@@ -54,7 +54,7 @@ thiserror = "1.0.13"
 uint = "0.9.3"
 
 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-cosmwasm-crypto = { path = "../crypto", version = "1.1.6" }
+cosmwasm-crypto = { path = "../crypto", version = "1.1.8" }
 
 [dev-dependencies]
 cosmwasm-schema = { path = "../schema" }
diff --git a/packages/storage/Cargo.toml b/packages/storage/Cargo.toml
index 38c7b5fab..48b4fc5b3 100644
--- a/packages/storage/Cargo.toml
+++ b/packages/storage/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-storage"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
 edition = "2021"
 description = "CosmWasm library with useful helpers for Storage patterns"
@@ -16,5 +16,5 @@ iterator = ["cosmwasm-std/iterator"]
 
 [dependencies]
 # Uses the path when built locally; uses the given version from crates.io when published
-cosmwasm-std = { path = "../std", version = "1.1.6", default-features = false }
+cosmwasm-std = { path = "../std", version = "1.1.8", default-features = false }
 serde = { version = "1.0.103", default-features = false, features = ["derive", "alloc"] }
diff --git a/packages/vm/Cargo.toml b/packages/vm/Cargo.toml
index adaadd9f1..3685730c5 100644
--- a/packages/vm/Cargo.toml
+++ b/packages/vm/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "cosmwasm-vm"
-version = "1.1.6"
+version = "1.1.8"
 authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
 edition = "2021"
 description = "VM bindings to run cosmwams contracts"
@@ -41,8 +41,8 @@ required-features = ["iterator"]
 [dependencies]
 clru = "0.4.0"
 # Uses the path when built locally; uses the given version from crates.io when published
-cosmwasm-std = { path = "../std", version = "1.1.6", default-features = false }
-cosmwasm-crypto = { path = "../crypto", version = "1.1.6" }
+cosmwasm-std = { path = "../std", version = "1.1.8", default-features = false }
+cosmwasm-crypto = { path = "../crypto", version = "1.1.8" }
 hex = "0.4"
 parity-wasm = "0.42"
 schemars = "0.8.3"


Test patch:
diff --git a/packages/schema/tests/idl.rs b/packages/schema/tests/idl.rs
index e09bc571f..5f1f8b036 100644
--- a/packages/schema/tests/idl.rs
+++ b/packages/schema/tests/idl.rs
@@ -124,6 +124,13 @@ where
     QueryData { data: T },
 }
 
+#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema, QueryResponses)]
+#[serde(rename_all = "snake_case")]
+pub enum QueryMsgWithGenericsAndDefaultType<T = u128> {
+    #[returns(u128)]
+    QueryData { data: T },
+}
+
 #[test]
 fn test_query_responses_generics() {
     let api_str = generate_api! {