Skip to content

Commit

Permalink
Mobile Release v1.87.2 (#47257)
Browse files Browse the repository at this point in the history
* Release script: Update react-native-editor version to 1.87.0

* Release script: Update with changes from 'npm run core preios'

* Mobile - Update changelog

* Release script: Update react-native-editor version to 1.87.1

* Release script: Update with changes from 'npm run core preios'

* [RNMobile] Remove unnecessary negative margin around empty gallery block (#47086)

This PR removes some unwanted negative margin space from empty gallery blocks on native.

* [Mobile] - RichText - Parse CSS values and avoid setting undefined ones (#47080)

* parseCssUnitToPx - Fix issue with decimals in math expressions

* Mobile - RichText - Parse CSS values from line height values and avoid undefined or NaN values being sent to the native TextInput

* Mobile - Update Changelog

* Release script: Update react-native-editor version to 1.87.2

* Release script: Update with changes from 'npm run core preios'

* Add boolean contentStyle and clientId check to Column Edit InnerBlocks

* Mobile - Column block - Move parentWidth to a const variable

* docs: Update changelog

* [Mobile] - Line-height and font-size regression fixes (#47284)

* Revert "[Mobile] - RichText - Parse CSS values and avoid setting undefined ones (#47080)"

This reverts commit 2d44f06.

* parseCssUnitToPx - Fix issue with decimals in math expressions

* Mobile - Avoid passing NaN line height values to Aztec. It also disables passing font size and line height values on Android for pre elements.

* Mobile - Preformatted - Update snapshot to remove the fontSize value as it will be set by Aztec for Android

* Update react-native-editor changelog

Co-authored-by: Gerardo <gerardo.pacheco@automattic.com>
Co-authored-by: Siobhan Bamber <siobhan@automattic.com>
Co-authored-by: Derek Blank <derekpblank@gmail.com>
Co-authored-by: Carlos Garcia <fluiddot@gmail.com>
  • Loading branch information
5 people committed Jan 19, 2023
1 parent 9e27629 commit 64c6912
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 11 deletions.
7 changes: 6 additions & 1 deletion packages/block-library/src/column/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ function ColumnEdit( {
);
}

const parentWidth =
contentStyle &&
contentStyle[ clientId ] &&
contentStyle[ clientId ].width;

return (
<>
{ isSelected && (
Expand Down Expand Up @@ -211,7 +216,7 @@ function ColumnEdit( {
>
<InnerBlocks
renderAppender={ renderAppender }
parentWidth={ contentStyle[ clientId ].width }
parentWidth={ parentWidth }
blockWidth={ blockWidth }
/>
</View>
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-aztec/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/react-native-aztec",
"version": "1.87.1",
"version": "1.87.2",
"description": "Aztec view for react-native.",
"private": true,
"author": "The WordPress Contributors",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-bridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/react-native-bridge",
"version": "1.87.1",
"version": "1.87.2",
"description": "Native bridge library used to integrate the block editor into a native App.",
"private": true,
"author": "The WordPress Contributors",
Expand Down
4 changes: 4 additions & 0 deletions packages/react-native-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ For each user feature we should also add a importance categorization label to i

## Unreleased

## 1.87.2
- [*] Add boolean contentStyle and clientId check to Column Edit InnerBlocks [#47234]
- [*] Line-height and font-size regression fixes [#47284]

## 1.87.1
- [**] Gallery block: Address styling regression, in which negative margin was added [#47086]
- [*] RichText - Parse CSS values and avoid setting undefined ones [#47080]
Expand Down
4 changes: 1 addition & 3 deletions packages/react-native-editor/ios/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,10 @@ GEM

PLATFORMS
arm64-darwin-21
arm64-darwin-22

DEPENDENCIES
cocoapods (~> 1.11, >= 1.11.2)

RUBY VERSION
ruby 2.7.5p203

BUNDLED WITH
2.3.18
8 changes: 4 additions & 4 deletions packages/react-native-editor/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PODS:
- ReactCommon/turbomodule/core (= 0.69.4)
- fmt (6.2.1)
- glog (0.3.5)
- Gutenberg (1.87.1):
- Gutenberg (1.87.2):
- React-Core (= 0.69.4)
- React-CoreModules (= 0.69.4)
- React-RCTImage (= 0.69.4)
Expand Down Expand Up @@ -362,7 +362,7 @@ PODS:
- React-Core
- RNSVG (9.13.6):
- React-Core
- RNTAztecView (1.87.1):
- RNTAztecView (1.87.2):
- React-Core
- WordPress-Aztec-iOS (~> 1.19.8)
- SDWebImage (5.11.1):
Expand Down Expand Up @@ -545,7 +545,7 @@ SPEC CHECKSUMS:
FBReactNativeSpec: 2ff441cbe6e58c1778d8a5cf3311831a6a8c0809
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 3d02b25ca00c2d456734d0bcff864cbc62f6ae1a
Gutenberg: b219cca657de7ff779bd54599f2a6a8e6913a451
Gutenberg: 757eefbcd013a07e4816776bb65af1b1dc6098dc
libwebp: 60305b2e989864154bd9be3d772730f08fc6a59c
RCT-Folly: b9d9fe1fc70114b751c076104e52f3b1b5e5a95a
RCTRequired: bd9d2ab0fda10171fcbcf9ba61a7df4dc15a28f4
Expand Down Expand Up @@ -588,7 +588,7 @@ SPEC CHECKSUMS:
RNReanimated: 8b189a09da0345d84b33b8cde57a57f8ed847352
RNScreens: 953633729a42e23ad0c93574d676b361e3335e8b
RNSVG: 36a7359c428dcb7c6bce1cc546fbfebe069809b0
RNTAztecView: 9eae3a2810d6ad86d210d78c8069e5a5cf94761d
RNTAztecView: 37b773533f15466aac927b4c0f787edd933c2f87
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
WordPress-Aztec-iOS: 7d11d598f14c82c727c08b56bd35fbeb7dafb504
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/react-native-editor",
"version": "1.87.1",
"version": "1.87.2",
"description": "Mobile WordPress gutenberg editor.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand Down

1 comment on commit 64c6912

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 64c6912.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3962733306
📝 Reported issues:

Please sign in to comment.