v0.2.0
This release introduces a major refactoring of the expectation registration system, replacing 800+ lines of boilerplate with dynamic method generation from a central registry. The refactoring maintains full IDE type-ahead support through auto-generated stub files while significantly improving maintainability.
Features
- Dynamic Expectation Registration: Implement dynamic method generation with centralized registry system
- Replaces manual method definitions in DataFrameExpectationsSuite
- Maintains IDE type hints through auto-generated .pyi stub files
- Reduces boilerplate and improves maintainability
Bug Fixes
- Handle pandas DataFrame.map() compatibility for older versions
- Convert expectation category to str while generating stubs
Documentation
- Update documentation for new registration system
- Remove API reference button on expectation cards
- Update README with additional badges
Chores
- Add publishing and release workflows
- Pin action commit hashes and update PR template
- Update sanity checks script for dynamic expectation calls
- Update release-please to approved version
What's Changed
- fix: updated release-please hash to approve version by @ryanseq-gyg in #6
- fix: added more badges to readme by @ryanseq-gyg in #8
- Pin uv to commit by @ryanseq-gyg in #9
- Bump ruff from 0.14.2 to 0.14.3 by @dependabot in #10
- Refactor expectation registration by @ryanseq-gyg in #12
- chore(main): release dataframe-expectations 0.2.0 by @github-actions in #7
Full Changelog: v0.1.1...dataframe-expectations-v0.2.0