Skip to content

v0.2.0

Choose a tag to compare

@mpyw mpyw released this 12 Dec 00:56
· 8 commits to main since this release
f138f17

Installation

go get github.com/mpyw/feature@v0.2.0

What's Changed

  • Remove and enhance anonymous key debugging by @mpyw in #1

Breaking Changes

Removed Reason
option Redundant (named keys are sufficient, anonymous keys now auto-include debug info)
type No longer needed after removal

Enhancements

Automatic Debug Info for Anonymous Keys

Keys created without a name now automatically include their definition location (file path and line number).

This allows you to quickly identify where a key was defined, even if you forgot to name it.

Changes

  • Use to capture call site information
  • Add for accurate stack depth tracking
  • Update doc comments and README with new format documentation
  • Extract anonymous key tests to (ensures stable line numbers)

Full Changelog: v0.1.0...v0.2.0