Skip to content

Commit 9da7143

Browse files
upgrade to latest dependencies (#928)
bumping knative.dev/pkg accfe36...0c2a238: > 0c2a238 Bump golang.org/x/tools from 0.28.0 to 0.29.0 (# 3134) bumping golang.org/x/tools 44670c7...1743d1a: > 1743d1a go.mod: update golang.org/x dependencies > 43ba465 internal/analysis/modernize: minmax: reject IfStmt with Init > 29d66ee gopls: update toolchain to go1.23.4 > ac39815 go/packages: add GOROOT env to avoid TestTarget failure in OpenBSD > 39e1a8c godoc: fix missing (Added in Go) "x.xx" for function with type parameters > 98a190b gopls/internal/analysis/unusedfunc: analyzer for unused funcs/methods > 192ac77 internal/golang: CodeAction: don't return empty source.doc titles > 5fe60fd internal/settings: drop "annotations" setting > c61a2b0 gopls/internal/golang: make GCDetails a code action, not a code lens > fc95c03 internal/modindex: fix index directory for tests > b93274b gopls/internal/cache: remove overzealous bug.Report > 960f0f4 x/tools: remove dead code > b0dc9b1 gopls/internal/filecache: Get: mitigate failure due to ENOSPC > 71b5dfe gopls: update telemetry dependency for crashmonitor fix > e3cedbd gopls/internal/server: fix nil panic in findMatchingDiagnostics > 649f485 all: make function and struct comments match the names > 26d1af2 gopls/internal/cache/parsego: fix OOB panic in fixAST > bf516ba gopls/internal/util/moremaps: use Sorted throughout gopls > 4f820db gopls/internal/golang: definition support break, goto and continue statements > f202b36 gopls/internal/analysis/modernize: string formatting > d6cc3cd go/analysis/passes/structtag: ignore findings for "encoding/json/v2" > 666fab2 go/analysis: document AllObjectFacts return value > 818ab3b gopls/doc/features: add missing ` > a6adab9 gopls/internal/analysis/modernize: check FileVersions throughout > c437d40 gopls/internal/analysis/modernize: for...{m[k]=v} -> maps.Collect et al > a039694 internal/typesinternal: determine package name using qualifier > a304b37 internal/typesinternal: support union types in func TypeExpr > 412b5e9 go/types/typeutil: make Hasher stateless > 6d4eee4 go/callgraph: fix trivial mistake in benchmark > e56f71a gopls/internal/cmd: update codelens.hlp, change -run to -exec > 732f823 gopls/internal/analysis/modernize: b.N -> b.Loop() > 20cd540 gopls/internal/golang: check for nil ReceiverNamed > 02033b2 gopls/internal/analysis/modernize: simplify append(base, s...) > aa94d89 gopls/internal/analysis/modernize: replace interface{} with any > 93cc684 gopls/internal/analysis/modernize: sort.Slice -> slices.Sort > 3cad859 gopls/internal/analysis/modernize: quick fixes to modernize Go code > 8194029 gopls/internal/golang: hover support return statements > 851152f go/ast/inspector: add explicit parent pointer > b75baa0 internal/astutil/cursor: Cursor API for inspector > ebeac1b gopls/internal/util/astutil: fix tiny doc typo > 8e66a04 gopls/internal/util/astutil: NodeContains: workaround for ast.File > ea69910 gopls/internal/golang: fix DocLink markup > cb7945a gopls/internal/cache: move symbols to the file cache > dcc725c gopls/internal/cache/testfuncs: fix crash with *error argument > 74dea82 gopls/internal/golang/completion: fix crash in instance conversion > 8843590 gopls/internal/codeaction: replace all occurrences of expression (refactor.extract.variable.all) > fcb4185 gopls/internal/golang: fix bug browsing assembly for (T).f methods > 28cd718 cmd/stringer: place test package files in a test module > d3a1606 gopls/internal/golang: definition support return statements > bf42cd7 go/packages: add Target field and NeedTarget LoadMode bit > c73f4c8 internal/stdlib: re-generate manifest > a255cbe internal/modindex: handle deprecated symbols > e3a4b6b internal/gcimporter: update comment > 8127761 gopls/internal/settings: drop experimental hoverKind=Structured > 7bfb27f gopls/go.mod: update dependencies following the v0.17.0 release > c803483 internal/gcimporter: synchronize with internal/exportdata > c1ff179 gopls/internal/golang: Implementations: support generics > dd4bf11 internal/gcimporter: set correct Package.Path for main packages > aca81ce internal/gcimporter: copy GOROOT/internal/exportdata functions > d405635 internal/refactor/inline/analyzer: use "//go:fix inline" annotation > 47df42f internal/gcimporter: synchronizing FindPkg implementations > 82b6f75 internal/typesinternal: rollback of Zero{Value,Expr} for gopls > ab5f969 internal/gcimporter: moving FindPkg > 5e47a3d gopls/internal/cache: move Snapshot.Symbols to symbols.go > 3689f0b internal/gcimporter: reuse archive.ReadHeader implementation > 2cc4218 internal/gcimporter: moving byPath code location > 6ebf95a internal/gcimporter: remove indexed support from Import > 7790f2e gopls/internal/cache/methodsets: support generics > c2df0ef internal/gcimporter: remove end-of-section marker from size > ecb0abc internal/typeparams: delete GenericAssignableTo > 98c17f1 gopls/internal/golang: eliminate CollectScopes > bf32f4d gopls/doc/release: tweak wording following feedback > b7532e6 gopls/doc: update relnotes for v0.17.0 Signed-off-by: Knative Automation <[email protected]>
1 parent 8ec3399 commit 9da7143

File tree

21 files changed

+1046
-557
lines changed

21 files changed

+1046
-557
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8
1212
knative.dev/hack v0.0.0-20250109131303-f8be0ccdff36
1313
knative.dev/hack/schema v0.0.0-20250109131303-f8be0ccdff36
14-
knative.dev/pkg v0.0.0-20250110150618-accfe3649188
14+
knative.dev/pkg v0.0.0-20250113161000-0c2a238a16ed
1515
)
1616

1717
require (
@@ -71,7 +71,7 @@ require (
7171
golang.org/x/term v0.28.0 // indirect
7272
golang.org/x/text v0.21.0 // indirect
7373
golang.org/x/time v0.6.0 // indirect
74-
golang.org/x/tools v0.28.0 // indirect
74+
golang.org/x/tools v0.29.0 // indirect
7575
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
7676
google.golang.org/api v0.183.0 // indirect
7777
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,8 @@ golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc
547547
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
548548
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
549549
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
550-
golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
551-
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
550+
golang.org/x/tools v0.29.0 h1:Xx0h3TtM9rzQpQuR4dKLrdglAmCEN5Oi+P74JdhdzXE=
551+
golang.org/x/tools v0.29.0/go.mod h1:KMQVMRsVxU6nHCFXrBPhDB8XncLNLM0lIy/F14RP588=
552552
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
553553
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
554554
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -701,8 +701,8 @@ knative.dev/hack v0.0.0-20250109131303-f8be0ccdff36 h1:iZ6CwYLo+y82MXlK7PoG/cnFE
701701
knative.dev/hack v0.0.0-20250109131303-f8be0ccdff36/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
702702
knative.dev/hack/schema v0.0.0-20250109131303-f8be0ccdff36 h1:j7/31r2d68tu3zVVxSSrEbuLqjGrgWzfzwY5+wXyISw=
703703
knative.dev/hack/schema v0.0.0-20250109131303-f8be0ccdff36/go.mod h1:jRH/sx6mwwuMVhvJgnzSaoYA1N4qaIkJa+zxEGtVA5I=
704-
knative.dev/pkg v0.0.0-20250110150618-accfe3649188 h1:xM2blxCAN0VzKQPYqeq2jNBL7xN6Iyn1avs+Ib+ogaM=
705-
knative.dev/pkg v0.0.0-20250110150618-accfe3649188/go.mod h1:C1u0e6tMiEkqcKsurZn2wGTH6utcTbODFwJBPyZ56lA=
704+
knative.dev/pkg v0.0.0-20250113161000-0c2a238a16ed h1:PUMNZc1CBUg5G4JYio3wjpCJuCJG2ZeCuLvlBTpDiZI=
705+
knative.dev/pkg v0.0.0-20250113161000-0c2a238a16ed/go.mod h1:p7c7yCCf1YVX04FQ8YDyJaHciknu726qVWOXRX5tIBM=
706706
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
707707
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
708708
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

vendor/golang.org/x/tools/go/packages/golist.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/golang.org/x/tools/go/packages/loadmode_string.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/golang.org/x/tools/go/packages/packages.go

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)