circuit_breaker 2.0.0 copy "circuit_breaker: ^2.0.0" to clipboard
circuit_breaker: ^2.0.0 copied to clipboard

Implementation of the Circuit Breaker Design Pattern for HTTP requests

2.0.0 #

  • Breaking Change: Complete architectural rewrite using Domain-Driven Design principles.
  • New Feature: Added CircuitBreakerEvents for detailed monitoring and logging.
  • New Feature: Implemented SlidingWindow metrics for accurate failure rate tracking.
  • New Feature: Added flexible RetryPolicy configuration.
  • New Feature: Introduced CircuitBreakerStorage with in-memory and JSON persistence support.
  • Documentation: Major update to README.md with detailed usage guides and architecture overview.
  • Tests: Added comprehensive unit tests covering all new components.

1.0.3 #

  • Update lint
  • Update versions dependencies

1.0.2 #

  • Update lint
  • Remove import unused

1.0.1 #

  • Clone request
  • Add example

1.0.0 #

  • Create project
5
likes
160
points
109
downloads

Publisher

verified publishercodenetworks.dev

Weekly Downloads

Implementation of the Circuit Breaker Design Pattern for HTTP requests

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clock, http, meta

More

Packages that depend on circuit_breaker