diff --git a/.changeset/temporal-values.md b/.changeset/temporal-values.md deleted file mode 100644 index cd12587..0000000 --- a/.changeset/temporal-values.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"react-fast-compare": patch ---- - -Fix `isEqual` throwing when comparing two different `Temporal` values (e.g. `Temporal.PlainTime`), including ones nested in objects or arrays. They're now compared with their `equals()` method, and `Temporal.Duration`, which has none, field by field. diff --git a/CHANGELOG.md b/CHANGELOG.md index c344e5c..6ef42a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 3.2.4 + +### Patch Changes + +- [#160](https://github.com/FormidableLabs/react-fast-compare/pull/160) [`46180a6`](https://github.com/FormidableLabs/react-fast-compare/commit/46180a69fa73ba306ff2703bdb3ce01dfb9084b1) - Fix `isEqual` throwing when comparing two different `Temporal` values (e.g. `Temporal.PlainTime`), including ones nested in objects or arrays. They're now compared with their `equals()` method, and `Temporal.Duration`, which has none, field by field. + ## 3.2.3 ### Patch Changes diff --git a/package.json b/package.json index 6a7acd3..3e765f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-fast-compare", - "version": "3.2.3", + "version": "3.2.4", "description": "Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.", "main": "index.js", "typings": "index.d.ts",