Skip to content

deps: bump github.com/wasilibs/go-re2 from 1.10.0 to 1.12.0#32

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/wasilibs/go-re2-1.12.0
Closed

deps: bump github.com/wasilibs/go-re2 from 1.10.0 to 1.12.0#32
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/wasilibs/go-re2-1.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 12, 2026

Copy link
Copy Markdown

Bumps github.com/wasilibs/go-re2 from 1.10.0 to 1.12.0.

Release notes

Sourced from github.com/wasilibs/go-re2's releases.

v1.12.0

This is a big release - the default backend has been switched from wazero to wasm2go, which has been available for preview since 1.11.0. Thanks to help from @​ncruces, wasm2go has gotten even faster and now we see it beat wazero in almost all benchmark cases (just 1 exception in compiling a pathological expression where it's a little slower). It is also using less memory and should have improved concurrency, and with less reliance on Go internals, it should have less issues on new Go version releases than we have seen in the past. re2_wazero build tag is preserved for now if you need to fallback - and please file an issue if you do! In a future version it will be retired.

This release also retires support for TinyGo via build tags - if you still use this with TinyGo, it is recommended to pin to an older version.

Full Changelog: wasilibs/go-re2@v1.11.0...v1.12.0

v1.11.0

It has been some time since a release. There haven't been any upstream re2 release, wazero is mostly complete at least for the Wasm features we use, and otherwise the API here is stable so there hasn't been much to do. However recently there has been a major development - @​ncruces has developed wasm2go, a compiler from Wasm directly to Go code. This means instead of wazero's built in compiler which generates machine code from Wasm on the fly, we get to compile the re2 logic directly into a binary using the Go compiler. This should ensure better platform support for go-re2.

The wasm2go backend can be enabled by building with the build tag re2_wasm2go. Note that currently we see about 10-20% slowdown compared to wazero on the most difficult benchmark cases (@​mathetake's wazero compiler is competitive against the Go compiler!) - on the flip side, the overhead for small expressions / inputs that we saw vs the stdlib is reduced. For normal workloads, we expect the performance to be quite similar to the wazero backend - because of the simpler architecture a standard Go source file provides, we will probably replace the default with wasm2go in the future.

If you can, give re2_wasm2go a try and see how it works for you! The feature is fresh off the oven so there may be issues, in particular we could use data on CPU and memory performance with real world workloads.

Full Changelog: wasilibs/go-re2@v1.10.0...v1.11.0

Commits
  • 35b35ec Remove remaining tinygo references (#252)
  • edc64fc Switch default backend to wasm2go (#251)
  • 4482bc1 Update module github.com/curioswitch/go-build to v0.8.1 (#250)
  • 6cb9ea4 Update curioswitch/go-build action to v0.8.1 (#249)
  • 86b24c9 Reduce stack size for wasm2go (#248)
  • a986698 Disable race detector for exhaustive test like Go (#247)
  • 5a1b67d Raise test timeout
  • ec9272b Update module github.com/curioswitch/go-build to v0.7.4 (#244)
  • a42ba24 Update to latest wasm2go (#246)
  • a435f6d Update cross-platform-actions/action action to v1.3.0 (#245)
  • 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 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)

Bumps [github.com/wasilibs/go-re2](https://github.com/wasilibs/go-re2) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/wasilibs/go-re2/releases)
- [Commits](wasilibs/go-re2@v1.10.0...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/wasilibs/go-re2
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 12, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github

dependabot Bot commented on behalf of github Jul 14, 2026

Copy link
Copy Markdown
Author

Dependabot can't resolve your Go dependency files. Because of this, Dependabot cannot update this pull request.

@dependabot @github

dependabot Bot commented on behalf of github Jul 16, 2026

Copy link
Copy Markdown
Author

Looks like github.com/wasilibs/go-re2 is no longer a dependency, so this is no longer needed.

@dependabot dependabot Bot closed this Jul 16, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/wasilibs/go-re2-1.12.0 branch July 16, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants