# Change Log

## [1.1.2] - 2025-01-23

### Changed
- Add `$convertToConst` variable at load() method. When `$convertToConst` is set to true, it will convert environment variable into constant and can replace using `env()` function in case of hard to control code
- Add the `env.php` in the library which automatically receives constants converted from environment variables

## [1.1.1] - 2025-01-19
   
### Changed
- Fix ``.env`` file not being created when it doesn't exist

## [1.1.0] - 2025-01-17
 
### Added
- added `setenv()` function which can create or update environment variables in ``.env`` file. If the file does not exist, it will automatically create a new one and pass variables in.
   
### Changed
- The code is now greatly simplified but still retains the core functionality.
- The library will now only load files at a single directory path and allow users to load only a `.env` file.