Skip to content

fix(deps): update module github.com/wasilibs/go-re2 to v1.11.0#60

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-wasilibs-go-re2-1.x
Open

fix(deps): update module github.com/wasilibs/go-re2 to v1.11.0#60
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-wasilibs-go-re2-1.x

Conversation

@renovate

@renovate renovate Bot commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/wasilibs/go-re2 v1.9.0v1.11.0 age confidence

Release Notes

wasilibs/go-re2 (github.com/wasilibs/go-re2)

v1.11.0

Compare Source

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

v1.10.0

Compare Source

This release moves initialization of the wazero runtime from package init to happen during the first regex compilation. It's natural for apps to import go-re2 even for flows that don't require it, for example the --version command of a CLI, so it's best to not slow these down with the initialization. While it can be tricky to do lazy initialization sometimes since we wouldn't want to move heavy operations to the hot path of an application like a server request handler, we believe re2 users will always consider regex compilation too heavy for the hot path already and this should not negatively affect real applications. If it does, please let us know.

It also initializes a compilation cache so when the library is used in an app multiple times on the same machine, subsequent initializations will be much faster.

On a non-technical note, a reminder that this is a volunteer project. While it is understandable to see some loss of good faith due to the recent Go 1.24 incompatibility, we try our best to be responsive to issues. It can affect motivation though to see proposals to remove or demote go-re2 quickly when something happens. This is fine though, all projects need to be very careful of their dependencies. But we do ask when discussing this to at least make sure you present accurate and meaningful information - if anything is ever unclear, please feel free to bring @​anuraaga in to the conversation.

Thank you.

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


Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Sep 29, 2025
@renovate renovate Bot force-pushed the renovate/github.com-wasilibs-go-re2-1.x branch from 52f60af to 3f9cb7b Compare October 9, 2025 12:59
@renovate renovate Bot force-pushed the renovate/github.com-wasilibs-go-re2-1.x branch from 3f9cb7b to 1970a9e Compare December 15, 2025 18:34
@renovate renovate Bot force-pushed the renovate/github.com-wasilibs-go-re2-1.x branch from 1970a9e to b727a44 Compare May 27, 2026 06:50
@renovate renovate Bot changed the title fix(deps): update module github.com/wasilibs/go-re2 to v1.10.0 fix(deps): update module github.com/wasilibs/go-re2 to v1.11.0 May 27, 2026
@renovate

renovate Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.23.4 -> 1.25.0
github.com/tetratelabs/wazero v1.9.0 -> v1.11.0
github.com/wasilibs/wazero-helpers v0.0.0-20240620070341-3dff1577cd52 -> v0.0.0-20250123031827-cd30c44769bb
golang.org/x/sys v0.31.0 -> v0.44.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants