Skip to content

Commit

Permalink
Merge pull request #2957 from wordpress-mobile/release/1.44.0
Browse files Browse the repository at this point in the history
Release 1.44.0
  • Loading branch information
guarani authored Jan 8, 2021
2 parents 1884f06 + af249dd commit 35b0436
Show file tree
Hide file tree
Showing 16 changed files with 1,782 additions and 2,346 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
type: boolean
default: false
docker:
- image: circleci/node:10
- image: circleci/node:14
steps:
- checkout
- checkout-submodules
Expand Down
8 changes: 8 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Unreleased
------

1.44.0
------
* [***] Add support for cross-posting between sites [#2602]
* [***] Full-width and wide alignment support for Columns
* [**] Image block - Add link picker to the block settings and enhance link settings with auto-hide options [https://github.com/WordPress/gutenberg/pull/27292]
* [*] Fix button link setting, rel link will not be overwritten if modified by the user.


1.43.0
------
* [***] New Block: File [https://github.com/wordpress-mobile/gutenberg-mobile/pull/2835]
Expand Down
3 changes: 3 additions & 0 deletions __device-tests__/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: '../gutenberg/packages/react-native-editor/__device-tests__/.eslintrc.js',
};
36 changes: 0 additions & 36 deletions __device-tests__/gutenberg-editor-contact-info.test.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,12 @@
/**
* Internal dependencies
*/
import EditorPage from '../gutenberg/packages/react-native-editor/__device-tests__/pages/editor-page';
import {
setupDriver,
isLocalEnvironment,
stopDriver,
} from '../gutenberg/packages/react-native-editor/__device-tests__/helpers/utils';

jest.setTimeout( 1000000 );

describe( 'Gutenberg Editor Contact Info Block tests', () => {
let driver;
let editorPage;
let allPassed = true;
// const contactInfoBlockName = 'Contact Info';

// Use reporter for setting status for saucelabs Job
if ( ! isLocalEnvironment() ) {
const reporter = {
specDone: async ( result ) => {
allPassed = allPassed && result.status !== 'failed';
},
};

// eslint-disable-next-line jest/no-jasmine-globals
jasmine.getEnv().addReporter( reporter );
}

beforeAll( async () => {
driver = await setupDriver();
editorPage = new EditorPage( driver );
} );

it( 'should be able to see visual editor', async () => {
await expect( editorPage.getBlockList() ).resolves.toBe( true );
} );

//TODO: Add tests

afterAll( async () => {
if ( ! isLocalEnvironment() ) {
driver.sauceJobStatus( allPassed );
}
await stopDriver( driver );
} );
} );
1 change: 1 addition & 0 deletions bin/ci-checks-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function checkDiff() {
if [[ $? != 0 ]]; then
pFail
elif [[ $diff ]]; then
echo "$diff"
pFail "package-lock.json has changed. Please run npm install and commit the diff"
else
pOk
Expand Down
2 changes: 2 additions & 0 deletions bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ translators: sample content for "Team" page template -->
<string name="gutenberg_native_hide_keyboard" tools:ignore="UnusedResources">Hide keyboard</string>
<!-- translators: accessibility text. %s: image caption. -->
<string name="gutenberg_native_image_caption_s" tools:ignore="UnusedResources">Image caption. %s</string>
<string name="gutenberg_native_image_link_url" tools:ignore="UnusedResources">Image Link URL</string>
<!-- translators: sample content for "Services" page template -->
<string name="gutenberg_native_inspiration" tools:ignore="UnusedResources">Inspiration</string>
<!-- translators: sample content for "About" page template -->
Expand All @@ -135,6 +136,7 @@ translators: sample content for "Services" page template -->
<string name="gutenberg_native_let_s_build_something_together_7019bfe3" tools:ignore="UnusedResources">Let\'s build something together!</string>
<!-- translators: sample content for "Contact" page template -->
<string name="gutenberg_native_let_s_talk_don_t_hesitate_to_reach_out_with_the_contact_informati" tools:ignore="UnusedResources">Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.</string>
<string name="gutenberg_native_link_settings" tools:ignore="UnusedResources">Link Settings</string>
<string name="gutenberg_native_link_to" tools:ignore="UnusedResources">Link To</string>
<string name="gutenberg_native_move_block_down" tools:ignore="UnusedResources">Move block down</string>
<!-- translators: accessibility text. %1: current block position (number). %2: next block position (number) -->
Expand Down
3,420 changes: 1,713 additions & 1,707 deletions bundle/ios/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/ios/App.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions bundle/ios/GutenbergNativeTranslations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,15 @@ private func dummy() {
_ = NSLocalizedString("Here is the panel content!", comment: "")
_ = NSLocalizedString("Hide keyboard", comment: "")
_ = NSLocalizedString("Image caption. %s", comment: "translators: accessibility text. %s: image caption.")
_ = NSLocalizedString("Image Link URL", comment: "")
_ = NSLocalizedString("Inspiration", comment: "translators: sample content for \"Services\" page template")
_ = NSLocalizedString("It is our choices, Harry, that show what we truly are, far more than our abilities.", comment: "translators: sample content for \"About\" page template")
_ = NSLocalizedString("J.K. Rowling", comment: "translators: sample content for \"About\" page template")
_ = NSLocalizedString("Juan Pérez", comment: "translators: sample content for \"Team\" page template")
_ = NSLocalizedString("Let's build something together!", comment: "translators: sample content for \"Portfolio\" page template")
_ = NSLocalizedString("Let's talk 👋 Don't hesitate to reach out with the contact information below, or send a message using the form.", comment: "translators: sample content for \"Contact\" page template")
_ = NSLocalizedString("Let’s build something together!", comment: "translators: sample content for \"About\" page template\ntranslators: sample content for \"Services\" page template")
_ = NSLocalizedString("Link Settings", comment: "")
_ = NSLocalizedString("Link To", comment: "")
_ = NSLocalizedString("Move block down", comment: "")
_ = NSLocalizedString("Move block down from row %1$s to row %2$s", comment: "translators: accessibility text. %1: current block position (number). %2: next block position (number)")
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 732 files
14 changes: 6 additions & 8 deletions jest_ui.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
const main = require( './jest.config.js' );
const gutenbergJestUIConfig = require( './gutenberg/packages/react-native-editor/jest_ui.config.js' );

module.exports = {
...main,
timers: 'real',
setupFiles: [],
testMatch: [
'<rootDir>/__device-tests__/**/*.test.[jt]s?(x)',
'<rootDir>/gutenberg/packages/react-native-editor/__device-tests__/**/*.test.[jt]s?(x)',
...gutenbergJestUIConfig,
setupFilesAfterEnv: [
'./gutenberg/packages/react-native-editor/jest_ui_setup_after_env.js',
],
testPathIgnorePatterns: [ '/node_modules/', '<rootDir>/jetpack/' ],
testEnvironment:
'./gutenberg/packages/react-native-editor/jest_ui_test_environment.js',
};
2 changes: 1 addition & 1 deletion jetpack
Submodule jetpack updated 36 files
+29 −0 .github/workflows/dangerci.yml
+2 −4 .github/workflows/js-tests.yml
+20 −0 .github/workflows/php-linting.yml
+8 −7 _inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-admin-menu.php
+1 −1 class.json-api-endpoints.php
+2 −2 modules/stats.php
+1 −1 package.json
+1 −1 packages/a8c-mc-stats/composer.json
+1 −1 packages/abtest/composer.json
+1 −1 packages/analyzer/composer.json
+2 −2 packages/assets/composer.json
+8 −8 packages/assets/src/class-assets.php
+1 −1 packages/autoloader/README.md
+1 −1 packages/autoloader/composer.json
+1 −1 packages/blocks/composer.json
+2 −2 packages/codesniffer/composer.json
+1 −1 packages/codesniffer/tests/php/tests/files/master-user-constant.php.tolint
+1 −1 packages/compat/composer.json
+1 −1 packages/connection/composer.json
+2 −2 packages/constants/composer.json
+1 −1 packages/device-detection/composer.json
+1 −1 packages/error/composer.json
+1 −1 packages/heartbeat/composer.json
+2 −2 packages/jitm/composer.json
+1 −1 packages/lazy-images/composer.json
+1 −1 packages/licensing/composer.json
+1 −1 packages/logo/composer.json
+1 −1 packages/options/composer.json
+2 −2 packages/partner/composer.json
+2 −2 packages/redirect/composer.json
+2 −2 packages/roles/composer.json
+2 −2 packages/status/composer.json
+1 −0 packages/sync/src/class-defaults.php
+2 −2 packages/terms-of-service/composer.json
+1 −1 packages/tracking/composer.json
+48 −7 tests/php/core-api/wpcom-endpoints/test-class-wpcom-rest-api-v2-endpoint-admin-menu.php
Loading

0 comments on commit 35b0436

Please sign in to comment.