Skip to content

Releases: abhinav/requiredfield

v0.9.0

18 Feb 04:39
a46a55c

Choose a tag to compare

Added

  • Support Go 1.26

v0.8.0

01 Dec 00:47
de582a1

Choose a tag to compare

v0.8.0 - 2025-11-30

Added

  • Add -required flag to mark fields in third-party packages as required without modifying source code.
  • Add -config flag to read customizations from a file.

v0.7.1

28 Aug 14:32
637dccb

Choose a tag to compare

Fixed

  • Fix Cask installed from Homebrew Tap not running on macOS because of unsigned binary.

v0.7.0

23 Aug 13:13
2003ef8

Choose a tag to compare

Changed

  • Build with Go 1.25.

v0.6.1

12 Aug 03:00
bff7aba

Choose a tag to compare

Fixed

  • Fix panic when returning a struct from a nested function literal.

v0.6.0

17 Jul 01:00
8f49d1f

Choose a tag to compare

Added

  • Publish pre-built binaries.

v0.5.0

11 May 22:04
5969256

Choose a tag to compare

v0.5.0 - 2025-05-11

Changed

  • Don't enforce required fields if the struct is part of a return statement with a non-nil error.

Fixed

  • Fix incorrectly reporting missing fields for unkeyed struct literals.

v0.4.0

12 Feb 02:44
1432712

Choose a tag to compare

Added

  • Add support for Go 1.24.

Removed

  • Drop support for Go 1.22.

v0.3.0

02 May 10:50
1fe9445

Choose a tag to compare

Changed

  • Support variable spacing between // and required directives.
    For example, // required and //required are now both supported.
  • Relicense to BSD3.

v0.2.0

18 Jul 02:09
a696783

Choose a tag to compare

Added

  • Support usage as a golangci-lint plugin.