yaegi breaking changes
yaegi 2.0.0 (November 22, 2026) is its newest release with breaking changes, 18 of them. The first: Removed -noautoimport. Every breaking API change we have recorded in yaegi on Homebrew: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.0.1, released November 27, 2026. Apache-2.0 license. Source repository
yaegi 2.0.0 breaking changes
- Removed
-noautoimport
yaegi v2 no longer offers the -noautoimport option. github.com - Removed
-syscall
Use -restricted, and -unsafe with it, to control access to unsafe and syscall. github.com - Removed
-unrestricted
With no flag yaegi v2 applies no restriction; use -restricted to get import restrictions. github.com - Removed
i.Eval
Create a session with vm.NewSession(opts) and evaluate source with s.Eval(ctx, src). github.com - Removed
interp
Load plugins with vm.Load, or host.Load for untrusted code, and call functions by name. github.com - Removed
interp.New
Create the loader with vm.Load(vm.Options{...}, importPath) instead of interp.New. github.com - Removed
syscall.Symbols
Enable syscall access with the Options.UseUnsafe option. github.com - Removed
unsafe.Symbols
Enable unsafe and syscall access with the Options.UseUnsafe option. github.com - Removed
yaegi extract
yaegi v2 no longer provides the extract subcommand. github.com - Removed
yaegi run
Run a program by passing the file directly to yaegi instead of using yaegi run. github.com - Removed
yaegi test
yaegi v2 no longer provides the test subcommand. github.com - Renamed
The module is now github.com/traefik/yaegi/v2, so importers must update their import path and go install command. github.com - Renamed
Eval
Call functions by name with p.Call(ctx, name, args...) rather than evaluating a selector and using reflect.Value.Call. github.com - Behavior changed
Without an argument, yaegi v2 no longer reads stdin; pass -i to read stdin instead. github.com - Behavior changed
yaegi v2.0.0 supports only Go 1.26 and Go 1.27; a host built with another Go release fails to build. github.com - Behavior changed
By default yaegi v2 accepts a program only when go build builds it with the same files. github.com - Behavior changed
-unsafe
-unsafe with -restricted allows unsafe and syscall; it no longer works as in v0. github.com - Behavior changed
print
Output from print and println goes to stderr; pass -print-stdout to keep the v0 stdout behavior. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.