Skip to content

Releases: ray-di/Ray.Di

2.12.1

19 Aug 03:19
96a4c3f

Choose a tag to compare

  • Bump doctrine/cache and koriym/null-object version #242

2.12.0

12 Mar 07:34
d8f131d

Choose a tag to compare

  • Support Null object binding #237

2.11.3

20 Jan 13:31
c8603df

Choose a tag to compare

  • Enable to add #[Assisted] to the parameter in assisted injection #236

2.11.2

17 Jan 17:53
9ef49de

Choose a tag to compare

  • Compatibility of Annotation classes with the PHP 8 attribute #235

In addition to this usage of annotating parameters directly ...

public function __construct(#[Named('checkout')] CreditCardProcessorInterface $processor)

We also support annotating methods as we did before.

#[Named('checkout')] 
public function __construct(CreditCardProcessorInterface $processor)

For example, a library that supports both php7 and php8 can be written like this. In PHP 8, attribute loading is done at a faster execution speed.

/** @Named("checkout") */
#[Named('checkout')] 
public function __construct(CreditCardProcessorInterface $processor)

2.11.1

15 Jan 10:55
00a8a53

Choose a tag to compare

2.11.0

13 Jan 15:01
b4746c6

Choose a tag to compare

  • Support PHP8 attributes
  • Change CI (from TravisCI to GH action)

2.10.5

03 Oct 04:48
9abb764

Choose a tag to compare

Hotfix

Fix #219

2.10.4

03 Oct 02:37

Choose a tag to compare

  • Forward compatible with PHP 8 #215
  • Include Ray.Compiler, #216
  • Refactor #217
  • Codecov and test coverage 100% #218

2.10.3

13 Jun 05:22

Choose a tag to compare

Bugfixes

  • Fix bind the interceptor to setter method #212

2.10.2

04 Jun 13:38

Choose a tag to compare

  • Generic notation in PHPDOC (PHPStan, Psalm level max) #207 #208 #209