All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
For a full diff see 1.6.0...main
.
For a full diff see 1.5.0...1.6.0
.
- Added support for PHP 8.4 (#823), by @localheinz
For a full diff see 1.4.0...1.5.0
.
- Added support for PHP 8.3 (#646), by @localheinz
- Dropped support for PHP 8.0 (#553), by @localheinz
For a full diff see 1.3.0...1.4.0
.
- Dropped support for PHP 7.4 (#463), by @localheinz
For a full diff see 1.2.0...1.3.0
.
- Dropped support for PHP 7.3 (#337), by @localheinz
For a full diff see 1.1.0...1.2.0
.
- Dropped support for PHP 7.2 (#326), by @localheinz
For a full diff see 1.0.0...1.1.0
.
- Added support for PHP 8.0 (#176), by @localheinz
For a full diff see c0c63bb...1.0.0
.
- Added
Test
, which allows backing up, restoring, and safely modifying environment variables in test environments (#1), by @localheinz - Added
Production
, which allows reading, setting, and unsetting environment variables in production environments (#2), by @localheinz - Added
FakeVariables
, which can be used as a fake implementation ofVariables
in test environments (#7), by @localheinz - Added
ReadOnlyVariables
, which can be used as a mock implementation ofVariables
in test environments (#8), by @localheinz - Added
toArray()
toErgebnis\Environment\Variables
(#18), by @localheinz
- Renamed namespace
Ergebnis\Environment\Variables
toErgebnis\Environment
(#5), by @localheinz - Renamed
Ergebnis\Environment\Production
toErgebnis\Environment\SystemVariables
(#6), by @localheinz - Renamed
Ergebnis\Environment\Test
toErgebnis\Environment\TestVariables
(#9), by @localheinz - Started throwing
Ergebnis\Environment\Exception\CouldNotSet
when a system environment variable could not be set (#14), by @localheinz - Started throwing
Ergebnis\Environment\Exception\CouldNotUnset
when a system environment variable could not be unset (#15), by @localheinz - Started throwing
Ergebnis\Environment\Exception\NotSet
when attempting to retrieve the value of an environment variable that is not set (#16), by @localheinz - Adjusted
Ergebnis\Environment\TestVariables
so it implements theErgebnis\Environment\Variables
interface as well (#17), by @localheinz - Extracted named constructors
Ergebnis\Environment\FakeVariables::empty()
andErgebnis\Environment\FakeVariables::fromArray()
(#19), by @localheinz - Extracted named constructors
Ergebnis\Environment\ReadOnlyVariables::empty()
andErgebnis\Environment\ReadOnlyVariables::fromArray()
(#20), by @localheinz