---
title: "github.com/googleapis/gnostic v0.7.0 Breaking Changes"
description: "What each github.com/googleapis/gnostic release removed, renamed or changed: 278 breaking changes in 2 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/googleapis/gnostic
last_updated: 2026-12-04
---

# github.com/googleapis/gnostic breaking changes

github.com/googleapis/gnostic v0.7.0 (September 21, 2023) is its newest release with breaking changes, 276 of them. The first: Signature changed github.com/googleapis/gnostic/cmd/protoc-gen-openapi/generator.NewOpenAPIv3Generator. Every breaking API change we have recorded in github.com/googleapis/gnostic on Go modules: 278 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.7.1`, released August 13, 2025. 

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

- From [v0.6.0](#v-v0-6-0) to [v0.7.0](#v-v0-7-0): 276 breaking changes in 1 version.

## github.com/googleapis/gnostic v0.7.0 breaking changes

github.com/googleapis/gnostic v0.7.0, released September 21, 2023: 276 breaking changes.

- **Signature changed** `github.com/googleapis/gnostic/cmd/protoc-gen-openapi/generator.NewOpenAPIv3Generator`  

Was func NewOpenAPIv3Generator(\*protogen.Plugin, Configuration) \*OpenAPIv3Generator; now func NewOpenAPIv3Generator(\*protogen.Plugin, Configuration, \[\]\*protogen.File) \*OpenAPIv3Generator. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/cmd/protoc-gen-openapi/generator.OpenAPIv3Generator.Run`  

Was func Run() error; now func Run(\*protogen.GeneratedFile) error. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.BoolForScalarNode`  

Was func BoolForScalarNode(\*yaml.Node) (bool, bool); now var BoolForScalarNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.CallExtension`  

Was func CallExtension(\*Context, \*yaml.Node, string) (bool, \*any.Any, error); now var CallExtension. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ClearCaches`  

Was func ClearCaches(); now var ClearCaches. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ClearFileCache`  

Was func ClearFileCache(); now var ClearFileCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ClearInfoCache`  

Was func ClearInfoCache(); now var ClearInfoCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.Context`  

Was type Context struct; now type Context = compiler.Context. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ConvertInterfaceArrayToStringArray`  

Was func ConvertInterfaceArrayToStringArray(\[\]interface{}) \[\]string; now var ConvertInterfaceArrayToStringArray. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.Description`  

Was func Description(interface{}) string; now var Description. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.DisableFileCache`  

Was func DisableFileCache(); now var DisableFileCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.DisableInfoCache`  

Was func DisableInfoCache(); now var DisableInfoCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.Display`  

Was func Display(\*yaml.Node) string; now var Display. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.EnableFileCache`  

Was func EnableFileCache(); now var EnableFileCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.EnableInfoCache`  

Was func EnableInfoCache(); now var EnableInfoCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.Error`  

Was type Error struct; now type Error = compiler.Error. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ErrorGroup`  

Was type ErrorGroup struct; now type ErrorGroup = compiler.ErrorGroup. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ExtensionHandler`  

Was type ExtensionHandler struct; now type ExtensionHandler = compiler.ExtensionHandler. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.FetchFile`  

Was func FetchFile(string) (\[\]byte, error); now var FetchFile. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.FloatForScalarNode`  

Was func FloatForScalarNode(\*yaml.Node) (float64, bool); now var FloatForScalarNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.GetInfoCache`  

Was func GetInfoCache() map\[string\]\*yaml.Node; now var GetInfoCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.IntForScalarNode`  

Was func IntForScalarNode(\*yaml.Node) (int64, bool); now var IntForScalarNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.InvalidKeysInMap`  

Was func InvalidKeysInMap(\*yaml.Node, \[\]string, \[\]\*regexp.Regexp) \[\]string; now var InvalidKeysInMap. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.MapHasKey`  

Was func MapHasKey(\*yaml.Node, string) bool; now var MapHasKey. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.MapValueForKey`  

Was func MapValueForKey(\*yaml.Node, string) \*yaml.Node; now var MapValueForKey. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.Marshal`  

