Skip to content

v2026.0.2

Choose a tag to compare

@github-actions github-actions released this 20 Mar 18:58

Added

  • timeout parameter on FragmentClient (default 30.0 s) — passed through to every HTTP request
  • get_fragment_hash now accepts and forwards timeout instead of hardcoding the default
  • mypy pyfragment added to CI lint job; mypy and pytest-mock added to [dev] deps
  • Mock test coverage for all 3 purchase methods (006_test_methods_mock.py)

Changed

  • All constants moved to pyfragment.types.constants
  • examples/ updated to async with FragmentClient, f-strings, aligned error messages

Fixed

  • mypy: missing return path in process_transaction after retry loop
  • mypy: cookies union-attr error in FragmentClient.__init__
  • mypy: WALLET_CLASSES typed as dict[str, Any] so from_mnemonic resolves correctly

Full Changelog: v2026.0.1...v2026.0.2