Skip to content

Releases: Solganis/assertpy2

v2.2.0

11 Jun 23:08
c33b74e

Choose a tag to compare

New assertion methods

  • Numeric: is_even(), is_odd(), is_divisible_by()
  • String: is_alphanumeric(), is_whitespace(), contains_any_of(), contains_none_of()
  • Collection: contains_exactly(), contains_in_order(), any_satisfy(), all_satisfy(), none_satisfy()
  • Date: is_before_or_equal_to(), is_after_or_equal_to()
  • Exception: does_not_raise()
  • Type: is_callable(), is_not_callable()

New matchers

match.is_even(), match.is_odd(), match.is_divisible_by(), match.is_callable(), match.is_in(), match.has_property()

v2.1.4

26 May 18:47
062224c

Choose a tag to compare

SLSA build provenance attestation bundles in release assets.

v2.1.3

26 May 18:33
63bbc23

Choose a tag to compare

Add SLSA build provenance attestation to releases.

v2.1.2

26 May 18:24
b9fff46

Choose a tag to compare

Add OpenSSF Best Practices Silver badge. Upload build artifacts to GitHub Releases.

v2.1.1

25 May 22:19
7f21e17

Choose a tag to compare

Fix: sync __version__ with pyproject.toml (was showing 2.0.0 in 2.1.0 package).

v2.1.0

25 May 20:54
caf2f99

Choose a tag to compare

What's new

  • Structured errors: AssertionFailure with .actual, .expected, .diff attributes
  • Composable matchers: match.greater_than(), match.is_uuid(), combine with &, |, ~ operators
  • Structural matching: matches_structure() for declarative dict/API response validation
  • Async assertions: eventually() with polling/retry for async and eventual consistency testing
  • Typed overloads: assert_that() returns type-specific Protocols, IDE shows only relevant methods
  • Pytest plugin: rich diff output in failure reports, auto-registered via entry point
  • Thread-safe soft assertions: migrated to contextvars for thread/async isolation

v2.0.1

25 May 03:41
bd716b2

Choose a tag to compare

Update README: dark theme logo, Ruff badge, Codecov integration.

v2.0.0

25 May 03:12
f2491dd

Choose a tag to compare

Full Changelog: 1.1...v2.0.0