Releases: the-freshlord/SGCircuitBreaker
Official Logo
1.1.4 Release 1.1.4
Support for handling success & timeout
Added a new handler for when a circuit breaker reported success. Also added a handler for when the circuit breaker reaches the timeout. This is useful for when needing the cancel the work that is taking too long. Lastly, a logging feature was added that logs different events that occur in the circuit breaker. This is disabled by default but can be enabled by the user. Check out the README for more info.
Fixed deallocation crash
Fixed crashes with deallocating instances. Also refactored internal DispatchSourceTimer logic.
Expose failureCount property
1.1.1 Release 1.1.1
Use underlying DispatchSourceTimer instead
Changed the timer implementation to use DispatchSourceTimer
instead of Timer
. This will allow older platforms to adopt this library without needing to specify the build target for SPM projects. This is a minor change that shouldn't break existing codebases.
Added CocoaPods support
1.0.1 Release 1.0.1
Initial Release
First official release of SGCircuitBreaker