Skip to content

Commit c3764f5

Browse files
authored
Bump to 31.0.0 (#242)
1 parent e3d52fb commit c3764f5

6 files changed

+20
-20
lines changed

BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ go_library(
6363
],
6464
"//conditions:default": [],
6565
}),
66-
importpath = "github.com/bytecodealliance/wasmtime-go/v30",
66+
importpath = "github.com/bytecodealliance/wasmtime-go/v31",
6767
visibility = ["//visibility:public"],
6868
)
6969

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<a href="https://github.com/bytecodealliance/wasmtime-go/actions?query=workflow%3ACI">
1313
<img src="https://github.com/bytecodealliance/wasmtime-go/workflows/CI/badge.svg" alt="CI status"/>
1414
</a>
15-
<a href="https://pkg.go.dev/github.com/bytecodealliance/wasmtime-go/v30">
16-
<img src="https://godoc.org/github.com/bytecodealliance/wasmtime-go/v30?status.svg" alt="Documentation"/>
15+
<a href="https://pkg.go.dev/github.com/bytecodealliance/wasmtime-go/v31">
16+
<img src="https://godoc.org/github.com/bytecodealliance/wasmtime-go/v31?status.svg" alt="Documentation"/>
1717
</a>
1818
<a href="https://bytecodealliance.github.io/wasmtime-go/coverage.html">
1919
<img src="https://img.shields.io/badge/coverage-main-green" alt="Code Coverage"/>
@@ -25,7 +25,7 @@
2525
## Installation
2626

2727
```sh
28-
go get -u github.com/bytecodealliance/wasmtime-go/v30@v30.0.0
28+
go get -u github.com/bytecodealliance/wasmtime-go/v31@v31.0.0
2929
```
3030

3131
Be sure to check out the [API documentation][api]!
@@ -39,16 +39,16 @@ need to arrange to build Wasmtime and use `CGO_*` env vars to compile correctly.
3939

4040
This project has been tested with Go 1.13 or later.
4141

42-
[api]: https://pkg.go.dev/github.com/bytecodealliance/wasmtime-go/v30
42+
[api]: https://pkg.go.dev/github.com/bytecodealliance/wasmtime-go/v31
4343
[wasmtime]: https://github.com/bytecodealliance/wasmtime
4444

4545
If you are a bazel user, add following to your WORKSPACE file:
4646

4747
```
4848
go_repository(
4949
name = "com_github_bytecodealliance_wasmtime_go",
50-
importpath = "github.com/bytecodealliance/wasmtime-go/v30",
51-
version = "v30.0.0",
50+
importpath = "github.com/bytecodealliance/wasmtime-go/v31",
51+
version = "v31.0.0",
5252
)
5353
```
5454

@@ -61,7 +61,7 @@ package main
6161

6262
import (
6363
"fmt"
64-
"github.com/bytecodealliance/wasmtime-go/v30"
64+
"github.com/bytecodealliance/wasmtime-go/v31"
6565
)
6666

6767
func main() {
@@ -179,8 +179,8 @@ Once merged checkout `main` and do:
179179
$ rm .gitignore
180180
$ python3 ci/download-wasmtime.py
181181
$ git add .
182-
$ git commit -m 'v30.0.0 release artifacts'
183-
$ git tag v30.0.0
182+
$ git commit -m 'v31.0.0 release artifacts'
183+
$ git tag v31.0.0
184184
```
185185

186186
and push up the tag

ci/download-wasmtime.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import glob
1111

1212

13-
version = 'v30.0.2'
13+
version = 'v31.0.0'
1414
urls = [
1515
['wasmtime-{}-x86_64-mingw-c-api.zip', 'windows-x86_64'],
1616
['wasmtime-{}-x86_64-linux-c-api.tar.xz', 'linux-x86_64'],

example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"time"
1212

13-
"github.com/bytecodealliance/wasmtime-go/v30"
13+
"github.com/bytecodealliance/wasmtime-go/v31"
1414
)
1515

1616
// Example of limiting a WebAssembly function's runtime using "fuel consumption".

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/bytecodealliance/wasmtime-go/v30
1+
module github.com/bytecodealliance/wasmtime-go/v31
22

33
go 1.18
44

includebuild.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import (
1212
// included in vendored dependencies.
1313
// Cf. https://github.com/golang/go/issues/26366
1414

15-
_ "github.com/bytecodealliance/wasmtime-go/v30/build/include"
16-
_ "github.com/bytecodealliance/wasmtime-go/v30/build/include/wasmtime"
17-
_ "github.com/bytecodealliance/wasmtime-go/v30/build/linux-aarch64"
18-
_ "github.com/bytecodealliance/wasmtime-go/v30/build/linux-x86_64"
19-
_ "github.com/bytecodealliance/wasmtime-go/v30/build/macos-aarch64"
20-
_ "github.com/bytecodealliance/wasmtime-go/v30/build/macos-x86_64"
21-
_ "github.com/bytecodealliance/wasmtime-go/v30/build/windows-x86_64"
15+
_ "github.com/bytecodealliance/wasmtime-go/v31/build/include"
16+
_ "github.com/bytecodealliance/wasmtime-go/v31/build/include/wasmtime"
17+
_ "github.com/bytecodealliance/wasmtime-go/v31/build/linux-aarch64"
18+
_ "github.com/bytecodealliance/wasmtime-go/v31/build/linux-x86_64"
19+
_ "github.com/bytecodealliance/wasmtime-go/v31/build/macos-aarch64"
20+
_ "github.com/bytecodealliance/wasmtime-go/v31/build/macos-x86_64"
21+
_ "github.com/bytecodealliance/wasmtime-go/v31/build/windows-x86_64"
2222
)

0 commit comments

Comments
 (0)