From c6be60a2c39925c42921c51d75e2473f4b657bf6 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 25 May 2023 10:04:03 +1000 Subject: [PATCH 1/8] Release script: Update react-native-editor version to 1.96.0 --- packages/react-native-aztec/package.json | 2 +- packages/react-native-bridge/package.json | 2 +- packages/react-native-editor/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native-aztec/package.json b/packages/react-native-aztec/package.json index c9f769f306a705..d8c8cc9d0b301a 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.95.0", + "version": "1.96.0", "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 e632331fa2485e..11745b50ae1436 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.95.0", + "version": "1.96.0", "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/package.json b/packages/react-native-editor/package.json index c70d9e013734e4..358f4833cf20ab 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.95.0", + "version": "1.96.0", "description": "Mobile WordPress gutenberg editor.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later", From 5a421ffa7247f0462beac31b989a1ff4b2055873 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 25 May 2023 10:04:22 +1000 Subject: [PATCH 2/8] Release script: Update with changes from 'npm run core preios' --- packages/react-native-editor/ios/Podfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-native-editor/ios/Podfile.lock b/packages/react-native-editor/ios/Podfile.lock index 8fcaecffe9aa3d..413d4c8330134d 100644 --- a/packages/react-native-editor/ios/Podfile.lock +++ b/packages/react-native-editor/ios/Podfile.lock @@ -13,7 +13,7 @@ PODS: - ReactCommon/turbomodule/core (= 0.69.4) - fmt (6.2.1) - glog (0.3.5) - - Gutenberg (1.95.0): + - Gutenberg (1.96.0): - React-Core (= 0.69.4) - React-CoreModules (= 0.69.4) - React-RCTImage (= 0.69.4) @@ -360,7 +360,7 @@ PODS: - React-Core - RNSVG (9.13.6): - React-Core - - RNTAztecView (1.95.0): + - RNTAztecView (1.96.0): - React-Core - WordPress-Aztec-iOS (~> 1.19.8) - SDWebImage (5.11.1): @@ -540,7 +540,7 @@ SPEC CHECKSUMS: FBReactNativeSpec: 2ff441cbe6e58c1778d8a5cf3311831a6a8c0809 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 3d02b25ca00c2d456734d0bcff864cbc62f6ae1a - Gutenberg: 98fc15135123cdfcfa6ad1fc35c8012014dab488 + Gutenberg: baeb5202bdcc71526ae04505a54e72255a7260ce libwebp: 60305b2e989864154bd9be3d772730f08fc6a59c RCT-Folly: b9d9fe1fc70114b751c076104e52f3b1b5e5a95a RCTRequired: bd9d2ab0fda10171fcbcf9ba61a7df4dc15a28f4 @@ -582,7 +582,7 @@ SPEC CHECKSUMS: RNReanimated: bea6acb5fdcbd8ca27641180579d09e3434f803c RNScreens: 953633729a42e23ad0c93574d676b361e3335e8b RNSVG: 36a7359c428dcb7c6bce1cc546fbfebe069809b0 - RNTAztecView: 95adb6b60e5d430ecf5eb710ff7813794d17ddc8 + RNTAztecView: 61e0a2f69770f30e01f21991c79861be70a8d8bc SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d WordPress-Aztec-iOS: 7d11d598f14c82c727c08b56bd35fbeb7dafb504 From b39b3476b405f71086fbfa15f8c90cc5f369619c Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 25 May 2023 13:35:44 +1000 Subject: [PATCH 3/8] Update CHANGELOG for 1.96.0 --- packages/react-native-editor/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-native-editor/CHANGELOG.md b/packages/react-native-editor/CHANGELOG.md index 725bf7615c5353..3c101b2077c2ff 100644 --- a/packages/react-native-editor/CHANGELOG.md +++ b/packages/react-native-editor/CHANGELOG.md @@ -10,8 +10,11 @@ For each user feature we should also add a importance categorization label to i --> ## Unreleased + +## 1.96.0 - [**] Tapping on all nested blocks gets focus directly instead of having to tap multiple times depending on the nesting levels. [#50672] - [*] Add disabled style to `Cell` component [#50665] +- [**] Fix undo/redo history when inserting a link configured to open in a new tab [#50460] - [*] [List block] Fix an issue when merging a list item into a Paragraph would remove its nested list items. [#50701] ## 1.95.0 From 7d1eb3c6534b28f4bed3d7d31bbee8360fa671bb Mon Sep 17 00:00:00 2001 From: Gerardo Date: Wed, 31 May 2023 17:31:29 +0200 Subject: [PATCH 4/8] Release script: Update react-native-editor version to 1.96.1 --- packages/react-native-aztec/package.json | 2 +- packages/react-native-bridge/package.json | 2 +- packages/react-native-editor/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native-aztec/package.json b/packages/react-native-aztec/package.json index d8c8cc9d0b301a..b25575de05e8cc 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.96.0", + "version": "1.96.1", "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 11745b50ae1436..ec7cdadba56b4c 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.96.0", + "version": "1.96.1", "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/package.json b/packages/react-native-editor/package.json index 358f4833cf20ab..52045a7b021a9b 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.96.0", + "version": "1.96.1", "description": "Mobile WordPress gutenberg editor.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later", From 7bb1e59377f410b6e07e684df8754382981cce98 Mon Sep 17 00:00:00 2001 From: Gerardo Date: Wed, 31 May 2023 17:32:10 +0200 Subject: [PATCH 5/8] Release script: Update with changes from 'npm run core preios' --- packages/react-native-editor/ios/Podfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-native-editor/ios/Podfile.lock b/packages/react-native-editor/ios/Podfile.lock index 413d4c8330134d..0ab1233dc79fea 100644 --- a/packages/react-native-editor/ios/Podfile.lock +++ b/packages/react-native-editor/ios/Podfile.lock @@ -13,7 +13,7 @@ PODS: - ReactCommon/turbomodule/core (= 0.69.4) - fmt (6.2.1) - glog (0.3.5) - - Gutenberg (1.96.0): + - Gutenberg (1.96.1): - React-Core (= 0.69.4) - React-CoreModules (= 0.69.4) - React-RCTImage (= 0.69.4) @@ -360,7 +360,7 @@ PODS: - React-Core - RNSVG (9.13.6): - React-Core - - RNTAztecView (1.96.0): + - RNTAztecView (1.96.1): - React-Core - WordPress-Aztec-iOS (~> 1.19.8) - SDWebImage (5.11.1): @@ -540,7 +540,7 @@ SPEC CHECKSUMS: FBReactNativeSpec: 2ff441cbe6e58c1778d8a5cf3311831a6a8c0809 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 3d02b25ca00c2d456734d0bcff864cbc62f6ae1a - Gutenberg: baeb5202bdcc71526ae04505a54e72255a7260ce + Gutenberg: 5cd4d25aa41b725c7802394e4f3b8eeddf90f370 libwebp: 60305b2e989864154bd9be3d772730f08fc6a59c RCT-Folly: b9d9fe1fc70114b751c076104e52f3b1b5e5a95a RCTRequired: bd9d2ab0fda10171fcbcf9ba61a7df4dc15a28f4 @@ -582,7 +582,7 @@ SPEC CHECKSUMS: RNReanimated: bea6acb5fdcbd8ca27641180579d09e3434f803c RNScreens: 953633729a42e23ad0c93574d676b361e3335e8b RNSVG: 36a7359c428dcb7c6bce1cc546fbfebe069809b0 - RNTAztecView: 61e0a2f69770f30e01f21991c79861be70a8d8bc + RNTAztecView: 59e8ceb3dd9473ad7f1e6cca3232caf3cd620009 SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d WordPress-Aztec-iOS: 7d11d598f14c82c727c08b56bd35fbeb7dafb504 From 6857bf861c0451bd0ebe38408f1f3c5a5d80b7bc Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Wed, 31 May 2023 16:08:38 +0200 Subject: [PATCH 6/8] [RNMobile] Fix Android-only issue related to block toolbar not being displayed on some blocks in UBE (#51131) * Query editor element only in the function is needed We experienced on Android that the `editor` variable might be already defined in some cases when loading UBE's behavior overrides. * Update `react-native-editor` changelog --- .../gutenberg-web-single-block/editor-behavior-overrides.js | 3 +-- packages/react-native-editor/CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native-bridge/common/gutenberg-web-single-block/editor-behavior-overrides.js b/packages/react-native-bridge/common/gutenberg-web-single-block/editor-behavior-overrides.js index 09dcd6447824d7..1a4f4422a47ba2 100644 --- a/packages/react-native-bridge/common/gutenberg-web-single-block/editor-behavior-overrides.js +++ b/packages/react-native-bridge/common/gutenberg-web-single-block/editor-behavior-overrides.js @@ -77,9 +77,8 @@ if ( isAndroid() ) { manageTextSelectonContextMenu(); } -const editor = document.querySelector( '#editor' ); - function _toggleBlockSelectedClass( isBlockSelected ) { + const editor = document.querySelector( '#editor' ); if ( isBlockSelected ) { editor.classList.add( 'is-block-selected' ); } else { diff --git a/packages/react-native-editor/CHANGELOG.md b/packages/react-native-editor/CHANGELOG.md index 3c101b2077c2ff..0580cd77a8e132 100644 --- a/packages/react-native-editor/CHANGELOG.md +++ b/packages/react-native-editor/CHANGELOG.md @@ -10,6 +10,7 @@ For each user feature we should also add a importance categorization label to i --> ## Unreleased +- [**] Fix Android-only issue related to block toolbar not being displayed on some blocks in UBE [#51131] ## 1.96.0 - [**] Tapping on all nested blocks gets focus directly instead of having to tap multiple times depending on the nesting levels. [#50672] From fb87284c9e235a1fec0dc9bbd818bfacabc7a073 Mon Sep 17 00:00:00 2001 From: Gerardo Date: Wed, 31 May 2023 18:49:02 +0200 Subject: [PATCH 7/8] Update Changelog --- packages/react-native-editor/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native-editor/CHANGELOG.md b/packages/react-native-editor/CHANGELOG.md index 0580cd77a8e132..2db53282049d9e 100644 --- a/packages/react-native-editor/CHANGELOG.md +++ b/packages/react-native-editor/CHANGELOG.md @@ -10,6 +10,8 @@ For each user feature we should also add a importance categorization label to i --> ## Unreleased + +## 1.96.1 - [**] Fix Android-only issue related to block toolbar not being displayed on some blocks in UBE [#51131] ## 1.96.0 From b35f27da3f06eea2c061e73830a45299f56edb0b Mon Sep 17 00:00:00 2001 From: Gerardo Date: Fri, 2 Jun 2023 09:01:05 +0200 Subject: [PATCH 8/8] Update Podfile.lock --- packages/react-native-editor/ios/Podfile.lock | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/react-native-editor/ios/Podfile.lock b/packages/react-native-editor/ios/Podfile.lock index 0ab1233dc79fea..bcb1231b9c4886 100644 --- a/packages/react-native-editor/ios/Podfile.lock +++ b/packages/react-native-editor/ios/Podfile.lock @@ -1,6 +1,6 @@ PODS: - boost (1.76.0) - - BVLinearGradient (2.5.6-wp-3): + - BVLinearGradient (2.5.6-wp-4): - React-Core - DoubleConversion (1.1.6) - FBLazyVector (0.69.4) @@ -244,14 +244,14 @@ PODS: - React-Core - react-native-safe-area-context (3.2.0): - React-Core - - react-native-slider (3.0.2-wp-3): + - react-native-slider (3.0.2-wp-4): - React-Core - - react-native-video (5.2.0-wp-5): + - react-native-video (5.2.0-wp-6): - React-Core - - react-native-video/Video (= 5.2.0-wp-5) - - react-native-video/Video (5.2.0-wp-5): + - react-native-video/Video (= 5.2.0-wp-6) + - react-native-video/Video (5.2.0-wp-6): - React-Core - - react-native-webview (11.6.2): + - react-native-webview (11.26.1): - React-Core - React-perflogger (0.69.4) - React-RCTActionSheet (0.69.4): @@ -327,9 +327,9 @@ PODS: - React-Core - SDWebImage (~> 5.11.1) - SDWebImageWebPCoder (~> 0.8.4) - - RNGestureHandler (2.3.2-wp-2): + - RNGestureHandler (2.3.2-wp-3): - React-Core - - RNReanimated (2.9.1-wp-3): + - RNReanimated (2.9.1-wp-4): - DoubleConversion - FBLazyVector - FBReactNativeSpec @@ -534,7 +534,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: a7c83b31436843459a1961bfd74b96033dc77234 - BVLinearGradient: ace34fab72158c068ae989a0ebdbf86cb4ef0e49 + BVLinearGradient: f9b5ebce56b36e3e20a433aa271d6dce2c10b06a DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: c71b8c429a8af2aff1013934a7152e9d9d0c937d FBReactNativeSpec: 2ff441cbe6e58c1778d8a5cf3311831a6a8c0809 @@ -560,9 +560,9 @@ SPEC CHECKSUMS: react-native-get-random-values: b6fb85e7169b9822976793e467458c151c3e8b69 react-native-safe-area: c9cf765aa2dd96159476a99633e7d462ce5bb94f react-native-safe-area-context: f0906bf8bc9835ac9a9d3f97e8bde2a997d8da79 - react-native-slider: a433f1c13c5da3c17a587351bff7371f65cc9a07 - react-native-video: cc1982bfac4d256fb56302642d968b6e72ffbeb7 - react-native-webview: 193d233c29eacce1f42ca2637dab7ba79c25a6de + react-native-slider: dff0d8a46f368a8d1bacd8638570d75b9b0be400 + react-native-video: 6dee623307ed9d04d1be2de87494f9a0fa2041d1 + react-native-webview: 9f111dfbcfc826084d6c507f569e5e03342ee1c1 React-perflogger: cb386fd44c97ec7f8199c04c12b22066b0f2e1e0 React-RCTActionSheet: f803a85e46cf5b4066c2ac5e122447f918e9c6e5 React-RCTAnimation: 19c80fa950ccce7f4db76a2a7f2cf79baae07fc7 @@ -578,8 +578,8 @@ SPEC CHECKSUMS: RNCClipboard: 99fc8ad669a376b756fbc8098ae2fd05c0ed0668 RNCMaskedView: c298b644a10c0c142055b3ae24d83879ecb13ccd RNFastImage: 1f2cab428712a4baaf78d6169eaec7f622556dd7 - RNGestureHandler: 3e0ea0c115175e66680032904339696bab928ca3 - RNReanimated: bea6acb5fdcbd8ca27641180579d09e3434f803c + RNGestureHandler: f5c389f7c9947057ee47d16ca1d7d170289b2c2a + RNReanimated: 5740ec9926f80bccd404bacd3e71108e87c94afa RNScreens: 953633729a42e23ad0c93574d676b361e3335e8b RNSVG: 36a7359c428dcb7c6bce1cc546fbfebe069809b0 RNTAztecView: 59e8ceb3dd9473ad7f1e6cca3232caf3cd620009