Skip to content

Latest commit

 

History

History
99 lines (71 loc) · 4.47 KB

CHANGELOG.md

File metadata and controls

99 lines (71 loc) · 4.47 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

  • Deprecate github.com/mfridman/buildversion, and use std lib debug.ReadBuildInfo() instead. In go1.24 this is handled automatically, from the release notes:

    The go build command now sets the main module’s version in the compiled binary based on the version control system tag and/or commit. A +dirty suffix will be appended if there are uncommitted changes. Use the -buildvcs=false flag to omit version control information from the binary.

  • Handle changes in go1.24 related to build output. tparse will pipe the build output to stderr

    Furthermore, go test -json now reports build output and failures in JSON, interleaved with test result JSON. These are distinguished by new Action types, but if they cause problems in a test integration system, you can revert to the text build output with GODEBUG setting gotestjsonbuildtext=1.

  • Add a -follow-output flag to allow writing go test output directly into a file. This will be useful (especially in CI jobs) for outputting overly verbose testing output into a file instead of the standard stream. (#134)

    flag combination go test output destination
    No flags Discard output
    -follow Write to stdout
    -follow-output Write to file
    -follow -follow-output Write to file
  • Use charmbracelet/lipgloss for table rendering.

    • This will allow for more control over the output and potentially more features in the future. (#136)
    • Minor changes to the output format are expected, but the overall content should remain the same. If you have any feedback, please let me know.
  • Add -trimpath flag, which removes the path prefix from package names in the output, simplifying their display. See #128 for examples.
    • There's a special case for -trimpath=auto which will automatically determine the prefix based on the longest common prefix of all package paths.
  • Modify --follow behavior by minimizing noisy output. (#122)

Tip

If you want the existing behavior, I added a --follow-verbose flag. But please do let me know if this affected you, as I plan to remove this before cutting a v1.0.0. Thank you!

  • General housekeeping and dependency updates.
  • Add partial support for -compare. A feature that displays the coverage difference against a previous run. See description for more details #101 (comment) and the initial issue #92.
  • Fix unstable common package prefix logic #104

v0.13.1 - 2023-08-04

  • Fix failing GoReleaser GitHub action (release notes location).

Summary from v0.13.0

  • Start a CHANGELOG.md for user-facing change.
  • Add GoReleaser to automate the release process. Pre-built binaries are available for each release, currently Linux and macOS. If there is demand, can also add Windows.

v0.13.0 - 2023-08-04

  • Start a CHANGELOG.md for user-facing change.
  • Add GoReleaser to automate the release process. Pre-built binaries are available for each release, currently Linux and macOS. If there is demand, can also add Windows.