api: audit for Go 1.25 #73918
Labels
ExpertNeeded
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
release-blocker
Milestone
Uh oh!
There was an error while loading. Please reload this page.
This is a tracking issue for doing an audit of API additions for Go 1.25 as of CL 676895.
New API changes for Go 1.25
crypto
func SignMessage(Signer, io.Reader, []uint8, SignerOpts) ([]uint8, error)
crypto: single-shot signing interface #63405type MessageSigner interface { Public, Sign, SignMessage }
crypto: single-shot signing interface #63405type MessageSigner interface, Public() PublicKey
crypto: single-shot signing interface #63405type MessageSigner interface, Sign(io.Reader, []uint8, SignerOpts) ([]uint8, error)
crypto: single-shot signing interface #63405type MessageSigner interface, SignMessage(io.Reader, []uint8, SignerOpts) ([]uint8, error)
crypto: single-shot signing interface #63405crypto/ecdsa
func ParseRawPrivateKey(elliptic.Curve, []uint8) (*PrivateKey, error)
crypto/ecdsa: add NewPublicKey and PublicKey.Bytes #63963func ParseUncompressedPublicKey(elliptic.Curve, []uint8) (*PublicKey, error)
crypto/ecdsa: add NewPublicKey and PublicKey.Bytes #63963method (*PrivateKey) Bytes() ([]uint8, error)
crypto/ecdsa: add NewPublicKey and PublicKey.Bytes #63963method (*PublicKey) Bytes() ([]uint8, error)
crypto/ecdsa: add NewPublicKey and PublicKey.Bytes #63963crypto/sha3
method (*SHA3) Clone() (hash.Cloner, error)
hash: add Clone #69521crypto/tls
type Config struct, GetEncryptedClientHelloKeys func(*ClientHelloInfo) ([]EncryptedClientHelloKey, error)
crypto/tls: add GetEncryptedClientHelloKeys callback #71920type ConnectionState struct, CurveID CurveID
crypto/tls: add ConnectionState.CurveID #67516debug/elf
const PT_RISCV_ATTRIBUTES = 1879048195
proposal: debug/elf: add riscv attributes SHT and PH #72843const PT_RISCV_ATTRIBUTES ProgType
proposal: debug/elf: add riscv attributes SHT and PH #72843const SHT_RISCV_ATTRIBUTES = 1879048195
proposal: debug/elf: add riscv attributes SHT and PH #72843const SHT_RISCV_ATTRIBUTES SectionType
proposal: debug/elf: add riscv attributes SHT and PH #72843go/ast
const FilterFuncDuplicates //deprecated
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles #73088const FilterImportDuplicates //deprecated
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles #73088const FilterUnassociatedComments //deprecated
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles #73088func FilterPackage //deprecated
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles #73088func MergePackageFiles //deprecated
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles #73088func PackageExports //deprecated
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles #73088func PreorderStack(Node, []Node, func(Node, []Node) bool)
go/ast: add PreorderStack, a wrapper around ast.Inspect that maintains a stack #73319type MergeMode //deprecated
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles #73088go/parser
func ParseDir //deprecated
go/parser: deprecate parser.ParseDir (which returns deprecated type ast.Package) #71122go/token
method (*FileSet) AddExistingFiles(...*File)
go/token: add (*FileSet).AddExistingFiles method to add files out of order #73205go/types
const FieldVar = 6
go/types: add Var.Kind method and enum #70250const FieldVar VarKind
go/types: add Var.Kind method and enum #70250const LocalVar = 2
go/types: add Var.Kind method and enum #70250const LocalVar VarKind
go/types: add Var.Kind method and enum #70250const PackageVar = 1
go/types: add Var.Kind method and enum #70250const PackageVar VarKind
go/types: add Var.Kind method and enum #70250const ParamVar = 4
go/types: add Var.Kind method and enum #70250const ParamVar VarKind
go/types: add Var.Kind method and enum #70250const RecvVar = 3
go/types: add Var.Kind method and enum #70250const RecvVar VarKind
go/types: add Var.Kind method and enum #70250const ResultVar = 5
go/types: add Var.Kind method and enum #70250const ResultVar VarKind
go/types: add Var.Kind method and enum #70250func LookupSelection(Type, bool, *Package, string) (Selection, bool)
go/types: add LookupSelection function #70737method (*Var) Kind() VarKind
go/types: add Var.Kind method and enum #70250method (*Var) SetKind(VarKind)
go/types: add Var.Kind method and enum #70250method (VarKind) String() string
go/types: add Var.Kind method and enum #70250type VarKind uint8
go/types: add Var.Kind method and enum #70250hash
type Cloner interface { BlockSize, Clone, Reset, Size, Sum, Write }
hash: add Clone #69521type Cloner interface, BlockSize() int
hash: add Clone #69521type Cloner interface, Clone() (Cloner, error)
hash: add Clone #69521type Cloner interface, Reset()
hash: add Clone #69521type Cloner interface, Size() int
hash: add Clone #69521type Cloner interface, Sum([]uint8) []uint8
hash: add Clone #69521type Cloner interface, Write([]uint8) (int, error)
hash: add Clone #69521type XOF interface { BlockSize, Read, Reset, Write }
hash: add XOF interface #69518type XOF interface, BlockSize() int
hash: add XOF interface #69518type XOF interface, Read([]uint8) (int, error)
hash: add XOF interface #69518type XOF interface, Reset()
hash: add XOF interface #69518type XOF interface, Write([]uint8) (int, error)
hash: add XOF interface #69518hash/maphash
method (*Hash) Clone() (hash.Cloner, error)
hash: add Clone #69521io/fs
func Lstat(FS, string) (FileInfo, error)
io/fs: add ReadLinkFS interface #49580func ReadLink(FS, string) (string, error)
io/fs: add ReadLinkFS interface #49580type ReadLinkFS interface { Lstat, Open, ReadLink }
io/fs: add ReadLinkFS interface #49580type ReadLinkFS interface, Lstat(string) (FileInfo, error)
io/fs: add ReadLinkFS interface #49580type ReadLinkFS interface, Open(string) (File, error)
io/fs: add ReadLinkFS interface #49580type ReadLinkFS interface, ReadLink(string) (string, error)
io/fs: add ReadLinkFS interface #49580log/slog
func GroupAttrs(string, ...Attr) Attr
log/slog: GroupAttrs(key, attrs....Attr) Attr #66365method (Record) Source() *Source
log/slog: export Source method in Record to support custom handler implementations #70280mime/multipart
func FileContentDisposition(string, string) string
mime/multipart: add FileContentDisposition #46771net/http
func NewCrossOriginProtection() *CrossOriginProtection
net/http: add CrossOriginForgeryHandler #73626method (*CrossOriginProtection) AddInsecureBypassPattern(string)
net/http: add CrossOriginForgeryHandler #73626method (*CrossOriginProtection) AddTrustedOrigin(string) error
net/http: add CrossOriginForgeryHandler #73626method (*CrossOriginProtection) Check(*Request) error
net/http: add CrossOriginForgeryHandler #73626method (*CrossOriginProtection) Handler(Handler) Handler
net/http: add CrossOriginForgeryHandler #73626method (*CrossOriginProtection) SetDenyHandler(Handler)
net/http: add CrossOriginForgeryHandler #73626type CrossOriginProtection struct
net/http: add CrossOriginForgeryHandler #73626os
method (*Root) Chmod(string, fs.FileMode) error
os: safer file open functions #67002method (*Root) Chown(string, int, int) error
os: safer file open functions #67002method (*Root) Chtimes(string, time.Time, time.Time) error
os: safer file open functions #67002method (*Root) Lchown(string, int, int) error
os: safer file open functions #67002method (*Root) Link(string, string) error
os: safer file open functions #67002method (*Root) MkdirAll(string, fs.FileMode) error
os: safer file open functions #67002method (*Root) ReadFile(string) ([]uint8, error)
os: add Root.ReadFile & Root.WriteFile #73126method (*Root) Readlink(string) (string, error)
os: safer file open functions #67002method (*Root) RemoveAll(string) error
os: safer file open functions #67002method (*Root) Rename(string, string) error
os: safer file open functions #67002method (*Root) Symlink(string, string) error
os: safer file open functions #67002method (*Root) WriteFile(string, []uint8, fs.FileMode) error
os: add Root.ReadFile & Root.WriteFile #73126reflect
func TypeAssert[$0 interface{}](Value) ($0, bool)
reflect: add TypeAssert #62121runtime
func SetDefaultGOMAXPROCS()
runtime: CPU limit-aware GOMAXPROCS default #73193runtime/trace
func NewFlightRecorder(FlightRecorderConfig) *FlightRecorder
runtime/trace: flight recording #63185method (*FlightRecorder) Enabled() bool
runtime/trace: flight recording #63185method (*FlightRecorder) Start() error
runtime/trace: flight recording #63185method (*FlightRecorder) Stop()
runtime/trace: flight recording #63185method (*FlightRecorder) WriteTo(io.Writer) (int64, error)
runtime/trace: flight recording #63185type FlightRecorder struct
runtime/trace: flight recording #63185type FlightRecorderConfig struct
runtime/trace: flight recording #63185type FlightRecorderConfig struct, MaxBytes uint64
runtime/trace: flight recording #63185type FlightRecorderConfig struct, MinAge time.Duration
runtime/trace: flight recording #63185sync
method (*WaitGroup) Go(func())
sync: add WaitGroup.Go #63796testing
method (*B) Attr(string, string)
testing: structured output for test attributes #43936method (*B) Output() io.Writer
testing: Add T.Output() etc #59928method (*F) Attr(string, string)
testing: structured output for test attributes #43936method (*F) Output() io.Writer
testing: Add T.Output() etc #59928method (*T) Attr(string, string)
testing: structured output for test attributes #43936method (*T) Output() io.Writer
testing: Add T.Output() etc #59928type TB interface, Attr(string, string)
testing: structured output for test attributes #43936testing/fstest
method (MapFS) Lstat(string) (fs.FileInfo, error)
io/fs: add ReadLinkFS interface #49580method (MapFS) ReadLink(string) (string, error)
io/fs: add ReadLinkFS interface #49580testing/synctest
func Test(*testing.T, func(*testing.T))
testing/synctest: new package for testing concurrent code #67434func Wait()
testing/synctest: new package for testing concurrent code #67434unicode
var CategoryAliases map[string]string
unicode: add CategoryAliases, LC, Cn #70780var Cn *RangeTable
unicode: add CategoryAliases, LC, Cn #70780var LC *RangeTable
unicode: add CategoryAliases, LC, Cn #70780CC @aclements, @ianlancetaylor, @golang/release.
The text was updated successfully, but these errors were encountered: