# Yii Injector Change Log

## 1.2.1 December 01, 2025

- Chg #105, #111: Change PHP constraint in `composer.json` to `7.4 - 8.5` (@vjik)
- Enh #105: Adjust pretty name of closures on PHP 8.4 in exception messages (@staabm)
- Enh #98: Refactor `Injector::invoke()` to improve debug trace (@xepozz)

## 1.2.0 December 20, 2023

- New #52: Add optional reflection caching (@xepozz, @vjik)
- Enh #86: Make container optional (@vjik)

## 1.1.0 July 18, 2022

- Enh #64: Support for type intersection when arguments resolving (@roxblnfk)

## 1.0.5 May 22, 2022

- Enh #56: Declare return value in `Injector::make()` and improve psalm annotations (@vjik)
- Enh #63: Support for PHP 8.1 features when rendering closures in exceptions (@roxblnfk)

## 1.0.4 March 10, 2021

- Enh #46: Support PSR Container v1.1 and v2.0 (@roxblnfk)

## 1.0.3 November 05, 2020

- Bug #27: Fix PHP 8 compatibility when passing arguments by reference (@roxblnfk)
- Bug #28: Fix injecting referenced arguments that were unset, internal refactoring (@roxblnfk)

## 1.0.2 August 28, 2020

- Enh #17: Support PHP 8 Union Types (@roxblnfk)
- Bug #19: Fix PHP 8 compatibility in ArgumentException (@roxblnfk)
- Bug #19: Remove unneeded passing PHP 8 internal classes as trailing arguments (@roxblnfk)

## 1.0.1 May 17, 2020

- Enh #15: Support PHP 8 (@samdark)

## 1.0.0 May 03, 2020

- Initial release.
