bumping golang.org/x/mod 9b9b3d8...86c51ed: > 86c51ed all: remove golang.org/x/xerrors dependency > 41445a1 zip: update TestUnzipSizeLimitsSpecial for CL 366854 > 145421b all: gofmt > 605edab sumdb/note: relax prescriptiveness of key hash format > a410e2d sumdb/note: catch a Verifiers that returns the wrong Verifier bumping knative.dev/pkg 158538c...714b763: > 714b763 upgrade to latest dependencies (# 2609) > 21d3b47 upgrade to latest dependencies (# 2608) > 8178c38 update k8s to 1.25.2 (# 2599) > fb2e4fb Preserve webhook namespaceSelector.matchLabels (# 2605) > 5c5da28 Update actions (# 2607) > 1fb3e67 Update community files (# 2606) > bc93b0a bump min kubernetes to v1.23 (# 2595) > 8cacac2 upgrade to latest dependencies (# 2604) bumping github.com/go-logr/logr 99e02a9...47e013c: > 47e013c Merge pull request # 128 from thockin/format-test > b359493 Merge pull request # 140 from thockin/testing_testr > d731630 Add some test cases > 28755ae Merge pull request # 130 from thockin/nil-stringer > 5377a98 Move testing -> testr, deprecate, alias old names > 4610455 Reformat existing test cases > ec7c16c Merge pull request # 135 from thockin/fix-actions-go-versions > 945d619 funcr: Handle panic in Stringer, Marshaler, error > e2fd555 Merge pull request # 133 from pohly/nil-logger > e438a74 Fix GH actions for Go versions, drop 1.14 > af7b868 Add stringer, error, marshaler to benchmark > eb02c45 Merge pull request # 129 from tonglil/patch-1 > 68ef51c docs: describe handling of optional logger parameters > 8aa3af1 Update README.md bumping k8s.io/kube-openapi 3ee0da9...67bda5d: > 67bda5d Merge pull request # 308 from alexzielenski/fieldlevelannotation > 011e075 Merge pull request # 302 from ruquanzhao/branch2 > 4d09b3c add field level override integration test for openapi gen > c39d0f6 Merge pull request # 306 from apelisse/go-1.18 > dff3465 Remove newlineReporter custom report > 74b52a2 update smd to 4.2.3 > 1062c7a Merge pull request # 304 from dims/switch-to-released-version-of-v3.8.0-github.com/emicklei/go-restful/v3 > 0bed9f0 Update to go1.18 > 89ff079 upgrade ginkgo to ginkgo/v2 > 48d47d9 remove unused function > 31174f5 Merge pull request # 303 from dims/move-to-newer-v3-version-of-go-restful > 77c5a1e Switch to released version of v3.8.0 - github.com/emicklei/go-restful/v3 > bff9878 add ability to override structType with field-level annotation > 5e7f5fd Merge pull request # 300 from Jefftree/remove-bazel-references > ca8f27e Move to newer version (v3) of github.com/emicklei/go-restful > b28bf28 Merge pull request # 283 from alexzielenski/gnostic_conversion > fa41ef1 Remove bazel references > c715a76 add direct conversion for gnostic v2 types bumping sigs.k8s.io/json 9f7c6b3...f223a00: > f223a00 Merge pull request # 16 from kevindelgado/strict-error-path-separation > ff3dbbe Merge pull request # 14 from liggitt/go118 > b536e95 store err type and path separately in strict errors > 227cbc7 Merge pull request # 15 from liggitt/ci-refresh-go > 4017094 sync go1.18 changes from encoding/json > 93e9748 Check latest go version in CI bumping sigs.k8s.io/structured-merge-diff/v4 65611e5...26781d0: > 26781d0 Merge pull request # 224 from apelisse/revert-backwards-incompatible-changes > 4ad28cc Merge pull request # 223 from apelisse/v5 > 4d3633c Remove all copies of Schema and Map > ebd569f Merge pull request # 220 from alexzielenski/fieldannotation > 1754a8d Create package v5 for backward incompatible change > b4e893e Revert "use pointer semantics for schema" > 5e8be97 Merge pull request # 222 from alexzielenski/fix-exponential-bug > c779eba fix gofmt > a70144b Revert "Create package v5 for backward incompatible change" > 8f72076 Merge pull request # 221 from apelisse/improve-operations-parsing > 478fc28 fix nil schema type not being deduced to whatever the other operand is > 50567d1 update gofmt > e3fbe42 Merge pull request # 204 from zqzten/retry_add_back_owned > 11d9bfa Change operation test dependency on parseableType rather than typename > 0f66c33 Add exponential test failure for large CR > 15f722a add benchmark excercising field-level overrides > 0f3c884 Merge pull request # 215 from alexzielenski/schema-copy > 41d6b2c add test for multiple version appliers with reliant fields conversions > 8a2620f Name operation tests after their filename > 60b3b65 use pointer semantics for schema > 73412af Merge pull request # 213 from apelisse/add-readme-testdata > f345637 fixup! add CopyInto method to schema.Schema > 5e01923 add back owned items at pruned version first > 00b6b52 add field-level element relationship which overrides referred type > aa301db Merge pull request # 214 from apelisse/update-jsoniter-go118 > f0fadd0 Add README to explain how schemas can be generated > c26273c add CopyInto method to schema.Schema > b2bdf68 Update jsoniter to v1.1.12 to work with go1.18 bumping github.com/imdario/mergo 9316a62...9f23e2d: > 9f23e2d Update README.md > 7816d7f Merge pull request # 86 from vdemeester/append-slice-without-pancking > 9a471d7 Appending slice can cause Mergo to panic… bumping k8s.io/api 44d27eb...4b838ea: > 4b838ea Update dependencies to v0.25.2 tag > fce3016 Merge pull request # 112161 from pohly/automated-cherry-pick-of-# 112129-origin-release-1.25 > 29513a2 dependencies: update to ginkgo v2.1.6 and gomega v1.20.1 > 5c4a1b1 Merge remote-tracking branch 'origin/master' into release-1.25 > 714e431 Merge pull request # 111657 from aojea/hc_nodeport > 8608211 Merge pull request # 109090 from sarveshr7/multicidr-rangeallocator > 7840548 doc services healthcheckNodePort is inmutable > b88698c Merge pull request # 111258 from dobsonj/kep-596-ga-feature-flag > a7621fb Auto generate code for ClusterCIDR API > 2f9e588 Merge pull request # 111113 from mimowo/retriable-pod-failures-job-controller > b964bc7 Move CSIInlineVolume feature to GA > 14e048f Introduce networking/v1alpha1 api, ClusterCIDR type > 3be517c Merge pull request # 111696 from liggitt/go119mod > fe83bea Support handling of pod failures with respect to the specified rules > 991b481 Merge pull request # 108692 from jsafrane/selinux > e281bde Update go.mod to go1.19 > f42f86a Regenerate files > a39f97c Add CSIDriverSpec.SELinuxMount > c8f0601 Merge pull request # 111677 from dims/stop-panic-in-govet-levee > ea1451a run lint-dependencies and follow directions > a2b9bcc Stop panic in govet-levee CI job > ad89a10 Merge pull request # 110495 from alexzielenski/atomic-objectreference > e590d1f Merge pull request # 111090 from kinvolk/rata/userns-support-2022 > d978b18 mark persistentvolume's claimRef as granular > 7488a8c Merge pull request # 111435 from soltysh/cronjob_timezone_beta > 2a31718 Update autogenerated files > d351ecd Merge pull request # 111557 from alexzielenski/update-smd-422 > f990455 Update generated > 9448de2 pkg/apis, staging: add HostUsers to pod spec > ae37896 update smd to 4.2.3 > 010c740 Promote CronJobTimeZone to beta > 1b82208 Merge pull request # 110959 from mimowo/retriable-pod-failures-pod-conditions > 08dedd8 Introduction of a pod condition type indicating disruption. Its `reason` field indicates the reason: > f5e1938 Merge pull request # 111587 from ialidzhikov/k8s-utils@ee6ede2d64 > b3c30ab Update `k8s.io/utils` to `ee6ede2d64ed` > be740eb Merge pull request # 111441 from denkensk/respect-topology > a76179a Merge pull request # 111402 from verb/111030-ec-ga > acf399c code generated by script for MatchLabelKeys in TopologySpreadConstraint > 537ea12 Merge pull request # 111442 from ialidzhikov/k8s-utils@56c0de1e6f > d8280df Remove EphemeralContainers beta disclaimer > d96a10b api defination for MatchLabelKeys in TopologySpreadConstraint > 8f210eb Update `k8s.io/utils` to `9bab9ef40391` > 04aced3 Merge pull request # 111254 from dims/update-to-golang-1.19-rc2 > dda4dee Generate and format files > f6f0d0e Merge pull request # 111194 from ravisantoshgudimetla/promote-maxSurge-ga > f77fa25 Merge pull request # 111229 from ravisantoshgudimetla/promote-podOS-GA > 7b89ea1 Generated: maxSurge for DS > 9a18f7a Merge pull request # 110178 from kevindelgado/validation-beta-1-25 > 844753e Generated: PodOS field to GA > d895ab7 api: Promote DS maxSurge to GA > 096c9df Merge pull request # 110388 from sanposhiho/graduate-mindomain-beta > 1d3dcfc update kjson > bdc8eb0 api: Promote PodOS field to GA > fa32a3a Merge pull request # 110896 from ravisantoshgudimetla/promote-minReadySec-sts-update-ga > eeea400 Update doc comment > 08c75a7 Merge pull request # 111008 from cici37/bumpCEL > 40e8eea Generated: minReadySeconds for STS > 0110f55 Update v1 package to graduate minDomains to beta > 0c6d49d Bump cel-go to v0.12.0 > df27ddf api: Promote statefulset MinReadySeconds to GA > b9bd732 Merge pull request # 110564 from j4m3s-s/add-ports-doc-fix > 51e4c4a Merge pull request # 111010 from thockin/remove-refs-to-EndpointSliceNodeName > b7c39ad Fix description of Ports in PodSpec > 248dcdb Merge pull request # 111001 from pohly/klog-update > 4756865 Remove obsolete refs to gate EndpointSliceNodeName > b5b8fba build: update to klog v2.70.1 > 8488949 Merge pull request # 110990 from thockin/svc-typenames-IPFamilyPolicyType > ed77e2e Rename IPFamilyPolicyType => IPFamilyPolicy > 33ab20e Merge pull request # 110868 from rikatz/endport-to-ga > f18d381 Merge pull request # 110831 from chendave/openapi > 270b22d Generated files for endPort promotion > 724b071 Bump `kube-openapi` to the latest > e803bc1 Promote endPort to GA > b98f264 Merge pull request # 110724 from pohly/klog-update > 61fcc0f build: update to klog v2.70.0 > edebc67 Merge pull request # 110561 from Shubham82/extend_Description > 60387f6 Merge pull request # 110378 from lucacome/bump-grpc > 1cba8e4 RBAC: Modify the Description for the apiGroup. > 89ed2a8 Bump grpc to v1.47.0 > 6b0201d Merge pull request # 110520 from dims/update-gopkg.in/yaml.v3-to-v3.0.1 > 2c10714 Update gopkg.in/yaml.v3 to v3.0.1 > d50b1bc Merge pull request # 109293 from iamNoah1/improve-ingressclassname-api-doc > 832b1f4 Merge pull request # 109938 from dims/move-from-k8s.gcr.io-to-registry.k8s.io > bba462c generate ressources after change request > ed22bb3 Move from k8s.gcr.io to registry.k8s.io > d1f2717 add change requests > be84346 Merge pull request # 109968 from kerthcet/feature/optimize-apifield-comment > e85f85a generate ressources after change request > 209903b amend comment of NodeInclusionPolicy > bac3ee2 add change requests > ae35a85 Merge pull request # 108492 from kerthcet/feature/add-NodeInclustionPolicies > a3f4ca9 generate ressources after change request > 202371b feat: add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec > 4e39c88 add change requests > 9b88471 Merge pull request # 109891 from pohly/log-dependency-update > af2d87a add generated assets > 548c53c Merge pull request # 109602 from lavalamp/remove-clustername > 0f669be dependencies: logr and zapr v1.2.3 > 4b894ff first shot improving api doc for ingressclassname > 5e2f5ad Merge pull request # 109308 from danwinship/traffic-policy-docs > eb567e7 compat > a2ee8c7 Merge pull request # 109803 from liggitt/api-fixture-data > 85c4c9d Clarify ExternalTrafficPolicy/InternalTrafficPolicy definitions > fcb6509 Merge pull request # 109440 from liggitt/gomod-1.18 > 1afa1ae Remove v1.22.0 API fixture data > 3f52c1d Regenerate vendor > a2ae4d4 Add v1.24.0 fixture data > d672b36 Merge pull request # 109506 from wangrzneu/fix-comment > f2f8c15 Merge pull request # 109421 from vpnachev/fix/typo-in-token-request-doc-string > 35e4518 fix IngressClassParametersReferenceScopeCluster comment in staging/src/k8s.io/api/networking > af4f75e Merge pull request # 105963 from zhucan/bugfix-95367 > aed3ebb Fix typo in TokenRequest doc string > 7a89730 Merge pull request # 109436 from JamesLaverack/revert-108290 > 56fb9f0 generated code and doc > 1f82dd7 Revert "Introduce APIs to support multiple ClusterCIDRs (# 108290)" > 6f81c7b csi: add nodeExpandSecret support for CSI client bumping knative.dev/hack 92a65f1...3fdc50b: > 3fdc50b Remove Signing Feature Gate (# 236) > 2d67db5 generate provenances (# 237) > 52a87e1 Update community files (# 235) bumping golang.org/x/tools 897bd77...b3b5c13: > b3b5c13 internal/lsp/cache: invalidate packages with missing deps when files are > 39a4e36 internal/lsp/regtest: only run /default tests with -short > f157068 internal/lsp/regtest: allow sharing memoized results across regtests > 8ccb25c internal/lsp: treat struct tags as string type > 6c8a6c4 internal/lsp: suppress parameter hint when argument matches parameter > c83f42d internal/lsp: update inlay hints documentation to include go snippets > 8b47d4e all: update dependencies > 7600454 gopls: update dependencies > 2a6393f internal/lsp: Refactor to share logic with rename > 4375b29 cmd/auth/cookieauth: delete unreachable os.Exit > 005c07a gopls/internal/vulncheck: adjust logging > 04bd087 internal/lsp: enable fillstruct for generics > 6ec939a internal/span: fix incorrect bounds check in ToOffset > 178fdf9 gopls/internal/regtest: unskip Test_Issue38211 > 1cfe623 gopls/internal/regtest: unskip TestQuickFixEmptyFiles > 3d474c8 internal/lsp/diff: new diff implementation to replace go-diff > a2a2477 gopls/internal/regtest: externalize shouldLoad tracking > 7b605f4 gopls/internal/vulncheck: pass go version to vulncheck config > 126ef8f gopls/internal/govulncheck: sync x/vuln@b9a3ad9 > a732e45 gopls: update golang.org/x/vuln > 980cbfe A+C: delete AUTHORS and CONTRIBUTORS > ec1f924 internal/lsp: add check for nil results to fillreturns > 79f3242 godoc: support go1.19 doc comment syntax > 2957e9d go/callgraph/vta: use types.IsInterface instead of our own isInterface > 2eaea86 go/callgraph/vta: do not include interface types during propagation > dc45e74 internal/lsp: Update FilterDisallow to support matching directories at arbitrary depth. > ce6ce76 internal/lsp/regtest: increase the time allowed for shutdown > 32129bf go/internal/gcimporter: adjust importer to match compiler importer > 22d1494 internal/gcimporter: add support for reading unified IR export data > c3af7c2 internal/lsp/cache: delete workspacePackageHandles (dead code) > 1a4e02f internal/lsp/analysis/unusedvariable: add analyzer > db8f89b internal/memoize: rename Handle to Promise > a7c53b5 internal/analysisinternal: move FindBestMatch to internal/lsp/fuzzy > 9b6c018 internal/lsp/cache: don't trim unexported struct fields > 85173cc internal/lsp/cache: follow usual structure for packages, analysis maps > b2eae76 internal/lsp/cache: simplify modwhy cache > dcb576d internal/lsp/cache: simplify modtidy > b230791 internal/lsp/cache: move PosTo{Decl,Field} out of cache > 8730184 internal/lsp/fake: retry spurious file lock errors on windows > 459e2b8 internal/lsp/progress: actually close over Context in WorkDoneWriter > 7c06b01 go/callgraph/vta: remove interprocedural flows for receiver objects > 6e6f313 internal/lsp/regtest: simplify, consolidate, and document settings > 3db2cdc internal/lsp: wait for ongoing work to complete during server shutdown > a5adb0f internal/lsp/cache: use mod=readonly for process env funcs > a79ee0f Revert "Revert "internal/lsp/cache: don't pin a snapshot to view.importsState" > bc957ec internal/lsp/source: use token.File-agnostic positions to dedupe refs > b6e4951 Revert "internal/lsp/cache: don't pin a snapshot to view.importsState" > 71dc5e2 internal/lsp/cache: make snapshot reference counting uniform > 42457a5 internal/lsp/cache: don't pin a snapshot to view.importsState > d6c099e internal/memoize: document stateIdle, RefCounted > 53ead67 internal/memoize: delete Generation and Bind > 8746177 internal/lsp/cache: simplify ParseGo > 9c2a556 internal/lsp/cache: fail addPackageHandle if metadata is stale > 1dfab61 internal/lsp/cache: use GetHandle not Bind for 5 URI-keyed maps > 2aef121 internal/lsp: consolidate .go/go.mod link logic > 8184d1f internal/lsp/cache: use GetHandle not Bind in astCacheData > 36430f4 internal/lsp/cache: use GetHandle not Bind for actions > b929f3b internal/span: make NewRange accept File, not FileSet > d69bac6 internal/lsp/cache: cache isActiveLocked calculation across snapshots > afa4a95 internal/lsp/cache: persist known subdirs > 698251a internal/lsp/cache: sort Metadata.Deps, for determinism > f79f3aa internal/lsp/cache: clarify buildPackageHandle > e92a18f internal/lsp/lsppos: reduce allocations in NewMapper > f487f36 internal/lsp/source: reduce allocation in workspace-symbols > 7b04e8b internal/persistent: no-op deletion from map does not allocate > f042799 internal/memoize: delete Bind(cleanup) hook > bec0cf1 internal/lsp/cache: avoid Handle mechanism for workspace dir > ffc70b9 lsp/completion: fix ranking of *types.PkgName candidates > 93bf1fc gopls: add range over channel postfix completion > 79fefdf internal/memoize: do not iterate all handles on generation destruction > fa4babc internal/lsp/cache: use persistent map for storing packages in the snapshot > 9358add internal/lsp/cache: remove unused function > c77473f gopls: upgrade staticcheck to v0.3.2 > e8e5b37 internal/lsp/cache: don't construct a new metadata graph if no changes > 8314b7a go/analysis: add suggested fix for unkeyed composite literals > 8865782 internal/lsp: add text edits for unkeyed literals > 1a196f0 internal/lsp/cache: don't build symbol info for non-Go files > b84d509 gopls/doc: regenerate documentation > c10541a go/analysis/passes/fieldalignment: document "false sharing" > 7743d1d internal/lsp: respect range for inlay hints > 0248714 internal/lsp: add additional instrumentation around package loading > e5b3324 internal/lsp: add InlayHint regtests > 2a90056 go/gcexportdata: fix Find for Go modules > 7404bd2 all: gofmt some recent file changes > ec0831a refactor/satisfy: don't crash on type parameters > 66bbba3 internal/memoize: remove unused Store.generations map > 56116ec internal/memoize: don't destroy reference counted handles > 10494c7 cmd/digraph: fix typo > 93a03c2 internal/lsp/cache: invalidate reverse closure when loading packages > c36379b internal/lsp/cache: don't set new metadata if existing is valid > e1ec1f3 internal/imports: use a module resolver if GOWORK is set > 60ca636 internal/lsp: use camel case for inlay hint config fields > 2994e99 internal/persistent: change map to use set/get as method names > 22ab253 internal/lsp: rename viewport to range > 3f5f798 internal/lsp/cache: use persistent map for storing files in the snapshot > f60e9bc internal/lsp/cache: use persistent map for storing gofiles in the snapshot > 871637b internal/lsp: add settings for inlay hints and enable > a44cc76 cmd/stringer: use explicit NeedX values instead of deprecated LoadSyntax > 4e231cb internal/lsp/cache: don't prune unreachable metadata on clone > a2de635 internal/lsp/cache: honor the go.work for computing workspace packages > cbb8e8e internal/span: optimise URI.Filename to avoid allocation > 63d8015 internal/lsp/cache: minor simplifications to Symbols > 59bd4fa internal/lsp: find references to package > a1303c8 internal/lsp: remove tooltip from inlay hints > 641b30b internal/lsp: add inlay hints for inferred type params > 70ccf57 go/packages: fix loading single file when outside of GOPATH, module > 381ac87 internal/lsp/debug: reduce critical sections in trace > 1e14d99 internal/lsp: add inlay hints for composite literal types > e987015 internal/lsp/cache: symbolize in parallel > 88325aa internal/memoize: add trace region for Handle.run > c353b05 internal/lsp/cache: delete checkSnapshotLocked > 567c98b internal/lsp/cache: don't walk URIs to invalidate metadata > dffd645 internal/lsp/cache: only clone metadata if something changed > 4ba3d22 internal/lsp/cache: clone the metadata graph when clearing ShouldLoad > 39d3d49 internal/lsp/cache: use metadataGraph.Clone in snapshot.clone > 8a92078 internal/lsp/cache: build a new metadata graph on load > 9f38ef7 internal/lsp/cache: derive workspace packages from metadata > 041035c Revert "internal/lsp/cache: reduce critical sections" > d097bc9 gopls/internal/vulncheck: include nonaffecting vulnerability info > e8b9ff1 gopls/internal/govulncheck: sync x/vuln@4eb5ba4 > 654a14b internal/lsp/cache: reduce critical sections > 27db7f4 gopls: update golang.org/x/vuln to latest @4eb5ba4 > c993be6 go/analysis/internal/checker: log codeFact error, remove unused action.inputs > ed27611 internal/lsp/cache: cache known subdirs pattern > ebc084a internal/lsp: add inlay hints count to test summary > c15c045 internal/lsp: enable inlay hint tests > 0343989 internal/lsp: fix error message for inlay hints > a41fc98 internal/lsp/cache: use [256]byte Hash instead of hex digit string > c41ddce internal/lsp: include padding in inlay hint marker tests > 5e48d26 internal/lsp: add inlay hints for composite literal names > 83b0675 internal/lsp: add inlay hints for constant values > ecc1479 internal/lsp: add inlay hints for variable types > 65c0181 internal/lsp: support textDocument/inlayHint for parameter names > 9651276 internal/lsp/cache: optimize Snapshot.clone > 697795d internal/lsp/regtest: don't run the connection on the test context > ad756c7 internal/lsp: initial test set up for inlay hints > 1d19788 internal/lsp/cache: always compute IsIntermediateTestVariant > 4a8620f internal/lsp/cache: move metadata fields to a new metadataGraph type > a3d129c internal/lsp/cache: extract module load errors when go.work is used > 6bfd3a4 Revert "internal: temporarily disable tests so we can land CL 410955" > 5ca4cc8 internal: temporarily disable tests so we can land CL 410955 > 63dfc2d internal/lsp/cache: two minor optimizations > 030812f internal: remove unneeded FileSets > 2417911 go/analysis/internal/checker: add -test flag for single/multi-checkers > 43cce67 go/analysis: document need for deterministic Fact encoding > af82757 cmd/callgraph: add test of -algo=vta > 76325da internal/lsp/progress: detach context for all progress notifications > b2fbc38 cmd/callgraph: add -algo=vta option > d68628a go/ast/astutil: clarify PathEnclosingInterval > 3dd056a internal/lsp/mod: fix broken assumptions about file base > 0cdf4b5 internal/lsp/source: eliminate ColumnMapper.PointSpan in favor of Pos > 9d7bf95 internal/lsp: factor out column mapper construction from content > 9e1d19b internal/span: eliminate TokenConverter > dae3f4b internal/lsp/diff: remove unused TokenConverter parameters > de3ef4a internal/lsp/source: remove workaround for newline terminated files > 6b760fc internal/lsp/source: remove ineffectual memoization in MappedRange > ea60815 internal/lsp: use the correct converter for mapped range offsets > 1ff52e2 gopls/internal/vulncheck: use internal/govulncheck > 2bb78cf internal/lsp: add missing bug reporting, and panic during marker tests > 0e859af go/analysis/analysistest: use listed mode instead of deprecated const > f385733 internal/gocommand: skip ill-formed env vars in cmdDebugStr > ccb1050 internal/lsp/cache: invalidate metadata when parsing issues resolve > 904e24e go/ssa: tweak Function.Name() for generic instantiations > 4dd2c74 internal/govulncheck: copy from x/vuln repo > b62b00f internal/lsp: add an option to get notified of bug reports > 960b4ce internal/typeparams: adds core type implementation > b55ed5e internal/lsp/regtest: only print RPC logs if asked > 44db4eb gopls/internal/regtests: add a test for bad go.work files > f97a804 go/analysis/passes/nilness: fixed slice not being considered as non-nil > 13bcb69 internal/lsp/analysis/stubmethods: recognize *ast.CallExpr > facb0d3 internal/span: eliminate Converter and FileConverter > 814e0d7 go/gcexportdata: don't assume that fmt names never change > 1e55371 go/ssa: fix *SelectorExpr within *IndexExpr handling > 29d48d6 go/callgraph/rta: adds tests for (instantiated) generics > ed968f6 internal/lsp/bug: add a package for bug reporting > 090b14e internal/lsp/regtest: make TestResolveImportCycle robust to error order > 820e093 go/types/objectpath: implement fast path for concrete methods > cfd9905 go/ssa: inline *ssa.selection methods > 304195c go/ssa: create *ssa.selection. > f918e87 gopls/internal/vulncheck: copy logic of govulncheck -html > a518b79 gopls/internal/vulncheck: synchronize cache access > ad497c6 internal/lsp/cmd: add -config option to gopls vulncheck > 62d837c go/analysis/passes/httpresponse: minor clarification > 6eb3de2 internal/lsp/analysis: fix a doc comment typo > 728485f gopls/internal/regtest: add a test for using staticcheck with generics > 1a5eed3 cmd/compilebench: use -p, handle packages with asm files > 93852cb internal/lsp: fix source.CompareDiagnostic asymmetry > 8ec40b5 x/tools/go/ssa: instantiate sel.Recv() on MethodVal. > 28c754d internal/lsp/analysis: analyzer for //go:embed directive > 033cbfc internal/typeparams: run go generate with go1.18.2 > bc0e26e internal/typeparams: remove examples in favor of x/exp/typeparams > b87ceec go/analysis/passes/httpresponse: inspect enclosing context of resp, err > 313af96 go/ast/astutil: make Apply follow TypeParams fields > d303668 internal/lsp/cache: use cached parsed files for symbols, if available > 0fb1abf internal/lsp: factor out go/token wrapper into a safetoken package > cde25b3 internal/lsp/lsppos: add helpers for mapping token positions > 22b7096 internal/lsp/cmd: change vulncheck to directly call the hook > 72a884b gopls: update golang.org/x/vuln dependency > d7e01c0 internal/lsp/source/completion: use typeutil.Map for short-circuiting > d299b94 passes/copylock: suppress reports on Offsetof and Alignof > 30fbd19 internal/lsp: fix fillstruct for structs with unsafe.Pointer > 0ebacc1 internal: remove pre-go1.12 conditionally compiled files > 45c8a71 internal/tool: implement structured help command > d27d783 cmd/godoc: expand skips in TestWeb > 4911e4a internal/testenv: remove darwin/arm case from NeedsGoBuild > 54c7ba5 go/analysis/passes/asmdecl: add build tag for loong64 > b4c4500 README: restructure and update > 556c550 internal/lsp/cache: invalidate packages that have added files > 4a3fc21 internal/lsp: only linkify urls with http, https, and ftp schemes > 04fc2ba cmd/godoc: skip TestWeb if waitForServerReady fails > 6872d3b passes/unusedwrites: Add TODO for how to handle generics. > 7c895e0 pointer: Adds unit tests for pointer with type parameters. > ddadc42 guru: Add a TODO list to the guru cmd. > c39ac6a callgraph/vta: Removes dead return statement (misc cleanup). > aafffac internal/lsp/source: avoid panic in HoverIdentifier > c862641 cmd/digraph: only print non-trivial sccs > 6fff1af go/analysis/passes/errorsas: update testdata for new warning > 115b454 go/analysis/passes/errorsas: warn if errors.As target is *error > 60b4456 go/callgraph/static: adds tests for (instantiated) generics > a37ba14 go/callgraph/cha: adds tests for (instantiated) generics > dcaea06 go/callgraph/vta: adds tests for (instantiated) generics > b44fad8 lsp/completion: fix func literals with type params > 5bb9a5e lsp/completion: fix literal completions with type params > 0941294 lsp/completion: further improve generic func arg ranking > c903563 internal/lsp/cache: don't cache parsed files when checking for metadata > 825b661 nilness: add unit test for generic instantiation. > 2548a8b ssautil: Add unit tests that set ssa.InstantiateGenerics > ae12e8f ssa: switch lblocks to types.Object > 559469a internal/lsp: render package documentation when hovering over a package import > fa7afc9 lsp/completion: improve generic func arg ranking > d567bc1 go/ssa: monomorphize generic instantiations. > 5d7ca8a go/ssa: return nil on parameterized types on MethodValue. > 48a2cc8 x/tools: remove dependency on golang.org/x/xerrors > 235b13d cmd/godoc: remove usage of golang.org/x/xerrors > b22f048 internal/jsonrpc2*: remove usage of golang.org/x/xerrors > bcfc38f go/packages: remove usage of golang.org/x/xerrors > 37590b3 gopls: remove usage of golang.org/x/xerrors > e854e02 go/ssa: fix miscompilation of <<= and >>= statements > c02adcc go/packages: ask for EmbedPatterns and EmbedFiles if needed > 5bb9c48 x/tools/go/packages: on Go 1.19+, explicitly ask for -json fields needed > 00aa68c go/ssa/interp: use *ssa.Global as key type for interpreter.globals > b4aba4b go/internal/gcimporter: key tparams by Package instead of pkgname > 46bc274 go/ssa: Update callee for wrapper function instantiation. > 884ffcd go/analysis: add support for loong64 > afc6aad go/packages: make loadFromExportData ignore go.shape > b7d7574 internal/lsp/protocol: avoid replying with non-nil interface values in case of error > 1f10767 gopls/doc: update neovim examples for nvim 0.7 > a220087 internal/lsp/protocol: ignore reply values with non-nil errors in jsonrpc2_v2 adapters > d5f48fc all: gofmt > d996daa go/ssa: gofmt > f9c13bb go/pointer: gofmt > ad8ef15 go/callgraph: gofmt > ce1e683 go/analysis: gofmt > 2bbdb7a gopls, internal/lsp: gofmt > 5fef6fd cmd: gofmt > 04fab9a go/callgraph/vta: avoids cycles for pathological recursive types > fbebf43 go/internal: gofmt > b900e88 go/ssa: emit Low expression before High in *ast.Slice > b2552ef internal/lsp: run go mod vendor exclusively to avoid file contention > 9e788ee internal/lsp/fake: consider mtime when polling for file changes > fe932b4 go/ssa: Instantiate calls to generic functions and methods. > ce5936c go/ssa: bound functions are now unique per instantiation. > 7dd9f20 go/ssa: Adds datastructures for function instantiation. > ee2bc8b go/ast/astutil: fix panic in DeleteNamedImport from line directive > 48e6d8d cmd/fiximports: skip TestFixImports on plan9-arm > 7f10777 gopls/internal/regtest/modfile: temporarily skip TestSumUpdateFixesDiagnostics > 7cc24c2 gopls: upgrade staticcheck to v0.3.0 > 1f763df internal/lsp: add semantic tokens for arrows in declarations > b3e0236 go/ssa: Track created functions in the builder. > 6731659 go/ssa: adds position info to implicit field selection instructions > 74cea6e internal/imports: ignore some line directives > 37acb39 internal/lsp: run vulncheck in specified dir > 4077921 all: fix spelling > ff66cbe internal/lsp: remove unused parameters from moduleAtVersion > 7d125fe cmd/callgraph: expand windows/arm64 skip to the whole platform > 153e30b internal/lsp/lsprpc: only propagate explicit GOWORK when using remote > cda13e2 internal/lsp: fix incorrect line and start of semantic tokens > 41787c4 gopls: run go mod tidy -compat=1.16 to fix the 1.16 build > b9a4807 internal/gopathwalk: remove unnecessary call to os.Lstat > 8e193c2 go/ssa: removes conversion of index value in Index and IndexAddr to int > 9d8009b go/analysis: validate report if analyzer.Run is empty > 761e51f go/ssa/interp: Adds reflect.DeepEqual model for interp testing > e342718 gopls/internal/vulncheck: skip vuln entries without callstacks > b22bc85 gopls/doc: update stale documentation on generics > e693fb4 go/internal/gcimporter: fix IImportBundle error text > ed5a15c go/internal/gcimporter: replace assert with more helpful panic > f4515dd go/packages: fix load with NeedTypes but not NeedImports > 11930bd go/packages: fix handling of NeedExportFile in go list > e0095ae go/packages: fix precedence typo in needtypes calculation > e309672 go/packages: rename NeedExportsFile to NeedExportFile > 54af36e internal/lsp: handle invalid URL args in command params > 707beb0 internal/lsp/source: descend into fields and field lists in qualifyExpr > 1e5ae83 internal/lsp/command: remove unnecessary json struct tag > b7db7eb internal/lsp/cmd: add vulncheck command > c62a3b3 gopls/internal/vulncheck: limit the included callstack count > 78ff15e tools: fix some typos > f23240f gopls/go.mod: switch to golang.org/x/vuln/vulncheck > 4adaded internal/lsp/source: handle empty strings in directoryFilters > 2536df9 internal/lsp/source: include builtin name in hovered signature > cd31eaa internal/lsp/command: add RunVulncheckExp > 4737f45 internal/lsp/command: add VulncheckArgs/Result types > 84a0321 doc/generate.go: handle non-empty JSON tag correctly > 4460e9b gopls/internal/vulncheck: copy x/vuln/cmd/govulncheck/cache.go > 9fd677e gopls/internal/vulncheck: add cmd that runs govulncheck-like analysis > b169789 go/ssa: add position information for switch case conditions > 9814b1b gopls: update settings link to code lenses > 87a8611 x/tools/go/packages: add Embed support > 1428e83 lsp/completion: fix bogus generic func conversion > cbdab03 lsp/completion: fix bogus type param candidate > 3a6cbd6 lsp/completion: improve completion for func type params > c717623 go/analysis/passes/asmdecl: define register-ABI result registers for PPC64 > 86b02b3 internal/lsp/cache: check for nil WorkFile.Go > 5ea13d0 internal/lsp/source: move doc links to the bottom of hover > 779dfa4 internal/lsp: invalidate package on go.mod change with go.work > c7b0e9a internal/lsp/template: fix processing of multi-line tokens > e998cd2 internal/lsp: remove unused code > 877ec07 internal/lsp/cache: remove unused code > 85d68bc internal/lsp: update LSP stubs, including provisional InlayHints > fb5dfde internal/imports: update stdlib index for 1.18 > d67eab4 go/types/objectpath: break cycles through type parameters in find > 77aa08b internal/completion: default to regular completion for f.Fuzz without f.Add > 6799a7a internal/lsp/source: canonicalize objects in reference/rename requests > 54a569a internal/imports: use first quote when matching import path > 40370f8 go/internal/gcimporter: add a test case for issue 51219 > 24806f2 go/analysis: add tests check for calling *F methods in fuzz func > dff7c5f go/internal/gcimporter: guard against infinite recursion with recursive > 49d48a0 go/analysis/passes/composite: allow InternalFuzzTarget > 198cae3 go/ssa: split pkg() into different cases for *Package and *types.Package > ee31f70 internal/lsp: add completion for use directives > 622cf7b internal/lsp/cache: copy workFile when invalidating workspace > e7a12a3 go/ssa: add type substitution > c773560 internal/lsp/cache: set GOWORK=off when mutating modfiles > 613589d internal/lsp: more precise completions for *testing.F fuzz methods > 9f99e95 go/analysis: add analyzer for f.Add > 7b442e3 go/callgraph/vta: fix package doc > 1670aad go/analysis: fix bug with finding field type > fd72fd6 go/ssa/interp: adding external functions for tests > b105aac internal/lsp: use regexp to add go mod edit -go quick fix > 03d333a internal/lsp: add snippet completion for function type parameters > 94322c4 go/internal/gcimporter: pass -p to compiler in test > b59c441 internal/lsp/cache: always consider go.work files for ws expansion > e155b03 cmd/getgo: exec main from TestMain instead of running 'go build' in tests > e562276 internal/lsp: add hover for go.work use statements > 121d1e4 internal/lsp: report diagnostics on go.work files > 0eabed7 cmd/file2fuzz: exec main from TestMain instead of running 'go build' in tests > 19fe2d7 gopls: update xurls dependency, remove \b workaround > 3ce7728 internal/lsp/source: support stubbing concrete type params > 3286927 internal/lsp/cache: construct workspace even when go.work has error > 09e0201 go/ssa: determine whether a type is parameterized. > e43402d go/ssa: changes Package.values to objects. > a972457 go/ssa: adds *types.Info field to ssa.Function. > fc47946 go/ssa: Move BasicBlock operations into block.go > 7103138 gopls: add regtest for edit go directive quick fix > 4a5e7f0 internal/lsp: correctly apply file edits for edit go directive > 6a6eb59 go/ssa: Put type canonicalization on own mutex. > afc5fce gopls/doc: address additional comments on workspace.md > abbbcaf gopls/doc: update the documentation for workspaces to suggest go.work > 72442fe gopls: update neovim documentation for imitating goimports > ffa170d internal/jsonrpc2_v2: fix a racy map assignment in readIncoming > 625c871 gopls: update neovim documentation for using go.work > fb3622a signature-generator: add Go func signature fuzzing tools > 5d35a75 internal/jsonrpc2_v2: clarify documentation > abc106c gopls/integration/govim: build gopls using go1.18rc1 > c2ddf3d internal/lsp: add quick fix for unsupported feature > 0e44f7a gopls/doc/advanced.md: correct commands for unstable version build > acdddf6 go/ssa: allows right operand of a shift to be signed. > 9ffa3ad internal/lsp: Provide completions for test function definitions > b7525f4 internal/lsp: hash go version into package key > 5210e0c gopls: wire in LangVersion and ModulePath for gofumpt formatting > e6ef770 go/types/typeutil: don't recurse into constraints when hashing tparams > 258e473 internal/lsp/source: disable the useany analyzer by default > b7d2949 internal/lsp: don't store diagnostics for builtin.go > 4f21f7a gopls: update gofumpt to v0.3.0 > 3e31058 internal/imports: update to permit multiple main modules > 43f084e internal/typesinternal: update typesinternal for 1.18 bumping k8s.io/apimachinery 97e5df2...478dd6e: > 478dd6e Merge pull request # 112527 from liggitt/automated-cherry-pick-of-# 112526-upstream-release-1.25 > 14bc1be Limit redirect proxy handling to redirected responses > 8252641 Merge pull request # 112330 from enj/automated-cherry-pick-of-# 112193-upstream-release-1.25 > 10b456c Merge pull request # 112161 from pohly/automated-cherry-pick-of-# 112129-origin-release-1.25 > 4759a80 Add an option for aggregator > 3296217 dependencies: update to ginkgo v2.1.6 and gomega v1.20.1 > 117bd9b Merge pull request # 111113 from mimowo/retriable-pod-failures-job-controller > 74deb3d Merge pull request # 111696 from liggitt/go119mod > dbffa07 Support handling of pod failures with respect to the specified rules > fef5499 Update go.mod to go1.19 > 41606c6 Merge pull request # 111677 from dims/stop-panic-in-govet-levee > 6627090 run lint-dependencies and follow directions > addc01f Stop panic in govet-levee CI job > f15b816 Merge pull request # 110495 from alexzielenski/atomic-objectreference > e68cae5 update kube-openapi > b541046 Merge pull request # 111557 from alexzielenski/update-smd-422 > ace683f update smd to 4.2.3 > 899984f Merge pull request # 111587 from ialidzhikov/k8s-utils@ee6ede2d64 > c77a8ed Update `k8s.io/utils` to `ee6ede2d64ed` > 954536d Merge pull request # 111450 from HecarimV/fix-22072710 > d58901c Merge pull request # 111454 from HecarimV/fix-log-capitalized > a9b0d05 cleanup: omit redundant arguments in make call > 8b07078 Merge pull request # 111496 from HecarimV/unnecessary-fmt > 1be2ea2 cleanup: fix some error log capitalization > 3bab4b1 Remove unnecessary use of fmt.Sprintf > 47ba8cb Merge pull request # 111442 from ialidzhikov/k8s-utils@56c0de1e6f > 0a1c3aa Update `k8s.io/utils` to `9bab9ef40391` > 7fb0342 Merge pull request # 111254 from dims/update-to-golang-1.19-rc2 > 9652184 Merge pull request # 106388 from alexzielenski/ssa-ignore-nonsemantic-changes > fdf7942 Generate and format files > 915d89a Merge pull request # 111173 from BinacsLee/binacs/regenerate-sets > 65bf58a optimize nil and empty also for slices > 0661104 Merge pull request # 110178 from kevindelgado/validation-beta-1-25 > fb683c6 Re-Generate k8s.io/apimachinery/pkg/util/sets > 6586a12 optimize nil and empty case for parity with other branch > 5d375c1 update kjson > 019f1e1 revert timestamp updates to object if non-managed fields do not change > cff14a5 Merge pull request # 111081 from HecarimV/fix-22071210 > afc5e00 Merge pull request # 111008 from cici37/bumpCEL > 6f7b214 Fix: some typo in apimachinery/pkg > 51e28bc Merge pull request # 111097 from saltbo/fix-thethe-typo > cd7836f Bump cel-go to v0.12.0 > 5074e27 fix: update the typo code comment > 0897ed8 Merge pull request # 108532 from cbandy/status-cause > 9cb1f71 Merge pull request # 110916 from zhoumingcheng/master-code-v1 > 9291eff api/errors: Improve performance of Is* functions > 4afd3f4 Merge pull request # 109111 from chendave/ginkgo_upstream > 8c521e1 Fix a typo > 1eec2ee Use errors.As to detect wrapping in StatusCause > c87322d update ginkgo from v1 to v2 and gomega to 1.19.0 > 2496976 Merge pull request # 111001 from pohly/klog-update > d40a017 build: update to klog v2.70.1 > a869692 Merge pull request # 110831 from chendave/openapi > e4283bb Bump `kube-openapi` to the latest > 66bbc50 Merge pull request # 110788 from 21kyu/change_reflect_ptr > 55378ba Change reflect.Ptr to reflect.Pointer > e74e8a9 Merge pull request # 110724 from pohly/klog-update > 21dbaf7 build: update to klog v2.70.0 > eda93e0 Merge pull request # 110448 from twilight0620/test0608 > c5be385 Merge pull request # 110378 from lucacome/bump-grpc > 6243438 add some uts of group_version.go > bae69c6 Bump grpc to v1.47.0 > b90ea24 Merge pull request # 110520 from dims/update-gopkg.in/yaml.v3-to-v3.0.1 > 1831736 Update gopkg.in/yaml.v3 to v3.0.1 > d407afb Merge pull request # 110351 from dims/switch-to-v3-of-github.com/emicklei/go-restful > 5e1e879 Switch to v3 of github.com/emicklei/go-restful > be3a79b Merge pull request # 109892 from jlsong01/add_annotation_comments > 5abf6e2 Merge pull request # 110207 from wojtek-t/clean_shutdown_managers > 21bf400 clarify a comment on annotation key validation > be75d4d Make contextForChannel public > e3c6631 Merge pull request # 110079 from ash2k/dial-with-context > e929c35 Always dial using a context > e572490 Merge pull request # 109752 from MadhavJivrajani/remove-apimachinery-clocks > e11374f Merge pull request # 110040 from astoycos/fix-panic > 5526e82 apimachinery/clock: Delete the clock package > ca5c89b Merge pull request # 110029 from ash2k/ash2k/no-double-tls-validation > 7c09d67 Fix additional panic > 4f2ae94 tls.Dial() validates hostname, no need to do that manually > ec91382 Write Unit test to imitate Panic > 28c7554 Merge pull request # 109651 from ash2k/ash2k/spdy-cleanup > f3b1305 Merge pull request # 108080 from astoycos/issue-132 > 284911f Pass context for TLS dial > 1c398d5 Merge pull request # 107213 from mk46/portname_validation > 912a38b Fix Panic Condition > f1ceaed Don't clone headers twice > 4778951 Merge pull request # 109891 from pohly/log-dependency-update > b243f86 Fixed portName validation error message. > b85d889 Merge pull request # 109602 from lavalamp/remove-clustername > 1c1f82a dependencies: logr and zapr v1.2.3 > 0ac710b generated files > 430b920 Remove ClusterName > 5f6d692 Merge pull request # 109804 from cici37/celUpdate > a5de00b Merge pull request # 109750 from aojea/spdy_tls > b6901b9 Update go-control-plane, cncf/xds/go, cncf/udpa/go and remove unused versions > b042ede Merge pull request # 109440 from liggitt/gomod-1.18 > e57894b spdyroundtripper: d tlson't verify hostname twice > 535f064 Update GRPC > 92ee148 Regenerate vendor > 1564fe5 spdyroundrippter: close the connection if tls handshake fails > 5ac2923 Update genproto and antlr. > f71cc27 Merge pull request # 109259 from roycaihw/tweak-quantity-docs > 54c2bc0 Bump cel-go to v0.11.2 > 080c0c7 Merge pull request # 109212 from alexzielenski/copylock-fix > af9793b Generated files > cf0bfa9 Tweak Quantity docstring for ease of reference generation bumping golang.org/x/net 27dd868...a158d28: > a158d28 A+C: delete AUTHORS and CONTRIBUTORS > 1185a90 ipv4,ipv6: retry ENOBUFS in TestPacketConnReadWriteUnicastUDP > c90051b http2/h2i: update install documentation > 69896b7 lif: use SIOCGLIF*, AF_* and SOCK_DGRAM consts from x/sys/unix > 1bab6f3 lif: use IFT_* consts from x/sys/unix > 263ec57 lif: remove unused sysIFF_* constants > 9d032be Revert "http2: enable VerboseLogs in TestTransportGroupsPendingDials" > 355a448 http2: enable VerboseLogs in TestTransportGroupsPendingDials > 694bf12 http2: add newly dialed conns to the pool before signaling completion > fb05da6 nettest: skip known failure mode of TestTestConn/TCP/RacyRead on windows/arm64 > c690dde http2: remove arbitrary timeouts in server_test.go > c960675 http2: eliminate arbitrary timeouts in testServerResponse > c186220 http2: prioritize RST_STREAM frames in priority write scheduler > 5463443 go.mod: update golang.org/x/sys to latest version > 1d687d4 http2/h2c: support direct hand off of h2c-upgrade connections > 2e3eb7b http2: optimization of AppendHuffmanString > 183a9ca http2: exclude some header from 1xx responses > 20f9603 nettest: log more details about err for checkForTimeoutError > 45b2658 all: fix go vet warnings > 9564170 http2: allow sending 1xx responses > 2871e0c ipv4,ipv6: retry ENOBUFS and shut down the PacketConn on failure in TestPacketConnConcurrentReadWriteUnicastUDP > 1d1ef93 http2: use custom concurrent safe noBodyReader type when no body is present > 1850ba1 http2: make the Server use the priority write scheduler > a630d4f http2: support concurrent Request.Close calls > 290c469 all: gofmt > aac1ed4 http2: skip "write: broken pipe" failures in TestServer on OpenBSD > 749bd19 net/http2: omit invalid header value from error message > 543a649 http2: log pings and RoundTrip retries when http2debug=1 > de3da57 net/http/httpproxy: support non-ASCII characters in NO_PROXY bumping k8s.io/utils 3a6ce19...ee6ede2: > ee6ede2 Merge pull request # 252 from ialidzhikov/cleanup/testdata > 9bab9ef Merge pull request # 251 from dims/tolerate-path-lookup-issues-in-golang-1.19 > a4934a1 Move test data file under testdata/ > 56c0de1 Merge pull request # 249 from ialidzhikov/pointer-func-deprecations > ee5bcf5 tolerate path lookup issues in golang 1.19 > f6158b4 Merge pull request # 248 from aojea/ci > 161a940 Properly deprecate the funcs from the pointer pkg > 74ebc72 IP.UnmarshalText() uses net.Parse internally > 105d5f1 fix linter > f2fee6f call to (*T).Fatalf from a non-test goroutine (govet) > 8cc7140 update github CI bumping k8s.io/code-generator 65c70a5...7e9837e: > 7e9837e Merge pull request # 112161 from pohly/automated-cherry-pick-of-# 112129-origin-release-1.25 > ecb165b dependencies: update to ginkgo v2.1.6 and gomega v1.20.1 > 775c304 Merge remote-tracking branch 'origin/master' into release-1.25 > d31c93c Revert "Remove gcp and azure auth plugins" > 7a6b27b Update go.mod to go1.19 > fa4467d Merge pull request # 111677 from dims/stop-panic-in-govet-levee > 7b3066b run lint-dependencies and follow directions > c04cb7f Stop panic in govet-levee CI job > aed7155 Merge pull request # 110495 from alexzielenski/atomic-objectreference > 02dff21 update kube-openapi > 24b65b5 Update kubectl kustomize to kyaml/v0.13.9, cmd/config/v0.10.9, api/v0.12.1, kustomize/v4.5.7 (# 111606) > ce96325 Merge pull request # 111557 from alexzielenski/update-smd-422 > 3e298a9 update smd to 4.2.3 > 98b8ad1 Merge pull request # 111587 from ialidzhikov/k8s-utils@ee6ede2d64 > 7d41d4b Update `k8s.io/utils` to `ee6ede2d64ed` > f7e6982 Merge pull request # 111442 from ialidzhikov/k8s-utils@56c0de1e6f > 5e969f2 Update `k8s.io/utils` to `9bab9ef40391` > 22db44c Merge pull request # 111254 from dims/update-to-golang-1.19-rc2 > 53c2ca0 Generate and format files > a08f67b Merge pull request # 110178 from kevindelgado/validation-beta-1-25 > e22e97f update kjson > 40a88eb Merge pull request # 111008 from cici37/bumpCEL > 9a892d0 Bump cel-go to v0.12.0 > d665e29 Merge pull request # 108792 from wongearl/modify-todo > dc61ef8 Merge pull request # 111001 from pohly/klog-update > dec659d fix CustomArgs annotation, todo describe > 162a509 build: update to klog v2.70.1 > 132cd9f Merge pull request # 110831 from chendave/openapi > 0bd13bc Bump `kube-openapi` to the latest > 068d9f8 Merge pull request # 110724 from pohly/klog-update > 051a429 build: update to klog v2.70.0 > 4e8f8f5 Merge pull request # 110378 from lucacome/bump-grpc > 39381c1 Bump grpc to v1.47.0 > a2acbb4 Merge pull request # 110546 from liggitt/fix-example > cb496e7 Merge pull request # 110518 from dims/switch-to-released-version-of-v3.8.0-github.com/emicklei/go-restful/v3 > e246394 Drop spurious replace > f2ea995 Merge pull request # 110520 from dims/update-gopkg.in/yaml.v3-to-v3.0.1 > 306deab Switch to released version of v3.8.0 - github.com/emicklei/go-restful/v3 > d8adc26 Update gopkg.in/yaml.v3 to v3.0.1 > 35a5f00 Merge pull request # 110351 from dims/switch-to-v3-of-github.com/emicklei/go-restful > e1fbd90 Switch to v3 of github.com/emicklei/go-restful > 7d977b3 Merge pull request # 110013 from enj/enj/i/remove_azure_gcp_auth_plugins > 7e85903 Remove gcp and azure auth plugins > 9f887a7 Merge pull request # 109891 from pohly/log-dependency-update > acd6f5b Merge pull request # 109602 from lavalamp/remove-clustername > 7c0fe80 dependencies: logr and zapr v1.2.3 > 05559de generated files > 8ed2cce Merge pull request # 109804 from cici37/celUpdate > f82eadd Update go-control-plane, cncf/xds/go, cncf/udpa/go and remove unused versions > cd6d91a Update GRPC > df8059b Update genproto and antlr. > 4a69c11 Bump cel-go to v0.11.2 > 0a834f8 Merge pull request # 109440 from liggitt/gomod-1.18 > 5cbad16 Regenerate vendor > 8f17de0 Merge pull request # 109031 from Jefftree/openapiv3beta > 858bf3c generated: Update kube-openapi and vendor bumping k8s.io/client-go 3e73df6...593f096: > 593f096 Update dependencies to v0.25.2 tag > 1904631 Merge pull request # 112161 from pohly/automated-cherry-pick-of-# 112129-origin-release-1.25 > 8f4eb75 Merge pull request # 112336 from enj/automated-cherry-pick-of-# 112017-upstream-release-1.25 > e278668 dependencies: update to ginkgo v2.1.6 and gomega v1.20.1 > 1874bc6 exec auth: support TLS config caching > db7e2d8 Merge pull request # 112055 from aanm/automated-cherry-pick-of-# 111752-origin-gh-aanm-release-1.25 > c9008f3 client-go/rest: check if url is nil to prevent nil pointer dereference > 1a46dfd Revert "client-go: remove no longer used finalURLTemplate" > b3e4a40 Merge remote-tracking branch 'origin/master' into release-1.25 > c2f61ae Update removal warnings to 1.26 > 54e42ab update-gofmt > ef26118 Revert "Remove gcp and azure auth plugins" > a890e7b Merge pull request # 109090 from sarveshr7/multicidr-rangeallocator > f10f16e Merge pull request # 111113 from mimowo/retriable-pod-failures-job-controller > 76884cd Auto generate code for ClusterCIDR API > 3300752 Merge pull request # 111696 from liggitt/go119mod > c439b25 Support handling of pod failures with respect to the specified rules > ce9ac37 Merge pull request # 108692 from jsafrane/selinux > 4100519 Update go.mod to go1.19 > a00e9ab Regenerate files > 55b6f70 Merge pull request # 111677 from dims/stop-panic-in-govet-levee > 606e4a8 run lint-dependencies and follow directions > fe9020e Stop panic in govet-levee CI job > e803ec6 Merge pull request # 110495 from alexzielenski/atomic-objectreference > 07171f8 Merge pull request # 111090 from kinvolk/rata/userns-support-2022 > b5feb25 mark persistentvolume's claimRef as granular > bebf219 Update kubectl kustomize to kyaml/v0.13.9, cmd/config/v0.10.9, api/v0.12.1, kustomize/v4.5.7 (# 111606) > 912b04a Update autogenerated files > c5a511a update kube-openapi > 68639ba Merge pull request # 111557 from alexzielenski/update-smd-422 > 828c3cb pkg/apis, staging: add HostUsers to pod spec > b0d4101 Merge pull request # 111475 from alculquicondor/clear_pod_disruption > 1631be4 update smd to 4.2.3 > 3dfaef5 Add clock interface to disruption controller > 3e9c4b4 Merge pull request # 111587 from ialidzhikov/k8s-utils@ee6ede2d64 > 2037cc6 Update `k8s.io/utils` to `ee6ede2d64ed` > 07735ea Merge pull request # 111441 from denkensk/respect-topology > 95367f2 Merge pull request # 110851 from negz/more-like-mac-slow-s > 2190b2f code generated by script for MatchLabelKeys in TopologySpreadConstraint > ec0f337 Merge pull request # 111387 from marseel/feature/retry_internal_errors > 761f55c Use SHA256 sums to verify discovery cache integrity > c2d2c47 Merge pull request # 111228 from Abirdcfly/220716 > ff6bf67 Add option to retry internal api error in reflector. > 735524f Use sha256 to sanitize discovery HTTP cache keys > fe12e65 Merge pull request # 111442 from ialidzhikov/k8s-utils@56c0de1e6f > 65b1e7d clean Unreachable code > 1ea239f Use checksums instead of fsyncs to manage discovery cache corruption > 7a55c3b Update `k8s.io/utils` to `9bab9ef40391` > 76fccca Add a benchmark for the discovery cache RoundTripper > cc879cd Merge pull request # 111254 from dims/update-to-golang-1.19-rc2 > b5c7588 Merge pull request # 109141 from ulucinar/bump-discovery-burst > 2a6c116 Generate and format files > b2097e6 Merge pull request # 110666 from ldsdsy/modify > 4aac6a7 Bump discovery burst of default ConfigFlags to 300 > 4db4856 Merge pull request # 111242 from wojtek-t/fix_leaking_goroutines_11 > 123d4e7 Fix a typo > ed7d154 Bump default burst limit for discovery client to 300 > 95a40e2 Merge pull request # 110178 from kevindelgado/validation-beta-1-25 > 9dde02d Clean shutdown of client integration tests > 267b657 Merge pull request # 111235 from Abirdcfly/220719 > b4c3510 update kjson > 0cfc963 Merge pull request # 110649 from harshanarayana/fix/GIT-110335-fix-fake-event-expansion > ca60e0e fix a possible panic because of taking the address of nil > c6bd30b Merge pull request # 111176 from p0lyn0mial/upstream-cacher-refactor-for-streaming > e2ef408 GIT-110335: address namespace defaulting for events > 441e2c8 reflector: simplify reading the resourceVersion > 04f67d5 reflector: move LIST to its own method > 4e28921 reflector: refactor watchHandler > 163ee0b Merge pull request # 111080 from zhoumingcheng/master-v3 > 743e29d Merge pull request # 111008 from cici37/bumpCEL > 84e1219 Correct some wrong syntax > 79a582f Merge pull request # 111097 from saltbo/fix-thethe-typo > 7f7dbbc Bump cel-go to v0.12.0 > eabd428 Merge pull request # 111002 from HecarimV/fix-220707 > 7c3fa18 fix: update the typo code comment > 59fda2e Merge pull request # 111087 from HecarimV/fix-22071205 > f295032 fix static-check for staging/src/k8s.io/client-go/ > 2f582c2 Fix:import the same package multiple times > 3b969f9 Merge pull request # 111001 from pohly/klog-update > 26b5064 build: update to klog v2.70.1 > 506ef89 Merge pull request # 110990 from thockin/svc-typenames-IPFamilyPolicyType > 61a7d9d Rename IPFamilyPolicyType => IPFamilyPolicy > a16e76e Merge pull request # 110831 from chendave/openapi > 6a58c3a Bump `kube-openapi` to the latest > f5b6af4 Merge pull request # 110788 from 21kyu/change_reflect_ptr > 1b23c15 Change reflect.Ptr to reflect.Pointer > 8dfe88a Merge pull request # 110724 from pohly/klog-update > 899bcd7 Merge pull request # 110425 from LY-today/fake-evict-list-err > cb4a10d build: update to klog v2.70.0 > 0647d43 Merge pull request # 109632 from weilaaa/recorrect_byindex_input_param > 9ac8bfe fix: list pod err after an pod evicted > acab036 Merge pull request # 110436 from nicks/nicks/issue-1108 > 64585cf correct input params and add godoc > 830d4c4 Merge pull request # 110378 from lucacome/bump-grpc > 5ce7078 client-go: fix panic in ConfirmUsable validation > e0fa504 Bump grpc to v1.47.0 > 2a9f955 Merge pull request # 110518 from dims/switch-to-released-version-of-v3.8.0-github.com/emicklei/go-restful/v3 > d4fc9af Merge pull request # 110520 from dims/update-gopkg.in/yaml.v3-to-v3.0.1 > 7e1edab Switch to released version of v3.8.0 - github.com/emicklei/go-restful/v3 > 08b4bbc Update gopkg.in/yaml.v3 to v3.0.1 > 87a5b7b Merge pull request # 110351 from dims/switch-to-v3-of-github.com/emicklei/go-restful > cf0ba13 Switch to v3 of github.com/emicklei/go-restful > f88de91 Merge pull request # 96771 from soltysh/shortcut_expander > e2598a4 restmapper: re-try shortcut expander after not-found error > cf13620 Merge pull request # 84145 from bells17/fix-typo > 33115b4 Merge pull request # 110100 from tkashem/client-go-backoff-fix > 21f4308 Fix typo: type -> eventtype > 0bc005e Merge pull request # 110076 from karlkfi/patch-1 > 71b8c17 client-go: fix backoff delay > 8764064 fix: reflector to return wrapped list errors > ef63e49 Merge pull request # 110013 from enj/enj/i/remove_azure_gcp_auth_plugins > 1f7dc88 Remove gcp and azure auth plugins > 77f6364 Merge pull request # 108080 from astoycos/issue-132 > b4b8e5e Merge pull request # 108492 from kerthcet/feature/add-NodeInclustionPolicies > f19a514 Fix Panic Condition > 5bb1a76 feat: add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec > 2420926 Merge pull request # 109891 from pohly/log-dependency-update > 7c5b742 Merge pull request # 109602 from lavalamp/remove-clustername > c301d44 dependencies: logr and zapr v1.2.3 > 5a9c3ac generated files > c0ab12a Merge pull request # 109804 from cici37/celUpdate > bb66d80 Merge pull request # 109607 from liggitt/drop-unused-third-party > 631da0c Update go-control-plane, cncf/xds/go, cncf/udpa/go and remove unused versions > f4c553f Merge pull request # 109440 from liggitt/gomod-1.18 > 7481505 Remove package variables > 28feddd Update GRPC > ccff963 Regenerate vendor > 28c4a4d Drop unused golang/template funcs > a8fbc49 Update genproto and antlr. > 671a40c Merge pull request # 109520 from cncal/lcn_cleanup_duplicate_code_snippet > ac3e4ba Bump cel-go to v0.11.2 > 211d8a7 Merge pull request # 109443 from kevindelgado/dynamic-apply > 152e68f Remove the duplicate code snippet in client-go delaying_queue tests > 2cf1a8f Merge pull request # 105963 from zhucan/bugfix-95367 > 4eab6be Add Apply and ApplyStatus methods to dynamic ResourceInterface > 28ccde7 Merge pull request # 109436 from JamesLaverack/revert-108290 > 1f8debf generated code and doc > f9fdccd Revert "Introduce APIs to support multiple ClusterCIDRs (# 108290)" bumping golang.org/x/sync 036812b...886fb93: > 886fb93 A+C: delete AUTHORS and CONTRIBUTORS > 0de741c x/sync/errgroup: make note of the default errgroup goroutine limit (unlimited) > 0976fa6 x/sync/errgroup: add TryGo and SetLimit to control concurrency bumping github.com/google/go-cmp d103655...f144a35: > f144a35 Additional cleanup with Go 1.13 as minimal version (# 295) > 63c2960 remove xerrors (# 292) > 71220fc Use string formatting for slice of bytes (# 294) > 4664e24 Fix printing of types in reporter output (# 293) > 79433ac Run tests on Go 1.18 (# 290) > 039e37c Add //go:build lines (# 285) > 3242228 Drop hacks to work around Go reflection bugs in Go1.9 (# 282) > f59cd61 Update minimum supported version to go1.11 (# 281) > 6faefd0 Reduce minimum length for specialize string diffing (# 275) > f1773ad Use any alias instead of interface{} (# 276) > 9094ef9 Change build status badge (# 269) > 3ee52c8 Fix spelling mistakes (# 271) > 395a0ac Use sha256 in test (# 268) > 402949e Merge pull request # 266 from dsnet/fix-format > 290a6a2 Avoid shadowing variable (# 263) > d5fcb38 Fix textual printing of byte slices > 248ccff Fix staticcheck findings (# 262) bumping google.golang.org/grpc aff571c...5b509df: > 5b509df Change version to 1.47.0 (# 5377) > ed75225 Don't call cmp in non testing file (# 5370) > 081c688 client: fix hctx leakage in addrConn.createTransport (# 5337) > 30b9d59 client/SubConn: do not recreate addrConn if UpdateAddresses is called with the same addresses (# 5373) > 459729d xds/priority: avoid sending duplicate updates to children (# 5374) > 9f4b31a Added HTTP status and grpc status to POST check (# 5364) > 333a441 xds/ringhash: update connectivity state aggregation, and make sure at least one SubConn is connecting in TF (# 5338) > e23132c Added support for metadata matcher invert (# 5345) > d9b952b xds/resolver: use correct resource name in log message (# 5357) > db79903 xds/priority: start the init timer when a child switch to Connecting from non-transient-failure state (# 5334) > 462d867 xds: Add Outlier Detection configuration and CDS handling (# 5299) > 5c46f1a xdsclient/csds: fix leaked metadata (# 5339) > ee67b3d xds: Handle loops and ignore duplicates in aggregated cluster handling (# 5317) > 799605c client: fix potential panic during RPC retries (# 5323) > 78b13f2 xds/client: hold authority mutex before making a new authority (# 5331) > de73b2b examples: improve error messages (# 5329) > dc86d5d internal/proto: update generated code (# 5332) > 7567a5d documentation: fix typo in RegisterCodec godoc (# 5306) > 3bf6719 test/interop: register RLS to the interop test client (# 5272) > 8d68434 gcp/observability: correctly test this module in presubmit tests (# 5300) > ebd0983 xds/eds: reject EDS resources with multiple instances of the same locality in the same priority (# 5303) > 9711b14 server: clarify documentation around setting and sending headers and ServerStream errors (# 5302) > 924e484 server: return better status for context err when writing header (# 5292) > 5682cc6 Change version to 1.47.0-dev (# 5298) > 4467a29 gcp/observability: implement logging via binarylog (# 5196) > 18fdf54 cmd/protoc-gen-go-grpc: allow hooks to modify client structs and service handlers (# 5240) > 337b815 interop: build client without timeout; add logs to help debug failures (# 5294) > e583b19 xds: Add RLS in xDS e2e test (# 5281) > 0066bf6 grpc: perform graceful switching of LB policies in the `ClientConn` by default (# 5285) > 3cccf6a xdsclient: always backoff between new streams even after successful stream (# 5280) > 4e78093 xds: ignore routes with unsupported cluster specifiers (# 5269) > 99aae34 cluster manager: Add Graceful Switch functionality to Cluster Manager (# 5265) > 42cadc1 test: cleanup balancer switching tests (# 5271) > b6873c0 grpc: move to `TransientFailure` in `pick_first` LB policy when all addresses are removed (# 5274) > 474948a github: run all testing jobs to completion even if one fails (# 5282) > c57d2b1 clientconn: fix target parsing tests to be tolerant to new url.URL field OmitHost (# 5279) > 562e12f test: use channelz instead of stats handler to determine RPC count (# 5275) > e63e123 advancedtls: remove the usage of CDP in CRL enforcement (# 5218) > 3a74cd5 balancergroup: Add trigger point to gracefully switch a child (# 5251) > 34660d1 test: use `t.Fatal` instead of `panic` for service config parsing errors (# 5266) > 96bdede pickfirst: cleanup tests (# 5263) > e49486d test: add a test for clientConn close with pending RPC (# 5264) > 2fccb82 metadata: copy slices in FromContext() functions (# 5267) > 9d08896 github: update to test with Go 1.18 (# 5262) > 597e5d1 don't apply defaultSC upon receipt of invalid service config (# 5257) > 51ddcba xds: suppress redundant updates only when we are SERVING (# 5258) > 4635bf2 make the RLS LB policy name available in the internal package (# 5259) > 50d0d0a server: set TCP_USER_TIMEOUT socket option for linux (# 5219) > 7840bd6 grpc: add a comment explaining why updateClientConnState is handled inline (# 5261) > 7ea4af9 internal/googlecloud: refactor OS-dependent code (# 5239) > 1ffd63d binarylog: generalize binarylog's MethodLogger preparing for new observability features (# 5244) > 63bdcbc xds/interop: add xds_k8s_lb test suite (# 5250) > 89f3195 interop/client: simplify fallback test client and parameterize fallback deadline (# 5248) > 8078d1d balancergroup: Switched subBalancerWrapper to wrap a gracefulswitch.Balancer (# 5245) > 6131e9d examples: regenerate certs to use SHA256 signing algorithm (# 5256) > f95b001 xds: avoid log spam during server mode switches (better A36 compliance) (# 5215) > 97c3143 xds/client: accept resources wrapped in discoverypb.Resource message (# 5242) > 6c3ccbe grpc: remove remaining usages of grpc.WithInsecure() (# 5246) > fbe4ccb xds/client: include Node ID in error messages from the XdsClient (# 5223) > c4cabf7 grpc: handle invalid service configs by applying the default if available (# 5238) > 94ee386 test: cleanup roundrobin tests to use stubserver (# 5236) > 23cc28f security/authorization: upgrade cel-v0.10.1 and fix breaking API change. (# 5243) > 84793b5 xds/client: reset backoff when a message is received, even when the message is invalid (# 5241) > 722… Signed-off-by: Knative Automation <automation@knative.team> |
||
---|---|---|
.. | ||
.gitignore | ||
.travis.yml | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
doc.go | ||
map.go | ||
merge.go | ||
mergo.go |
README.md
Mergo
A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
Also a lovely comune (municipality) in the Province of Ancona in the Italian region of Marche.
Status
It is ready for production use. It is used in several projects by Docker, Google, The Linux Foundation, VMWare, Shopify, etc.
Latest release
Important note
Please keep in mind that in 0.3.2 Mergo changed Merge()
and Map()
signatures to support transformers. An optional/variadic argument has been added, so it won't break existing code.
If you were using Mergo before April 6th 2015, please check your project works as intended after updating your local copy with go get -u github.com/imdario/mergo
. I apologize for any issue caused by its previous behavior and any future bug that Mergo could cause (I hope it won't!) in existing projects after the change (release 0.2.0).
Donations
If Mergo is useful to you, consider buying me a coffee, a beer or making a monthly donation so I can keep building great free software. 😍
Mergo in the wild
- moby/moby
- kubernetes/kubernetes
- vmware/dispatch
- Shopify/themekit
- imdario/zas
- matcornic/hermes
- OpenBazaar/openbazaar-go
- kataras/iris
- michaelsauter/crane
- go-task/task
- sensu/uchiwa
- ory/hydra
- sisatech/vcli
- dairycart/dairycart
- projectcalico/felix
- resin-os/balena
- go-kivik/kivik
- Telefonica/govice
- supergiant/supergiant
- SergeyTsalkov/brooce
- soniah/dnsmadeeasy
- ohsu-comp-bio/funnel
- EagerIO/Stout
- lynndylanhurley/defsynth-api
- russross/canvasassignments
- rdegges/cryptly-api
- casualjim/exeggutor
- divshot/gitling
- RWJMurphy/gorl
- andrerocker/deploy42
- elwinar/rambler
- tmaiaroto/gopartman
- jfbus/impressionist
- Jmeyering/zealot
- godep-migrator/rigger-host
- Dronevery/MultiwaySwitch-Go
- thoas/picfit
- mantasmatelis/whooplist-server
- jnuthong/item_search
- bukalapak/snowboard
Installation
go get github.com/imdario/mergo
// use in your .go code
import (
"github.com/imdario/mergo"
)
Usage
You can only merge same-type structs with exported fields initialized as zero value of their type and same-types maps. Mergo won't merge unexported (private) fields but will do recursively any exported one. It won't merge empty structs value as they are not considered zero values either. Also maps will be merged recursively except for structs inside maps (because they are not addressable using Go reflection).
if err := mergo.Merge(&dst, src); err != nil {
// ...
}
Also, you can merge overwriting values using the transformer WithOverride
.
if err := mergo.Merge(&dst, src, mergo.WithOverride); err != nil {
// ...
}
Additionally, you can map a map[string]interface{}
to a struct (and otherwise, from struct to map), following the same restrictions as in Merge()
. Keys are capitalized to find each corresponding exported field.
if err := mergo.Map(&dst, srcMap); err != nil {
// ...
}
Warning: if you map a struct to map, it won't do it recursively. Don't expect Mergo to map struct members of your struct as map[string]interface{}
. They will be just assigned as values.
More information and examples in godoc documentation.
Nice example
package main
import (
"fmt"
"github.com/imdario/mergo"
)
type Foo struct {
A string
B int64
}
func main() {
src := Foo{
A: "one",
B: 2,
}
dest := Foo{
A: "two",
}
mergo.Merge(&dest, src)
fmt.Println(dest)
// Will print
// {two 2}
}
Note: if test are failing due missing package, please execute:
go get gopkg.in/yaml.v2
Transformers
Transformers allow to merge specific types differently than in the default behavior. In other words, now you can customize how some types are merged. For example, time.Time
is a struct; it doesn't have zero value but IsZero can return true because it has fields with zero value. How can we merge a non-zero time.Time
?
package main
import (
"fmt"
"github.com/imdario/mergo"
"reflect"
"time"
)
type timeTransfomer struct {
}
func (t timeTransfomer) Transformer(typ reflect.Type) func(dst, src reflect.Value) error {
if typ == reflect.TypeOf(time.Time{}) {
return func(dst, src reflect.Value) error {
if dst.CanSet() {
isZero := dst.MethodByName("IsZero")
result := isZero.Call([]reflect.Value{})
if result[0].Bool() {
dst.Set(src)
}
}
return nil
}
}
return nil
}
type Snapshot struct {
Time time.Time
// ...
}
func main() {
src := Snapshot{time.Now()}
dest := Snapshot{}
mergo.Merge(&dest, src, mergo.WithTransformers(timeTransfomer{}))
fmt.Println(dest)
// Will print
// { 2018-01-12 01:15:00 +0000 UTC m=+0.000000001 }
}
Contact me
If I can help you, you have an idea or you are using Mergo in your projects, don't hesitate to drop me a line (or a pull request): @im_dario
About
Written by Dario Castañé.
License
BSD 3-Clause license, as Go language.