From 1a5ae9899685c9fb3c527b8f230adabcd27c40b8 Mon Sep 17 00:00:00 2001 From: "(Brian) Emil Hartz" Date: Thu, 30 Jun 2022 10:44:29 -0600 Subject: [PATCH] update changelog - v7 breaking notes --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d49b96a..c1a0333d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,9 @@ **Breaking Changes:** * we have dropped support for `es5` transpiled output * we target `es2015` for our transpilation now - * `swipeable` utilizes object/array spread & const/let natively + * `swipeable` utilizes object spread & const/let natively + * **NOTE** - [tsc/typescript compiler](https://www.typescriptlang.org/tsconfig#target) still transpiles object spreads to `Object.assign`, so this may not actually be a breaking change + * see comment for more details: [#289 (comment)](https://github.com/FormidableLabs/react-swipeable/pull/289#issuecomment-1168553572) * `preventScrollOnSwipe` - "new" prop. Replaces `preventDefaultTouchmoveEvent` * same functionality but renamed to be more explicit on its intended use * **fixed bug** - where toggling this prop did not re-attach event listeners