Skip to content

Commit 6548a72

Browse files
author
SF-CLI-BOT
committed
chore(release): 1.5.0 [ci skip]
1 parent 1b076d7 commit 6548a72

File tree

3 files changed

+41
-23
lines changed

3 files changed

+41
-23
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.5.0](https://github.com/salesforcecli/plugin-auth/compare/v1.4.10...v1.5.0) (2021-03-17)
6+
7+
8+
### Features
9+
10+
* add compatibility between force:org:display output and auth:sfdxurl:store input ([77e3de9](https://github.com/salesforcecli/plugin-auth/commit/77e3de9a3a943a258ac4890e8c712c1f8b61495c))
11+
12+
13+
### Bug Fixes
14+
15+
* allow auth:sfdxurl:store to use a json file ([a9f0300](https://github.com/salesforcecli/plugin-auth/commit/a9f0300f5a3d6deef6b5e44bd15cf354cd9ae92c))
16+
* cleanup code and unit tests ([882014d](https://github.com/salesforcecli/plugin-auth/commit/882014d3fc25dcb020238f6e3acac02e2f59a135))
17+
* improve error handling ([1cb5def](https://github.com/salesforcecli/plugin-auth/commit/1cb5def51c3cf06e87f2a6029868ebe135f04161))
18+
* unit test for using json file ([f749fd3](https://github.com/salesforcecli/plugin-auth/commit/f749fd3c7512dfad416270f1053984ac13930a6c))
19+
* unit tests now run on Windows ([119d49a](https://github.com/salesforcecli/plugin-auth/commit/119d49a0a1be3a9794cefab3cf17c384be62d613))
20+
* update documentation ([5033f35](https://github.com/salesforcecli/plugin-auth/commit/5033f354de1108cf266f32b9b3b8600aaf634663))
21+
* whoopsie ([5b6f898](https://github.com/salesforcecli/plugin-auth/commit/5b6f8981ff46af6cb9add70cb6f7bf0b1fc12ad4))
22+
523
### [1.4.10](https://github.com/salesforcecli/plugin-auth/compare/v1.4.9...v1.4.10) (2021-03-03)
624

725
### [1.4.9](https://github.com/salesforcecli/plugin-auth/compare/v1.4.8...v1.4.9) (2021-02-23)

README.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,20 @@ sfdx plugins
6969
# Commands
7070

7171
<!-- commands -->
72-
73-
- [`sfdx auth:device:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authdevicelogin--i-string--r-url--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
74-
- [`sfdx auth:jwt:grant -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authjwtgrant--u-string--f-filepath--i-string--r-url--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
75-
- [`sfdx auth:list [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authlist---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
76-
- [`sfdx auth:logout [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authlogout--a--p--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
77-
- [`sfdx auth:sfdxurl:store -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authsfdxurlstore--f-filepath--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
78-
- [`sfdx auth:web:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authweblogin--i-string--r-url--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
72+
* [`sfdx auth:device:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authdevicelogin--i-string--r-url--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
73+
* [`sfdx auth:jwt:grant -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authjwtgrant--u-string--f-filepath--i-string--r-url--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
74+
* [`sfdx auth:list [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authlist---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
75+
* [`sfdx auth:logout [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authlogout--a--p--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
76+
* [`sfdx auth:sfdxurl:store -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authsfdxurlstore--f-filepath--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
77+
* [`sfdx auth:web:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authweblogin--i-string--r-url--d--s--a-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
7978

8079
## `sfdx auth:device:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
8180

8281
authorize an org using a device code
8382

8483
```
8584
USAGE
86-
$ sfdx auth:device:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
85+
$ sfdx auth:device:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
8786
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
8887
8988
OPTIONS
@@ -126,7 +125,7 @@ authorize an org using the JWT flow
126125

127126
```
128127
USAGE
129-
$ sfdx auth:jwt:grant -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
128+
$ sfdx auth:jwt:grant -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
130129
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
131130
132131
OPTIONS
@@ -159,8 +158,8 @@ OPTIONS
159158
160159
DESCRIPTION
161160
Use a certificate associated with your private key that has been uploaded to a personal connected app.
162-
If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To
163-
specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To
161+
If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To
162+
specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To
164163
specify a sandbox, set --instanceurl to https://test.salesforce.com.
165164
166165
ALIASES
@@ -200,7 +199,7 @@ log out from authorized orgs
200199

201200
```
202201
USAGE
203-
$ sfdx auth:logout [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel
202+
$ sfdx auth:logout [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel
204203
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
205204
206205
OPTIONS
@@ -234,11 +233,11 @@ _See code: [src/commands/auth/logout.ts](https://github.com/salesforcecli/plugin
234233

235234
## `sfdx auth:sfdxurl:store -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
236235

237-
authorize an org using an SFDX auth URL
236+
Authorize an org using an SFDX auth URL
238237

239238
```
240239
USAGE
241-
$ sfdx auth:sfdxurl:store -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel
240+
$ sfdx auth:sfdxurl:store -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel
242241
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
243242
244243
OPTIONS
@@ -262,12 +261,14 @@ OPTIONS
262261
this command invocation
263262
264263
DESCRIPTION
265-
Authorize a Salesforce org using an SFDX auth URL stored within a file. The URL must have the format "force://<refreshToken>@<instanceUrl>" or "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>".
266-
You have three options when creating the auth file. The easiest option is to redirect the output of the `sfdx force:org:display --verbose --json` command into a file.
264+
Authorize a Salesforce org using an SFDX auth URL stored within a file. The URL must have the format
265+
"force://<refreshToken>@<instanceUrl>" or "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>".
266+
You have three options when creating the auth file. The easiest option is to redirect the output of the `sfdx
267+
force:org:display --verbose --json` command into a file.
267268
For example, using an org you have already authorized:
268269
269-
$ sfdx force:org:display -u <DevHub> --verbose --json > authFile.json
270-
$ sfdx auth:sfdxurl:store -f authFile.json
270+
$ sfdx force:org:display -u <DevHub> --verbose --json > authFile.json
271+
$ sfdx auth:sfdxurl:store -f authFile.json
271272
272273
The resulting JSON file contains the URL in the sfdxAuthUrl property inside of a results object.
273274
You can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the auth URL.
@@ -289,7 +290,7 @@ authorize an org using the web login flow
289290

290291
```
291292
USAGE
292-
$ sfdx auth:web:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
293+
$ sfdx auth:web:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
293294
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
294295
295296
OPTIONS
@@ -316,8 +317,8 @@ OPTIONS
316317
this command invocation
317318
318319
DESCRIPTION
319-
If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To
320-
specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log
320+
If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To
321+
specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log
321322
in to a sandbox, set --instanceurl to https://test.salesforce.com.
322323
323324
ALIASES
@@ -330,5 +331,4 @@ EXAMPLES
330331
```
331332

332333
_See code: [src/commands/auth/web/login.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.4.10/src/commands/auth/web/login.ts)_
333-
334334
<!-- commandsstop -->

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-auth",
33
"description": "plugin for sfdx auth commands",
4-
"version": "1.4.10",
4+
"version": "1.5.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)