Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit d01f6c1

Browse files
authored
Merge branch '2.4.2-develop' into new-topic/graphql/issue-7987-company-team-mutations
2 parents d4c4917 + abb7604 commit d01f6c1

File tree

66 files changed

+3433
-3486
lines changed

Some content is hidden

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

66 files changed

+3433
-3486
lines changed

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
VALIDATE_ALL_CODEBASE: false
5555
DEFAULT_BRANCH: master
5656
VALIDATE_HTML: false
57-
VALIDATE_MD: false
57+
VALIDATE_MARKDOWN: false

Rakefile

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,31 @@ task check: %w[check:image_optim check:mdl]
6969

7070
desc 'Generate data for a news digest. Default timeframe is a week since today. For other period, use "since" argument: since="jul 4"'
7171
task :whatsnew do
72-
date = ENV['since']
73-
print 'Generating data for the weekly digest: $ '.magenta
74-
if date.nil? || date.empty?
75-
sh 'bin/whatsup_github'
76-
elsif date.is_a? String
77-
sh 'bin/whatsup_github', 'since', ENV['since'].to_s
72+
since = ENV['since']
73+
current_file = 'src/_data/whats-new.yml'
74+
generated_file = 'tmp/whats-new.yml'
75+
current_data = YAML.load_file current_file
76+
last_update = current_data['updated']
77+
78+
print 'Generating data for the What\'s New digest: $ '.magenta
79+
80+
# Generate tmp/whats-new.yml
81+
if since.nil? || since.empty?
82+
sh 'bin/whatsup_github', 'since', last_update
83+
elsif since.is_a? String
84+
sh 'bin/whatsup_github', 'since', since
7885
else
79-
puts 'The "since" argument must be a string. Example: "jul 4"'
86+
abort 'The "since" argument must be a string. Example: "jul 4"'
8087
end
88+
89+
# Merge generated tmp/whats-new.yml with existing src/_data/whats-new.yml
90+
generated_data = YAML.load_file generated_file
91+
current_data['updated'] = generated_data['updated']
92+
current_data['entries'].prepend(generated_data['entries']).flatten!
93+
current_data['entries'].uniq! { |entry| entry['link'] }
94+
95+
puts "Writing updates to #{current_file}"
96+
File.write current_file, current_data.to_yaml
8197
end
8298

8399
desc 'Generate index for Algolia'

src/_data/main-nav.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@
179179
- label: Web API Functional Testing
180180
url: /get-started/web-api-functional-testing.html
181181

182-
-
183-
184182
- label: Functional Areas
185183
children:
186184

src/_data/mde.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ extensions:
1212
-
1313
name: Amazon Sales Channel
1414
versions:
15+
-
16+
name: 4.3.0
17+
support:
18+
2.3.0: compatible
19+
2.3.1: compatible
20+
2.3.2: compatible
21+
2.3.3: compatible
22+
2.3.4: compatible
23+
2.3.5-p1: compatible
24+
2.3.6: compatible
25+
2.4.0: compatible
26+
2.4.1: supported
1527
-
1628
name: 4.2.0
1729
support:
@@ -22,9 +34,8 @@ extensions:
2234
2.3.4: compatible
2335
2.3.5-p1: compatible
2436
2.3.6: compatible
25-
2.4.0: supported
37+
2.4.0: compatible
2638
2.4.1: supported
27-
2839
-
2940
name: 4.1.0
3041
support:
@@ -48,7 +59,7 @@ extensions:
4859
2.3.5-p1: not supported
4960
2.3.6: not supported
5061
2.4.0: not supported
51-
2.4.1: compatible
62+
2.4.1: not supported
5263
-
5364
name: 3.0.1
5465
support:
@@ -344,9 +355,8 @@ extensions:
344355
2.3.4: compatible
345356
2.3.5-p1: compatible
346357
2.3.6: compatible
347-
2.4.0: compatible
358+
2.4.0: not supported
348359
2.4.1: compatible
349-
350360
-
351361
name: 3.0.2
352362
support:
@@ -357,7 +367,7 @@ extensions:
357367
2.3.4: compatible
358368
2.3.5-p1: compatible
359369
2.3.6: compatible
360-
2.4.0: compatible
370+
2.4.0: not supported
361371
2.4.1: compatible
362372
-
363373
name: 3.0.1
@@ -369,7 +379,7 @@ extensions:
369379
2.3.4: compatible
370380
2.3.5-p1: compatible
371381
2.3.6: compatible
372-
2.4.0: compatible
382+
2.4.0: not supported
373383
2.4.1: compatible
374384
-
375385
name: 3.0.0

