---
title: "github.com/rogpeppe/go-internal v0.15.0 Breaking Changes"
description: "What each github.com/rogpeppe/go-internal release removed, renamed or changed: 23 breaking changes in 1 version on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/rogpeppe/go-internal
last_updated: 2026-12-04
---

# github.com/rogpeppe/go-internal breaking changes

github.com/rogpeppe/go-internal v0.15.0 (April 17, 2026) is its newest release with breaking changes, 23 of them. The first: Removed github.com/rogpeppe/go-internal/imports.KnownArch. Every breaking API change we have recorded in github.com/rogpeppe/go-internal on Go modules: 23 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 `v1.16.0`, released July 1, 2026. [Source repository](https://github.com/rogpeppe/go-internal)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

## github.com/rogpeppe/go-internal v0.15.0 breaking changes

github.com/rogpeppe/go-internal v0.15.0, released April 17, 2026: 23 breaking changes.

- **Removed** `github.com/rogpeppe/go-internal/imports.KnownArch`  

github.com/rogpeppe/go-internal/imports.KnownArch was removed in github.com/rogpeppe/go-internal v0.15.0 [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Removed** `github.com/rogpeppe/go-internal/imports.KnownOS`  

github.com/rogpeppe/go-internal/imports.KnownOS was removed in github.com/rogpeppe/go-internal v0.15.0 [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/dirhash.Hash`  

Was type Hash func(\[\]string, func(string) (io.ReadCloser, error)) (string, error); now type Hash = dirhash.Hash. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Comment`  

Was type Comment struct; now type Comment = modfile.Comment. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.CommentBlock`  

Was type CommentBlock struct; now type CommentBlock = modfile.CommentBlock. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Comments`  

Was type Comments struct; now type Comments = modfile.Comments. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Exclude`  

Was type Exclude struct; now type Exclude = modfile.Exclude. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Expr`  

Was type Expr interface; now type Expr = modfile.Expr. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.File`  

Was type File struct; now type File = modfile.File. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.FileSyntax`  

Was type FileSyntax struct; now type FileSyntax = modfile.FileSyntax. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Go`  

Was type Go struct; now type Go = modfile.Go. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Line`  

Was type Line struct; now type Line = modfile.Line. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.LineBlock`  

Was type LineBlock struct; now type LineBlock = modfile.LineBlock. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.LParen`  

Was type LParen struct; now type LParen = modfile.LParen. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Module`  

Was type Module struct; now type Module = modfile.Module. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Position`  

Was type Position struct; now type Position = modfile.Position. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Replace`  

Was type Replace struct; now type Replace = modfile.Replace. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.Require`  

Was type Require struct; now type Require = modfile.Require. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.RParen`  

Was type RParen struct; now type RParen = modfile.RParen. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/modfile.VersionFixer`  

Was type VersionFixer func(string, string) (string, error); now type VersionFixer = modfile.VersionFixer. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/module.Version`  

Was type Version struct; now type Version = module.Version. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/txtar.Archive`  

Was type Archive struct; now type Archive = txtar.Archive. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.0)
- **Signature changed** `github.com/rogpeppe/go-internal/txtar.File`  

Was type File struct; now type File = txtar.File. [pkg.go.dev](https://pkg.go.dev/github.com/rogpeppe/go-internal@v0.15.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.
