From b69d3a56312662b440d6a6977c3445cfef2de396 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 16:22:35 +0000 Subject: [PATCH] chore: release @epilot/pricing --- .changeset/product-recommendation-rules.md | 7 ------- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 .changeset/product-recommendation-rules.md 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",