src/_data/toc/graphql.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,21 @@ pages:
6969
- label: categoryList query
7070
url: /graphql/queries/category-list.html
7171

72+
- label: checkCompanyAdminEmail query
73+
url: /graphql/queries/check-company-admin-email.html
74+
edition: b2b-only
75+
exclude_versions: ["2.3"]
76+
77+
- label: checkCompanyEmail query
78+
url: /graphql/queries/check-company-email.html
79+
edition: b2b-only
80+
exclude_versions: ["2.3"]
81+
82+
- label: checkCompanyUserEmail query
83+
url: /graphql/queries/check-company-admin-email.html
84+
edition: b2b-only
85+
exclude_versions: ["2.3"]
86+
7287
- label: checkoutAgreements query
7388
url: /graphql/queries/checkout-agreements.html
7489

@@ -77,6 +92,11 @@ pages:
7792

7893
- label: cmsPage query
7994
url: /graphql/queries/cms-page.html
95+
96+
- label: company query
97+
url: /graphql/queries/company.html
98+
edition: b2b-only
99+
exclude_versions: ["2.3"]
80100

81101
- label: countries query
82102
url: /graphql/queries/directory-countries.html
@@ -210,6 +230,11 @@ pages:
210230
- label: createBraintreeClientToken mutation
211231
url: /graphql/mutations/create-braintree-client-token.html
212232

233+
- label: createCompany mutation
234+
url: /graphql/mutations/create-company.html
235+
edition: b2b-only
236+
exclude_versions: ["2.3"]
237+
213238
- label: createCustomer mutation
214239
url: /graphql/mutations/create-customer.html
215240

@@ -344,6 +369,11 @@ pages:
344369
- label: updateCartItems mutation
345370
url: /graphql/mutations/update-cart-items.html
346371

372+
- label: updateCompany mutation
373+
url: /graphql/mutations/update-company.html
374+
edition: b2b-only
375+
exclude_versions: ["2.3"]
376+
347377
- label: updateCustomer mutation
348378
url: /graphql/mutations/update-customer.html
349379

src/_data/toc/software-update-guide.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,21 @@ pages:
101101
url: /comp-mgr/patching.html
102102
children:
103103

104-
- label: MQP release notes
105-
url: /quality-patches/release-notes.html
106-
versionless: true
104+
- label: Magento Quality Patches
105+
url: /comp-mgr/patching/mqp.html
106+
children:
107+
108+
- label: MQP release notes
109+
url: /quality-patches/release-notes.html
110+
versionless: true
111+
112+
- label: Command Line
113+
url: /comp-mgr/patching/command-line.html
114+
children:
115+
116+
- label: Composer
117+
url: /comp-mgr/patching/composer.html
118+
children:
107119

108120
- label: Update the updater application
109121
url: /comp-mgr/updater/update-updater.html

src/_data/toc/testing.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,16 @@ pages:
6262
children:
6363

6464
- label: '@dataProvider'
65-
url: /test/unit/annotations/data-provider.html
65+
url: /test/unit/annotations/data-provider.html
66+
67+
- label: Static Testing
68+
children:
69+
70+
- label: Running Static Tests
71+
url: /test/static/static_test_execution.html
72+
73+
- label: Semantic Version Checker
74+
children:
75+
76+
- label: Running SVC tool
77+
url: /test/svc/semver_test_execution.html

src/_data/var.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ct-repo: magento/ece-tools
2828
ct-release: 2002.1.2
2929
mcp-prod: Magento Cloud Patches
3030
mcp-package: magento/magento-cloud-patches
31-
mcp-release: 1.0.6
31+
mcp-release: 1.0.7
3232
mcd-package: magento/magento-cloud-docker
3333
mcd-prod: Magento Cloud Docker
3434
mcd-release: 1.1.2

0 commit comments

Comments
 (0)