Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Releases: loveOSS/resiliency

v2.3.0 : Hello Symfony 6

25 Jan 22:15
6bb6235
Compare
Choose a tag to compare

ROADMAP

  • #62 Allow developers to get information about the exception in case of failure
  • #64, #65, #66 : upgrade development dependencies

And the support of Symfony 5.4 / 6.0

Enjoy !

v2.2 : Timeout validation fix

04 Sep 13:22
caeb7e4
Compare
Choose a tag to compare

CHANGELOG

  • #54, #55, #56, #57 : Docs improvements, and also note on PrestaShop Circuit Breaker library
  • #59 : Fixed error on Timeout validation (ms to s)

v2.1 : Support of Symfony 5.3

04 Jun 00:31
d3155e4
Compare
Choose a tag to compare

CHANGELOG

  • d3155e4 Upgraded and ensured the support of Symfony 5.3

Thanks for all the support and stars !

v2.0 : PHP8, PHPStan level 8 and Symfony 5 support !

30 Mar 12:18
0576efb
Compare
Choose a tag to compare

CHANGELOG

  • The PHP minimal version is now PHP 7.4 and is compatible with PHP 8.0
  • The support of Symfony 3.4 have been removed in favor of Symfony 5.2+
  • Security Checker have been removed (unmaintained) and will be re-introduced soon
  • The Storage strategy using PSR-16 have been updated (Symfony direct implementation was deprecated, see #46)

The support of previous versions (1.x) is not guaranteed anymore, feel free to fork if you want a PHP 5.6 <-> 7.4 compatible version.

Thanks for all the support and stars !

v1.1: PHP Timeout support and code cleaning

31 Mar 03:33
0aa380b
Compare
Choose a tag to compare

CHANGELOG

c468e65 Fixed Symfony HttpClient query use
64e41ce Added a PHP timeout exception on System initialization
90bf299 Reduced the size of the future releases

1.x branch will be maintained until end of 2020, new features will now merged on "soon-to-be" 2.0.

v1.0: Added monitoring, HttpClient support and Fallback information

20 Sep 23:23
9c1a93b
Compare
Choose a tag to compare

CHANGELOG

  • 4dd5226 The fallback now have access to the Service object;
  • 6be2cbc MainSystem class was refactored and tests added;
  • ac71241 The UnavailableServiceException class now has access to previous exception and code;
  • 411abb0 Introduced the Monitoring feature, take a look at the readme for an example;
  • 6820f1e PHP 7.3 support is now official, we will keep PHP 7.2 support until the end of 2020;
  • 9c1a93b Introduced a new adapter for Symfony 4.3 HttpClient component

v0.5: Removed Symfony in favor of Psr contracts

28 Jul 17:02
cc96a31
Compare
Choose a tag to compare

CHANGELOG

5e242cc Removed place suffixes
d806d00 Implemented Psr Event Dispatcher
ab1c84d Enabled Symfony Security Checker
4faa39a Extracted business logic into Places
b8b65c3 Support of Symfony 4.3
0b0dfe1 More robust test suite

We're almost ready for the first v1 release! Only #12 is a blocker at this date.

v0.4 : better DX and introduction of manual controls

24 May 19:17
543d886
Compare
Choose a tag to compare

CHANGELOG

Looking at the awesome C# Polly library, we have refactored the library to make the creation of a circuit breaker easier.

We end up with only one implementation of the CircuitBreaker interface, and we have removed the annoying step of having to configure places behind the MainSystem class.

This refactoring allowed us to implement 2 new methods for the Circuit Breaker:

  • isolate(string $service) that keeps the circuit open until we ...
  • reset(string $service) that close the circuit that was previously isolated from the external system

See the complete changelog above:

5449892 Refactored the System class
d0096e3 && e9a7f37 && fcfae84 Added more tests, code coverage is near to 100% right now
0641fd4 Introduced CircuitBreaker::isolate($service) and CircuitBreaker::reset($service) functions

Enjoy!

v 0.3 : big refactoring

16 May 23:57
26f9cba
Compare
Choose a tag to compare
Pre-release

CHANGELOG

8037e4c (bugfix) Invalid transition on HALF_OPEN state
5c57702 (bugfix) Invalid transition on Transaction retrieval
83ecc2f (improvement) Refactoring that make only one implementation of circuit breaker and adds a transition dispatcher

v 0.2.1 : Symfony events convention

11 May 09:26
1285af0
Compare
Choose a tag to compare
Pre-release

CHANGELOG

All events have been renamed to comply to implicit Symfony convention.

Before

INITIATING

After

resiliency.initiating