Skip to content

Commit

Permalink
Merge pull request #2262 from fermyon/update-sdk-v2.2.0
Browse files Browse the repository at this point in the history
feat(templates): update sdk to v2.2.0
  • Loading branch information
vdice authored Jan 30, 2024
2 parents eebfae1 + 1e21289 commit a0b3181
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 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.20

require github.com/fermyon/spin/sdk/go/v2 main
require github.com/fermyon/spin/sdk/go/v2 v2.2.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.5.1 h1:ROEw/Pooua8WjNzZJesuC4yTc3mGM7xeCIG+QSaQcvg=
github.com/fermyon/spin/sdk/go v1.5.1/go.mod h1:BqOVRDNjh2LtRUX76TF6d0R+GsG7NAncgzcj0Xnjs5I=
github.com/fermyon/spin/sdk/go/v2 v2.2.0 h1:zHZdIqjbUwyxiwdygHItnM+vUUNSZ3CX43jbIUemBI4=
github.com/fermyon/spin/sdk/go/v2 v2.2.0/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=
github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
2 changes: 1 addition & 1 deletion templates/http-rust/content/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ crate-type = ["cdylib"]

[dependencies]
anyhow = "1"
spin-sdk = { git = "https://github.com/fermyon/spin", branch = "main" }
spin-sdk = "2.2.0"

[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.20

require github.com/fermyon/spin/sdk/go/v2 main
require github.com/fermyon/spin/sdk/go/v2 v2.2.0
5 changes: 2 additions & 3 deletions templates/redis-go/content/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
github.com/fermyon/spin/sdk/go v1.5.1 h1:ROEw/Pooua8WjNzZJesuC4yTc3mGM7xeCIG+QSaQcvg=
github.com/fermyon/spin/sdk/go v1.5.1/go.mod h1:BqOVRDNjh2LtRUX76TF6d0R+GsG7NAncgzcj0Xnjs5I=
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
github.com/fermyon/spin/sdk/go/v2 v2.2.0 h1:zHZdIqjbUwyxiwdygHItnM+vUUNSZ3CX43jbIUemBI4=
github.com/fermyon/spin/sdk/go/v2 v2.2.0/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=
2 changes: 1 addition & 1 deletion templates/redis-rust/content/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ anyhow = "1"
# Crate to simplify working with bytes.
bytes = "1"
# The Spin SDK.
spin-sdk = { git = "https://github.com/fermyon/spin", branch = "main" }
spin-sdk = "2.2.0"

[workspace]

0 comments on commit a0b3181

Please sign in to comment.