|
1 | 1 | # Release Notes for Craft Commerce |
2 | 2 |
|
| 3 | +## 4.5.0 - 2024-02-26 |
| 4 | + |
| 5 | +- Removed the Lite edition. |
| 6 | +- Deprecated `craft\commerce\models\ShippingMethod::isLite`. |
| 7 | +- Deprecated `craft\commerce\models\ShippingRule::isLite`. |
| 8 | +- Deprecated `craft\commerce\models\TaxRate::isLite`. |
| 9 | +- Deprecated `craft\commerce\models\LiteShippingSettings`. |
| 10 | +- Deprecated `craft\commerce\models\LiteTaxSettings`. |
| 11 | +- Deprecated `craft\commerce\controllers\LiteShippingController`. |
| 12 | +- Deprecated `craft\commerce\controllers\LiteTaxController`. |
| 13 | +- Deprecated `craft\commerce\services\ShippingMethods::getLiteShippingMethod()`. `getAllShippingMethods()` should be used instead. |
| 14 | +- Deprecated `craft\commerce\services\ShippingMethods::saveLiteShippingMethod()`. `saveShippingMethod()` should be used instead. |
| 15 | +- Deprecated `craft\commerce\services\ShippingRules::getLiteShippingRule()`. `getAllShippingRules()` should be used instead. |
| 16 | +- Deprecated `craft\commerce\services\ShippingRules::saveLiteShippingRule()`. `saveShippingRule()` should be used instead. |
| 17 | +- Deprecated `craft\commerce\services\TaxRates::getLiteTaxRate()`. `getAllTaxRates()` should be used instead. |
| 18 | +- Deprecated `craft\commerce\services\TaxRates::saveLiteTaxRate()`. `saveTaxRate()` should be used instead. |
| 19 | +- Fixed a SQL error that occurred when running the `commerce/upgrade` command on PostgreSQL. ([#3380](https://github.com/craftcms/commerce/pull/3380)) |
| 20 | + |
3 | 21 | ## 4.4.1.1 - 2024-01-12 |
4 | 22 |
|
5 | 23 | - Fixed a PHP error that occurred when saving a sale. ([#3364](https://github.com/craftcms/commerce/issues/3364)) |
|
25 | 43 | - Improved the performance of variant queries’ `hasProduct` and `hasVariant` params. ([#3325](https://github.com/craftcms/commerce/pull/3325)) |
26 | 44 | - Order statuses with long names no longer wrap on the Orders index page. ([#3335](https://github.com/craftcms/commerce/issues/3335)) |
27 | 45 | - Fixed a bug where carts could get duplicate validation errors. ([3334](https://github.com/craftcms/commerce/issues/3334)) |
28 | | -- Fixed a bug where tab selection was inconsistent on Edit Order pages. |
| 46 | +- Fixed a bug where tab selection was inconsistent on Edit Order pages. |
29 | 47 | - Fixed a bug where sales weren’t respecting elements’ site statuses. ([#3328](https://github.com/craftcms/commerce/issues/3328)) |
30 | 48 | - Fixed a bug where soft-deleted order statuses and line item statuses weren’t getting restored when applying project config changes. ([#3164](https://github.com/craftcms/commerce/issues/3164)) |
31 | 49 | - Fixed a bug where carts weren’t getting restored after signing in. |
|
98 | 116 |
|
99 | 117 | ## 4.2.11 - 2023-06-05 |
100 | 118 |
|
101 | | -- Fixed a bug where “Send Email” option text wasn’t getting translated. ([#3172](https://github.com/craftcms/commerce/issues/3172)) |
| 119 | +- Fixed a bug where “Send Email” option text wasn’t getting translated. ([#3172](https://github.com/craftcms/commerce/issues/3172)) |
102 | 120 | - Fixed a bug where discounts’ user condition values weren’t getting migrated properly when upgrading to Commerce 4. ([#3176](https://github.com/craftcms/commerce/issues/3176)) |
103 | 121 |
|
104 | 122 | ## 4.2.10 - 2023-05-31 |
|
156 | 174 | - Fixed a PHP error that occurred if `null` was passed to `craft\commerce\services\Discounts::getDiscountByCode()`. ([#3045](https://github.com/craftcms/commerce/issues/3045)) |
157 | 175 | - Fixed a bug where a large number of shipping rule category queries could be executed. |
158 | 176 | - Fixed a PHP error that occurred if a product was re-saved before it had finished propagating to all sites. ([#1954](https://github.com/craftcms/commerce/issues/1954)) |
159 | | -- Fixed a PHP error that occurred if `craft\commerce\services\ProductTypes::getEditableProductTypes()` was called when no user was logged in. |
| 177 | +- Fixed a PHP error that occurred if `craft\commerce\services\ProductTypes::getEditableProductTypes()` was called when no user was logged in. |
160 | 178 | - Fixed a PHP error that occurred when saving an invalid shipping method. |
161 | 179 | - Fixed a bug where gateways’ “Enabled for customers to select during checkout” setting wasn’t properly supporting environment variables. ([#3052](https://github.com/craftcms/commerce/issues/3052)) |
162 | 180 | - Fixed a PHP error that could occur when entering values on an Edit Discount page. ([#3067](https://github.com/craftcms/commerce/issues/3067)) |
|
294 | 312 | - Fixed a SQL error that occurred when restoring a soft-deleted product. ([#2982](https://github.com/craftcms/commerce/issues/2982)) |
295 | 313 | - Fixed a bug where the Edit Product page wasn’t handling site selection changes properly. ([#2971](https://github.com/craftcms/commerce/issues/2971)) |
296 | 314 | - Fixed a bug where it wasn't possible to add variants to a sale from the Edit Product page. ([#2976](https://github.com/craftcms/commerce/issues/2976)) |
297 | | -- Fixed a bug where primary addresses weren’t being automatically set on the Edit Order page. ([#2963](https://github.com/craftcms/commerce/issues/2963)) |
| 315 | +- Fixed a bug where primary addresses weren’t being automatically set on the Edit Order page. ([#2963](https://github.com/craftcms/commerce/issues/2963)) |
298 | 316 | - Fixed a bug where it wasn’t possible to change the default order status. ([#2915](https://github.com/craftcms/commerce/issues/2915)) |
299 | 317 |
|
300 | 318 | ## 4.1.2 - 2022-09-15 |
|
314 | 332 | - Fixed a bug where Edit Subscription pages were blank. ([#2913](https://github.com/craftcms/commerce/issues/2913)) |
315 | 333 | - Fixed a bug where `craft\commerce\elements\Order::hasMatchingAddresses()` wasn’t checking the `fullName` property. ([#2917](https://github.com/craftcms/commerce/issues/2917)) |
316 | 334 | - Fixed a bug where discounts’ Purchase Total values weren’t getting saved. |
317 | | -- Fixed a bug where discounts’ shipping address conditions were being saved as billing address conditions. ([#2938](https://github.com/craftcms/commerce/issues/2938)) |
| 335 | +- Fixed a bug where discounts’ shipping address conditions were being saved as billing address conditions. ([#2938](https://github.com/craftcms/commerce/issues/2938)) |
318 | 336 | - Fixed an error that occurred when exporting orders using the “Expanded” export type. ([#2953](https://github.com/craftcms/commerce/issues/2953)) |
319 | 337 | - Fixed a bug where it wasn’t possible to clear out variants’ min and max quantities. ([#2954](https://github.com/craftcms/commerce/issues/2954)) |
320 | 338 |
|
|
0 commit comments