From 3995e115b3479490f43aea64854c442056bfa69f Mon Sep 17 00:00:00 2001 From: gorhom Date: Sun, 24 Apr 2022 18:34:57 +0100 Subject: [PATCH] chore: release v4.2.0 --- CHANGELOG.md | 28 +++++++++++++++++++++++++++- package.json | 2 +- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1f9792ac..c4b41c701 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,32 @@ # Changelog -## [v4.1.6](https://github.com/gorhom/react-native-bottom-sheet/compare/v4.1.5...v4.1.6) +## [v4.2.0](https://github.com/gorhom/react-native-bottom-sheet/compare/v4.1.6...v4.2.0) + +#### Features + +- feat: allow unsafe usage for useBottomSheetInternal & useBottomSheetModalInternal (#740)(by @jembach) + +* feat: add useBottomSheetInternal_unsafe & useBottomSheetModalInternal_unsafe to access context + +* chore: export hooks useBottomSheetInternal_unsafe and useBottomSheetModalInternal_unsafe + +* refactor: combined unsafe hooks with default hooks using an argument + +* chore(useBottomSheetInternal): use function overloading instead of interface + +* chore(useBottomSheetModalInternal): use function overloading instead of interface + +* chore: fixed spacing + +Co-authored-by: gorhom <gorhom.dev@gmail.com> ([1bf6139](https://github.com/gorhom/react-native-bottom-sheet/commit/1bf613997cb7a7c8d1fd14f8253701e511a145c7)). + +#### Improvements + +- chore: fixed types import from reanimated ([831df9c](https://github.com/gorhom/react-native-bottom-sheet/commit/831df9c9e8f25ead974251efcdc384fa1ca00c2e)). +- chore: fixed types import ([95cb80d](https://github.com/gorhom/react-native-bottom-sheet/commit/95cb80d3331efb12a1b22b904ebdc0155ebcd833)). +- chore: exported useBottomSheetModalInternal hook ([31eb738](https://github.com/gorhom/react-native-bottom-sheet/commit/31eb73859b46ca325d8960baff9a9ddccb1b89fe)). + +## [v4.1.6](https://github.com/gorhom/react-native-bottom-sheet/compare/v4.1.5...v4.1.6) - 2022-04-23 #### Improvements diff --git a/package.json b/package.json index b18d5f61c..a9b88a485 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gorhom/bottom-sheet", - "version": "4.1.6", + "version": "4.2.0", "description": "A performant interactive bottom sheet with fully configurable options 🚀", "main": "lib/commonjs/index", "module": "lib/module/index",