Skip to content

Upgrading github.com/go-openapi/swag 0.23 to 0.24

Unknownv0.23.1 → v0.24.1

Fetching 2 releases from GitHub…1 / 2
UnknownUpgrade verdict

DepDelta is still reading the notes for 1 of 2 releases, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Adds github.com/go-openapi/swag/cmdutils v0.24.0, github.com/go-openapi/swag/conv v0.24.0, github.com/go-openapi/swag/fileutils v0.24.0, github.com/go-openapi/swag/jsonname v0.24.0, github.com/go-openapi/swag/jsonutils v0.24.0, github.com/go-openapi/swag/loading v0.24.0, github.com/go-openapi/swag/mangling v0.24.0, github.com/go-openapi/swag/netutils v0.24.0, github.com/go-openapi/swag/stringutils v0.24.0, github.com/go-openapi/swag/typeutils v0.24.0, github.com/go-openapi/swag/yamlutils v0.24.0.

Drops github.com/mailru/easyjson, gopkg.in/yaml.v3.

Installs 17 packages in all (was 8).

No longer installs github.com/kr/text, gopkg.in/check.v1.

Moves github.com/stretchr/testify v1.10.0 → v1.11.1. Your build may pick other versions.

Generated by DepDelta from published Go source. Not mixed with prose notes.

  • removed: const ErrLoader: swagError
  • removed: const ErrYAML: swagError
  • removed: field CommandLineOptionsGroup.LongDescription: string
  • removed: field CommandLineOptionsGroup.Options: interface{}
  • removed: field CommandLineOptionsGroup.ShortDescription: string
  • removed: field File.Data: multipart.File
  • removed: field File.Header: *multipart.FileHeader
  • removed: field JSONMapItem.Key: string
  • removed: field JSONMapItem.Value: interface{}
  • removed: method File.Close() error
  • removed: method File.Read([]byte) (int, error)
  • removed: method JSONMapItem.MarshalEasyJSON(*jwriter.Writer)
  • removed: method JSONMapItem.MarshalJSON() ([]byte, error)
  • removed: method JSONMapItem.UnmarshalEasyJSON(*jlexer.Lexer)
  • removed: method JSONMapItem.UnmarshalJSON([]byte) error
  • removed: method JSONMapSlice.MarshalEasyJSON(*jwriter.Writer)
  • removed: method JSONMapSlice.MarshalJSON() ([]byte, error)
  • removed: method JSONMapSlice.MarshalYAML() (interface{}, error)
  • removed: method JSONMapSlice.UnmarshalEasyJSON(*jlexer.Lexer)
  • removed: method JSONMapSlice.UnmarshalJSON([]byte) error
  • removed: method NameProvider.GetGoName(interface{}, string) (string, bool)
  • removed: method NameProvider.GetGoNameForType(reflect.Type, string) (string, bool)
  • removed: method NameProvider.GetJSONName(interface{}, string) (string, bool)
  • removed: method NameProvider.GetJSONNameForType(reflect.Type, string) (string, bool)
  • removed: method NameProvider.GetJSONNames(interface{}) []string
  • changed: func LoadFromFileOrHTTP(string) ([]byte, error) → func LoadFromFileOrHTTP(string, ...loading.Option) ([]byte, error)
  • changed: func LoadFromFileOrHTTPWithTimeout(string, time.Duration) ([]byte, error) → func LoadFromFileOrHTTPWithTimeout(string, time.Duration, ...loading.Option) ([]byte, error)
  • changed: func LoadStrategy(string, func(string) ([]byte, error), func(string) ([]byte, error)) func(string) ([]byte, error) → func LoadStrategy(string, func(string) ([]byte, error), func(string) ([]byte, error), ...loading.Option) func(string) ([]byte, error)
  • changed: type CommandLineOptionsGroup: struct → type CommandLineOptionsGroup = cmdutils.CommandLineOptionsGroup
  • changed: type File: struct → type File = fileutils.File
  • changed: type JSONMapItem: struct → type JSONMapItem = jsonutils.JSONMapItem
  • changed: type JSONMapSlice: []JSONMapItem → type JSONMapSlice = jsonutils.JSONMapSlice
  • changed: type NameProvider: struct → type NameProvider = jsonname.NameProvider
  • changed: var GoNamePrefixFunc: func(string) string → var GoNamePrefixFunc: mangling.PrefixFunc