Skip to content

Commit d5c1cdd

Browse files
committed
Merge branch 'trunk' into xcode-14
2 parents 73e0ff8 + a016e82 commit d5c1cdd

File tree

79 files changed

+1789
-777
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1789
-777
lines changed

.buildkite/commands/release-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ bundle exec fastlane run configure_apply
2222
echo "--- :hammer_and_wrench: Building"
2323
bundle exec fastlane build_and_upload_itc \
2424
skip_confirm:true \
25+
skip_prechecks:true \
2526
create_release:true \
2627
beta_release:${1:-true} # use first call param, default to true for safety

.buildkite/commands/run-ui-tests.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,18 @@ install_cocoapods
3535
echo "--- 🧪 Testing"
3636
xcrun simctl list >> /dev/null
3737
rake mocks &
38+
set +e
3839
bundle exec fastlane test_without_building name:"$TEST_NAME" device:"$DEVICE" ios_version:"$IOS_VERSION"
40+
TESTS_EXIT_STATUS=$?
41+
set -e
42+
43+
if [[ "$TESTS_EXIT_STATUS" -ne 0 ]]; then
44+
# Keep the (otherwise collapsed) current "Testing" section open in Buildkite logs on error. See https://buildkite.com/docs/pipelines/managing-log-output#collapsing-output
45+
echo "^^^ +++"
46+
echo "UI Tests failed!"
47+
fi
3948

4049
echo "--- 📦 Zipping test results"
4150
cd fastlane/test_output/ && zip -rq WooCommerce.xcresult.zip WooCommerce.xcresult && cd -
51+
52+
exit $TESTS_EXIT_STATUS

.buildkite/commands/run-unit-tests.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@ echo "--- :rubygems: Setting up Gems"
1616
install_gems
1717

1818
echo "--- 🧪 Testing"
19+
set +e
1920
bundle exec fastlane test_without_building name:UnitTests
21+
TESTS_EXIT_STATUS=$?
22+
set -e
23+
24+
if [[ "$TESTS_EXIT_STATUS" -ne 0 ]]; then
25+
# Keep the (otherwise collapsed) current "Testing" section open in Buildkite logs on error. See https://buildkite.com/docs/pipelines/managing-log-output#collapsing-output
26+
echo "^^^ +++"
27+
echo "Unit Tests failed!"
28+
fi
2029

2130
echo "--- 📦 Zipping test results"
2231
cd fastlane/test_output/ && zip -rq WooCommerce.xcresult.zip WooCommerce.xcresult && cd -
32+
33+
exit $TESTS_EXIT_STATUS

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Contains editorialized release notes. Raw release notes should go into `RELEASE-NOTES.txt`.
33
-->
44

5+
## 10.2
6+
Even though this release doesn’t have any new features, we still put a lot of love into it! You can now enable or disable the option to take card or cash payments on collection or delivery. We also added a new Help Center page that makes it easier for you to login to the app.
7+
58
## 10.1
69
This release has several fixes that makes it easier for you to take payments from the app. We’ve also added a new Help Center FAQ page that makes it easier for you to login to the app.
710
Please continue to send us feedback – we are listening!

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
99
return buildConfig == .localDeveloper || buildConfig == .alpha
1010
case .jetpackConnectionPackageSupport:
1111
return true
12-
case .hubMenu:
13-
return true
1412
case .couponView:
1513
return true
1614
case .productSKUInputScanner:
@@ -49,6 +47,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
4947
return true
5048
case .promptToEnableCodInIppOnboarding:
5149
return true
50+
case .storeWidgets:
51+
return buildConfig == .localDeveloper || buildConfig == .alpha
5252
default:
5353
return true
5454
}

