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.50.0 #3324

Merged
merged 159 commits into from
Apr 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
06a0f56
Updated Gutenberg ref.
jd-alexander Oct 22, 2020
6561934
Update gutenberg ref
ceyhun Dec 8, 2020
24bbb92
Bump react-native bridge and aztec deployment target to iOS 13.0
ceyhun Dec 8, 2020
04c49f3
Update package-lock.json
ceyhun Dec 8, 2020
fb59ab3
Update package-lock.json
ceyhun Dec 8, 2020
d0b7b9d
Fix a broken image in README
mkevins Dec 17, 2020
1657938
Update gutenberg ref
ceyhun Jan 18, 2021
f3e211d
Merge branch 'develop' into add_initial_html_test
ceyhun Jan 19, 2021
22ad18a
Update gutenberg ref
ceyhun Jan 19, 2021
ec8691f
Update gutenberg ref
ceyhun Jan 19, 2021
e12c52d
Update gutenberg ref
ceyhun Jan 20, 2021
39e9b68
Update gutenberg ref
ceyhun Jan 20, 2021
0200ae8
Update gutenberg ref
ceyhun Jan 21, 2021
79e2dbf
Update gutenberg ref
ceyhun Jan 21, 2021
b5044b3
Update gutenberg ref
ceyhun Jan 21, 2021
8224b93
Update gutenberg ref
ceyhun Jan 21, 2021
c47a330
Update gutenberg ref
ceyhun Jan 22, 2021
ab95fed
Merge branch 'develop' into add_initial_html_test
ceyhun Feb 3, 2021
781f654
Update gutenberg ref
ceyhun Feb 3, 2021
c9e3346
Update gutenberg ref
ceyhun Feb 4, 2021
718fa98
Update gutenberg ref
ceyhun Feb 4, 2021
0a7a237
Update reference to gutenberg to include search button positioning
AmandaRiu Feb 25, 2021
070eb0a
Merge branch 'develop' into add_initial_html_test
jd-alexander Mar 2, 2021
628111c
Update gutenberg ref
fluiddot Mar 2, 2021
401ffa4
Update gutenberg ref
fluiddot Mar 2, 2021
07652e0
Update gutenberg reference to include Search block button positioning
AmandaRiu Mar 2, 2021
5d70d6a
Merge branch 'develop' into add/search-block-button-position
AmandaRiu Mar 2, 2021
fea8553
Merge pull request #3196 from wordpress-mobile/add/search-block-butto…
AmandaRiu Mar 2, 2021
95a7349
Point Gutenberg to the RN composite build support branch
mokagio Mar 3, 2021
3151d70
Merge branch 'develop' into fix/block-edit-context
fluiddot Mar 3, 2021
1f01a83
Merge pull request #3208 from wordpress-mobile/fix/block-edit-context
fluiddot Mar 3, 2021
85772fc
Track changes to package-lock.json from running `npm install`
mokagio Mar 3, 2021
9d45990
Add CI steps to build and publish the RN Android bridge to Bintray
mokagio Jan 21, 2021
186ff1a
Adjust CI Bintray workflow to new Gutenberg project setup
mokagio Mar 3, 2021
a218a58
DEBUG - Allow publishing from branches with no PR
mokagio Mar 3, 2021
27ae5b2
Re-enable Bintray publishing step
mokagio Mar 3, 2021
176a3d8
Add node_modules to cache
mokagio Mar 4, 2021
2f4ad07
Try to cache gutenberg's node_modules instead
mokagio Mar 4, 2021
7c3f05e
updated gutenberg ref.
jd-alexander Mar 4, 2021
e91c917
updated gutenberg ref with merge commit.
jd-alexander Mar 4, 2021
c38339e
Merge pull request #3213 from wordpress-mobile/fix/audio-block-act-wa…
jd-alexander Mar 4, 2021
dd4d06c
Update gutenberg submodule to commit removing the waitForJitpack call
oguzkocer Mar 4, 2021
a88ca61
Rename PREFIX to VERSION in CI config for clarity
mokagio Mar 5, 2021
ef265a2
Remove gutenberg npm install from ci
oguzkocer Mar 4, 2021
318edc0
Update gutenberg ref
fluiddot Mar 8, 2021
0ed0178
Update reference to gutenberg to include PR #29599
AmandaRiu Mar 8, 2021
ea5f120
Update gutenberg ref
fluiddot Mar 8, 2021
98105ea
Point Gutenberg submodule to latest composite build iteration
mokagio Mar 8, 2021
539c156
Release script: Update gb mobile version to 1.48.0
enejb Mar 1, 2021
37660af
Release script: Update gutenberg ref
enejb Mar 1, 2021
211d19c
Release script: Update bundle for: 1.48.0
enejb Mar 1, 2021
e0d833d
Update bundles
geriux Mar 4, 2021
c7aad0a
Update Release notes
geriux Mar 5, 2021
b0cfa46
Update makepot command to exclude e2e-tests strings
geriux Mar 5, 2021
1eeba4b
Update strings
geriux Mar 5, 2021
244dda7
Update typo in Release notes
geriux Mar 5, 2021
23eba20
Update bundles
geriux Mar 5, 2021
59ebed0
Re-enable full pipeline + make build bundle step dependent on tests
mokagio Mar 9, 2021
98d313c
Add more documentation to the new Android RN bridge jobs
mokagio Mar 9, 2021
f1b1ee6
Rename Android AAR publishing jobs for more clarity
mokagio Mar 9, 2021
d5b55ac
Run `npm install` as requested by "Check Correctness" CI job
mokagio Mar 9, 2021
17d1c54
Run `npm install` after deleting the node_modules folder
mokagio Mar 9, 2021
c92143a
Remove debug code from CircleCI config
mokagio Mar 9, 2021
89a0739
Merge pull request #3227 from wordpress-mobile/fix/limit-fetch-reusab…
fluiddot Mar 9, 2021
7450902
Reset changes in package-lock.json
mokagio Mar 9, 2021
ea0e970
Run `npm install` and track result
mokagio Mar 9, 2021
b8df7a1
Bump Gutenberg hash
hypest Mar 9, 2021
c71364e
Bump Gutenberg hash
hypest Mar 9, 2021
ad41be9
Bump Gutenberg hash
hypest Mar 10, 2021
dd12970
Update Gutenberg ref
geriux Mar 10, 2021
5693d34
Merge pull request #3240 from wordpress-mobile/merge_release_1.48.0_t…
enejb Mar 10, 2021
f220878
Bump Gutenberg hash
hypest Mar 11, 2021
d2df3cf
Merge branch 'develop' into update/3222-remove-cancel-button-android
AmandaRiu Mar 11, 2021
e8d9a49
Update gutenberge reference
AmandaRiu Mar 11, 2021
0aea769
Merge pull request #3229 from wordpress-mobile/update/3222-remove-can…
AmandaRiu Mar 11, 2021
ded7495
Merge branch 'develop' into merge_release_1.48.1_to_develop
fluiddot Mar 12, 2021
2abdbe0
Update bundle
fluiddot Mar 12, 2021
99838d3
Adds .swiftlint.yml to disable running the localization_comment rule …
geriux Mar 12, 2021
1364101
Merge branch 'develop' into merge_release_1.48.1_to_develop
fluiddot Mar 12, 2021
c85bcfd
Merge pull request #3253 from wordpress-mobile/merge_release_1.48.1_t…
fluiddot Mar 12, 2021
f8a6d0f
Add missing release notes for the removal of the cancel button in set…
AmandaRiu Mar 12, 2021
ec90110
Update gutenberg commit hash
AmandaRiu Mar 12, 2021
0cd2a8b
Add release notes
AmandaRiu Mar 12, 2021
940a42c
Update gutenberg ref
ceyhun Mar 12, 2021
c80f80e
Merge pull request #3254 from wordpress-mobile/add/release-notes
cameronvoell Mar 12, 2021
554e10b
Adds WPAndroid Integration document
oguzkocer Mar 15, 2021
7cb18ee
Update Gutenberg ref
fluiddot Mar 16, 2021
370b008
Update Gutenberg ref
fluiddot Mar 16, 2021
85681c7
Add build WDA command to test:e2e:ios:local
fluiddot Mar 16, 2021
d8671cb
Bump Gutenberg hash
hypest Mar 16, 2021
0293460
Bump Gutenberg hash
hypest Mar 16, 2021
4ba286d
Merge branch 'develop' into try/fix-split-issue-drop-selection-update…
hypest Mar 16, 2021
852d372
Bump gutenberg from `f3ee192` to `6be7320` (#3265)
dependabot[bot] Mar 16, 2021
56cd006
Add semantic line breaks
oguzkocer Mar 16, 2021
21e81ff
Modify and apply wpandroid integration doc suggestions by Gio
oguzkocer Mar 16, 2021
6a5ca7e
Improve WPAndroid Integration document per Matt's PR feedback
oguzkocer Mar 16, 2021
ba88fd3
Change how it works sections to be titles in WPAndroid integration
oguzkocer Mar 16, 2021
cf789fb
Run Bintray job on Linux + Build on tags + Bail early
mokagio Mar 17, 2021
a6163a1
Merge pull request #2914 from wordpress-mobile/fix/broken-image-in-re…
mkevins Mar 17, 2021
ca6390a
Update Gutenberg to latest composite build commit
mokagio Mar 17, 2021
5817ade
Update Gutenberg ref
fluiddot Mar 17, 2021
f8bd2f7
Merge branch 'develop' into add/e2e-tests-wda-cache
fluiddot Mar 17, 2021
4d3148d
Adds RN Android bridge integration documentation (#3262)
mokagio Mar 17, 2021
8481806
Merge pull request #3266 from wordpress-mobile/add/e2e-tests-wda-cache
fluiddot Mar 17, 2021
2e2d43c
Bump Gutenberg hash
hypest Mar 18, 2021
df4070f
Update Gutenberg hash
hypest Mar 18, 2021
86c9e77
Release notes mention of the fix
hypest Mar 18, 2021
999cfa7
Merge branch 'develop' into try/fix-split-issue-drop-selection-update…
hypest Mar 18, 2021
413554d
Bump Gutenberg hash
hypest Mar 18, 2021
75007cc
Update to the merged-to-trunk Gutenberg hash
hypest Mar 18, 2021
907271a
Merge pull request #3239 from wordpress-mobile/try/fix-split-issue-dr…
hypest Mar 18, 2021
6e2195f
Merge branch 'develop' into update/unit-control-screenreader-improvem…
AmandaRiu Mar 18, 2021
4f26d6d
Update gutenberg commit hash
AmandaRiu Mar 18, 2021
c1408d7
Merge pull request #3255 from wordpress-mobile/update/unit-control-sc…
AmandaRiu Mar 19, 2021
ae82ca4
Merge release 1.49.0 to develop (#3293)
mkevins Mar 19, 2021
0868e1f
merged in develop and updated ref.
jd-alexander Mar 20, 2021
0170cca
Fix broken documentation links
dcalhoun Mar 23, 2021
046e927
Update npm value in package.json to match Gutenberg
fluiddot Mar 24, 2021
a31623b
Prevent install latest npm version in CircleCI workflow
fluiddot Mar 24, 2021
ffa8057
Update README
fluiddot Mar 24, 2021
f702415
Merge pull request #3307 from wordpress-mobile/fix/disable-npm-v7
fluiddot Mar 24, 2021
27469e8
Bump Gutenberg ref
fluiddot Mar 24, 2021
77aae4c
Update package-lock.json file
fluiddot Mar 24, 2021
cd8ab74
Merge pull request #3308 from wordpress-mobile/dependency/bump-gutenb…
fluiddot Mar 24, 2021
8dd7769
Fix stale documentation link
dcalhoun Mar 24, 2021
17bc67b
Merge pull request #3301 from wordpress-mobile/fix/broken-documentati…
dcalhoun Mar 24, 2021
e822071
Merge branch 'develop' into try/min-ios-13
ceyhun Mar 25, 2021
4a492ba
Update Gutenberg submodule to latest version of composite build work
mokagio Mar 26, 2021
e39c6a6
Merge remote-tracking branch 'origin/develop' into mokagio/publish-to…
mokagio Mar 26, 2021
9354207
Update the Gutenberg – Fixes standalone react-native-editor build in CI
mokagio Mar 26, 2021
753e5a9
Update gutenberg ref
ceyhun Mar 26, 2021
17d9031
Updates after gutenberg merge
mchowning Mar 26, 2021
c43d2ba
Use tab in .gitmodules
mchowning Mar 26, 2021
2d631f6
Merge pull request #3230 from wordpress-mobile/mokagio/publish-to-bin…
mchowning Mar 26, 2021
7f69787
Update gutenberg ref
ceyhun Mar 30, 2021
cfa27f8
Merge branch 'develop' into try/min-ios-13
ceyhun Mar 30, 2021
708d42f
Merge pull request #2876 from wordpress-mobile/try/min-ios-13
ceyhun Mar 30, 2021
6832fc4
Update gutenberg ref
ceyhun Mar 30, 2021
a31aa71
Merge branch 'develop' into fix/2944-dev-wp-ios-freeze
ceyhun Mar 30, 2021
b0eb81d
Update gutenberg ref
ceyhun Mar 30, 2021
8cf7554
Fix Android e2e tests on Linux (#3320)
ceyhun Mar 30, 2021
4469dda
Removes Preview mode from Gutenberg editor (#3268)
Mar 30, 2021
63eaa71
Merge branch 'develop' into add_initial_html_test
ceyhun Mar 30, 2021
c4fb4dc
Update gutenberg ref
ceyhun Mar 30, 2021
e36f994
Update gutenberg ref
ceyhun Mar 30, 2021
8fa274f
Update gutenberg ref
ceyhun Mar 31, 2021
f74bbb0
Merge branch 'develop' into fix/2944-dev-wp-ios-freeze
ceyhun Mar 31, 2021
31e5dc1
Merge pull request #3258 from wordpress-mobile/fix/2944-dev-wp-ios-fr…
ceyhun Mar 31, 2021
f2ef721
Merge branch 'develop' into add_initial_html_test
ceyhun Mar 31, 2021
326977b
Update gutenberg ref
ceyhun Mar 31, 2021
daaeb12
Updated gutenberg ref with merge commit.
jd-alexander Mar 31, 2021
823d7e9
Merge pull request #2753 from wordpress-mobile/add_initial_html_test
jd-alexander Mar 31, 2021
e80acd1
Release script: Update gb mobile version to 1.50.0
guarani Mar 31, 2021
a13016a
Release script: Update gutenberg ref
guarani Mar 31, 2021
3633463
Release script: Update bundle for: 1.50.0
guarani Mar 31, 2021
10d0d6c
Update submodule hash and close 1.50.0 release
guarani Mar 31, 2021
0630ff1
Updated bundle
guarani Mar 31, 2021
c491815
Removed unneeded cancel button entry since it was released in 1.49.0
jd-alexander Apr 1, 2021
1a7cc2f
Merge remote-tracking branch 'origin/trunk' into release/1.50.0
mchowning Apr 1, 2021
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
113 changes: 110 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ parameters:
android-docker-image:
type: string
# Hash points to previous version with node 12. When everything works with node 14 it can be removed
default: "circleci/android:api-29-node@sha256:71d61d6c21b29948d57120f476a83cc322a280979bce355c5a0ad771293ca380"
default: "circleci/android:api-29-node@sha256:71d61d6c21b29948d57120f476a83cc322a280979bce355c5a0ad771293ca380"
linux-machine-image:
type: string
# Latest supported ubuntu image from https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
default: "ubuntu-2004:202010-01"
default: "ubuntu-2004:202010-01"

jobs:
checks:
Expand All @@ -79,7 +79,7 @@ jobs:
name: Install newer node using nvm
command: |
cd gutenberg
nvm install --latest-npm
nvm install
- when:
condition: <<parameters.check-correctness>>
steps:
Expand Down Expand Up @@ -253,6 +253,104 @@ jobs:
include_job_number_field: false
include_project_field: false
failure_message: ':red_circle: Scheduled tests failed on iOS device!'
android-build-and-publish-react-native-bridge:
# This job builds the JS bunle required by the Android version of the
# react-native-bridge package, builds the AAR for that package, and uploads
# it to Bintray.
#
# Running on a Ubuntu machine to have more memory compared to the Docker +
# Node or Docker + Android images that CircleCI offers (circleci/node)
#
# Also running all in one job so that we can bail out early under cetrain
# conditions and save CI cycles.
#
# See: https://github.com/wordpress-mobile/gutenberg-mobile/pull/3038#issuecomment-765334675
machine:
image: << pipeline.parameters.linux-machine-image >>
steps:
- run:
name: Evaluate whether to run
command: |
# This is a partial duplication of the logic to compute the version
# to use for the AAR from below. It's useful to have it here
# because there are conditions under which we shouldn't run the job
# that can't be captured in a CircleCI filter.
#
# Exiting here saves a non-trivial amount of CI time because of how
# heavy the repo is to checkout (it takes at least 1 minute) and
# how time consuming running `npm ci` is.
if [[ -z ${CIRCLE_TAG+x} ]]; then
if [[ -n "$CIRCLE_PULL_REQUEST" ]]; then
echo "Build initiated from a branch with a pull request: proceeding..."
elif [[ $CIRCLE_BRANCH == "develop" ]]; then
echo "Build initiated on $CIRCLE_BRANCH: proceeding..."
else
# We end up here on the first push of a new branch, when there
# isn't a PR open for it yet.
echo "Build initiated from a feature branch with no pull request: aborting."
circleci-agent step halt
fi
else
echo "Build initiated from a tag: proceeding..."
fi
- checkout
- checkout-submodules
- run:
# Setting up Android before fetching the Node dependencies because
# this step is faster, so if it fails we'll learn about it sooner and
# avoid wasting cycles.
name: Setup Android Tooling
command: .circleci/setup-android-on-ubuntu.sh
- npm-install
- run:
name: Build JavaScript Bundle
command: npm run bundle:android
# The job can take a long time, so let's bump the no_output_timeout
# to more than the default 10m
no_output_timeout: 20m
- run:
name: Build React Native Bridge & Upload to Bintray
environment:
# This value is set in the setup script, but I'm not sure whether
# it's available after executing it
ANDROID_SDK_ROOT: /usr/lib/android-sdk
command: |
# We publish from PRs as well as the main branch and tags to help
# developers to iterate faster.
#
# The builds from a PR have a different version so that they can be
# deleted by
# https://github.com/Automattic/bintray-garbage-collector/
# once their PR is merged.
#
# If we're not on a PR but a merge commit on the develop branch the
# version will be the "develop-" followed by the commit SHA1.
#
# On a tag, the version should be the tag value.
#
# If we're on a different branch that has no open PR, we should
# not build and exit early instead.
if [[ -z "${CIRCLE_TAG+x}" ]]; then
if [[ -n "$CIRCLE_PULL_REQUEST" ]]; then
PR_NUMBER=$(basename $CIRCLE_PULL_REQUEST)
# CIRCLE_SHA1 should always be available.
VERSION="$PR_NUMBER-$CIRCLE_SHA1"
elif [[ $CIRCLE_BRANCH == "develop" ]]; then
VERSION="$CIRCLE_BRANCH-$CIRCLE_SHA1"
else
# This happens on the first push of a new branch, when there
# isn't a PR open for it yet.
echo "Running on a feature branch with no open PR."
echo "The checks previous to this step should not have let this happen."
exit 1
fi
else
VERSION=$CIRCLE_TAG
fi

cd gutenberg/packages/react-native-bridge/android

./publish-aztec-and-bridge.sh $VERSION

workflows:
gutenberg-mobile:
Expand Down Expand Up @@ -301,6 +399,15 @@ workflows:
filters:
branches:
only: /^dependabot/submodules/.*/
- android-build-and-publish-react-native-bridge:
name: Build Android RN Bridge & Publish to Bintray
filters:
branches:
# Don't run on trunk, otherwise, run on every other branch
ignore: trunk
tags:
# Run for every tag
only: /.*/

ui-tests-full-scheduled:
jobs:
Expand Down
68 changes: 68 additions & 0 deletions .circleci/setup-android-on-ubuntu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!/bin/bash

set -e

# Update the packages list, just in case
sudo apt update

# Android depends on Java. Luckily, the Ubuntu machine that CircleCI provides
# already includes it. If that wouldn't the case, we'd need to install
# openjdk-11-jdk.

# Install the Android SDK
sudo apt install android-sdk

# The Android SDK gets installed in /usr/lib/. Some of the tools expect the SDK
# location to be available via a known environment variable, so let's export
# it.
export ANDROID_SDK_ROOT=/usr/lib/android-sdk

# Next, we need to install the command line tools to access the sdkmanager tool
# to 1) install the platform and build-tools that the project needs and 2)
# agree to the licenses so we can run the tools.
#
# For some reason, the SDK doesn't come with the command line tools. They are
# not shipped via apt either. We need to download them manually.
#
# You can see what the latest version is at:
# https://developer.android.com/studio#command-tools
#
# See also:
# https://stackoverflow.com/questions/53994924/sdkmanager-command-not-found-after-installing-android-sdk
cmd_line_tools_version=6858069
cmd_line_tools_zip_name="commandlinetools-linux-${cmd_line_tools_version}_latest.zip"
wget https://dl.google.com/android/repository/$cmd_line_tools_zip_name
unzip $cmd_line_tools_zip_name

# Move the command line tools in the location they expect to be in to work.
#
# Alternatively, we could keep them here but then we'd have to pass the
# $ANDROID_SDK_ROOT location to each invocation of the sdkmanager command line
# tool using the --sdk_root option. Doing so would also result in the extra
# platform and build tool we'd install to end up in / rather than in the
# correct subfolder of $ANDROID_SDK_ROOT.
cmdline_tools_root=$ANDROID_SDK_ROOT/cmdline-tools
sudo mkdir $cmdline_tools_root
cmdline_tools_location=$cmdline_tools_root/latest
sudo mv ./cmdline-tools $cmdline_tools_location

# Store the path to sdkmanager for easier access in the rest of the script.
#
# This script is meant to run on a CI machine that gets torn down on every run.
#
# If this was a development machine instead, we would add the whole command line tools bin folder to the path by adding this to the RC file of the shell in use (e.g.: .bashrc or .zshrc):
#
# export PATH=$PATH:$cmdline_tools_location/bin/
sdkmanager_bin=$cmdline_tools_location/bin/sdkmanager

# We need a specific version of the Android platform and build tools.
build_tools_version="29.0.2"
platform_version="28"
yes | sudo $sdkmanager_bin --install "build-tools;$build_tools_version"
yes | sudo $sdkmanager_bin --install "platforms;android-$platform_version"
# Apparently, we also need platform version 29?
# See https://app.circleci.com/pipelines/github/wordpress-mobile/gutenberg-mobile/10739/workflows/a96e43eb-6d64-490e-87ab-ef1f1df2eb1d/jobs/56631
yes | sudo $sdkmanager_bin --install "platforms;android-29"

# Accept the licenses
yes | sudo $sdkmanager_bin --licenses
2 changes: 1 addition & 1 deletion Gutenberg.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/wordpress-mobile/gutenberg-mobile'
s.license = gutenbergMobilePackage['license']
s.authors = 'Automattic'
s.platform = :ios, '11.0'
s.platform = :ios, '13.0'
s.source = { :git => 'https://github.com/wordpress-mobile/gutenberg-mobile.git', :submodules => true }
s.source_files = 'gutenberg/packages/react-native-bridge/ios/**/*.{h,m,swift}'
s.requires_arc = true
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Before running the demo app, you need to download and install the project depend

```
cd gutenberg
nvm install --latest-npm
nvm install
cd ..
npm install
```
Expand Down Expand Up @@ -97,7 +97,7 @@ Although you're not required to use Visual Studio Code for developing gutenberg-

When you first open the project in Visual Studio, you will be prompted to install some recommended extensions. This will help with some things like type checking and debugging.

![Prompt to install recommended extensions](images/recommended-extensions.png)
![Prompt to install recommended extensions](https://github.com/WordPress/gutenberg/blob/7532a485b400f86638145b71f94f6f717e5add25/packages/react-native-editor/images/recommended-extensions.png)

One of the extensions we are using is the [React Native Tools](https://marketplace.visualstudio.com/items?itemName=vsmobile.vscode-react-native). This allows you to run the packager from VSCode or launch the application on iOS or Android. It also adds some debug configurations so you can set breakpoints and debug the application directly from VSCode. Take a look at the [extension documentation](https://marketplace.visualstudio.com/items?itemName=vsmobile.vscode-react-native) for more details.

Expand All @@ -121,7 +121,7 @@ Then, open `chrome://inspect` in Chrome to attach the debugger (look into the "R

## Writing and Running Unit Tests

This project is set up to use [jest](https://facebook.github.io/jest/) for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called `__tests__` or with the `.test.js` extension to have the files loaded by jest. See an example test [here](https://github.com/wordpress-mobile/gutenberg-mobile/blob/develop/src/index.test.js). The [jest documentation](https://facebook.github.io/jest/docs/en/getting-started.html) is also a wonderful resource, as is the [React Native testing tutorial](https://facebook.github.io/jest/docs/en/tutorial-react-native.html).
This project is set up to use [jest](https://facebook.github.io/jest/) for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called `__tests__` or with the `.test.js` extension to have the files loaded by jest. See an example test [here](https://github.com/WordPress/gutenberg/blob/HEAD/packages/react-native-editor/src/test/api-fetch-setup.test.js). The [jest documentation](https://facebook.github.io/jest/docs/en/getting-started.html) is also a wonderful resource, as is the [React Native testing tutorial](https://facebook.github.io/jest/docs/en/tutorial-react-native.html).

## UI Tests

Expand All @@ -145,11 +145,11 @@ To run a single test instead of the entire suite, use `npm run device-tests:loca

Note: You might experience problems that seem to be related to the tests starting the Appium server, e.g. errors that say `Connection Refused`, `Connection Reset` or `The requested environment is not available`. For now, you can manually start the Appium server via [appium desktop](https://github.com/appium/appium-desktop) or the CLI, then change the port number in the tests while (optionally) commenting out related code in the `beforeAll` and `afterAll` block.

For a more detailed outline of the UI tests and how to get started writing one, please visit the [UI Test documentation](https://github.com/wordpress-mobile/gutenberg-mobile/blob/develop/__device-tests__/README.md) and our [contributing guide](https://github.com/wordpress-mobile/gutenberg-mobile/blob/develop/__device-tests__/CONTRIBUTING.md).
For a more detailed outline of the UI tests and how to get started writing one, please visit the [UI Test documentation](https://github.com/WordPress/gutenberg/blob/HEAD/packages/react-native-editor/__device-tests__/README.md) and our [contributing guide](https://github.com/WordPress/gutenberg/blob/HEAD/packages/react-native-editor/__device-tests__/CONTRIBUTING.md).

## Static analysis and code style

The project includes a linter (`eslint`) to perform codestyle and static analysis of the code. The configuration used is the same as [the one in the Gutenberg project](https://github.com/WordPress/gutenberg/blob/master/eslint/config.js). To perform the check, run:
The project includes a linter (`eslint`) to perform codestyle and static analysis of the code. The configuration used is the same as [the one in the Gutenberg project](https://github.com/WordPress/gutenberg/blob/HEAD/packages/eslint-plugin/README.md). To perform the check, run:

```
npm run lint
Expand Down
5 changes: 5 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased
------

1.50.0
------
* [***] a11y: Screenreader improvements for the UnitControl component [https://github.com/WordPress/gutenberg/pull/29741]
* [*] Block split/merge fix for a (never shipped) regression (Android only) [https://github.com/WordPress/gutenberg/pull/29683]

1.49.0
------
* [*] Remove the cancel button from settings options (Android only) [https://github.com/WordPress/gutenberg/pull/29599]
Expand Down
2 changes: 1 addition & 1 deletion RNTAztecView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'gutenberg/packages/react-native-aztec/ios/RNTAztecView/*.{h,m,swift}'
s.public_header_files = 'gutenberg/packages/react-native-aztec/ios/RNTAztecView/*.h'
s.requires_arc = true
s.platforms = { :ios => "11.0" }
s.platforms = { :ios => "13.0" }
s.swift_version = '5.0'
s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2',
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'}
Expand Down
Loading