Skip to content

Upgrading golang.org/x/mod 0.1 to 0.2

Unknownv0.1.0 → v0.2.0

Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, 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 golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e, golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898.

Moves golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529 → v0.0.0-20191011191535-87dc89f01550. Your build may pick other versions.

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

  • added: field Comment.Start: Position
  • added: field Comment.Suffix: bool
  • added: field Comment.Token: string
  • added: field CommentBlock.Comments: embedded Comments
  • added: field CommentBlock.Start: Position
  • added: field Comments.After: []Comment
  • added: field Comments.Before: []Comment
  • added: field Comments.Suffix: []Comment
  • added: field Error.Err: error
  • added: field Error.ModPath: string
  • added: field Error.Verb: string
  • added: field Exclude.Mod: module.Version
  • added: field Exclude.Syntax: *Line
  • added: field File.Exclude: []*Exclude
  • added: field File.Go: *Go
  • added: field File.Module: *Module
  • added: field File.Replace: []*Replace
  • added: field File.Require: []*Require
  • added: field File.Syntax: *FileSyntax
  • added: field FileSyntax.Comments: embedded Comments
  • added: field FileSyntax.Name: string
  • added: field FileSyntax.Stmt: []Expr
  • added: field Go.Syntax: *Line
  • added: field Go.Version: string
  • added: field LParen.Comments: embedded Comments
  • added: field LParen.Pos: Position
  • added: field Line.Comments: embedded Comments
  • added: field Line.End: Position
  • added: field Line.InBlock: bool
  • added: field Line.Start: Position
  • added: field Line.Token: []string
  • added: field LineBlock.Comments: embedded Comments
  • added: field LineBlock.LParen: LParen
  • added: field LineBlock.Line: []*Line
  • added: field LineBlock.RParen: RParen
  • added: field LineBlock.Start: Position
  • added: field LineBlock.Token: []string
  • added: field Module.Mod: module.Version
  • added: field Module.Syntax: *Line
  • added: field Position.Byte: int
  • added: field Position.Line: int
  • added: field Position.LineRune: int
  • added: field RParen.Comments: embedded Comments
  • added: field RParen.Pos: Position
  • added: field Replace.New: module.Version
  • added: field Replace.Old: module.Version
  • added: field Replace.Syntax: *Line
  • added: field Require.Indirect: bool
  • added: field Require.Mod: module.Version
  • added: field Require.Syntax: *Line
  • added: func AutoQuote(string) string
  • added: func Format(*FileSyntax) []byte
  • added: func IsDirectoryPath(string) bool
  • added: func ModulePath([]byte) string
  • added: func MustQuote(string) bool
  • added: func Parse(string, []byte, VersionFixer) (*File, error)
  • added: func ParseLax(string, []byte, VersionFixer) (*File, error)
  • added: method CommentBlock.Span() (Position, Position)
  • added: method Comments.Comment() *Comments
  • added: method Error.Error() string
  • added: method Error.Unwrap() error
  • added: method Expr.Comment() *Comments
  • added: method Expr.Span() (Position, Position)
  • added: method File.AddComment(string)
  • added: method File.AddExclude(string, string) error
  • added: method File.AddGoStmt(string) error
  • added: method File.AddModuleStmt(string) error
  • added: method File.AddNewRequire(string, string, bool)
  • added: method File.AddReplace(string, string, string, string) error
  • added: method File.AddRequire(string, string) error
  • added: method File.Cleanup()
  • added: method File.DropExclude(string, string) error
  • added: method File.DropReplace(string, string) error
  • added: method File.DropRequire(string) error
  • added: method File.Format() ([]byte, error)
  • added: method File.SetRequire([]*Require)
  • added: method File.SortBlocks()
  • added: method FileSyntax.Cleanup()
  • added: method FileSyntax.Span() (Position, Position)
  • added: method LParen.Span() (Position, Position)
  • added: method Line.Span() (Position, Position)
  • added: method LineBlock.Span() (Position, Position)
  • added: method RParen.Span() (Position, Position)
  • added: type Comment: struct
  • added: type CommentBlock: struct
  • added: type Comments: struct
  • added: type Error: struct
  • added: type Exclude: struct
  • added: type Expr: interface
  • added: type File: struct
  • added: type FileSyntax: struct
  • added: type Go: struct
  • added: type LParen: struct
  • added: type Line: struct
  • added: type LineBlock: struct
  • added: type Module: struct
  • added: type Position: struct
  • added: type RParen: struct
  • added: type Replace: struct
  • added: type Require: struct
  • added: type VersionFixer: func(path, version string) (string, error)
  • added: var GoVersionRE
  • added: field InvalidVersionError.Err: error
  • added: field InvalidVersionError.Pseudo: bool
  • added: field InvalidVersionError.Version: string
  • added: field ModuleError.Err: error
  • added: field ModuleError.Path: string
  • added: field ModuleError.Version: string
  • added: func CheckPathMajor(string, string) error
  • added: func PathMajorPrefix(string) string
  • added: func VersionError(Version, error) error
  • added: method InvalidVersionError.Error() string
  • added: method InvalidVersionError.Unwrap() error
  • added: method ModuleError.Error() string
  • added: method ModuleError.Unwrap() error
  • added: type InvalidVersionError: struct
  • added: type ModuleError: struct
  • changed: method TestServer.Lookup(context.Context, string) (int64, error) → method TestServer.Lookup(context.Context, module.Version) (int64, error)
  • added: const MaxGoMod
  • added: const MaxLICENSE
  • added: const MaxZipFile
  • added: func Create(io.Writer, module.Version, []File) (error)
  • added: func CreateFromDir(io.Writer, module.Version, string) (error)
  • added: func Unzip(string, module.Version, string) (error)
  • added: method File.Lstat() (os.FileInfo, error)
  • added: method File.Open() (io.ReadCloser, error)
  • added: method File.Path() string
  • added: type File: interface