Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/tetratelabs/wazero from 1.3.1 to 1.4.0 #91

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 9, 2023

Bumps github.com/tetratelabs/wazero from 1.3.1 to 1.4.0.

Release notes

Sourced from github.com/tetratelabs/wazero's releases.

v1.4.0

This release is hot 🔥 like a torrid summer sun! 🏖️

Let us all rejoyce: Go 1.21 is out!! We are now promoting the existing CI tests against the Go development branch to tests against the 1.21 stable release (#1616).

As you know may already know, we follow the Go support policy: i.e., we support each major Go release until there are two newer major releases: this means starting with the next release we will drop support for 1.18!

In case you missed it, WasmCon 2023 is taking place in Bellevue, 5-6 September so if you happen to be there, you might bump into @​evacchi, who will be there to deliver a talk on your favorite zero-dependency Wasm runtime for Go (yes, that's wazero).

If you won't be there, don't forget we always hang out in the gophers slack #wazero channel. Note: You may need an invite to join gophers. Regardless, if you like what we are doing, remember to star our repo because that's what the cool kids do 😎

In the meantime, let's take a look at what is new with this release. We have the usual influx of fixes and improvements and a major feature in experimental state: enter the Virtual File System API!

Virtual File System API

Thanks to a final spike before the release @​codefromthecrypt, with a lil' help from @​evacchi, completed this long-awaited feature, closing issue #1013.

It is now possible to configure a virtual file system using a lower-level API under experimental/sysfs, experimental/sys. In order to configure a custom file system you can type:

import(
	"github.com/tetratelabs/wazero/experimental/sys"
	"github.com/tetratelabs/wazero/experimental/sysfs"
)
...
cfg := wazero.NewModuleConfig().
	WithFSConfig(wazero.NewFSConfig().(sysfs.FSConfig).
		WithSysFSMount(<experimentalsys.FS>, <guestPath>))

This lower-level API gives a higher degree of control over lower-level FS operations, as compared to fs.FS, and ensure cross-platform portability. It handles experimentalsys.File instances (instead fs.File or os.File) and returns experimentalsys.Errno in case of error.

For instance, sysfs.DirFS is equivalent to os.DirFS and may be instantiated with:

      fs := sysfs.DirFS("/some/path")

AdaptFS adapts an fs.FS:

		adapted = &sysfs.AdaptFS{FS: fs}

You can also embed most of these types in your struct to provide default behavior to your own implemementation; for instance ReadFS provides a read-only view over a file system; there is also an experimentalsys.UnimplementedFS (returning experimentalsys.ENOSYS for most operations) that should be always embedded in your own implementation for forward compatibility. You can find examples under experimental/sysfs.

... (truncated)

Commits
  • 352b7e2 ci: use the latest Go 1.21 (#1616)
  • 009ee70 Re-introduces internal fsapi.File with non-blocking methods (#1613)
  • 2922b0e Adds support for build on GOOS=js (#1614)
  • edb7bc2 wasi: add more test cases to poll_oneoff, cleanup impl (#1612)
  • 90f58bc compiler: fix compiledModule leak (#1608)
  • 2f2b6a9 sysfs: Makes ReadFS and AdaptFS embeddable (#1607)
  • 1f8c908 Exposes writeable filesystem as experimentalsys.FS (#1605)
  • d88286b sysfs: restore check for EINTR in poll test, fix Windows tests (#1604)
  • 6607078 Supports compilation with GOOS=plan9 (#1603)
  • 2382bbf sysfs: decouples FS and File from the syscall package (#1602)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 9, 2023
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/tetratelabs/wazero/releases)
- [Commits](tetratelabs/wazero@v1.3.1...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/tetratelabs/wazero-1.4.0 branch from f0f3486 to 80d2bc2 Compare August 22, 2023 15:14
@codecov-commenter
Copy link

Codecov Report

Merging #91 (80d2bc2) into main (b7dc25d) will not change coverage.
Report is 2 commits behind head on main.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main      #91   +/-   ##
=======================================
  Coverage   75.41%   75.41%           
=======================================
  Files         110      110           
  Lines       24371    24371           
=======================================
  Hits        18380    18380           
  Misses       4239     4239           
  Partials     1752     1752           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jerbob92 jerbob92 merged commit 4ff2009 into main Aug 22, 2023
97 of 99 checks passed
@jerbob92 jerbob92 deleted the dependabot/go_modules/github.com/tetratelabs/wazero-1.4.0 branch August 22, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants