Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: audit for Go 1.16 go1.16.txt #43407

Closed
dmitshur opened this issue Dec 28, 2020 · 12 comments
Closed

api: audit for Go 1.16 go1.16.txt #43407

dmitshur opened this issue Dec 28, 2020 · 12 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Milestone

Comments

@dmitshur
Copy link
Contributor

dmitshur commented Dec 28, 2020

next.txt was copied to go1.16.txt in CL 276454 (with a followup in CL 278992).
This is a tracking issue for doing an audit of API additions for Go 1.16.

New API changes for Go 1.16

archive/zip

(accepted proposal #41190:)

  • pkg archive/zip, method (*ReadCloser) Open(string) (fs.File, error)
  • pkg archive/zip, method (*Reader) Open(string) (fs.File, error)

crypto/x509

(CL 262343, issue #30322:)

  • pkg crypto/x509, method (SystemRootsError) Unwrap() error

(accepted proposal #37172, reverted:)

  • pkg crypto/x509, type CertificateRequest struct, BasicConstraintsValid bool
  • pkg crypto/x509, type CertificateRequest struct, ExtKeyUsage []ExtKeyUsage
  • pkg crypto/x509, type CertificateRequest struct, IsCA bool
  • pkg crypto/x509, type CertificateRequest struct, KeyUsage KeyUsage
  • pkg crypto/x509, type CertificateRequest struct, MaxPathLen int
  • pkg crypto/x509, type CertificateRequest struct, MaxPathLenZero bool
  • pkg crypto/x509, type CertificateRequest struct, PolicyIdentifiers []asn1.ObjectIdentifier
  • pkg crypto/x509, type CertificateRequest struct, SubjectKeyId []uint8
  • pkg crypto/x509, type CertificateRequest struct, UnknownExtKeyUsage []asn1.ObjectIdentifier

debug/elf

(CL 255138:)

  • pkg debug/elf, const DT_ADDRRNGHI = 1879047935
  • pkg debug/elf, const DT_ADDRRNGHI DynTag
  • pkg debug/elf, const DT_ADDRRNGLO = 1879047680
  • pkg debug/elf, const DT_ADDRRNGLO DynTag
  • pkg debug/elf, const DT_AUDIT = 1879047932
  • pkg debug/elf, const DT_AUDIT DynTag
  • pkg debug/elf, const DT_AUXILIARY = 2147483645
  • pkg debug/elf, const DT_AUXILIARY DynTag
  • pkg debug/elf, const DT_CHECKSUM = 1879047672
  • pkg debug/elf, const DT_CHECKSUM DynTag
  • pkg debug/elf, const DT_CONFIG = 1879047930
  • pkg debug/elf, const DT_CONFIG DynTag
  • pkg debug/elf, const DT_DEPAUDIT = 1879047931
  • pkg debug/elf, const DT_DEPAUDIT DynTag
  • pkg debug/elf, const DT_FEATURE = 1879047676
  • pkg debug/elf, const DT_FEATURE DynTag
  • pkg debug/elf, const DT_FILTER = 2147483647
  • pkg debug/elf, const DT_FILTER DynTag
  • pkg debug/elf, const DT_FLAGS_1 = 1879048187
  • pkg debug/elf, const DT_FLAGS_1 DynTag
  • pkg debug/elf, const DT_GNU_CONFLICT = 1879047928
  • pkg debug/elf, const DT_GNU_CONFLICT DynTag
  • pkg debug/elf, const DT_GNU_CONFLICTSZ = 1879047670
  • pkg debug/elf, const DT_GNU_CONFLICTSZ DynTag
  • pkg debug/elf, const DT_GNU_HASH = 1879047925
  • pkg debug/elf, const DT_GNU_HASH DynTag
  • pkg debug/elf, const DT_GNU_LIBLIST = 1879047929
  • pkg debug/elf, const DT_GNU_LIBLIST DynTag
  • pkg debug/elf, const DT_GNU_LIBLISTSZ = 1879047671
  • pkg debug/elf, const DT_GNU_LIBLISTSZ DynTag
  • pkg debug/elf, const DT_GNU_PRELINKED = 1879047669
  • pkg debug/elf, const DT_GNU_PRELINKED DynTag
  • pkg debug/elf, const DT_MIPS_AUX_DYNAMIC = 1879048241
  • pkg debug/elf, const DT_MIPS_AUX_DYNAMIC DynTag
  • pkg debug/elf, const DT_MIPS_BASE_ADDRESS = 1879048198
  • pkg debug/elf, const DT_MIPS_BASE_ADDRESS DynTag
  • pkg debug/elf, const DT_MIPS_COMPACT_SIZE = 1879048239
  • pkg debug/elf, const DT_MIPS_COMPACT_SIZE DynTag
  • pkg debug/elf, const DT_MIPS_CONFLICT = 1879048200
  • pkg debug/elf, const DT_MIPS_CONFLICT DynTag
  • pkg debug/elf, const DT_MIPS_CONFLICTNO = 1879048203
  • pkg debug/elf, const DT_MIPS_CONFLICTNO DynTag
  • pkg debug/elf, const DT_MIPS_CXX_FLAGS = 1879048226
  • pkg debug/elf, const DT_MIPS_CXX_FLAGS DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_CLASS = 1879048215
  • pkg debug/elf, const DT_MIPS_DELTA_CLASS DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM = 1879048224
  • pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM_NO = 1879048225
  • pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM_NO DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_CLASS_NO = 1879048216
  • pkg debug/elf, const DT_MIPS_DELTA_CLASS_NO DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_INSTANCE = 1879048217
  • pkg debug/elf, const DT_MIPS_DELTA_INSTANCE DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_INSTANCE_NO = 1879048218
  • pkg debug/elf, const DT_MIPS_DELTA_INSTANCE_NO DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_RELOC = 1879048219
  • pkg debug/elf, const DT_MIPS_DELTA_RELOC DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_RELOC_NO = 1879048220
  • pkg debug/elf, const DT_MIPS_DELTA_RELOC_NO DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_SYM = 1879048221
  • pkg debug/elf, const DT_MIPS_DELTA_SYM DynTag
  • pkg debug/elf, const DT_MIPS_DELTA_SYM_NO = 1879048222
  • pkg debug/elf, const DT_MIPS_DELTA_SYM_NO DynTag
  • pkg debug/elf, const DT_MIPS_DYNSTR_ALIGN = 1879048235
  • pkg debug/elf, const DT_MIPS_DYNSTR_ALIGN DynTag
  • pkg debug/elf, const DT_MIPS_FLAGS = 1879048197
  • pkg debug/elf, const DT_MIPS_FLAGS DynTag
  • pkg debug/elf, const DT_MIPS_GOTSYM = 1879048211
  • pkg debug/elf, const DT_MIPS_GOTSYM DynTag
  • pkg debug/elf, const DT_MIPS_GP_VALUE = 1879048240
  • pkg debug/elf, const DT_MIPS_GP_VALUE DynTag
  • pkg debug/elf, const DT_MIPS_HIDDEN_GOTIDX = 1879048231
  • pkg debug/elf, const DT_MIPS_HIDDEN_GOTIDX DynTag
  • pkg debug/elf, const DT_MIPS_HIPAGENO = 1879048212
  • pkg debug/elf, const DT_MIPS_HIPAGENO DynTag
  • pkg debug/elf, const DT_MIPS_ICHECKSUM = 1879048195
  • pkg debug/elf, const DT_MIPS_ICHECKSUM DynTag
  • pkg debug/elf, const DT_MIPS_INTERFACE = 1879048234
  • pkg debug/elf, const DT_MIPS_INTERFACE DynTag
  • pkg debug/elf, const DT_MIPS_INTERFACE_SIZE = 1879048236
  • pkg debug/elf, const DT_MIPS_INTERFACE_SIZE DynTag
  • pkg debug/elf, const DT_MIPS_IVERSION = 1879048196
  • pkg debug/elf, const DT_MIPS_IVERSION DynTag
  • pkg debug/elf, const DT_MIPS_LIBLIST = 1879048201
  • pkg debug/elf, const DT_MIPS_LIBLIST DynTag
  • pkg debug/elf, const DT_MIPS_LIBLISTNO = 1879048208
  • pkg debug/elf, const DT_MIPS_LIBLISTNO DynTag
  • pkg debug/elf, const DT_MIPS_LOCALPAGE_GOTIDX = 1879048229
  • pkg debug/elf, const DT_MIPS_LOCALPAGE_GOTIDX DynTag
  • pkg debug/elf, const DT_MIPS_LOCAL_GOTIDX = 1879048230
  • pkg debug/elf, const DT_MIPS_LOCAL_GOTIDX DynTag
  • pkg debug/elf, const DT_MIPS_LOCAL_GOTNO = 1879048202
  • pkg debug/elf, const DT_MIPS_LOCAL_GOTNO DynTag
  • pkg debug/elf, const DT_MIPS_MSYM = 1879048199
  • pkg debug/elf, const DT_MIPS_MSYM DynTag
  • pkg debug/elf, const DT_MIPS_OPTIONS = 1879048233
  • pkg debug/elf, const DT_MIPS_OPTIONS DynTag
  • pkg debug/elf, const DT_MIPS_PERF_SUFFIX = 1879048238
  • pkg debug/elf, const DT_MIPS_PERF_SUFFIX DynTag
  • pkg debug/elf, const DT_MIPS_PIXIE_INIT = 1879048227
  • pkg debug/elf, const DT_MIPS_PIXIE_INIT DynTag
  • pkg debug/elf, const DT_MIPS_PLTGOT = 1879048242
  • pkg debug/elf, const DT_MIPS_PLTGOT DynTag
  • pkg debug/elf, const DT_MIPS_PROTECTED_GOTIDX = 1879048232
  • pkg debug/elf, const DT_MIPS_PROTECTED_GOTIDX DynTag
  • pkg debug/elf, const DT_MIPS_RLD_MAP = 1879048214
  • pkg debug/elf, const DT_MIPS_RLD_MAP DynTag
  • pkg debug/elf, const DT_MIPS_RLD_MAP_REL = 1879048245
  • pkg debug/elf, const DT_MIPS_RLD_MAP_REL DynTag
  • pkg debug/elf, const DT_MIPS_RLD_TEXT_RESOLVE_ADDR = 1879048237
  • pkg debug/elf, const DT_MIPS_RLD_TEXT_RESOLVE_ADDR DynTag
  • pkg debug/elf, const DT_MIPS_RLD_VERSION = 1879048193
  • pkg debug/elf, const DT_MIPS_RLD_VERSION DynTag
  • pkg debug/elf, const DT_MIPS_RWPLT = 1879048244
  • pkg debug/elf, const DT_MIPS_RWPLT DynTag
  • pkg debug/elf, const DT_MIPS_SYMBOL_LIB = 1879048228
  • pkg debug/elf, const DT_MIPS_SYMBOL_LIB DynTag
  • pkg debug/elf, const DT_MIPS_SYMTABNO = 1879048209
  • pkg debug/elf, const DT_MIPS_SYMTABNO DynTag
  • pkg debug/elf, const DT_MIPS_TIME_STAMP = 1879048194
  • pkg debug/elf, const DT_MIPS_TIME_STAMP DynTag
  • pkg debug/elf, const DT_MIPS_UNREFEXTNO = 1879048210
  • pkg debug/elf, const DT_MIPS_UNREFEXTNO DynTag
  • pkg debug/elf, const DT_MOVEENT = 1879047674
  • pkg debug/elf, const DT_MOVEENT DynTag
  • pkg debug/elf, const DT_MOVESZ = 1879047675
  • pkg debug/elf, const DT_MOVESZ DynTag
  • pkg debug/elf, const DT_MOVETAB = 1879047934
  • pkg debug/elf, const DT_MOVETAB DynTag
  • pkg debug/elf, const DT_PLTPAD = 1879047933
  • pkg debug/elf, const DT_PLTPAD DynTag
  • pkg debug/elf, const DT_PLTPADSZ = 1879047673
  • pkg debug/elf, const DT_PLTPADSZ DynTag
  • pkg debug/elf, const DT_POSFLAG_1 = 1879047677
  • pkg debug/elf, const DT_POSFLAG_1 DynTag
  • pkg debug/elf, const DT_PPC64_GLINK = 1879048192
  • pkg debug/elf, const DT_PPC64_GLINK DynTag
  • pkg debug/elf, const DT_PPC64_OPD = 1879048193
  • pkg debug/elf, const DT_PPC64_OPD DynTag
  • pkg debug/elf, const DT_PPC64_OPDSZ = 1879048194
  • pkg debug/elf, const DT_PPC64_OPDSZ DynTag
  • pkg debug/elf, const DT_PPC64_OPT = 1879048195
  • pkg debug/elf, const DT_PPC64_OPT DynTag
  • pkg debug/elf, const DT_PPC_GOT = 1879048192
  • pkg debug/elf, const DT_PPC_GOT DynTag
  • pkg debug/elf, const DT_PPC_OPT = 1879048193
  • pkg debug/elf, const DT_PPC_OPT DynTag
  • pkg debug/elf, const DT_RELACOUNT = 1879048185
  • pkg debug/elf, const DT_RELACOUNT DynTag
  • pkg debug/elf, const DT_RELCOUNT = 1879048186
  • pkg debug/elf, const DT_RELCOUNT DynTag
  • pkg debug/elf, const DT_SPARC_REGISTER = 1879048193
  • pkg debug/elf, const DT_SPARC_REGISTER DynTag
  • pkg debug/elf, const DT_SYMINENT = 1879047679
  • pkg debug/elf, const DT_SYMINENT DynTag
  • pkg debug/elf, const DT_SYMINFO = 1879047935
  • pkg debug/elf, const DT_SYMINFO DynTag
  • pkg debug/elf, const DT_SYMINSZ = 1879047678
  • pkg debug/elf, const DT_SYMINSZ DynTag
  • pkg debug/elf, const DT_SYMTAB_SHNDX = 34
  • pkg debug/elf, const DT_SYMTAB_SHNDX DynTag
  • pkg debug/elf, const DT_TLSDESC_GOT = 1879047927
  • pkg debug/elf, const DT_TLSDESC_GOT DynTag
  • pkg debug/elf, const DT_TLSDESC_PLT = 1879047926
  • pkg debug/elf, const DT_TLSDESC_PLT DynTag
  • pkg debug/elf, const DT_USED = 2147483646
  • pkg debug/elf, const DT_USED DynTag
  • pkg debug/elf, const DT_VALRNGHI = 1879047679
  • pkg debug/elf, const DT_VALRNGHI DynTag
  • pkg debug/elf, const DT_VALRNGLO = 1879047424
  • pkg debug/elf, const DT_VALRNGLO DynTag
  • pkg debug/elf, const DT_VERDEF = 1879048188
  • pkg debug/elf, const DT_VERDEF DynTag
  • pkg debug/elf, const DT_VERDEFNUM = 1879048189
  • pkg debug/elf, const DT_VERDEFNUM DynTag
  • pkg debug/elf, const PT_AARCH64_ARCHEXT = 1879048192
  • pkg debug/elf, const PT_AARCH64_ARCHEXT ProgType
  • pkg debug/elf, const PT_AARCH64_UNWIND = 1879048193
  • pkg debug/elf, const PT_AARCH64_UNWIND ProgType
  • pkg debug/elf, const PT_ARM_ARCHEXT = 1879048192
  • pkg debug/elf, const PT_ARM_ARCHEXT ProgType
  • pkg debug/elf, const PT_ARM_EXIDX = 1879048193
  • pkg debug/elf, const PT_ARM_EXIDX ProgType
  • pkg debug/elf, const PT_GNU_EH_FRAME = 1685382480
  • pkg debug/elf, const PT_GNU_EH_FRAME ProgType
  • pkg debug/elf, const PT_GNU_MBIND_HI = 1685386580
  • pkg debug/elf, const PT_GNU_MBIND_HI ProgType
  • pkg debug/elf, const PT_GNU_MBIND_LO = 1685382485
  • pkg debug/elf, const PT_GNU_MBIND_LO ProgType
  • pkg debug/elf, const PT_GNU_PROPERTY = 1685382483
  • pkg debug/elf, const PT_GNU_PROPERTY ProgType
  • pkg debug/elf, const PT_GNU_RELRO = 1685382482
  • pkg debug/elf, const PT_GNU_RELRO ProgType
  • pkg debug/elf, const PT_GNU_STACK = 1685382481
  • pkg debug/elf, const PT_GNU_STACK ProgType
  • pkg debug/elf, const PT_MIPS_ABIFLAGS = 1879048195
  • pkg debug/elf, const PT_MIPS_ABIFLAGS ProgType
  • pkg debug/elf, const PT_MIPS_OPTIONS = 1879048194
  • pkg debug/elf, const PT_MIPS_OPTIONS ProgType
  • pkg debug/elf, const PT_MIPS_REGINFO = 1879048192
  • pkg debug/elf, const PT_MIPS_REGINFO ProgType
  • pkg debug/elf, const PT_MIPS_RTPROC = 1879048193
  • pkg debug/elf, const PT_MIPS_RTPROC ProgType
  • pkg debug/elf, const PT_OPENBSD_BOOTDATA = 1705253862
  • pkg debug/elf, const PT_OPENBSD_BOOTDATA ProgType
  • pkg debug/elf, const PT_OPENBSD_RANDOMIZE = 1705237478
  • pkg debug/elf, const PT_OPENBSD_RANDOMIZE ProgType
  • pkg debug/elf, const PT_OPENBSD_WXNEEDED = 1705237479
  • pkg debug/elf, const PT_OPENBSD_WXNEEDED ProgType
  • pkg debug/elf, const PT_PAX_FLAGS = 1694766464
  • pkg debug/elf, const PT_PAX_FLAGS ProgType
  • pkg debug/elf, const PT_S390_PGSTE = 1879048192
  • pkg debug/elf, const PT_S390_PGSTE ProgType
  • pkg debug/elf, const PT_SUNWSTACK = 1879048187
  • pkg debug/elf, const PT_SUNWSTACK ProgType
  • pkg debug/elf, const PT_SUNW_EH_FRAME = 1685382480
  • pkg debug/elf, const PT_SUNW_EH_FRAME ProgType

embed (new package in Go 1.16)

  • pkg embed, method (FS) Open(string) (fs.File, error)
  • pkg embed, method (FS) ReadDir(string) ([]fs.DirEntry, error)
  • pkg embed, method (FS) ReadFile(string) ([]uint8, error)
  • pkg embed, type FS struct

flag

(accepted proposal #39557:)

  • pkg flag, func Func(string, string, func(string) error)
  • pkg flag, method (*FlagSet) Func(string, string, func(string) error)

go/build

  • pkg go/build, type Package struct, EmbedPatterns []string
  • pkg go/build, type Package struct, IgnoredOtherFiles []string
  • pkg go/build, type Package struct, TestEmbedPatterns []string
  • pkg go/build, type Package struct, XTestEmbedPatterns []string

io

  • pkg io, func NopCloser(Reader) ReadCloser
  • pkg io, func ReadAll(Reader) ([]uint8, error)
  • pkg io, type ReadSeekCloser interface { Close, Read, Seek }
  • pkg io, type ReadSeekCloser interface, Close() error
  • pkg io, type ReadSeekCloser interface, Read([]uint8) (int, error)
  • pkg io, type ReadSeekCloser interface, Seek(int64, int) (int64, error)
  • pkg io, var Discard Writer

io/fs (new package in Go 1.16)

  • pkg io/fs, const ModeAppend = 1073741824
  • pkg io/fs, const ModeAppend FileMode
  • pkg io/fs, const ModeCharDevice = 2097152
  • pkg io/fs, const ModeCharDevice FileMode
  • pkg io/fs, const ModeDevice = 67108864
  • pkg io/fs, const ModeDevice FileMode
  • pkg io/fs, const ModeDir = 2147483648
  • pkg io/fs, const ModeDir FileMode
  • pkg io/fs, const ModeExclusive = 536870912
  • pkg io/fs, const ModeExclusive FileMode
  • pkg io/fs, const ModeIrregular = 524288
  • pkg io/fs, const ModeIrregular FileMode
  • pkg io/fs, const ModeNamedPipe = 33554432
  • pkg io/fs, const ModeNamedPipe FileMode
  • pkg io/fs, const ModePerm = 511
  • pkg io/fs, const ModePerm FileMode
  • pkg io/fs, const ModeSetgid = 4194304
  • pkg io/fs, const ModeSetgid FileMode
  • pkg io/fs, const ModeSetuid = 8388608
  • pkg io/fs, const ModeSetuid FileMode
  • pkg io/fs, const ModeSocket = 16777216
  • pkg io/fs, const ModeSocket FileMode
  • pkg io/fs, const ModeSticky = 1048​576
  • pkg io/fs, const ModeSticky FileMode
  • pkg io/fs, const ModeSymlink = 134217728
  • pkg io/fs, const ModeSymlink FileMode
  • pkg io/fs, const ModeTemporary = 268435456
  • pkg io/fs, const ModeTemporary FileMode
  • pkg io/fs, const ModeType = 2401763328
  • pkg io/fs, const ModeType FileMode
  • pkg io/fs, func Glob(FS, string) ([]string, error)
  • pkg io/fs, func ReadDir(FS, string) ([]DirEntry, error)
  • pkg io/fs, func ReadFile(FS, string) ([]uint8, error)
  • pkg io/fs, func Stat(FS, string) (FileInfo, error)
  • pkg io/fs, func Sub(FS, string) (FS, error)
  • pkg io/fs, func ValidPath(string) bool
  • pkg io/fs, func WalkDir(FS, string, WalkDirFunc) error
  • pkg io/fs, method (*PathError) Error() string
  • pkg io/fs, method (*PathError) Timeout() bool
  • pkg io/fs, method (*PathError) Unwrap() error
  • pkg io/fs, method (FileMode) IsDir() bool
  • pkg io/fs, method (FileMode) IsRegular() bool
  • pkg io/fs, method (FileMode) Perm() FileMode
  • pkg io/fs, method (FileMode) String() string
  • pkg io/fs, method (FileMode) Type() FileMode
  • pkg io/fs, type DirEntry interface { Info, IsDir, Name, Type }
  • pkg io/fs, type DirEntry interface, Info() (FileInfo, error)
  • pkg io/fs, type DirEntry interface, IsDir() bool
  • pkg io/fs, type DirEntry interface, Name() string
  • pkg io/fs, type DirEntry interface, Type() FileMode
  • pkg io/fs, type FS interface { Open }
  • pkg io/fs, type FS interface, Open(string) (File, error)
  • pkg io/fs, type File interface { Close, Read, Stat }
  • pkg io/fs, type File interface, Close() error
  • pkg io/fs, type File interface, Read([]uint8) (int, error)
  • pkg io/fs, type File interface, Stat() (FileInfo, error)
  • pkg io/fs, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
  • pkg io/fs, type FileInfo interface, IsDir() bool
  • pkg io/fs, type FileInfo interface, ModTime() time.Time
  • pkg io/fs, type FileInfo interface, Mode() FileMode
  • pkg io/fs, type FileInfo interface, Name() string
  • pkg io/fs, type FileInfo interface, Size() int64
  • pkg io/fs, type FileInfo interface, Sys() interface{}
  • pkg io/fs, type FileMode uint32
  • pkg io/fs, type GlobFS interface { Glob, Open }
  • pkg io/fs, type GlobFS interface, Glob(string) ([]string, error)
  • pkg io/fs, type GlobFS interface, Open(string) (File, error)
  • pkg io/fs, type PathError struct
  • pkg io/fs, type PathError struct, Err error
  • pkg io/fs, type PathError struct, Op string
  • pkg io/fs, type PathError struct, Path string
  • pkg io/fs, type ReadDirFS interface { Open, ReadDir }
  • pkg io/fs, type ReadDirFS interface, Open(string) (File, error)
  • pkg io/fs, type ReadDirFS interface, ReadDir(string) ([]DirEntry, error)
  • pkg io/fs, type ReadDirFile interface { Close, Read, ReadDir, Stat }
  • pkg io/fs, type ReadDirFile interface, Close() error
  • pkg io/fs, type ReadDirFile interface, Read([]uint8) (int, error)
  • pkg io/fs, type ReadDirFile interface, ReadDir(int) ([]DirEntry, error)
  • pkg io/fs, type ReadDirFile interface, Stat() (FileInfo, error)
  • pkg io/fs, type ReadFileFS interface { Open, ReadFile }
  • pkg io/fs, type ReadFileFS interface, Open(string) (File, error)
  • pkg io/fs, type ReadFileFS interface, ReadFile(string) ([]uint8, error)
  • pkg io/fs, type StatFS interface { Open, Stat }
  • pkg io/fs, type StatFS interface, Open(string) (File, error)
  • pkg io/fs, type StatFS interface, Stat(string) (FileInfo, error)
  • pkg io/fs, type SubFS interface { Open, Sub }
  • pkg io/fs, type SubFS interface, Open(string) (File, error)
  • pkg io/fs, type SubFS interface, Sub(string) (FS, error)
  • pkg io/fs, type WalkDirFunc func(string, DirEntry, error) error
  • pkg io/fs, var ErrClosed error
  • pkg io/fs, var ErrExist error
  • pkg io/fs, var ErrInvalid error
  • pkg io/fs, var ErrNotExist error
  • pkg io/fs, var ErrPermission error
  • pkg io/fs, var SkipDir error

log

(accepted proposal #39057:)

  • pkg log, func Default() *Logger

net

(CL 250357, issue #4373:)

  • pkg net, var ErrClosed error

net/http

  • pkg net/http, func FS(fs.FS) FileSystem

(accepted proposal #41048:)

  • pkg net/http, type Transport struct, GetProxyConnectHeader func(context.Context, *url.URL, string) (Header, error)

os

  • pkg os, const ModeAppend fs.FileMode
  • pkg os, const ModeCharDevice fs.FileMode
  • pkg os, const ModeDevice fs.FileMode
  • pkg os, const ModeDir fs.FileMode
  • pkg os, const ModeExclusive fs.FileMode
  • pkg os, const ModeIrregular fs.FileMode
  • pkg os, const ModeNamedPipe fs.FileMode
  • pkg os, const ModePerm fs.FileMode
  • pkg os, const ModeSetgid fs.FileMode
  • pkg os, const ModeSetuid fs.FileMode
  • pkg os, const ModeSocket fs.FileMode
  • pkg os, const ModeSticky fs.FileMode
  • pkg os, const ModeSymlink fs.FileMode
  • pkg os, const ModeTemporary fs.FileMode
  • pkg os, const ModeType fs.FileMode
  • pkg os, func Chmod(string, fs.FileMode) error
  • pkg os, func CreateTemp(string, string) (*File, error)
  • pkg os, func DirFS(string) fs.FS
  • pkg os, func Lstat(string) (fs.FileInfo, error)
  • pkg os, func Mkdir(string, fs.FileMode) error
  • pkg os, func MkdirAll(string, fs.FileMode) error
  • pkg os, func MkdirTemp(string, string) (string, error)
  • pkg os, func OpenFile(string, int, fs.FileMode) (*File, error)
  • pkg os, func ReadDir(string) ([]fs.DirEntry, error)
  • pkg os, func ReadFile(string) ([]uint8, error)
  • pkg os, func SameFile(fs.FileInfo, fs.FileInfo) bool
  • pkg os, func Stat(string) (fs.FileInfo, error)
  • pkg os, func WriteFile(string, []uint8, fs.FileMode) error
  • pkg os, method (*File) Chmod(fs.FileMode) error
  • pkg os, method (*File) ReadDir(int) ([]fs.DirEntry, error)
  • pkg os, method (*File) Readdir(int) ([]fs.FileInfo, error)
  • pkg os, method (*File) Stat() (fs.FileInfo, error)
  • pkg os, type DirEntry = fs.DirEntry
  • pkg os, type FileInfo = fs.FileInfo
  • pkg os, type FileMode = fs.FileMode
  • pkg os, type PathError = fs.PathError

(accepted proposal #39444:)

  • pkg os, var ErrProcessDone error

os/signal

(accepted proposal #37255:)

  • pkg os/signal, func NotifyContext(context.Context, ...os.Signal) (context.Context, context.CancelFunc)

path/filepath

  • pkg path/filepath, func WalkDir(string, fs.WalkDirFunc) error

runtime/metrics (new package in Go 1.16)

(accepted proposal #37112:)

  • pkg runtime/metrics, const KindBad = 0
  • pkg runtime/metrics, const KindBad ValueKind
  • pkg runtime/metrics, const KindFloat64 = 2
  • pkg runtime/metrics, const KindFloat64 ValueKind
  • pkg runtime/metrics, const KindFloat64Histogram = 3
  • pkg runtime/metrics, const KindFloat64Histogram ValueKind
  • pkg runtime/metrics, const KindUint64 = 1
  • pkg runtime/metrics, const KindUint64 ValueKind
  • pkg runtime/metrics, func All() []Description
  • pkg runtime/metrics, func Read([]Sample)
  • pkg runtime/metrics, method (Value) Float64() float64
  • pkg runtime/metrics, method (Value) Float64Histogram() *Float64Histogram
  • pkg runtime/metrics, method (Value) Kind() ValueKind
  • pkg runtime/metrics, method (Value) Uint64() uint64
  • pkg runtime/metrics, type Description struct
  • pkg runtime/metrics, type Description struct, Cumulative bool
  • pkg runtime/metrics, type Description struct, Description string
  • pkg runtime/metrics, type Description struct, Kind ValueKind
  • pkg runtime/metrics, type Description struct, Name string
  • pkg runtime/metrics, type Description struct, StopTheWorld bool (removed)
  • pkg runtime/metrics, type Float64Histogram struct
  • pkg runtime/metrics, type Float64Histogram struct, Buckets []float64
  • pkg runtime/metrics, type Float64Histogram struct, Counts []uint64
  • pkg runtime/metrics, type Sample struct
  • pkg runtime/metrics, type Sample struct, Name string
  • pkg runtime/metrics, type Sample struct, Value Value
  • pkg runtime/metrics, type Value struct
  • pkg runtime/metrics, type ValueKind int

syscall

(CL 210639, issue #1435:)

  • pkg syscall (linux-386), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-386), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-386), func Setegid(int) error
  • pkg syscall (linux-386), func Seteuid(int) error
  • pkg syscall (linux-386-cgo), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-386-cgo), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-386-cgo), func Setegid(int) error
  • pkg syscall (linux-386-cgo), func Seteuid(int) error
  • pkg syscall (linux-amd64), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-amd64), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-amd64), func Setegid(int) error
  • pkg syscall (linux-amd64), func Seteuid(int) error
  • pkg syscall (linux-amd64-cgo), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-amd64-cgo), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-amd64-cgo), func Setegid(int) error
  • pkg syscall (linux-amd64-cgo), func Seteuid(int) error
  • pkg syscall (linux-arm), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-arm), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-arm), func Setegid(int) error
  • pkg syscall (linux-arm), func Seteuid(int) error
  • pkg syscall (linux-arm-cgo), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-arm-cgo), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
  • pkg syscall (linux-arm-cgo), func Setegid(int) error
  • pkg syscall (linux-arm-cgo), func Seteuid(int) error

