From 43bd73746aa197b48f0fcaf7307cdbb82e499aec Mon Sep 17 00:00:00 2001 From: Shahzada Modassir <152081666+shahzadamodassir@users.noreply.github.com> Date: Sat, 2 Nov 2024 22:58:50 +0530 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b13789..b933d37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,10 @@ +# Release Notes +## [Unreleased](https://github.com/lazervel/dotenv/compare/v3.0.0...v3.0.0) + +## [v3.0](https://github.com/lazervel/dotenv/releases/tag/v3.0.0) - 02 November 2024 +- Added `required()` method use to `Dotenv::process(__DIR__, 'yourconfig.env')->required($variables);` develop by [@shahzadamodassir](https://github.com/shahzadamodassir). +- Added `ifPresent()` method use to `Dotenv::process(__DIR__, 'yourconfig.env')->ifPresent($variables);` develop by [@shahzadamodassir](https://github.com/shahzadamodassir). +- [BC BREAK] Since v3.x, Due to significant updates in the library, all previous configurations may no longer work as expected. Users will need to reconfigure their settings to align with the new structure and behavior introduced in this update. +- Review the updated documentation for `Dotenv::process(__DIR__, 'yourconfig.env');` to understand the new behavior. +- Ensure that any calls to these methods are updated to accommodate these changes.