Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
74 changes: 74 additions & 0 deletions docs/Release Notes/Axway CLI 4.0.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Axway CLI 4.0.4

## July 28, 2025

This is a patch release to include a fix to honor the cookie changes on platform.

### Installation

```
npm i -g axway@4.0.4
```

### axway

- **v4.0.4** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### amplify-cli-utils

- **v6.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### amplify-config

- **v5.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### amplify-request

- **v4.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### amplify-sdk

- **v4.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### amplify-utils

- **v2.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### axway-cli-auth

- **v4.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### axway-cli-oum

- **v3.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

### axway-cli-pm

- **v5.0.5** - 07/28/2025

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))
5 changes: 5 additions & 0 deletions packages/amplify-cli-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v6.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v6.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
8 changes: 4 additions & 4 deletions packages/amplify-cli-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/amplify-cli-utils",
"version": "6.0.4",
"version": "6.0.5",
"publishConfig": {
"access": "public"
},
Expand All @@ -24,9 +24,9 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-config": "^5.0.4",
"@axway/amplify-request": "^4.0.4",
"@axway/amplify-sdk": "^4.0.4",
"@axway/amplify-config": "^5.0.5",
"@axway/amplify-request": "^4.0.5",
"@axway/amplify-sdk": "^4.0.5",
"boxen": "^8.0.1",
"check-kit": "^4.0.0",
"cli-kit": "^2.1.1",
Expand Down
5 changes: 5 additions & 0 deletions packages/amplify-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v5.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v5.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/amplify-config",
"version": "5.0.4",
"version": "5.0.5",
"publishConfig": {
"access": "public"
},
Expand All @@ -24,7 +24,7 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-utils": "^2.0.4",
"@axway/amplify-utils": "^2.0.5",
"config-kit": "^2.1.0",
"fs-extra": "^10.1.0",
"source-map-support": "^0.5.21"
Expand Down
5 changes: 5 additions & 0 deletions packages/amplify-request/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v4.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v4.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-request/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/amplify-request",
"version": "4.0.4",
"version": "4.0.5",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -28,7 +28,7 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-utils": "^2.0.4",
"@axway/amplify-utils": "^2.0.5",
"got": "^11.8.5",
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.1",
Expand Down
5 changes: 5 additions & 0 deletions packages/amplify-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v4.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v4.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
6 changes: 3 additions & 3 deletions packages/amplify-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/amplify-sdk",
"version": "4.0.4",
"version": "4.0.5",
"publishConfig": {
"access": "public"
},
Expand All @@ -23,8 +23,8 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-request": "^4.0.4",
"@axway/amplify-utils": "^2.0.4",
"@axway/amplify-request": "^4.0.5",
"@axway/amplify-utils": "^2.0.5",
"ci-info": "^3.3.1",
"ejs": "^3.1.10",
"fs-extra": "^10.1.0",
Expand Down
18 changes: 7 additions & 11 deletions packages/amplify-sdk/src/amplify-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,12 @@ export default class AmplifySDK {
account,
{ errorMsg: 'Failed to get roles' }
);

if (params.team) {
return roles.filter(r => r.team);
}
if (params.client) {
return roles.filter(r => r.client);
}
let org = params.org || account.org?.guid;
if (org) {
org = await this.org.find(account, org);
Expand All @@ -1248,18 +1253,9 @@ export default class AmplifySDK {
});
}

if (params.client) {
roles = roles.filter(r => r.client);
}

if (params.default) {
roles = roles.filter(r => r.default);
}

if (params.team) {
roles = roles.filter(r => r.team);
return roles.filter(r => r.default);
}

return roles;
},

Expand Down
5 changes: 5 additions & 0 deletions packages/amplify-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v2.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v2.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/amplify-utils",
"version": "2.0.4",
"version": "2.0.5",
"publishConfig": {
"access": "public"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/axway-cli-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v4.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v4.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
6 changes: 3 additions & 3 deletions packages/axway-cli-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/axway-cli-auth",
"version": "4.0.4",
"version": "4.0.5",
"publishConfig": {
"access": "public"
},
Expand All @@ -23,8 +23,8 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-cli-utils": "^6.0.4",
"@axway/amplify-utils": "^2.0.4",
"@axway/amplify-cli-utils": "^6.0.5",
"@axway/amplify-utils": "^2.0.5",
"cli-kit": "github:kasuvy/cli-kit#APIGOV-29723",
"enquirer": "^2.3.6",
"pretty-ms": "^7.0.1",
Expand Down
5 changes: 5 additions & 0 deletions packages/axway-cli-oum/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v3.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v3.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
4 changes: 2 additions & 2 deletions packages/axway-cli-oum/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/axway-cli-oum",
"version": "3.0.4",
"version": "3.0.5",
"publishConfig": {
"access": "public"
},
Expand All @@ -22,7 +22,7 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-cli-utils": "^6.0.4",
"@axway/amplify-cli-utils": "^6.0.5",
"cli-kit": "^2.1.1",
"open": "^8.4.0",
"snooplogg": "^5.1.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/axway-cli-pm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v5.0.5 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v5.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
6 changes: 3 additions & 3 deletions packages/axway-cli-pm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axway/axway-cli-pm",
"version": "5.0.4",
"version": "5.0.5",
"publishConfig": {
"access": "public"
},
Expand All @@ -22,8 +22,8 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-cli-utils": "^6.0.4",
"@axway/amplify-utils": "^2.0.4",
"@axway/amplify-cli-utils": "^6.0.5",
"@axway/amplify-utils": "^2.0.5",
"cli-kit": "^2.1.1",
"cross-spawn": "^7.0.3",
"fs-extra": "^10.1.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/axway-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v4.0.4 (July 28, 2025)

- chore: Fixed Issue with "axway team user add" command.
([APIGOV-30889](https://jira.axway.com/browse/APIGOV-30889))

# v4.0.3 (July 28, 2025)

- chore: Fixed Issue with "axway org user list" command.
Expand Down
12 changes: 6 additions & 6 deletions packages/axway-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "axway",
"version": "4.0.3",
"version": "4.0.4",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -28,11 +28,11 @@
"test": "gulp test"
},
"dependencies": {
"@axway/amplify-cli-utils": "^6.0.4",
"@axway/amplify-utils": "^2.0.4",
"@axway/axway-cli-auth": "^4.0.4",
"@axway/axway-cli-oum": "^3.0.4",
"@axway/axway-cli-pm": "^5.0.4",
"@axway/amplify-cli-utils": "^6.0.5",
"@axway/amplify-utils": "^2.0.5",
"@axway/axway-cli-auth": "^4.0.5",
"@axway/axway-cli-oum": "^3.0.5",
"@axway/axway-cli-pm": "^5.0.5",
"boxen": "^8.0.1",
"check-kit": "^4.0.0",
"cli-kit": "^2.1.1",
Expand Down
Loading