(CL 210057, issue #33542, reverted in CL 283992:)

  • pkg syscall (windows-386), func RtlGenRandom(*uint8, uint32) error
  • pkg syscall (windows-amd64), func RtlGenRandom(*uint8, uint32) error

(CL 261917, issue #42098:)

  • pkg syscall (windows-386), type SysProcAttr struct, NoInheritHandles bool
  • pkg syscall (windows-amd64), type SysProcAttr struct, NoInheritHandles bool

(accepted proposal #42584, CL 269761:)

  • pkg syscall (windows-386), method (*DLLError) Unwrap() error
  • pkg syscall (windows-amd64), method (*DLLError) Unwrap() error

testing/fstest (new package in Go 1.16)

  • pkg testing/fstest, func TestFS(fs.FS, ...string) error
  • pkg testing/fstest, method (MapFS) Glob(string) ([]string, error)
  • pkg testing/fstest, method (MapFS) Open(string) (fs.File, error)
  • pkg testing/fstest, method (MapFS) ReadDir(string) ([]fs.DirEntry, error)
  • pkg testing/fstest, method (MapFS) ReadFile(string) ([]uint8, error)
  • pkg testing/fstest, method (MapFS) Stat(string) (fs.FileInfo, error)
  • pkg testing/fstest, method (MapFS) Sub(string) (fs.FS, error)
  • pkg testing/fstest, type MapFS map[string]*MapFile
  • pkg testing/fstest, type MapFile struct
  • pkg testing/fstest, type MapFile struct, Data []uint8
  • pkg testing/fstest, type MapFile struct, ModTime time.Time
  • pkg testing/fstest, type MapFile struct, Mode fs.FileMode
  • pkg testing/fstest, type MapFile struct, Sys interface{}

testing/iotest

  • pkg testing/iotest, func ErrReader(error) io.Reader
  • pkg testing/iotest, func TestReader(io.Reader, []uint8) error

html/template

  • pkg html/template, func ParseFS(fs.FS, ...string) (*Template, error)
  • pkg html/template, method (*Template) ParseFS(fs.FS, ...string) (*Template, error)

text/template

  • pkg text/template, func ParseFS(fs.FS, ...string) (*Template, error)
  • pkg text/template, method (*Template) ParseFS(fs.FS, ...string) (*Template, error)

text/template/parse

  • pkg text/template/parse, const NodeComment = 20
  • pkg text/template/parse, const NodeComment NodeType
  • pkg text/template/parse, const ParseComments = 1
  • pkg text/template/parse, const ParseComments Mode
  • pkg text/template/parse, method (*CommentNode) Copy() Node
  • pkg text/template/parse, method (*CommentNode) String() string
  • pkg text/template/parse, method (CommentNode) Position() Pos
  • pkg text/template/parse, method (CommentNode) Type() NodeType
  • pkg text/template/parse, type CommentNode struct
  • pkg text/template/parse, type CommentNode struct, Text string
  • pkg text/template/parse, type CommentNode struct, embedded NodeType
  • pkg text/template/parse, type CommentNode struct, embedded Pos
  • pkg text/template/parse, type Mode uint
  • pkg text/template/parse, type Tree struct, Mode Mode

unicode

(CL 248765, issue #40755:)

  • pkg unicode, const Version = "13.0.0"
  • pkg unicode, var Chorasmian *RangeTable
  • pkg unicode, var Dives_Akuru *RangeTable
  • pkg unicode, var Khitan_Small_Script *RangeTable
  • pkg unicode, var Yezidi *RangeTable

CC @rsc, @ianlancetaylor, @FiloSottile, @mknyszek, @mpvl, @golang/release.

@dmitshur dmitshur added NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. release-blocker labels Dec 28, 2020
@dmitshur dmitshur added this to the Go1.16 milestone Dec 28, 2020
@toothrot
Copy link
Contributor

toothrot commented Jan 7, 2021

Hello @rsc, @ianlancetaylor, @FiloSottile, @mknyszek, @mpvl, @golang/release. Could you please verify and check-off these changes?

@dmitshur
Copy link
Contributor Author

Most of the remaining items are related to go:embed and the new io/fs package. @rsc Can you please take a look? Thanks.

@mpvl Do the Unicode API additions look okay to you?

@ianlancetaylor
Copy link
Contributor

I've gone through all of these, and verify that they look OK, and that they are mentioned in the release notes. I think we are good.

@dmitshur
Copy link
Contributor Author

dmitshur commented Jan 27, 2021

There are a couple API additions since api/go1.16.txt was created and this issue filed, as reported by the API check now:

##### API check
+pkg crypto/x509, type CertificateRequest struct, KeyUsage KeyUsage
+pkg go/build/constraint, func IsGoBuild(string) bool
+pkg go/build/constraint, func IsPlusBuild(string) bool
+pkg go/build/constraint, func Parse(string) (Expr, error)
+pkg go/build/constraint, func PlusBuildLines(Expr) ([]string, error)
+pkg go/build/constraint, method (*AndExpr) Eval(func(string) bool) bool
+pkg go/build/constraint, method (*AndExpr) String() string
+pkg go/build/constraint, method (*NotExpr) Eval(func(string) bool) bool
+pkg go/build/constraint, method (*NotExpr) String() string
+pkg go/build/constraint, method (*OrExpr) Eval(func(string) bool) bool
+pkg go/build/constraint, method (*OrExpr) String() string
+pkg go/build/constraint, method (*SyntaxError) Error() string
+pkg go/build/constraint, method (*TagExpr) Eval(func(string) bool) bool
+pkg go/build/constraint, method (*TagExpr) String() string
+pkg go/build/constraint, type AndExpr struct
+pkg go/build/constraint, type AndExpr struct, X Expr
+pkg go/build/constraint, type AndExpr struct, Y Expr
+pkg go/build/constraint, type Expr interface, Eval(func(string) bool) bool
+pkg go/build/constraint, type Expr interface, String() string
+pkg go/build/constraint, type Expr interface, unexported methods
+pkg go/build/constraint, type NotExpr struct
+pkg go/build/constraint, type NotExpr struct, X Expr
+pkg go/build/constraint, type OrExpr struct
+pkg go/build/constraint, type OrExpr struct, X Expr
+pkg go/build/constraint, type OrExpr struct, Y Expr
+pkg go/build/constraint, type SyntaxError struct
+pkg go/build/constraint, type SyntaxError struct, Err string
+pkg go/build/constraint, type SyntaxError struct, Offset int
+pkg go/build/constraint, type TagExpr struct
+pkg go/build/constraint, type TagExpr struct, Tag string

go/build/constraint is a new package in Go 1.16, added in CL 240604, and it's a part of an accepted proposal #41184. @rsc Please confirm the Go 1.16 API looks right or if something is unexpected.

x509.CertificateRequest.KeyUsage needs to be looked at. Perhaps it should've been rolled back in https://golang.org/cl/281235 but got missed. @rolandshoemaker Can you take a look please?

I'm not sure why we didn't notice these earlier via a failing test or some other mechanism. I'll investigate that. CC @toothrot. Update: See #43407 (comment).

@dmitshur dmitshur reopened this Jan 27, 2021
@rolandshoemaker
Copy link
Member

Ah yup, looks like we missed it. I'll open a CL to revert the last bit.

@dmitshur
Copy link
Contributor Author

Thanks Roland.

I'm not sure why we didn't notice these earlier via a failing test or some other mechanism. I'll investigate that. CC @toothrot.

This was caught in the RC1 release tests, so we do have a mechanism, but it can be improved to help detect this earlier in the future. Filed #43956 about that.

@gopherbot
Copy link
Contributor

Change https://golang.org/cl/287392 mentions this issue: crypto/x509: remove leftover CertificateRequest field

@gopherbot
Copy link
Contributor

Change https://golang.org/cl/287412 mentions this issue: api/go1.16: add build/constraint APIs

gopherbot pushed a commit that referenced this issue Jan 27, 2021
Removes the KeyUsage field that was missed in the rollback in
CL 281235.
Also updates CreateCertificateRequest to reflect that these fields
were removed.

For #43407.
Updates #43477.
Updates #37172.

Change-Id: I6244aed4a3ef3c2460c38af5511e5c2e82546179
Reviewed-on: https://go-review.googlesource.com/c/go/+/287392
Trust: Alexander Rakoczy <alex@golang.org>
Trust: Roland Shoemaker <roland@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
gopherbot pushed a commit that referenced this issue Jan 27, 2021
These APIs were added in CL 240604 as part of an approved proposal. It
was submitted after the initial api/go1.16.txt creation.

For #41184
For #43407

Change-Id: Ifb54df2b61c554c32bd9d17afbb74f4e42e0b228
Reviewed-on: https://go-review.googlesource.com/c/go/+/287412
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
@dmitshur
Copy link
Contributor Author

dmitshur commented Jan 27, 2021

x509.CertificateRequest.KeyUsage was resolved in CL 287392.

@rsc Please look over CL 287412 and if everything looks good to you, close this issue since that's all that's left to do here now. (CC @ianlancetaylor, @jayconrod.) For convenience, it's copied here with checkboxes:

(CL 240604, accepted proposal #41184:)

  • pkg go/build/constraint, func IsGoBuild(string) bool
  • pkg go/build/constraint, func IsPlusBuild(string) bool
  • pkg go/build/constraint, func Parse(string) (Expr, error)
  • pkg go/build/constraint, func PlusBuildLines(Expr) ([]string, error)
  • pkg go/build/constraint, method (*AndExpr) Eval(func(string) bool) bool
  • pkg go/build/constraint, method (*AndExpr) String() string
  • pkg go/build/constraint, method (*NotExpr) Eval(func(string) bool) bool
  • pkg go/build/constraint, method (*NotExpr) String() string
  • pkg go/build/constraint, method (*OrExpr) Eval(func(string) bool) bool
  • pkg go/build/constraint, method (*OrExpr) String() string
  • pkg go/build/constraint, method (*SyntaxError) Error() string
  • pkg go/build/constraint, method (*TagExpr) Eval(func(string) bool) bool
  • pkg go/build/constraint, method (*TagExpr) String() string
  • pkg go/build/constraint, type AndExpr struct
  • pkg go/build/constraint, type AndExpr struct, X Expr
  • pkg go/build/constraint, type AndExpr struct, Y Expr
  • pkg go/build/constraint, type Expr interface, Eval(func(string) bool) bool
  • pkg go/build/constraint, type Expr interface, String() string
  • pkg go/build/constraint, type Expr interface, unexported methods
  • pkg go/build/constraint, type NotExpr struct
  • pkg go/build/constraint, type NotExpr struct, X Expr
  • pkg go/build/constraint, type OrExpr struct
  • pkg go/build/constraint, type OrExpr struct, X Expr
  • pkg go/build/constraint, type OrExpr struct, Y Expr
  • pkg go/build/constraint, type SyntaxError struct
  • pkg go/build/constraint, type SyntaxError struct, Err string
  • pkg go/build/constraint, type SyntaxError struct, Offset int
  • pkg go/build/constraint, type TagExpr struct
  • pkg go/build/constraint, type TagExpr struct, Tag string

@rsc
Copy link
Contributor

rsc commented Jan 28, 2021

Checked all the boxes. This is OK. Thanks.

@dmitshur
Copy link
Contributor Author

Thanks Russ. Closing as resolved.

@rsc

This comment has been minimized.

@golang golang locked and limited conversation to collaborators Jan 28, 2022
@rsc rsc removed their assignment Jun 23, 2022
@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. labels Jun 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Projects
None yet
Development

No branches or pull requests

7 participants
@toothrot @rsc @dmitshur @ianlancetaylor @rolandshoemaker @gopherbot and others