diff --git a/.changeset/product-recommendation-rules.md b/.changeset/product-recommendation-rules.md deleted file mode 100644 index 56dc0d3..0000000 --- a/.changeset/product-recommendation-rules.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@epilot/pricing': minor ---- - -Add `extractProductRecommendationRuleRelations` and `validateProductRecommendationRules` (plus `ProductRecommendationRule`, `ProductRecommendationOfferGroup` and `ProductRecommendationOfferItem` types) to derive the `source_products`/`source_prices`/`offer_products`/`offer_prices` relations of a `product_recommendation` entity from its rule table and validate it before saving. - -The rule table types (`ProductRecommendationRule`, `ProductRecommendationOfferGroup`) come from the pricing API spec via `@epilot/sdk/pricing` and are re-exported; `ProductRecommendationOfferItem` is derived from them. The `@epilot/sdk` peer dependency is raised to `^2.20.115`, the first version that ships these types. diff --git a/CHANGELOG.md b/CHANGELOG.md index c77fac4..6548f9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 5.11.0 + +### Minor Changes + +- 86bac83: Add `extractProductRecommendationRuleRelations` and `validateProductRecommendationRules` (plus `ProductRecommendationRule`, `ProductRecommendationOfferGroup` and `ProductRecommendationOfferItem` types) to derive the `source_products`/`source_prices`/`offer_products`/`offer_prices` relations of a `product_recommendation` entity from its rule table and validate it before saving. + + The rule table types (`ProductRecommendationRule`, `ProductRecommendationOfferGroup`) come from the pricing API spec via `@epilot/sdk/pricing` and are re-exported; `ProductRecommendationOfferItem` is derived from them. The `@epilot/sdk` peer dependency is raised to `^2.20.115`, the first version that ships these types. + ## 5.10.0 ### Minor Changes diff --git a/package.json b/package.json index 548891c..7a702bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@epilot/pricing", - "version": "5.10.0", + "version": "5.11.0", "description": "Pricing Library", "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.mjs",