Was func Marshal(\*yaml.Node) \[\]byte; now var Marshal. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.MissingKeysInMap`  

Was func MissingKeysInMap(\*yaml.Node, \[\]string) \[\]string; now var MissingKeysInMap. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewContext`  

Was func NewContext(string, \*yaml.Node, \*Context) \*Context; now var NewContext. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewContextWithExtensions`  

Was func NewContextWithExtensions(string, \*yaml.Node, \*Context, \*\[\]ExtensionHandler) \*Context; now var NewContextWithExtensions. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewError`  

Was func NewError(\*Context, string) \*Error; now var NewError. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewErrorGroupOrNil`  

Was func NewErrorGroupOrNil(\[\]error) error; now var NewErrorGroupOrNil. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewMappingNode`  

Was func NewMappingNode() \*yaml.Node; now var NewMappingNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewNullNode`  

Was func NewNullNode() \*yaml.Node; now var NewNullNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewScalarNodeForBool`  

Was func NewScalarNodeForBool(bool) \*yaml.Node; now var NewScalarNodeForBool. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewScalarNodeForFloat`  

Was func NewScalarNodeForFloat(float64) \*yaml.Node; now var NewScalarNodeForFloat. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewScalarNodeForInt`  

Was func NewScalarNodeForInt(int64) \*yaml.Node; now var NewScalarNodeForInt. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewScalarNodeForString`  

Was func NewScalarNodeForString(string) \*yaml.Node; now var NewScalarNodeForString. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewSequenceNode`  

Was func NewSequenceNode() \*yaml.Node; now var NewSequenceNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.NewSequenceNodeForStringArray`  

Was func NewSequenceNodeForStringArray(\[\]string) \*yaml.Node; now var NewSequenceNodeForStringArray. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.PluralProperties`  

Was func PluralProperties(int) string; now var PluralProperties. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ReadBytesForFile`  

Was func ReadBytesForFile(string) (\[\]byte, error); now var ReadBytesForFile. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ReadInfoForRef`  

Was func ReadInfoForRef(string, string) (\*yaml.Node, error); now var ReadInfoForRef. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.ReadInfoFromBytes`  

Was func ReadInfoFromBytes(string, \[\]byte) (\*yaml.Node, error); now var ReadInfoFromBytes. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.RemoveFromFileCache`  

Was func RemoveFromFileCache(string); now var RemoveFromFileCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.RemoveFromInfoCache`  

Was func RemoveFromInfoCache(string); now var RemoveFromInfoCache. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.SequenceNodeForNode`  

Was func SequenceNodeForNode(\*yaml.Node) (\*yaml.Node, bool); now var SequenceNodeForNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.SortedKeysForMap`  

Was func SortedKeysForMap(\*yaml.Node) \[\]string; now var SortedKeysForMap. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.StringArrayContainsValue`  

Was func StringArrayContainsValue(\[\]string, string) bool; now var StringArrayContainsValue. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.StringArrayContainsValues`  

Was func StringArrayContainsValues(\[\]string, \[\]string) bool; now var StringArrayContainsValues. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)
- **Signature changed** `github.com/googleapis/gnostic/compiler.StringArrayForSequenceNode`  

Was func StringArrayForSequenceNode(\*yaml.Node) \[\]string; now var StringArrayForSequenceNode. [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.7.0)

And 226 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## github.com/googleapis/gnostic v0.6.0 breaking changes

github.com/googleapis/gnostic v0.6.0, released January 7, 2022: 2 breaking changes.

- **Removed** `github.com/googleapis/gnostic/apps/protoc-gen-openapi/generator`  

github.com/googleapis/gnostic/apps/protoc-gen-openapi/generator was removed in github.com/googleapis/gnostic v0.6.0 [pkg.go.dev](https://pkg.go.dev/github.com/googleapis/gnostic@v0.6.0)
- **Renamed** `apps`  

The former apps directory is now cmd, so import paths under apps no longer resolve. Each cmd subdirectory is now a separate module, so update imports and dependencies to match. [github.com](https://github.com/google/gnostic/releases/tag/v0.6.0)

## Related packages

- [github.com/googleapis/enterprise-certificate-proxy](https://since.dev/packages/go/github.com/googleapis/enterprise-certificate-proxy.md)

## 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.