Experiments/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ public enum FeatureFlag: Int {
1818
///
1919
case jetpackConnectionPackageSupport
2020

21-
/// Display the new tab "Menu" in the tab bar.
22-
///
23-
case hubMenu
24-
2521
/// Displays the option to view coupons
2622
///
2723
case couponView
@@ -101,4 +97,8 @@ public enum FeatureFlag: Int {
10197
/// Whether to include the Cash on Delivery enable step in In-Person Payment onboarding
10298
///
10399
case promptToEnableCodInIppOnboarding
100+
101+
/// Enables home screen store widgets.
102+
///
103+
case storeWidgets
104104
}

Gemfile.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ GEM
1717
ast (2.4.2)
1818
atomos (0.1.3)
1919
aws-eventstream (1.2.0)
20-
aws-partitions (1.579.0)
21-
aws-sdk-core (3.130.1)
20+
aws-partitions (1.621.0)
21+
aws-sdk-core (3.134.0)
2222
aws-eventstream (~> 1, >= 1.0.2)
2323
aws-partitions (~> 1, >= 1.525.0)
2424
aws-sigv4 (~> 1.1)
25-
jmespath (~> 1.0)
26-
aws-sdk-kms (1.56.0)
25+
jmespath (~> 1, >= 1.6.1)
26+
aws-sdk-kms (1.58.0)
2727
aws-sdk-core (~> 3, >= 3.127.0)
2828
aws-sigv4 (~> 1.1)
29-
aws-sdk-s3 (1.113.0)
29+
aws-sdk-s3 (1.114.0)
3030
aws-sdk-core (~> 3, >= 3.127.0)
3131
aws-sdk-kms (~> 1)
3232
aws-sigv4 (~> 1.4)
33-
aws-sigv4 (1.5.0)
33+
aws-sigv4 (1.5.1)
3434
aws-eventstream (~> 1, >= 1.0.2)
3535
babosa (1.0.4)
3636
bigdecimal (1.4.4)
@@ -89,13 +89,13 @@ GEM
8989
rake (>= 12.0.0, < 14.0.0)
9090
domain_name (0.5.20190701)
9191
unf (>= 0.0.5, < 1.0.0)
92-
dotenv (2.7.6)
92+
dotenv (2.8.1)
9393
emoji_regex (3.2.3)
9494
escape (0.0.4)
9595
ethon (0.15.0)
9696
ffi (>= 1.15.0)
97-
excon (0.92.2)
98-
faraday (1.10.1)
97+
excon (0.92.4)
98+
faraday (1.10.2)
9999
faraday-em_http (~> 1.0)
100100
faraday-em_synchrony (~> 1.0)
101101
faraday-excon (~> 1.1)
@@ -124,7 +124,7 @@ GEM
124124
faraday_middleware (1.2.0)
125125
faraday (~> 1.0)
126126
fastimage (2.2.6)
127-
fastlane (2.205.2)
127+
fastlane (2.209.1)
128128
CFPropertyList (>= 2.3, < 4.0.0)
129129
addressable (>= 2.8, < 3.0.0)
130130
artifactory (~> 3.0)
@@ -188,8 +188,8 @@ GEM
188188
git (1.12.0)
189189
addressable (~> 2.8)
190190
rchardet (~> 1.8)
191-
google-apis-androidpublisher_v3 (0.19.0)
192-
google-apis-core (>= 0.4, < 2.a)
191+
google-apis-androidpublisher_v3 (0.25.0)
192+
google-apis-core (>= 0.7, < 2.a)
193193
google-apis-core (0.7.0)
194194
addressable (~> 2.5, >= 2.5.1)
195195
googleauth (>= 0.16.2, < 2.a)
@@ -201,8 +201,8 @@ GEM
201201
webrick
202202
google-apis-iamcredentials_v1 (0.13.0)
203203
google-apis-core (>= 0.7, < 2.a)
204-
google-apis-playcustomapp_v1 (0.7.0)
205-
google-apis-core (>= 0.4, < 2.a)
204+
google-apis-playcustomapp_v1 (0.10.0)
205+
google-apis-core (>= 0.7, < 2.a)
206206
google-apis-storage_v1 (0.17.0)
207207
google-apis-core (>= 0.7, < 2.a)
208208
google-cloud-core (1.6.0)
@@ -227,13 +227,13 @@ GEM
227227
os (>= 0.9, < 2.0)
228228
signet (>= 0.16, < 2.a)
229229
highline (2.0.3)
230-
http-cookie (1.0.4)
230+
http-cookie (1.0.5)
231231
domain_name (~> 0.5)
232232
httpclient (2.8.3)
233233
i18n (1.12.0)
234234
concurrent-ruby (~> 1.0)
235235
jmespath (1.6.1)
236-
json (2.6.1)
236+
json (2.6.2)
237237
jsonlint (0.3.0)
238238
oj (~> 3)
239239
optimist (~> 3)
@@ -330,14 +330,14 @@ GEM
330330
uber (0.1.0)
331331
unf (0.1.4)
332332
unf_ext
333-
unf_ext (0.0.8.1)
333+
unf_ext (0.0.8.2)
334334
unicode-display_width (2.1.0)
335335
webrick (1.7.0)
336336
word_wrap (1.0.0)
337337
xcode-install (2.8.0)
338338
claide (>= 0.9.1, < 1.1.0)
339339
fastlane (>= 2.1.0, < 3.0.0)
340-
xcodeproj (1.21.0)
340+
xcodeproj (1.22.0)
341341
CFPropertyList (>= 2.3.3, < 4.0)
342342
atomos (~> 0.1.3)
343343
claide (>= 1.0.2, < 2.0)
@@ -371,4 +371,4 @@ DEPENDENCIES
371371
xcpretty-travis-formatter
372372

373373
BUNDLED WITH
374-
2.3.8
374+
2.3.20

Podfile

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ def aztec
2626
pod 'WordPress-Editor-iOS', '~> 1.11.0'
2727
end
2828

29+
def tracks
30+
pod 'Automattic-Tracks-iOS', '~> 0.12.0'
31+
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :branch => ''
32+
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :commit => ''
33+
# pod 'Automattic-Tracks-iOS', :path => '../Automattic-Tracks-iOS'
34+
end
35+
2936
# Main Target!
3037
# ============
3138
#
@@ -36,10 +43,7 @@ target 'WooCommerce' do
3643
# ====================
3744
#
3845

39-
pod 'Automattic-Tracks-iOS', '~> 0.12.0-beta.2'
40-
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :branch => ''
41-
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :commit => ''
42-
# pod 'Automattic-Tracks-iOS', :path => '../Automattic-Tracks-iOS'
46+
tracks
4347

4448
pod 'Gridicons', '~> 1.2.0'
4549

@@ -79,6 +83,14 @@ target 'WooCommerce' do
7983
end
8084
end
8185

86+
# StoreWidget Target
87+
# ==========
88+
#
89+
target 'StoreWidgetsExtension' do
90+
project 'WooCommerce/WooCommerce.xcodeproj'
91+
tracks
92+
end
93+
8294
# Yosemite Layer:
8395
# ===============
8496
#
@@ -229,10 +241,7 @@ end
229241
# ==================
230242
#
231243
def experiments_pods
232-
pod 'Automattic-Tracks-iOS', '~> 0.12.0-beta.2'
233-
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :branch => ''
234-
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :commit => '7e11e93d6205f51c09aad5d59f4e0679a796a2ef'
235-
# pod 'Automattic-Tracks-iOS', :path => '../Automattic-Tracks-iOS'
244+
tracks
236245
pod 'CocoaLumberjack', '~> 3.7.4'
237246
pod 'CocoaLumberjack/Swift', '~> 3.7.4'
238247
end

Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PODS:
66
- AppAuth/Core (1.5.0)
77
- AppAuth/ExternalUserAgent (1.5.0):
88
- AppAuth/Core
9-
- Automattic-Tracks-iOS (0.12.0-beta.2):
9+
- Automattic-Tracks-iOS (0.12.0):
1010
- Sentry (~> 6)
1111
- Sodium (>= 0.9.1)
1212
- UIDeviceIdentifier (~> 2.0)
@@ -83,7 +83,7 @@ PODS:
8383

8484
DEPENDENCIES:
8585
- Alamofire (~> 4.8)
86-
- Automattic-Tracks-iOS (~> 0.12.0-beta.2)
86+
- Automattic-Tracks-iOS (~> 0.12.0)
8787
- CocoaLumberjack (~> 3.7.4)
8888
- CocoaLumberjack/Swift (~> 3.7.4)
8989
- Gridicons (~> 1.2.0)
@@ -144,7 +144,7 @@ SPEC REPOS:
144144
SPEC CHECKSUMS:
145145
Alamofire: 3ec537f71edc9804815215393ae2b1a8ea33a844
146146
AppAuth: 80317d99ac7ff2801a2f18ff86b48cd315ed465d
147-
Automattic-Tracks-iOS: f31213fbf0391968ffcff75e8c1bdad398589261
147+
Automattic-Tracks-iOS: dae8787ffc2c74493a3a908abc48aed527686131
148148
CocoaLumberjack: 543c79c114dadc3b1aba95641d8738b06b05b646
149149
FormatterKit: 184db51bf120b633693a73624a4cede89ec51a41
150150
GoogleSignIn: fd381840dbe7c1137aa6dc30849a5c3e070c034a
@@ -179,6 +179,6 @@ SPEC CHECKSUMS:
179179
ZendeskSupportProvidersSDK: 2bdf8544f7cd0fd4c002546f5704b813845beb2a
180180
ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba
181181

182-
PODFILE CHECKSUM: 9a75e7f419482622cc94acc2a73bd04ebbc4beaf
182+
PODFILE CHECKSUM: 79417db449eae85f8a39f1707df162e137f11d43
183183

184184
COCOAPODS: 1.11.2

RELEASE-NOTES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
*** PLEASE FOLLOW THIS FORMAT: [<priority indicator, more stars = higher priority>] <description> [<PR URL>]
22

3+
10.3
4+
-----
5+
6+
37
10.2
48
-----
59
- [*] Help center: Added help center web page with FAQs for "Enter Store Credentials", "Enter WordPress.com email " and "Jetpack required Error" screens. [https://github.com/woocommerce/woocommerce-ios/pull/7588, https://github.com/woocommerce/woocommerce-ios/pull/7590, https://github.com/woocommerce/woocommerce-ios/pull/7621]
610
- [*] In-Person Payments: Fixed the Learn More link from the `Enable Pay in Person` onboarding screen for WCPay [https://github.com/woocommerce/woocommerce-ios/pull/7598]
11+
- [**] In-Person Payments: Added a switch for the Pay in Person payment method on the Payments menu. This allows you to accept In-Person Payments for website orders [https://github.com/woocommerce/woocommerce-ios/pull/7613]
712

813
10.1
914
-----

0 commit comments

Comments
 (0)