Skip to content

Releases: parable-php/di

Parable DI 1.0.0

12 Mar 08:20
Compare
Choose a tag to compare

It's time! Finally a 1.0.0 release, locking the interface in place for at least a while.

Changes

  • Completed the README.
  • clear() no longer throws on a non-stored instance, since the expected result (that instance no longer being stored) is met.
  • NotFoundException renamed to InstanceNotFoundException for clarity.
  • Added unmap(string $requested): void to unmap and clear any mapped instance.
  • Improved clearExcept() to use clear() so it also unsets any existing relationships.

Parable DI 0.3.2

11 Mar 13:18
Compare
Choose a tag to compare
Parable DI 0.3.2 Pre-release
Pre-release

Changes

  • Add static analysis using psalm.

Parable DI 0.3.1

04 Feb 13:05
Compare
Choose a tag to compare
Parable DI 0.3.1 Pre-release
Pre-release

0.3.1

Fixes

  • Small fix for the new php8 reflection types.

Parable DI 0.3.0

20 Jan 19:35
Compare
Choose a tag to compare
Parable DI 0.3.0 Pre-release
Pre-release

0.3.0

Changes

  • Dropped support for php7, php8 only from now on.

Parable DI 0.2.6

18 Jan 20:48
Compare
Choose a tag to compare
Parable DI 0.2.6 Pre-release
Pre-release

0.2.6

Changes

  • ReflectionParameter::getClass() is deprecated in php 8+, so reworked to use ReflectionParameter::getType() instead.

Parable DI 0.2.5

15 Apr 10:03
Compare
Choose a tag to compare
Parable DI 0.2.5 Pre-release
Pre-release

0.2.5

Changes

  • normalize() now also trims the provided string of whitespace first.

Parable DI 0.2.4

03 Apr 07:23
Compare
Choose a tag to compare
Parable DI 0.2.4 Pre-release
Pre-release

0.2.4

Changes

  • Remove object return type hinting, since it didn't actually help.
  • Thanks to @dmvdbrugge, dynamicReturnTypeMeta.json has been replaced by the PhpStorm-native .phpstorm.meta.php. See PR #1.

Parable DI 0.2.3

17 Feb 13:08
Compare
Choose a tag to compare
Parable DI 0.2.3 Pre-release
Pre-release

0.2.3

Changes

  • Scalar parameters can now also be handled, but only if they are considered optional. This means after any required parameters, and with a default value.

Parable DI 0.2.2

13 Feb 21:50
Compare
Choose a tag to compare
Parable DI 0.2.2 Pre-release
Pre-release

0.2.2

Changes

  • Define strict types.

Parable DI 0.2.1

06 Feb 22:06
Compare
Choose a tag to compare
Parable DI 0.2.1 Pre-release
Pre-release

0.2.1

Bugfixes

  • Fixed bug where in some cases, an un-injectable parameter's type could not be established.