From 4df0fe705a723d9387dcf07972e232567ff381ae Mon Sep 17 00:00:00 2001 From: Hetmann Wilhelm Iohan Date: Thu, 15 Jul 2021 09:51:59 +0300 Subject: [PATCH 1/2] v1.7.1 --- CHANGELOG.md | 14 ++++++++++++++ app.json | 2 +- navigation/Menu.js | 2 -- package.json | 20 ++++++++++---------- 4 files changed, 25 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fc036a..9152a6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## [1.7.1] 2021 - 07 - 15 +### Updated dependencies +- updated `expo@40.0.0` to `expo@42.0.0` +- updated `expo-asset@8.2.1` to `expo-asset@8.3.2` +- updated `expo-font@8.4.0` to `expo-font@9.2.1` +- updated `react-native@sdk-40.0.1.tar.gz` to `react-native@sdk-42.0.0.tar.gz` +- updated `react-native-gesture-handler@1.8.0` to `react-native-gesture-handler@1.10.2` +- updated `react-native-reanimated@1.13.0` to `react-native-reanimated@2.2.0` +- updated `react-native-safe-area-context@3.1.9` to `react-native-safe-area-context@3.2.0` +- updated `react-native-screens@2.2.0` to `react-native-screens@3.4.0` + +### Updated files +- removed deprecated `useSafeArea` from `navigation/Menu.js` + ## [1.7.0] 2020 - 11 - 04 ### Updated dependencies - updated `@react-navigation/bottom-tabs@5.06` to `@react-navigation/bottom-tabs@5.5.1` diff --git a/app.json b/app.json index 1c1b0f2..b1702aa 100644 --- a/app.json +++ b/app.json @@ -7,7 +7,7 @@ "ios", "android" ], - "version": "1.7.0", + "version": "1.7.1", "orientation": "portrait", "icon": "./assets/icon.png", "splash": { diff --git a/navigation/Menu.js b/navigation/Menu.js index 3c726ef..6c59efe 100644 --- a/navigation/Menu.js +++ b/navigation/Menu.js @@ -1,5 +1,4 @@ import React from "react"; -import { useSafeArea } from "react-native-safe-area-context"; import { ScrollView, StyleSheet, @@ -11,7 +10,6 @@ import Images from "../constants/Images"; import { DrawerItem as DrawerCustomItem } from '../components'; function CustomDrawerContent({ drawerPosition, navigation, profile, focused, state, ...rest }) { - const insets = useSafeArea(); const screens = [ "Home", "Profile", diff --git a/package.json b/package.json index 2576302..eabc292 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "argon-react-native", - "version": "1.7.0", + "version": "1.7.1", "description": "Argon React Native, based on Argon Design System. Coded by Creative Tim", "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -21,19 +21,19 @@ "@react-navigation/native": "5.9.3", "@react-navigation/stack": "5.14.3", "@use-expo/font": "^2.0.0", - "expo": "^40.0.0", + "expo": "^42.0.0", "expo-app-loading": "^1.0.1", - "expo-asset": "~8.2.1", - "expo-font": "~8.4.0", - "galio-framework": "^0.7.1", + "expo-asset": "~8.3.2", + "expo-font": "~9.2.1", + "galio-framework": "^0.8.0", "prop-types": "^15.7.2", "react": "16.13.1", - "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz", - "react-native-gesture-handler": "~1.8.0", + "react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz", + "react-native-gesture-handler": "~1.10.2", "react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git", - "react-native-reanimated": "~1.13.0", - "react-native-safe-area-context": "3.1.9", - "react-native-screens": "~2.15.2" + "react-native-reanimated": "~2.2.0", + "react-native-safe-area-context": "3.2.0", + "react-native-screens": "~3.4.0" }, "devDependencies": { "babel-preset-expo": "8.3.0" From 2eaac26b3e30becaabfe1e2e85fda1d634208261 Mon Sep 17 00:00:00 2001 From: Hetmann Wilhelm Iohan Date: Thu, 15 Jul 2021 09:54:22 +0300 Subject: [PATCH 2/2] Updated changelog.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9152a6b..f174afd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,12 @@ - updated `expo@40.0.0` to `expo@42.0.0` - updated `expo-asset@8.2.1` to `expo-asset@8.3.2` - updated `expo-font@8.4.0` to `expo-font@9.2.1` +- updated `galio-framework@0.7.1` to `galio-framework@0.8.0` - updated `react-native@sdk-40.0.1.tar.gz` to `react-native@sdk-42.0.0.tar.gz` - updated `react-native-gesture-handler@1.8.0` to `react-native-gesture-handler@1.10.2` - updated `react-native-reanimated@1.13.0` to `react-native-reanimated@2.2.0` - updated `react-native-safe-area-context@3.1.9` to `react-native-safe-area-context@3.2.0` -- updated `react-native-screens@2.2.0` to `react-native-screens@3.4.0` +- updated `react-native-screens@2.15.2` to `react-native-screens@3.4.0` ### Updated files - removed deprecated `useSafeArea` from `navigation/Menu.js`