Browse Source

chore: Update changelogs

Michael Bromley 1 năm trước cách đây
mục cha
commit
cb0672b0cb
2 tập tin đã thay đổi với 26 bổ sung41 xóa
  1. 0 41
      CHANGELOG.md
  2. 26 0
      CHANGELOG_NEXT.md

+ 0 - 41
CHANGELOG.md

@@ -1,45 +1,4 @@
-## 3.1.0-next.1 (2024-09-10)
 
-
-#### Features
-
-* **core** Add replicationMode for ctx and getRepository (#2746) ([60cdae3](https://github.com/vendure-ecommerce/vendure/commit/60cdae3)), closes [#2746](https://github.com/vendure-ecommerce/vendure/issues/2746)
-* **core** Create a user from external authentication (#3005) ([bb28d70](https://github.com/vendure-ecommerce/vendure/commit/bb28d70)), closes [#3005](https://github.com/vendure-ecommerce/vendure/issues/3005)
-* **core** Create PromotionLineAction (#2971) ([0ff8288](https://github.com/vendure-ecommerce/vendure/commit/0ff8288)), closes [#2971](https://github.com/vendure-ecommerce/vendure/issues/2971) [#2956](https://github.com/vendure-ecommerce/vendure/issues/2956)
-* **core** Implement CacheStrategy and CacheService ([489c9c0](https://github.com/vendure-ecommerce/vendure/commit/489c9c0)), closes [#3043](https://github.com/vendure-ecommerce/vendure/issues/3043)
-* **core** Implement caching for FacetValueChecker ([3603b11](https://github.com/vendure-ecommerce/vendure/commit/3603b11)), closes [#3043](https://github.com/vendure-ecommerce/vendure/issues/3043)
-* **core** Initial DefaultCachePlugin implementation ([9c2433f](https://github.com/vendure-ecommerce/vendure/commit/9c2433f)), closes [#3043](https://github.com/vendure-ecommerce/vendure/issues/3043)
-* **email-plugin** Allow specifying metadata for EmailSendEvent (#2963) ([ac0baf9](https://github.com/vendure-ecommerce/vendure/commit/ac0baf9)), closes [#2963](https://github.com/vendure-ecommerce/vendure/issues/2963)
-
-#### Fixes
-
-* **admin-ui** Only update facetValueIds if changed ([8f22ef8](https://github.com/vendure-ecommerce/vendure/commit/8f22ef8))
-* **core** Update DefaultMoneyStrategy.round() Logic (#3023) ([f43c204](https://github.com/vendure-ecommerce/vendure/commit/f43c204)), closes [#3023](https://github.com/vendure-ecommerce/vendure/issues/3023)
-
-
-### BREAKING CHANGE
-
-* A technically breaking change in this release is that we have corrected the default rounding logic:
-
-```ts
-// v3.0
-return Math.round(value) * quantity;
-
-// v3.1
-return Math.round(value * quantity);
-```
-
-This makes order totals calculations much more "correct" as per most people's expectations, but it pointed out as a technically breaking change in the unlikely event that you rely on the old, less correct method of rounding.
-* If you are using the `FacetValueChecker` utility class, you should
-update your code to get it via the `Injector` rather than directly instantiating it.
-
-Existing code _will_ still work without changes, but by updating you will see improved
-performance due to new caching techniques.
-
-```diff
-- facetValueChecker = new FacetValueChecker(injector.get(TransactionalConnection));
-+ facetValueChecker = injector.get(FacetValueChecker);
-```
 ## <small>3.0.2 (2024-09-10)</small>
 
 

+ 26 - 0
CHANGELOG_NEXT.md

@@ -1,3 +1,29 @@
+## 3.1.0-next.1 (2024-09-10)
+
+
+#### Features
+
+* **core** Implement CacheStrategy and CacheService ([489c9c0](https://github.com/vendure-ecommerce/vendure/commit/489c9c0)), closes [#3043](https://github.com/vendure-ecommerce/vendure/issues/3043)
+* **core** Implement caching for FacetValueChecker ([3603b11](https://github.com/vendure-ecommerce/vendure/commit/3603b11)), closes [#3043](https://github.com/vendure-ecommerce/vendure/issues/3043)
+* **core** Initial DefaultCachePlugin implementation ([9c2433f](https://github.com/vendure-ecommerce/vendure/commit/9c2433f)), closes [#3043](https://github.com/vendure-ecommerce/vendure/issues/3043)
+
+#### Fixes
+
+* **admin-ui** Only update facetValueIds if changed ([8f22ef8](https://github.com/vendure-ecommerce/vendure/commit/8f22ef8))
+
+
+### BREAKING CHANGE
+* If you are using the `FacetValueChecker` utility class, you should
+  update your code to get it via the `Injector` rather than directly instantiating it.
+
+Existing code _will_ still work without changes, but by updating you will see improved
+performance due to new caching techniques.
+
+```diff
+- facetValueChecker = new FacetValueChecker(injector.get(TransactionalConnection));
++ facetValueChecker = injector.get(FacetValueChecker);
+```
+
 ## 3.1.0-next.0 (2024-08-21)