Skip to content

RelPrim 0.7.0

Latest

Choose a tag to compare

@bart-rozycki bart-rozycki released this 09 Jun 12:27

Summary

RelPrim 0.7.0 focuses on developer experience.

This release adds the high-level @resilient(...) decorator API and restructures the documentation around fast adoption while keeping the advanced builder API available for explicit composition.

Added

  • resilient() decorator
  • Simple retries= shortcut
  • Numeric timeout= shortcut
  • Single-callable fallback= shortcut
  • Support for advanced retry=RetryPolicy(...)
  • Support for advanced timeout=TimeoutPolicy(...)
  • Support for advanced fallbacks=fallback_chain(...)
  • Decorator usage example
  • Getting started documentation
  • Advanced usage documentation

Changed

  • README now starts with the beginner-friendly decorator API
  • README now separates beginner and advanced usage paths
  • Examples and documentation were polished around practical external-call use cases

Notes

Decorated functions return OperationResult[T], not raw values. This keeps the business value and execution report explicit.