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: mvdan/gofumpt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.7.0
Choose a base ref
...
head repository: mvdan/gofumpt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.0
Choose a head ref
  • 11 commits
  • 19 files changed
  • 2 contributors

Commits on Dec 26, 2024

  1. Configuration menu
    Copy the full SHA
    8222158 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2025

  1. assume go1.16 when a go.mod file is missing a go directive

    Otherwise we would panic:
    
        panic: invalid Go version: "go"
    
    Fixes #317.
    alexandear authored Jan 2, 2025
    Configuration menu
    Copy the full SHA
    3b99647 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2025

  1. add Go 1.24.x, drop 1.22.x

    mvdan committed Feb 11, 2025
    Configuration menu
    Copy the full SHA
    179a687 View commit details
    Browse the repository at this point in the history
  2. re-vendor with go1.24.0

    mvdan committed Feb 11, 2025
    Configuration menu
    Copy the full SHA
    1d79904 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2025

  1. all: run gopls's modernize -fix

    except on internal/govendor.
    mvdan committed Feb 22, 2025
    Configuration menu
    Copy the full SHA
    2d5c20d View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2025

  1. update all dependencies

    mvdan committed Apr 13, 2025
    Configuration menu
    Copy the full SHA
    89db3c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66262a4 View commit details
    Browse the repository at this point in the history
  3. test and document why we use go-cmp

    I also had broken the logic to always return true in a very recent
    commit since the last release, for some odd reason.
    Perhaps I was checking that tests for #316 were missing by
    intentionally breaking the logic? Clearly I forgot that I did that.
    
    Fixes #316.
    mvdan committed Apr 13, 2025
    Configuration menu
    Copy the full SHA
    a501ae3 View commit details
    Browse the repository at this point in the history
  4. add testscript showing current -d diff behavior

    That is, it currenty succeeds whether or not there is a diff.
    mvdan committed Apr 13, 2025
    Configuration menu
    Copy the full SHA
    adce750 View commit details
    Browse the repository at this point in the history
  5. fail with -d if formatting any of the files resulted in a diff

    This mimics the proposed and accepted behavior change for `gofmt -d`
    at https://go.dev/issue/46289.
    
    Fixes #114.
    mvdan committed Apr 13, 2025
    Configuration menu
    Copy the full SHA
    ad8b86f View commit details
    Browse the repository at this point in the history
  6. CHANGELOG: add entry for v0.8.0

    mvdan committed Apr 13, 2025
    Configuration menu
    Copy the full SHA
    5e1cad6 View commit details
    Browse the repository at this point in the history
Loading