diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e185f4..2ef35a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to `redsys-php` will be documented in this file. +## 3.0.0 - 2024-06-xx + +### New features: +- POST requests responses are now handled by the package. + +### Breaking changes +- Renamed exceptions: All the exceptions have been renamed to include the `*Exception` suffix. +- Renamed `RedsysNotification` as `RedsysResponse`. +- POST requests responses returns `NotificationParameters` or a `PostRequestError`. + +### Low impact changes +- Drop spatie/data-transfer-object dependency + ## 2.0.1 - 2023-05-16 Fixes tests compatibility diff --git a/UPGRADING.md b/UPGRADING.md index 5d94ece..4fb0d73 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -1,5 +1,12 @@ # Upgrading +## From v2 to v3 + +Version 3.x now handles responses for POST requests and some classes are renamed to accommodate that: + +- Renamed `RedsysNotification` as `RedsysResponse`. +- Renamed exceptions: All the exceptions have been renamed to include the `*Exception` suffix and replaced `RedsysNotification` as `RedsysResponse`. + ## From v1 to v2 Version 2.x is a complete rewrite, so there isn't a step-by-step upgrade guide. We recommend you to read the updated docs