Skip to content

Releases: ray-di/Ray.Compiler

1.9.0

10 Jun 08:15
71966ca
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.8.0...1.8.1

1.8.0

27 May 07:36
c180fa7
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.7.0...1.8.0

1.7.0

23 Mar 14:47
a95fc0a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.0...1.7.0

1.6.0

23 Jun 06:09
7bd2643
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.1...1.5.2

1.5.0

14 Jun 12:01
e8204d1
Compare
Choose a tag to compare

Features

  • Add InjectorFactory and CachedFactory #73 #74 #75
$cache = new ApcCache; // Doctrine\Common\Cache\Cache
$injector = CachedInjectorFactory::getInstance(
    function () : AbstractModule {
        return new ProdModule;
    },
    'path/to/di',
    $cache, // injector + singleton object cache
   [AbstractRootObject::class, CachedAnnotationReader::class] // 'serizalble singleton object'
);

Documented at #75

1.4.1

06 Jun 07:36
Compare
Choose a tag to compare

Improvements

  • Robust to a race condition #66 #63 #65
  • Optimize AOP class loader for multiple script directories #68
  • Generic notation in PHPDOC (PHPStan, Psalm level max) #69

1.4.0

04 Dec 17:00
e72dc9c
Compare
Choose a tag to compare

Support php 7.4 and drop support EOL php 7.1

1.3.7

15 Jun 17:50
8aebda1
Compare
Choose a tag to compare

Fix autoloader. This PR solves class load issue brought by following PRs.

image

1.3.6

18 May 17:06
Compare
Choose a tag to compare
  • Drop php 7.0 support
  • Support php 7.3
  • Refactor with phpstan ^0.11

image

1.3.5

15 Jul 07:01
b2de54a
Compare
Choose a tag to compare
  • require php-parser ^4.0 #53
  • phpstan ^0.10 analyse