Skip to content

Commit 5ceed06

Browse files
authored
Change the default Wasm runtime to Envoy 1.17 from wasm:1.15 (#114)
Signed-off-by: Takaya Saeki <[email protected]>
1 parent a3c84dc commit 5ceed06

File tree

31 files changed

+50
-39
lines changed

31 files changed

+50
-39
lines changed

data/extension/init/templates/rust/envoy.access_loggers/default/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories = ["wasm"]
1616
crate-type = ["rlib"]
1717

1818
[dependencies]
19-
envoy = { package = "envoy-sdk", version = "^0.1" }
19+
envoy = { package = "envoy-sdk", version = "^0.2.0-alpha.1" }
2020
serde = { version = "^1.0", features = ["derive"] }
2121
serde_json = "^1.0"
2222
chrono = "^0.4"

data/extension/init/templates/rust/envoy.access_loggers/default/wasm/module/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ crate-type = ["cdylib"]
1414

1515
[dependencies]
1616
envoy-sample-access-logger = { path = "../.." }
17-
envoy = { package = "envoy-sdk", version = "^0.1" }
17+
envoy = { package = "envoy-sdk", version = "^0.2.0-alpha.1" }

data/extension/init/templates/rust/envoy.filters.http/default/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories = ["wasm"]
1616
crate-type = ["rlib"]
1717

1818
[dependencies]
19-
envoy = { package = "envoy-sdk", version = "^0.1" }
19+
envoy = { package = "envoy-sdk", version = "^0.2.0-alpha.1" }
2020
serde = { version = "^1.0", features = ["derive"] }
2121
serde_json = "^1.0"
2222
chrono = "^0.4"

data/extension/init/templates/rust/envoy.filters.http/default/wasm/module/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ crate-type = ["cdylib"]
1414

1515
[dependencies]
1616
envoy-sample-http-filter = { path = "../.." }
17-
envoy = { package = "envoy-sdk", version = "^0.1" }
17+
envoy = { package = "envoy-sdk", version = "^0.2.0-alpha.1" }

data/extension/init/templates/rust/envoy.filters.network/default/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories = ["wasm"]
1616
crate-type = ["rlib"]
1717

1818
[dependencies]
19-
envoy = { package = "envoy-sdk", version = "^0.1" }
19+
envoy = { package = "envoy-sdk", version = "^0.2.0-alpha.1" }
2020
serde = { version = "^1.0", features = ["derive"] }
2121
serde_json = "^1.0"
2222
chrono = "^0.4"

data/extension/init/templates/rust/envoy.filters.network/default/wasm/module/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ crate-type = ["cdylib"]
1414

1515
[dependencies]
1616
envoy-sample-network-filter = { path = "../.." }
17-
envoy = { package = "envoy-sdk", version = "^0.1" }
17+
envoy = { package = "envoy-sdk", version = "^0.2.0-alpha.1" }

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go 1.13
44

55
require (
66
bitbucket.org/creachadair/shell v0.0.6
7+
github.com/Masterminds/semver v1.5.0
78
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
89
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
910
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd h1:sjQovDkwrZp
5454
github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd/go.mod h1:64YHyfSL2R96J44Nlwm39UHepQbyR5q10x7iYa1ks2E=
5555
github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc=
5656
github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
57+
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
58+
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
5759
github.com/Masterminds/sprig v2.14.1+incompatible h1:rTHERm50Xp1Cbb8x7xBCeDp//jMMqqR44EWw7KwSXUQ=
5860
github.com/Masterminds/sprig v2.14.1+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
5961
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=

pkg/cmd/extension/build/testdata/workspace/.getenvoy/extension/extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ language: rust
1111
# Runtime the extension is being developed against.
1212
runtime:
1313
envoy:
14-
version: wasm:1.15
14+
version: standard:1.17.0

pkg/cmd/extension/example/testdata/workspace1/.getenvoy/extension/extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ language: rust
1111
# Runtime the extension is being developed against.
1212
runtime:
1313
envoy:
14-
version: wasm:1.15
14+
version: standard:1.17.0

0 commit comments

Comments
 (0)