# Changelog ## v1.0.0 - 2025-11-14 ### Added - Refactored WaitErr into an interface and added a New constructor. - Added WithContext function for context cancellation. - Added CONTRIBUTING.md for human contributors. ### Changed - Updated README.md and example_test.go to reflect the new interface and WithContext function. - Updated README.md to reference CONTRIBUTING.md. ## v0.9.0 - 2025-11-13 ### Added - Add examples for WaitErr methods - Add test for WaitForError when firstErr is already set - Add test for WaitForError panic - Add tests for Unwrap method - Add MIT License - Implement waiterr.WaitForError - Implement core waiterr package with initial functionality and tests. - Initial project setup with basic scaffolding, build tools, and agent guidelines. ### Fixed - Fix race condition in TestWaitForErrorFirstErrSet using synctest ### Changed - Update comments in waiterr.go - Update WaitForError comment and add README.md for project documentation. - Update AGENTS.md with new `sync.WaitGroup` guidelines. - Update Go version and linter exclusions for test files.