Skip to content

Commit

Permalink
Merge pull request #1644 from fermyon/update-sdk-v1.4.0
Browse files Browse the repository at this point in the history
feat(templates): update sdk to v1.4.0
  • Loading branch information
fibonacci1729 authored Jul 11, 2023
2 parents 91e16c5 + 6c75a49 commit b709896
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion templates/http-go/content/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module github.com/{{project-name | snake_case}}

go 1.17

require github.com/fermyon/spin/sdk/go v1.3.0
require github.com/fermyon/spin/sdk/go v1.4.0

require github.com/julienschmidt/httprouter v1.3.0 // indirect
4 changes: 2 additions & 2 deletions templates/http-go/content/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/fermyon/spin/sdk/go v1.3.0 h1:RQ2SKPhe7w/cwIS2wbVhJfqFRZDcZnKq3Oiqs5Lgqvg=
github.com/fermyon/spin/sdk/go v1.3.0/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE=
github.com/fermyon/spin/sdk/go v1.4.0 h1:S0kPUlNBxhZQ1tf4dGD6UgyRqEVRTaa5aaXvvSmytsA=
github.com/fermyon/spin/sdk/go v1.4.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=
6 changes: 2 additions & 4 deletions templates/http-rust/content/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ 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.3.0" }
# FIXME: Remove for 1.4 release
wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "cb871cfa1ee460b51eb1d144b175b9aab9c50aba" }
spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.4.0" }

[workspace]
[workspace]
2 changes: 1 addition & 1 deletion templates/redis-go/content/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/{{project-name | snake_case}}

go 1.17

require github.com/fermyon/spin/sdk/go v1.3.0
require github.com/fermyon/spin/sdk/go v1.4.0
4 changes: 2 additions & 2 deletions templates/redis-go/content/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github.com/fermyon/spin/sdk/go v1.3.0 h1:RQ2SKPhe7w/cwIS2wbVhJfqFRZDcZnKq3Oiqs5Lgqvg=
github.com/fermyon/spin/sdk/go v1.3.0/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE=
github.com/fermyon/spin/sdk/go v1.4.0 h1:S0kPUlNBxhZQ1tf4dGD6UgyRqEVRTaa5aaXvvSmytsA=
github.com/fermyon/spin/sdk/go v1.4.0/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE=
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
4 changes: 1 addition & 3 deletions templates/redis-rust/content/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ anyhow = "1"
# Crate to simplify working with bytes.
bytes = "1"
# The Spin SDK.
spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.3.0" }
# FIXME: Remove for 1.4 release
wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "cb871cfa1ee460b51eb1d144b175b9aab9c50aba" }
spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v1.4.0" }

[workspace]

0 comments on commit b709896

Please sign in to comment.