From 115e8c22b7505a95ab4f529777f274d8025dc37e Mon Sep 17 00:00:00 2001 From: Siobhan Bamber Date: Wed, 4 Aug 2021 19:26:27 +0100 Subject: [PATCH] Mobile Release v1.58.2 (#33870) * Release script: Update react-native-editor version to 1.58.0 * Release script: Update with changes from 'npm run core preios' * Add 1.58 section to changelog * Release script: Update react-native-editor version to 1.58.1 * Release script: Update with changes from 'npm run core preios' * [Mobile] - Global styles: Check for undefined values and merge user colors (#33707) * Fix: Mobile - Check for undefined variables and merge user colors before parsing * Check for null values * Update react-native-editor changelog * [RNMobile][Embed block] Disable paragraph transform (#33745) * Update react-native-editor changelog * Release script: Update react-native-editor version to 1.58.2 * Release script: Update with changes from 'npm run core preios' * [RNMobile] Fix BottomSheet.SubSheet/TextInput Conflict (#33845) * Remove 'BottomSheetScreen' component The 'BottomSheetScreen' component was introduced in the following commit in order to correct a render error related to the 'setIsFullScreen' method: https://github.com/WordPress/gutenberg/pull/33240/commits/d650b4f1df6e1699c7c45819a8afd4a2ec39a08e#diff-d16d37d09ff59dce57c087e978ac5536503cb1642ec2b0ecdba9536f5c695b95R20 The way the component's currently rendering is causing a conflict with the TextInput component, however. With this commit, the component's removed, along with the 'setIsFullScreen' method (the method will be re-introduced in the following commits). * Refactor 'setIsFullScreen' method With this commit, the 'setIsFullScreen' method is added back to the component. This time, it's added to its own separate 'useEffect' function. * Remove 'BottomSheetConsumer' 'BottomSheetConsumer' is no longer necessary as we're now using 'useContext' to pull in 'setIsFullScreen'. Further discussion here: https://github.com/WordPress/gutenberg/pull/33845#discussion_r681939450 * Refactor reference to 'children' As 'BottomSheetConsumer' was removed in https://github.com/WordPress/gutenberg/pull/33845/commits/523239866d5b502672695af6daa30453b57d26ac, 'children' no longer needs to be returned as part of a function. In fact, this results in an error. With this commit, the function surrounding the reference to 'children' is removed. * Update CHANGELOG * Fix merge issues with CHANGELOG Co-authored-by: Carlos Garcia Co-authored-by: Gerardo Pacheco Co-authored-by: Ceyhun Ozugur --- packages/react-native-aztec/package.json | 2 +- packages/react-native-bridge/package.json | 2 +- packages/react-native-editor/CHANGELOG.md | 3 +++ packages/react-native-editor/ios/Podfile.lock | 10 +++++----- packages/react-native-editor/package.json | 2 +- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/packages/react-native-aztec/package.json b/packages/react-native-aztec/package.json index 5a745ed9224ad..763b44f35fb76 100644 --- a/packages/react-native-aztec/package.json +++ b/packages/react-native-aztec/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-aztec", - "version": "1.58.1", + "version": "1.58.2", "description": "Aztec view for react-native.", "private": true, "author": "The WordPress Contributors", diff --git a/packages/react-native-bridge/package.json b/packages/react-native-bridge/package.json index 4578e8dee45b1..a818af9c88cf7 100644 --- a/packages/react-native-bridge/package.json +++ b/packages/react-native-bridge/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-bridge", - "version": "1.58.1", + "version": "1.58.2", "description": "Native bridge library used to integrate the block editor into a native App.", "private": true, "author": "The WordPress Contributors", diff --git a/packages/react-native-editor/CHANGELOG.md b/packages/react-native-editor/CHANGELOG.md index a1fb6350b6c7e..4089195532a65 100644 --- a/packages/react-native-editor/CHANGELOG.md +++ b/packages/react-native-editor/CHANGELOG.md @@ -13,6 +13,9 @@ For each user feature we should also add a importance categorization label to i - [*] [Android] Fix UBE's inaccessible "more" toolbar item. [#33740] - [*] Image block: Add a "featured" banner and ability to set or remove an image as featured. (iOS only) [#31345] +## 1.58.2 +- [*] Fix issue with text input in alt text settings [#33845] + ## 1.58.1 - [*] Global styles: Check for undefined values and merge user colors [#33707] - [*] [Embed block] Disable paragraph transform [#33745] diff --git a/packages/react-native-editor/ios/Podfile.lock b/packages/react-native-editor/ios/Podfile.lock index ecc12758fcbab..edf5454a09758 100644 --- a/packages/react-native-editor/ios/Podfile.lock +++ b/packages/react-native-editor/ios/Podfile.lock @@ -12,7 +12,7 @@ PODS: - React-jsi (= 0.64.0) - ReactCommon/turbomodule/core (= 0.64.0) - glog (0.3.5) - - Gutenberg (1.58.1): + - Gutenberg (1.58.2): - React-Core (= 0.64.0) - React-CoreModules (= 0.64.0) - React-RCTImage (= 0.64.0) @@ -301,7 +301,7 @@ PODS: - React-Core - RNSVG (9.13.7-wp): - React-Core - - RNTAztecView (1.58.1): + - RNTAztecView (1.58.2): - React-Core - WordPress-Aztec-iOS (~> 1.19.4) - WordPress-Aztec-iOS (1.19.4) @@ -452,9 +452,9 @@ SPEC CHECKSUMS: BVLinearGradient: 2c791e973a3df0df46028210c530fde52c06b717 DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5 - FBReactNativeSpec: ebf5d0d5406a50fed4bd7e93460435dfddcab39a + FBReactNativeSpec: 917598f7e7d135665a8a6e94c4e471669096e979 glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62 - Gutenberg: 312cc0156f0ab87f7027d29b98c676c047b15275 + Gutenberg: 259efbc88815a4b23c54cf13691e5760e516b833 RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c RCTRequired: 2f8cb5b7533219bf4218a045f92768129cf7050a RCTTypeSafety: 512728b73549e72ad7330b92f3d42936f2a4de5b @@ -490,7 +490,7 @@ SPEC CHECKSUMS: RNReanimated: ca6105fdc2739ea1b3a7a5350b6490d8160143bc RNScreens: eb4e23256e7f2a5a1af87ea24dfeb49aea0ef310 RNSVG: 1b6dcbec5884b6dbe256bf8c38eeeab0acf05926 - RNTAztecView: 4d60f4b4396285fd6a4e8a4de4eef0135b662cd7 + RNTAztecView: 0851da20d1d112a19d899ae17b12c326dc4ef650 WordPress-Aztec-iOS: 870c93297849072aadfc2223e284094e73023e82 Yoga: 8c8436d4171c87504c648ae23b1d81242bdf3bbf diff --git a/packages/react-native-editor/package.json b/packages/react-native-editor/package.json index 3b590dedf3ea2..e0ab2c6c88f8c 100644 --- a/packages/react-native-editor/package.json +++ b/packages/react-native-editor/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-editor", - "version": "1.58.1", + "version": "1.58.2", "description": "Mobile WordPress gutenberg editor.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later",