Skip to content

Commit cf5c041

Browse files
authored
Release v3.1.0 (@W-15945047@) (#404)
* Update to latest raml-toolkit * Update APIs * Update CHANGELOG.md * Generate docs * Increment version * Update .gitattributes * Revert "Update .gitattributes" This reverts commit 2af825b. * Revert "Update APIs" This reverts commit e140c37. * Reapply "Update APIs" This reverts commit e3b17bb. * Fix the version of future potentially breaking change * Fix CI tests * Now publishing with Node 16 Since we're supporting Node 16, 18, and 20. * Update docs with the new commerce-sdk version * CI: create unique cache for each Node version tested * CI caching: hash the correct file
1 parent 01ae667 commit cf5c041

File tree

1,633 files changed

+43624
-18296
lines changed

Some content is hidden

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

1,633 files changed

+43624
-18296
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: '14.x'
15+
node-version: '16.x'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: npm install snyk --legacy-peer-deps
1818
- run: npm run snyk:auth ${{ secrets.SNYK_TOKEN }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: ${{ matrix.node_version }}
19+
node-version: ${{ matrix.node }}
2020
cache: npm
2121
- name: Cache node modules
2222
id: cache-nodemodules
@@ -25,7 +25,7 @@ jobs:
2525
cache-name: cache-node-modules
2626
with:
2727
path: "**/node_modules"
28-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
28+
key: ${{ runner.os }}-node${{ matrix.node }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
2929
- run: npm install snyk --legacy-peer-deps
3030
- run: npm run snyk:auth ${{ secrets.SNYK_TOKEN }}
3131
- run: npm install --legacy-peer-deps

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

CHANGELOG.md

Lines changed: 9 additions & 0 deletions

README.md

Lines changed: 1 addition & 1 deletion

apis/checkout/orders/.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"id": "893f605e-10e2-423a-bdb4-f952f56eb6d8/orders/1.4.2",
2+
"id": "893f605e-10e2-423a-bdb4-f952f56eb6d8/orders/1.4.4",
33
"name": "Orders",
44
"description": "Manage order and order payment status.",
55
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8",
66
"assetId": "orders",
7-
"version": "1.4.2",
7+
"version": "1.4.4",
88
"categories": {
99
"API layer": [
1010
"Process"

apis/checkout/orders/data-types.raml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
usage: This library provides all order relevant data types
44

55
uses:
6-
CommerceCloudStandards: exchange_modules/893f605e-10e2-423a-bdb4-f952f56eb6d8/commerce-cloud-standards/1.0.27/commerce-cloud-standards.raml
6+
CommerceCloudStandards: exchange_modules/893f605e-10e2-423a-bdb4-f952f56eb6d8/commerce-cloud-standards/2.0.1/commerce-cloud-standards.raml
77

88
types:
99
OrderUpdateRequest:
@@ -1331,7 +1331,6 @@ types:
13311331
quantity?:
13321332
description: |-
13331333
The ordered quantity of the products represented by this item.
1334-
maximum: 999
13351334
minimum: 0
13361335
type: number
13371336
format: double
@@ -2148,7 +2147,6 @@ types:
21482147
green umbrella
21492148
quantity:
21502149
description: The ordered quantity of the products represented by this item.
2151-
maximum: 999
21522150
minimum: 0
21532151
type: number
21542152
format: double

apis/checkout/orders/exchange.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8"
77
},
88
{
9-
"version": "1.0.27",
9+
"version": "2.0.1",
1010
"assetId": "commerce-cloud-standards",
1111
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8"
1212
}
1313
],
14-
"version": "1.4.2",
14+
"version": "1.4.4",
1515
"originalFormatVersion": "1.0",
1616
"apiVersion": "v1",
1717
"descriptorVersion": "0.1.0",

apis/checkout/orders/exchange_modules/893f605e-10e2-423a-bdb4-f952f56eb6d8/commerce-cloud-standards/1.0.27/SecuritySchemes/bearer-token.raml

Lines changed: 0 additions & 13 deletions
This file was deleted.

apis/checkout/orders/exchange_modules/893f605e-10e2-423a-bdb4-f952f56eb6d8/commerce-cloud-standards/1.0.27/exchange.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)