Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/mod
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.20.0
Choose a base ref
...
head repository: golang/mod
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.22.0
Choose a head ref
  • 6 commits
  • 16 files changed
  • 3 contributors

Commits on Aug 15, 2024

  1. go.mod: update required go version to go1.22

    Now that go1.23 has been released, versions of Go older than go1.22 are
    no longer supported.
    
    This will allow us to use the go/version package, which was introduced
    in Go 1.22.
    
    This change will force modules that depend on golang.org/x/mod, notably
    golang.org/x/tools, to update their Go version requirement to at least
    go1.22 when they update their requirement on golang.org/x/mod to a
    version after this commit.
    
    For golang/go#63395
    
    Change-Id: I6f6b5bb9e43b5f9945cc5bc8c398628436d2e739
    Reviewed-on: https://go-review.googlesource.com/c/mod/+/605796
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    matloob committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    b1d336c View commit details
    Browse the repository at this point in the history
  2. go.mod: set go version to 1.22.0

    The go verison was set to 1.22 but on Go versions 1.21.0 up to 1.21.10,
    the toolchain upgrade logic will try to download the release "1.22",
    which doesn't exist. Go 1.21.11+ incorporates CL 580217 (cherry-picked
    in CL 583797) and will download 1.22.0, so it should be fine, but set
    1.22.0 to allow the upgrade for users with older local toolchains.
    
    Change-Id: I9aafaaa389ded3200b15fd3e7bb676610fa958d8
    Reviewed-on: https://go-review.googlesource.com/c/mod/+/605935
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Commit-Queue: Michael Matloob <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    matloob committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    3afcd4e View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. zip: set GIT_DIR in test when using bare repositories

    If git has safe.bareRepository=explicit set, operations on bare git
    repos will fail unless --git-dir or GIT_DIR is set. Set GIT_DIR in the
    parts of the zip test that use bare repos to allow the tests to pass in
    those circumstances.
    
    See CL 489915 for the change setting GIT_DIR for git operations on bare
    repositories in cmd/go.
    
    Change-Id: I1f8ae9ed2b687a58d533fa605ed9ad4b5cbb8549
    Reviewed-on: https://go-review.googlesource.com/c/mod/+/605937
    Auto-Submit: Michael Matloob <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    matloob authored and gopherbot committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    46a3137 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. x/mod: remove vendor/modules.txt from module download

    This fixes a bug where vendor/modules.txt was accidently included during
    a module download.
    This CL trims this file for 1.24 modules and beyond. We cannot remove this
    for earlier Go versions because this would alter checksums and cause a
    checksum failure.
    This CL also adds the ability to case on the Go version in the root's
    go.mod file, enabling future behavior changes if necessary.
    
    Fixes: golang/go#63395
    Updates: golang/go#37397
    Change-Id: I4a4f2174b0f5e79c7e5c516e0db3c91e7d2ae4d9
    Reviewed-on: https://go-review.googlesource.com/c/mod/+/584635
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Matloob <[email protected]>
    samthanawalla committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9cd0e4c View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. x/mod: fix handling of vendored packages with '/vendor' in non-top-le…

    …vel paths
    
    This CL address a bug in the handling of vendored packages where the
    '/vendor' element appears in non-top level import paths within a module
    zip file.
    This issue arose from an incorrect offset calculation that caused
    non-vendored packages to be incorrectly identified as vendored.
    This CL corrects the offset calculation for Go 1.24 and beyond.
    
    Fixes golang/go#37397
    
    Change-Id: Ibf1751057e8383c7b82f1622674204597e735b7c
    Reviewed-on: https://go-review.googlesource.com/c/mod/+/619175
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Matloob <[email protected]>
    samthanawalla committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c8a7319 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. sumdb: make data tiles by Server compatible with sum.golang.org

    Make the format of sumdb.Server data tile responses compatible with those
    served by sum.golang.org: Like formatted records for the lookup endpoint, but
    without each record IDs.
    
    Updates documentation for sumdb/tlog.FormatRecord about data tiles.
    Server still calls FormatRecord to keep the validation, then removes the first
    line.
    
    For golang/go#69348
    
    Change-Id: I1bea45b3343c58acc90982aaff5d41e32b06ae8c
    Reviewed-on: https://go-review.googlesource.com/c/mod/+/618135
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Matloob <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    mjl- authored and matloob committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    dec0365 View commit details
    Browse the repository at this point in the history
Loading