4.0.0
How to upgrade?
- Update the modules' NuGet packages version.
- Try adding EF Core migrations and correcting the migration files' content.
Important New Features
- Introducing the new Promotions plugin module. See https://github.com/EasyAbp/EShop/tree/dev/plugins/Promotions
Breaking Changes
- Some entity classes have been refactored. See #251 and #241.
- Some entity interfaces are refactored to include sub-entities. See #241.
ProductSkuDto.DiscountedPrice
has been removed. TheProductSkuDto.Price
now includes product discounts. See the commit.
What's Changed
- Fix MongoDbContext method names in plugin modules by @gdlcf88 in #239
- Make entity interfaces include sub-entities by @gdlcf88 in #241
- Refactor Order aggregate and move business to domain layer by @gdlcf88 in #242
- Implement product discounts by @gdlcf88 in #251
- Clear the product view cache when product discounts begin or end by @gdlcf88 in #252
- Introduce
EffectGroup
and refactor product/order discounting by @gdlcf88 in #254 - Implement the BFS discount election by @gdlcf88 in #255
- Introduce
Promotions
plugin module by @gdlcf88 in #240 - Add
RuleData
in OrderDiscountPreviewInfoModel by @gdlcf88 in #256 - Introduce
IOrderDiscount
by @gdlcf88 in #257 - Add the missing OrderDiscounts EF Core relationship loading by @gdlcf88 in #258
- Batch discount products to improve performance by @gdlcf88 in #259
- Fix a bug of the order discount and create UTs by @gdlcf88 in #260
- Docs for Promotions module and sample app improvements by @gdlcf88 in #261
Full Changelog: 3.6.1...4.0.0