From 97bd55044cf1d7031636aa6546e67c02d9824a77 Mon Sep 17 00:00:00 2001 From: fermybot <103076628+fermybot@users.noreply.github.com> Date: Wed, 17 May 2023 21:37:34 +0000 Subject: [PATCH] feat(templates): update sdk to v1.2.0 Signed-off-by: fermybot <103076628+fermybot@users.noreply.github.com> --- templates/http-go/content/go.mod | 2 +- templates/http-go/content/go.sum | 4 ++-- templates/http-rust/content/Cargo.toml | 2 +- templates/redis-go/content/go.mod | 2 +- templates/redis-go/content/go.sum | 4 ++-- templates/redis-rust/content/Cargo.toml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/http-go/content/go.mod b/templates/http-go/content/go.mod index f655447d3f..340c25f82a 100644 --- a/templates/http-go/content/go.mod +++ b/templates/http-go/content/go.mod @@ -2,6 +2,6 @@ module github.com/{{project-name | snake_case}} go 1.17 -require github.com/fermyon/spin/sdk/go v1.1.0 +require github.com/fermyon/spin/sdk/go v1.2.0 require github.com/julienschmidt/httprouter v1.3.0 // indirect diff --git a/templates/http-go/content/go.sum b/templates/http-go/content/go.sum index 21a08a2f2b..734037ab93 100644 --- a/templates/http-go/content/go.sum +++ b/templates/http-go/content/go.sum @@ -1,4 +1,4 @@ -github.com/fermyon/spin/sdk/go v1.1.0 h1:Ji30FRXJX0ByMZcqmWiOGiPFsValF4cHVGKs1BUkEaI= -github.com/fermyon/spin/sdk/go v1.1.0/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE= +github.com/fermyon/spin/sdk/go v1.2.0 h1:eVTzxFHLgp1fB/N+PZ7hI369RTSWg8wNdtuLueF4Eqk= +github.com/fermyon/spin/sdk/go v1.2.0/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE= github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= diff --git a/templates/http-rust/content/Cargo.toml b/templates/http-rust/content/Cargo.toml index 1d9d3a309f..71984ef408 100644 --- a/templates/http-rust/content/Cargo.toml +++ b/templates/http-rust/content/Cargo.toml @@ -16,7 +16,7 @@ bytes = "1" # General-purpose crate with common HTTP types. http = "0.2" # The Spin SDK. -spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.1.0" } +spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.2.0" } # Crate that generates Rust Wasm bindings from a WebAssembly interface. wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "cb871cfa1ee460b51eb1d144b175b9aab9c50aba" } diff --git a/templates/redis-go/content/go.mod b/templates/redis-go/content/go.mod index 54680485b3..37a874fcb3 100644 --- a/templates/redis-go/content/go.mod +++ b/templates/redis-go/content/go.mod @@ -2,4 +2,4 @@ module github.com/{{project-name | snake_case}} go 1.17 -require github.com/fermyon/spin/sdk/go v1.1.0 +require github.com/fermyon/spin/sdk/go v1.2.0 diff --git a/templates/redis-go/content/go.sum b/templates/redis-go/content/go.sum index ff105bc162..4940f2cbbb 100644 --- a/templates/redis-go/content/go.sum +++ b/templates/redis-go/content/go.sum @@ -1,3 +1,3 @@ -github.com/fermyon/spin/sdk/go v1.1.0 h1:Ji30FRXJX0ByMZcqmWiOGiPFsValF4cHVGKs1BUkEaI= -github.com/fermyon/spin/sdk/go v1.1.0/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE= +github.com/fermyon/spin/sdk/go v1.2.0 h1:eVTzxFHLgp1fB/N+PZ7hI369RTSWg8wNdtuLueF4Eqk= +github.com/fermyon/spin/sdk/go v1.2.0/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= diff --git a/templates/redis-rust/content/Cargo.toml b/templates/redis-rust/content/Cargo.toml index 34ff66a2bd..b8f63fabfd 100644 --- a/templates/redis-rust/content/Cargo.toml +++ b/templates/redis-rust/content/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1" # Crate to simplify working with bytes. bytes = "1" # The Spin SDK. -spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.1.0" } +spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.2.0" } # Crate that generates Rust Wasm bindings from a WebAssembly interface. wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "cb871cfa1ee460b51eb1d144b175b9aab9c50aba" }