fixenv icon indicating copy to clipboard operation
fixenv copied to clipboard

Switch public API to generic fixtures

Open rekby opened this issue 3 months ago • 1 comments

Summary

  • hide legacy fixture plumbing behind unexported types and route caching through the generic CacheResult
  • update built-in fixtures, examples, and tests to return GenericResult values instead of legacy wrappers
  • ensure helper packages and cache internals compile against the new generics-only surface

Testing

  • go test ./...

https://chatgpt.com/codex/tasks/task_e_690153716878832585d1664da96bba4b

rekby avatar Oct 29 '25 00:10 rekby

API Changes

github.com/rekby/fixenv

incompatible changes

(*EnvT).CacheResult: removed Env.CacheResult: removed Env.cacheResult: added unexported method FixtureFunction: removed NewResult: removed NewResultWithCleanup: removed Result: removed

summary

Base version: v0.7.1 (latest) Suggested version: v0.8.0

github-actions[bot] avatar Oct 29 '25 00:10 github-actions[bot]