From c4e7cf9c22f45d278224e403d80430852bd8b403 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Sat, 14 Dec 2024 20:32:05 +0200 Subject: [PATCH] Release v4.2.0 --- Changelog.md | 4 ++-- src/Adjustments/Changelog.md | 4 ++-- src/Adjustments/resources/manifest.php | 2 +- src/Cart/Changelog.md | 4 ++-- src/Cart/resources/manifest.php | 2 +- src/Category/Changelog.md | 5 +++++ src/Category/resources/manifest.php | 2 +- src/Channel/Changelog.md | 4 ++-- src/Channel/resources/manifest.php | 2 +- src/Checkout/Changelog.md | 4 ++-- src/Checkout/resources/manifest.php | 2 +- src/Contracts/Changelog.md | 5 +++++ src/Foundation/resources/manifest.php | 2 +- src/Links/Changelog.md | 5 +++++ src/Links/resources/manifest.php | 2 +- src/MasterProduct/Changelog.md | 4 ++-- src/MasterProduct/resources/manifest.php | 2 +- src/Order/Changelog.md | 4 ++-- src/Order/resources/manifest.php | 2 +- src/Payment/Changelog.md | 4 ++-- src/Payment/resources/manifest.php | 2 +- src/Product/Changelog.md | 4 ++-- src/Product/resources/manifest.php | 2 +- src/Promotion/Changelog.md | 4 ++-- src/Promotion/resources/manifest.php | 2 +- src/Properties/Changelog.md | 5 +++++ src/Properties/resources/manifest.php | 2 +- src/Shipment/Changelog.md | 4 ++-- src/Shipment/resources/manifest.php | 2 +- src/Support/Changelog.md | 4 ++-- src/Taxes/Changelog.md | 4 ++-- src/Taxes/resources/manifest.php | 2 +- 32 files changed, 61 insertions(+), 41 deletions(-) diff --git a/Changelog.md b/Changelog.md index 562d1096d..fece0ec5d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-14 - Added PHP 8.4 support - Added the Promotion module with promotions, actions, rules and coupons support diff --git a/src/Adjustments/Changelog.md b/src/Adjustments/Changelog.md index 118a68049..ec85549fa 100644 --- a/src/Adjustments/Changelog.md +++ b/src/Adjustments/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-14 - Added the `PercentDiscount` adjuster class diff --git a/src/Adjustments/resources/manifest.php b/src/Adjustments/resources/manifest.php index c33a85d9d..2a2dcdc3f 100644 --- a/src/Adjustments/resources/manifest.php +++ b/src/Adjustments/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Adjustments Module', - 'version' => '4.2-dev', + 'version' => '4.2.0', ]; diff --git a/src/Cart/Changelog.md b/src/Cart/Changelog.md index 79bbe783c..f3ecb98d2 100644 --- a/src/Cart/Changelog.md +++ b/src/Cart/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed `CartItem::hasConfiguration()` to return false on empty arrays as well - Fixed an error when attempting to remove a product from the cart which is not in the by [xujiongze](https://github.com/xujiongze) in [#188](https://github.com/vanilophp/framework/pull/188) diff --git a/src/Cart/resources/manifest.php b/src/Cart/resources/manifest.php index ee7aac288..802f0dd9b 100644 --- a/src/Cart/resources/manifest.php +++ b/src/Cart/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Cart Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Category/Changelog.md b/src/Category/Changelog.md index f71e53d12..41a577c40 100644 --- a/src/Category/Changelog.md +++ b/src/Category/Changelog.md @@ -2,6 +2,11 @@ ## 4.x Series +## 4.2.0 +##### 2024-12-14 + +- Bump module version to mainline (no change) + ## 4.1.0 ##### 2024-07-11 diff --git a/src/Category/resources/manifest.php b/src/Category/resources/manifest.php index c6ff0d1e3..bd7c88418 100644 --- a/src/Category/resources/manifest.php +++ b/src/Category/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Category Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Channel/Changelog.md b/src/Channel/Changelog.md index 47a3b17ee..07fee7ce5 100644 --- a/src/Channel/Changelog.md +++ b/src/Channel/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the minimal Address module requirement to v3.4.1 - Changed `Channel::hasConfiguration()` to return false on empty arrays as well diff --git a/src/Channel/resources/manifest.php b/src/Channel/resources/manifest.php index 12588ba71..48a68d956 100644 --- a/src/Channel/resources/manifest.php +++ b/src/Channel/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Channel Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Checkout/Changelog.md b/src/Checkout/Changelog.md index 98793aef4..0d1f8ce1e 100644 --- a/src/Checkout/Changelog.md +++ b/src/Checkout/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the minimal Address module requirement to v3.4.1 - Added the following, v5 interface candidate methods to the Checkout implementations: diff --git a/src/Checkout/resources/manifest.php b/src/Checkout/resources/manifest.php index 7c4721b29..f180150a0 100644 --- a/src/Checkout/resources/manifest.php +++ b/src/Checkout/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Checkout Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Contracts/Changelog.md b/src/Contracts/Changelog.md index ddfb9334d..5fd77020a 100644 --- a/src/Contracts/Changelog.md +++ b/src/Contracts/Changelog.md @@ -2,6 +2,11 @@ ## 4.x Series +## 4.2.0 +##### 2024-12-14 + +- Bump module version to mainline (no change) + ## 4.1.0 ##### 2024-07-11 diff --git a/src/Foundation/resources/manifest.php b/src/Foundation/resources/manifest.php index 436ed4970..38b29f5c4 100644 --- a/src/Foundation/resources/manifest.php +++ b/src/Foundation/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Foundation', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Links/Changelog.md b/src/Links/Changelog.md index 89913af3b..d8a86c1f7 100644 --- a/src/Links/Changelog.md +++ b/src/Links/Changelog.md @@ -2,6 +2,11 @@ ## 4.x Series +## 4.2.0 +##### 2024-12-14 + +- Bump module version to mainline (no change) + ## 4.1.0 ##### 2024-07-11 diff --git a/src/Links/resources/manifest.php b/src/Links/resources/manifest.php index a1b36bc92..953d36519 100644 --- a/src/Links/resources/manifest.php +++ b/src/Links/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Links Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/MasterProduct/Changelog.md b/src/MasterProduct/Changelog.md index c295b75c4..52d6aba5f 100644 --- a/src/MasterProduct/Changelog.md +++ b/src/MasterProduct/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the variant's Stockable logic so that the derived getters use `onStockQuantity()` and `backorderQuantity()` instead of direct `stock` and `backorder` field access. This makes possible to override stock logic and remain consistent diff --git a/src/MasterProduct/resources/manifest.php b/src/MasterProduct/resources/manifest.php index 805d0b252..750f89158 100644 --- a/src/MasterProduct/resources/manifest.php +++ b/src/MasterProduct/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Master Product Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Order/Changelog.md b/src/Order/Changelog.md index 1251e75c3..6a4915769 100644 --- a/src/Order/Changelog.md +++ b/src/Order/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the minimal Address module requirement to v3.4.1 - Added `domain` field to the orders table diff --git a/src/Order/resources/manifest.php b/src/Order/resources/manifest.php index 00965ea07..50ae6a4c2 100644 --- a/src/Order/resources/manifest.php +++ b/src/Order/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Order Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Payment/Changelog.md b/src/Payment/Changelog.md index ca8ee9892..eed6bea33 100644 --- a/src/Payment/Changelog.md +++ b/src/Payment/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed `PaymentMethod::hasConfiguration()` to return false on empty arrays as well diff --git a/src/Payment/resources/manifest.php b/src/Payment/resources/manifest.php index 95787d766..65a31ce62 100644 --- a/src/Payment/resources/manifest.php +++ b/src/Payment/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Payment Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Product/Changelog.md b/src/Product/Changelog.md index 146d3ac5d..6315d8c5e 100644 --- a/src/Product/Changelog.md +++ b/src/Product/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the product's Stockable logic so that the derived getters use `onStockQuantity()` and `backorderQuantity()` instead of direct `stock` and `backorder` field access. This makes possible to override stock logic and remain consistent diff --git a/src/Product/resources/manifest.php b/src/Product/resources/manifest.php index d5b4187d8..4c5b01ff4 100644 --- a/src/Product/resources/manifest.php +++ b/src/Product/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Product Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Promotion/Changelog.md b/src/Promotion/Changelog.md index 3d43856fb..38786dad5 100644 --- a/src/Promotion/Changelog.md +++ b/src/Promotion/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Initial release of the module - Added promotions, actions, rules and coupons support diff --git a/src/Promotion/resources/manifest.php b/src/Promotion/resources/manifest.php index 12fecca74..9cef1e784 100644 --- a/src/Promotion/resources/manifest.php +++ b/src/Promotion/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Promotion Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Properties/Changelog.md b/src/Properties/Changelog.md index fb90aef4b..cf2ee7e0a 100644 --- a/src/Properties/Changelog.md +++ b/src/Properties/Changelog.md @@ -2,6 +2,11 @@ ## 4.x Series +## 4.2.0 +##### 2024-12-14 + +- Bump module version to mainline (no change) + ## 4.1.0 ##### 2024-07-11 diff --git a/src/Properties/resources/manifest.php b/src/Properties/resources/manifest.php index 227633642..6286efd95 100644 --- a/src/Properties/resources/manifest.php +++ b/src/Properties/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Properties Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Shipment/Changelog.md b/src/Shipment/Changelog.md index 5d897deaf..6446b9de5 100644 --- a/src/Shipment/Changelog.md +++ b/src/Shipment/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the minimal Address module requirement to v3.4.1 - Changed `ShippingMethod::hasConfiguration()` to return false on empty arrays as well diff --git a/src/Shipment/resources/manifest.php b/src/Shipment/resources/manifest.php index ecfd6d258..e283b2ff9 100644 --- a/src/Shipment/resources/manifest.php +++ b/src/Shipment/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Shipment Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ]; diff --git a/src/Support/Changelog.md b/src/Support/Changelog.md index 39ac52871..d32ad330f 100644 --- a/src/Support/Changelog.md +++ b/src/Support/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the minimal Address module requirement to v3.4.1 - Changed the `ConfigurableModel::hasConfiguration()` trait to return false on empty arrays as well (until now, only `null` was considered as no config) diff --git a/src/Taxes/Changelog.md b/src/Taxes/Changelog.md index 2945b9ca8..b7a2e21fb 100644 --- a/src/Taxes/Changelog.md +++ b/src/Taxes/Changelog.md @@ -2,8 +2,8 @@ ## 4.x Series -## Unreleased -##### 2024-XX-YY +## 4.2.0 +##### 2024-12-15 - Changed the minimal Address module requirement to v3.4.1 - Changed `TaxRate::hasConfiguration()` to return false on empty arrays as well diff --git a/src/Taxes/resources/manifest.php b/src/Taxes/resources/manifest.php index 3c7d463ef..d13a3d3f9 100644 --- a/src/Taxes/resources/manifest.php +++ b/src/Taxes/resources/manifest.php @@ -4,5 +4,5 @@ return [ 'name' => 'Vanilo Taxes Module', - 'version' => '4.2-dev' + 'version' => '4.2.0' ];