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: mpyw/feature
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Choose a base ref
...
head repository: mpyw/feature
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Choose a head ref
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Dec 12, 2025

  1. Remove WithStringer and enhance anonymous key debugging (#1)

    BREAKING CHANGES:
    - Remove WithStringer option and StringerFunc type
    
    The WithStringer option was redundant since named keys already provide
    clear identification, and anonymous keys now include call site info.
    
    Enhancements:
    - Anonymous keys now include file path and line number in their name
      (e.g., "anonymous(/path/to/file.go:42)@0x...")
    - Add runtime.Caller integration with depth tracking for accurate
      call site resolution across New, NewBool, NewNamed, NewNamedBool
    
    Other changes:
    - Extract anonymous key tests to anonymous_test.go for stable line numbers
    - Update doc comments and README with new anonymous key format
    mpyw authored Dec 12, 2025
    Configuration menu
    Copy the full SHA
    f138f17 View commit details
    Browse the repository at this point in the history
Loading