Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.114.0 #6687

Merged
merged 10 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Unreleased
---

1.114.0
---
* [**] Introduce VideoPress v5 support, to fix issues using video block with dotcom and Jetpack sites [https://github.com/wordpress-mobile/gutenberg-mobile/pull/6634]
* [*] Prevent crash when autoscrolling to blocks [https://github.com/WordPress/gutenberg/pull/59110]
* [*] Remove opacity change when images are being uploaded [https://github.com/WordPress/gutenberg/pull/59264]
Expand Down
6 changes: 5 additions & 1 deletion bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<string name="gutenberg_native_add_url" tools:ignore="UnusedResources">Add URL</string>
<string name="gutenberg_native_add_video" tools:ignore="UnusedResources">Add video</string>
<string name="gutenberg_native_address_settings" tools:ignore="UnusedResources">Address Settings</string>
<string name="gutenberg_native_alt_text" tools:ignore="UnusedResources">Alt Text</string>
<string name="gutenberg_native_alternatively_you_can_convert_the_content_to_blocks" tools:ignore="UnusedResources">Alternatively, you can convert the content to blocks.</string>
<string name="gutenberg_native_alternatively_you_can_detach_and_edit_this_block_separately_by_ta" tools:ignore="UnusedResources">Alternatively, you can detach and edit this block separately by tapping “Detach”.</string>
<!-- translators: Alternative option included in a warning related to having blocks deeply nested. -->
Expand All @@ -48,7 +49,7 @@
<!-- translators: displays audio file extension. e.g. MP3 audio file -->
<string name="gutenberg_native_audio_file" tools:ignore="UnusedResources">audio file</string>
<string name="gutenberg_native_audio_player" tools:ignore="UnusedResources">Audio Player</string>
<string name="gutenberg_native_autoplay_may_cause_usability_issues_for_some_users" tools:ignore="UnusedResources">Autoplay may cause usability issues for some users</string>
<string name="gutenberg_native_autoplay_may_cause_usability_issues_for_some_users" tools:ignore="UnusedResources">Autoplay may cause usability issues for some users.</string>
<string name="gutenberg_native_block_cannot_be_rendered_because_it_is_deeply_nested_tap_here_for" tools:ignore="UnusedResources">Block cannot be rendered because it is deeply nested. Tap here for more details.</string>
<!-- translators: displayed right after the block is copied. -->
<string name="gutenberg_native_block_copied" tools:ignore="UnusedResources">Block copied</string>
Expand Down Expand Up @@ -314,6 +315,9 @@ translators: %s: Select control button label e.g. "Button width" -->
<string name="gutenberg_native_replace_video" tools:ignore="UnusedResources">Replace video</string>
<string name="gutenberg_native_retry" tools:ignore="UnusedResources">Retry</string>
<string name="gutenberg_native_rich_text_editing" tools:ignore="UnusedResources">Rich text editing</string>
<!-- translators: Block name. %s: The localized block name
translators: %s: Block name e.g. "Image block" -->
<string name="gutenberg_native_s_block" tools:ignore="UnusedResources">%s block</string>
<!-- translators: displayed right after the classic block is converted to blocks. %s: The localized classic block name -->
<string name="gutenberg_native_s_block_converted_to_blocks" tools:ignore="UnusedResources">\'%s\' block converted to blocks</string>
<!-- translators: accessibility text for the media block empty state. %s: media type -->
Expand Down
4 changes: 3 additions & 1 deletion bundle/ios/GutenbergNativeTranslations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ private func dummy() {
_ = NSLocalizedString("%1$s transformed to %2$s", comment: "translators: 1: From block title, e.g. Paragraph. 2: To block title, e.g. Header.")
_ = NSLocalizedString("%1$s. %2$s is %3$s %4$s.", comment: "translators: accessibility text. Inform about current value. %1$s: Control label %2$s: setting label (example: width), %3$s: Current value. %4$s: value measurement unit (example: pixels)")
_ = NSLocalizedString("%1$s. Currently selected: %2$s", comment: "translators: %1$s: Select control button label e.g. \"Button width\". %2$s: Select control option value e.g: \"Auto, 25%\".")
_ = NSLocalizedString("%s block", comment: "translators: Block name. %s: The localized block name\ntranslators: %s: Block name e.g. \"Image block\"")
_ = NSLocalizedString("%s block options", comment: "translators: %s: block title e.g: \"Paragraph\".")
_ = NSLocalizedString("%s block, newly available", comment: "translators: Newly available block name. %s: The localized block name")
_ = NSLocalizedString("%s block. Empty", comment: "translators: accessibility text for the media block empty state. %s: media type")
Expand Down Expand Up @@ -43,6 +44,7 @@ private func dummy() {
_ = NSLocalizedString("Add URL", comment: "")
_ = NSLocalizedString("Add video", comment: "")
_ = NSLocalizedString("Address Settings", comment: "")
_ = NSLocalizedString("Alt Text", comment: "")
_ = NSLocalizedString("Alternatively, you can convert the content to blocks.", comment: "")
_ = NSLocalizedString("Alternatively, you can detach and edit this block separately by tapping “Detach”.", comment: "")
_ = NSLocalizedString("Alternatively, you can flatten the content by ungrouping the block.", comment: "translators: Alternative option included in a warning related to having blocks deeply nested.")
Expand All @@ -54,7 +56,7 @@ private func dummy() {
_ = NSLocalizedString("Audio caption. Empty", comment: "translators: accessibility text. Empty Audio caption.")
_ = NSLocalizedString("audio file", comment: "translators: displays audio file extension. e.g. MP3 audio file")
_ = NSLocalizedString("Audio Player", comment: "")
_ = NSLocalizedString("Autoplay may cause usability issues for some users", comment: "")
_ = NSLocalizedString("Autoplay may cause usability issues for some users.", comment: "")
_ = NSLocalizedString("Block cannot be rendered because it is deeply nested. Tap here for more details.", comment: "")
_ = NSLocalizedString("Block copied", comment: "translators: displayed right after the block is copied.")
_ = NSLocalizedString("Block cut", comment: "translators: displayed right after the block is cut.")
Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 67 files
+9 −529 changelog.txt
+1 −0 docs/contributors/versions-in-wordpress.md
+1 −1 gutenberg.php
+9 −9 lib/block-supports/layout.php
+0 −1 lib/class-wp-theme-json-gutenberg.php
+13 −0 lib/compat/wordpress-6.5/block-bindings/post-meta.php
+16 −3 lib/compat/wordpress-6.5/fonts/class-wp-rest-font-faces-controller.php
+9 −18 lib/compat/wordpress-6.5/fonts/fonts.php
+1 −1 lib/global-styles-and-settings.php
+3 −3 lib/script-loader.php
+5 −5 package-lock.json
+1 −1 package.json
+3 −11 packages/block-editor/src/components/block-toolbar/index.js
+49 −0 packages/block-editor/src/components/block-toolbar/use-has-block-toolbar.js
+13 −36 packages/block-editor/src/components/block-tools/index.js
+73 −0 packages/block-editor/src/components/block-tools/use-show-block-tools.js
+4 −4 packages/block-editor/src/components/responsive-block-control/README.md
+1 −1 packages/block-editor/src/components/responsive-block-control/index.js
+2 −2 packages/block-editor/src/components/responsive-block-control/test/index.js
+2 −2 packages/block-editor/src/components/rich-text/index.js
+5 −5 packages/block-editor/src/components/url-popover/index.js
+36 −3 packages/block-editor/src/hooks/block-hooks.js
+214 −62 packages/block-editor/src/hooks/use-bindings-attributes.js
+2 −2 packages/block-editor/src/private-apis.js
+0 −48 packages/block-editor/src/utils/use-can-block-toolbar-be-focused.js
+5 −0 packages/components/CHANGELOG.md
+4 −1 packages/components/src/custom-select-control-v2/default-component/index.tsx
+1 −1 packages/components/src/custom-select-control-v2/index.tsx
+0 −25 packages/components/src/custom-select-control-v2/legacy-adapter.tsx
+457 −0 packages/components/src/custom-select-control-v2/legacy-component/test/index.tsx
+5 −6 packages/components/src/custom-select-control-v2/stories/legacy.story.tsx
+279 −749 packages/components/src/custom-select-control-v2/test/index.tsx
+0 −1 packages/components/src/custom-select-control-v2/types.ts
+1 −1 packages/components/src/flex/flex/hook.ts
+2 −1 packages/components/src/h-stack/hook.tsx
+10 −0 packages/components/src/h-stack/test/index.tsx
+10 −0 packages/components/src/v-stack/test/index.tsx
+19 −1 packages/e2e-tests/plugins/block-bindings.php
+21 −22 packages/edit-post/src/components/header/index.js
+11 −1 packages/edit-site/src/components/global-styles/color-palette-panel.js
+7 −0 packages/edit-site/src/components/global-styles/font-library-modal/context.js
+6 −4 packages/edit-site/src/components/global-styles/font-library-modal/font-collection.js
+21 −14 packages/edit-site/src/components/global-styles/font-library-modal/index.js
+18 −1 packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js
+2 −1 packages/edit-site/src/components/global-styles/font-library-modal/utils/preview-styles.js
+216 −0 packages/edit-site/src/components/global-styles/preview-colors.js
+13 −1 packages/edit-site/src/components/global-styles/screen-colors.js
+18 −1 packages/edit-site/src/components/global-styles/screen-typography.js
+12 −91 packages/edit-site/src/components/global-styles/style-variations-container.js
+11 −0 packages/edit-site/src/components/global-styles/style.scss
+93 −0 packages/edit-site/src/components/global-styles/variation.js
+30 −0 packages/edit-site/src/components/global-styles/variations-color.js
+162 −0 packages/edit-site/src/components/global-styles/variations-typography.js
+21 −30 packages/edit-site/src/components/header-edit-mode/index.js
+1 −0 packages/edit-site/src/components/resizable-frame/index.js
+173 −0 packages/edit-site/src/hooks/use-theme-style-variations/test/use-theme-style-variations-by-property.js
+68 −1 packages/edit-site/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js
+3 −3 packages/edit-widgets/src/components/header/document-tools/index.js
+4 −1 packages/editor/src/bindings/post-meta.js
+3 −3 packages/editor/src/components/document-tools/index.js
+1 −1 packages/react-native-aztec/package.json
+1 −1 packages/react-native-bridge/package.json
+2 −0 packages/react-native-editor/CHANGELOG.md
+2 −10 packages/react-native-editor/ios/GutenbergDemo.xcodeproj/project.pbxproj
+4 −4 packages/react-native-editor/ios/Podfile.lock
+1 −1 packages/react-native-editor/package.json
+68 −4 test/e2e/specs/editor/various/block-bindings.spec.js
4 changes: 2 additions & 2 deletions ios-xcframework/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ PODS:
- React-RCTImage
- RNSVG (13.9.0):
- React-Core
- RNTAztecView (1.112.0):
- RNTAztecView (1.114.0):
- React-Core
- WordPress-Aztec-iOS (= 1.19.9)
- SDWebImage (5.11.1):
Expand Down Expand Up @@ -662,7 +662,7 @@ SPEC CHECKSUMS:
RNReanimated: 21e1e71d7f1ac9f2fa11df37c06a8ec52ed06232
RNScreens: e3ffdd78ff5afe8ec82c2566ee2410857ed5ce75
RNSVG: 29dd0ac32d83774d4b0953ae92a5cd8205a782d7
RNTAztecView: 74c676c87e4a9db79104fcdad9624c1e5c02fe15
RNTAztecView: 68c970e04c9f7ae81ba64810667a07a66e6ba0b7
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
WordPress-Aztec-iOS: fbebd569c61baa252b3f5058c0a2a9a6ada686bb
Expand Down
12 changes: 2 additions & 10 deletions ios-xcframework/XCFrameworkScaffold.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,7 @@
"$(inherited)",
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
);
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../gutenberg/node_modules/react-native";
};
name = Debug;
Expand All @@ -389,11 +385,7 @@
"$(inherited)",
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
);
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
geriux marked this conversation as resolved.
Show resolved Hide resolved
REACT_NATIVE_PATH = "${PODS_ROOT}/../../gutenberg/node_modules/react-native";
};
name = Release;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gutenberg-mobile",
"version": "1.112.0",
"version": "1.114.0",
"private": true,
"config": {
"jsfiles": "./*.js src/*.js src/**/*.js src/**/**/*.js",
Expand Down