---
title: "yaegi 2.0.0 Breaking Changes on Homebrew | Since.dev"
description: "What each yaegi release removed, renamed or changed: 18 breaking changes in 1 version on Homebrew, each with its source."
canonical_url: https://since.dev/packages/homebrew/yaegi
last_updated: 2026-12-04
---

# 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

Latest version `2.0.1`, released November 27, 2026. Apache-2.0 license. [Source repository](https://github.com/traefik/yaegi)

## yaegi 2.0.0 breaking changes

yaegi 2.0.0, released November 22, 2026: 18 breaking changes.

- **Removed** `-noautoimport`  

yaegi v2 no longer offers the -noautoimport option. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `-syscall`  

Use -restricted, and -unsafe with it, to control access to unsafe and syscall. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `-unrestricted`  

With no flag yaegi v2 applies no restriction; use -restricted to get import restrictions. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `i.Eval`  

Create a session with vm.NewSession(opts) and evaluate source with s.Eval(ctx, src). [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `interp`  

Load plugins with vm.Load, or host.Load for untrusted code, and call functions by name. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `interp.New`  

Create the loader with vm.Load(vm.Options{...}, importPath) instead of interp.New. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `syscall.Symbols`  

Enable syscall access with the Options.UseUnsafe option. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `unsafe.Symbols`  

Enable unsafe and syscall access with the Options.UseUnsafe option. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `yaegi extract`  

yaegi v2 no longer provides the extract subcommand. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `yaegi run`  

Run a program by passing the file directly to yaegi instead of using yaegi run. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Removed** `yaegi test`  

yaegi v2 no longer provides the test subcommand. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Renamed**  

The module is now github.com/traefik/yaegi/v2, so importers must update their import path and go install command. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Renamed** `Eval`  

Call functions by name with p.Call(ctx, name, args...) rather than evaluating a selector and using reflect.Value.Call. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Behavior changed**  

Without an argument, yaegi v2 no longer reads stdin; pass -i to read stdin instead. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **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](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Behavior changed**  

By default yaegi v2 accepts a program only when go build builds it with the same files. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Behavior changed** `-unsafe`  

\-unsafe with -restricted allows unsafe and syscall; it no longer works as in v0. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)
- **Behavior changed** `print`  

Output from print and println goes to stderr; pass -print-stdout to keep the v0 stdout behavior. [github.com](https://github.com/traefik/yaegi/releases/tag/v2.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
