Skip to content

Commit 6eda2d9

Browse files
Prepares for v0.1.0 release (#20)
This updates deps and the README Signed-off-by: Adrian Cole <adrian@tetrate.io>
1 parent c71351e commit 6eda2d9

File tree

5 files changed

+15
-18
lines changed

5 files changed

+15
-18
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
goimports := golang.org/x/tools/cmd/goimports@v0.1.12
2-
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.0
1+
goimports := golang.org/x/tools/cmd/goimports@v0.2.0
2+
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1
33

44
.PHONY: testdata
55
testdata:

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,14 @@ tinygo build -o examples/router/main.wasm -scheduler=none --no-debug -target=was
4747

4848
There are also more [examples](examples) you may wish to try out!
4949

50-
# WARNING: This is a proof of concept!
50+
# WARNING: This is an early draft
5151

52-
The current maturity phase is proof of concept. Once this has a working example
53-
in [dapr][6], we will go back and revisit things intentionally deferred.
54-
55-
Meanwhile, minor details and test coverage will fall short of production
56-
standards. This helps us deliver the proof-of-concept faster and prevents
57-
wasted energy in the case that the concept isn't acceptable at all.
52+
The current maturity phase is early draft. Once this is integrated with
53+
[coraza][5] and [dapr][6], we can begin discussions about compatability.
5854

5955
[1]: https://github.com/http-wasm
6056
[2]: https://webassembly.org/
6157
[3]: https://wazero.io/languages/tinygo/
6258
[4]: https://github.com/http-wasm/http-wasm-abi
63-
[5]: https://github.com/http-wasm/components-contrib/
59+
[5]: https://github.com/corazawaf/coraza-proxy-wasm
60+
[6]: https://github.com/http-wasm/components-contrib/

internal/e2e/e2e_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"net/http/httptest"
1212
"testing"
1313

14-
httpwasm "github.com/http-wasm/http-wasm-host-go"
1514
"github.com/http-wasm/http-wasm-host-go/api"
15+
"github.com/http-wasm/http-wasm-host-go/handler"
1616
nethttp "github.com/http-wasm/http-wasm-host-go/handler/nethttp"
1717
"github.com/stretchr/testify/require"
1818
"github.com/tetratelabs/wazero"
@@ -156,7 +156,7 @@ func Test_EndToEnd(t *testing.T) {
156156

157157
// Configure and compile the WebAssembly guest binary.
158158
mw, err := nethttp.NewMiddleware(testCtx, tc.bin,
159-
httpwasm.Logger(&logger), httpwasm.ModuleConfig(moduleConfig))
159+
handler.Logger(&logger), handler.ModuleConfig(moduleConfig))
160160
if err != nil {
161161
t.Error(err)
162162
}

internal/e2e/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ go 1.18
44

55
require (
66
github.com/http-wasm/http-wasm-guest-tinygo v0.0.0
7-
github.com/http-wasm/http-wasm-host-go v0.0.0-20221028145646-90b87cdcf397
7+
github.com/http-wasm/http-wasm-host-go v0.1.0
88
github.com/stretchr/testify v1.8.0
9-
github.com/tetratelabs/wazero v1.0.0-pre.2.0.20221028145108-be33572289ac
9+
github.com/tetratelabs/wazero v1.0.0-pre.3
1010
)
1111

1212
require (

internal/e2e/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
22
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
33
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4-
github.com/http-wasm/http-wasm-host-go v0.0.0-20221028145646-90b87cdcf397 h1:ko+oKa1yJ8dA8HbHpnwToS1UNblhK99gwH7nyjuoTp4=
5-
github.com/http-wasm/http-wasm-host-go v0.0.0-20221028145646-90b87cdcf397/go.mod h1:5AL7Wj8tUteOW7j9x02pR6rUdEY+qRZZnbNk4tZfGgU=
4+
github.com/http-wasm/http-wasm-host-go v0.1.0 h1:UAFh62U/9s6jyK0SFj1BfuKX9A1uYMKTipuy7CkJpf4=
5+
github.com/http-wasm/http-wasm-host-go v0.1.0/go.mod h1:wzJRRVIN1Xzdlb/aXbShe9MiOO0BKA9jFVH7lSqKFTs=
66
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
77
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
88
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
99
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
1010
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
1111
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
1212
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
13-
github.com/tetratelabs/wazero v1.0.0-pre.2.0.20221028145108-be33572289ac h1:Z7RvRdSwsQ9exlmujp58VDkZOn/h0TK0Udf4Jhd1hL8=
14-
github.com/tetratelabs/wazero v1.0.0-pre.2.0.20221028145108-be33572289ac/go.mod h1:M8UDNECGm/HVjOfq0EOe4QfCY9Les1eq54IChMLETbc=
13+
github.com/tetratelabs/wazero v1.0.0-pre.3 h1:Z5fbogMUGcERzaQb9mQU8+yJSy0bVvv2ce3dfR4wcZg=
14+
github.com/tetratelabs/wazero v1.0.0-pre.3/go.mod h1:M8UDNECGm/HVjOfq0EOe4QfCY9Les1eq54IChMLETbc=
1515
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1616
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1717
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)