Hiya folks, time to celebrate the new wazero release again! The last release 1.7.0 was such a blast so this new 1.7.1 is a little bit boring compared to it, but it still has some niceties!
This patch release has basically two major things: various bug fixes and experimental memory allocation API!
Bug fixes
Since the release of 1.7.0, several community members (@jerbob92, @anuraaga and @davidmdm) tried the new optimizing compiler and reported some bugs. @mathetake and @evacchi worked on the fix and all the reported bugs were removed. Notably, the arm64 compiler has become more robust against huge binaries like the ones produced by the Go official compiler, in addition to a corner case in the bounds check elimination optimization pass applied to both arm64 and amd64.
Experimental Memory Allocator API
The experimental Memory Allocator API has been added to our experimental friends by @ncruces in collaboration with @achille-roussel. This allows you to control how to allocate the linear memory of Wasm instance. For instance, you can use a memory mapped buffer as a Wasm linear memory. This is highly advanced feature hence requires a lot of detailed knowledge on how Wasm module works. If this is something interesting to you, we highly recommend to talk to @ncruces who is an expert in here ;)
Other Contributions
it is now possible to successfully build wazero with TinyGo compiler thanks to the contributions by @deadprogram and @orsinium
@ncruces helped clean up the dead codes and experimental packages.
Commits
55f21b8 experimental: custom memory allocator API tweaks (#2186)
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all group with 3 updates: github.com/sashabaranov/go-openai, github.com/tetratelabs/wazero and github.com/wI2L/jsondiff.
Updates
github.com/sashabaranov/go-openai
from 1.21.0 to 1.22.0Release notes
Sourced from github.com/sashabaranov/go-openai's releases.
Commits
c6a63ed
Add PromptFilterResult (#702)a42f519
[New_Features] Adds recently added Assistant cost saving parameters (#710)2446f08
Bump GitHub workflow actions to latest versions (#707)ea551f4
Fixing typos (#706)Updates
github.com/tetratelabs/wazero
from 1.7.0 to 1.7.1Release notes
Sourced from github.com/tetratelabs/wazero's releases.
Commits
55f21b8
experimental: custom memory allocator API tweaks (#2186)e9bea55
Updates CODEOWNERS (#2185)a3d0d96
Cleanups ctxkey package (#2184)378956d
compiler(arm64): fixes B.cond offset limits (#2183)a0fbb18
experimental: configure custom memory allocator (#2177)891e470
compiler(arm64): fixes overflow in huge executable relocations (#2181)f31be30
Fix WithSnapshotter doc to reference non-deprecated method (#2180)c6a907b
experimental: cleanup context keys (#2175)59faf80
threads: remove dead code (#2176)775330a
Reverts the public Memory.Pages API (#2174)Updates
github.com/wI2L/jsondiff
from 0.5.1 to 0.5.2Release notes
Sourced from github.com/wI2L/jsondiff's releases.
Commits
5b9121a
chore: update gjson modulee4e08e2
fix: remove impossible condition in apply func91dfcd6
docs(README): remove warning about LCS and Factorize optionsDependabot 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