Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 20:16
0170ac5

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

Full Changelog: v0.1.1...dataframe-expectations-v0.2.0