From 6548a7292996a522eaf90e2626fa40acfa71ad2c Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Wed, 17 Mar 2021 16:13:50 +0000 Subject: [PATCH] chore(release): 1.5.0 [ci skip] --- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 44 ++++++++++++++++++++++---------------------- package.json | 2 +- 3 files changed, 41 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 306f86cf..2a3f62ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ 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. +## [1.5.0](https://github.com/salesforcecli/plugin-auth/compare/v1.4.10...v1.5.0) (2021-03-17) + + +### Features + +* add compatibility between force:org:display output and auth:sfdxurl:store input ([77e3de9](https://github.com/salesforcecli/plugin-auth/commit/77e3de9a3a943a258ac4890e8c712c1f8b61495c)) + + +### Bug Fixes + +* allow auth:sfdxurl:store to use a json file ([a9f0300](https://github.com/salesforcecli/plugin-auth/commit/a9f0300f5a3d6deef6b5e44bd15cf354cd9ae92c)) +* cleanup code and unit tests ([882014d](https://github.com/salesforcecli/plugin-auth/commit/882014d3fc25dcb020238f6e3acac02e2f59a135)) +* improve error handling ([1cb5def](https://github.com/salesforcecli/plugin-auth/commit/1cb5def51c3cf06e87f2a6029868ebe135f04161)) +* unit test for using json file ([f749fd3](https://github.com/salesforcecli/plugin-auth/commit/f749fd3c7512dfad416270f1053984ac13930a6c)) +* unit tests now run on Windows ([119d49a](https://github.com/salesforcecli/plugin-auth/commit/119d49a0a1be3a9794cefab3cf17c384be62d613)) +* update documentation ([5033f35](https://github.com/salesforcecli/plugin-auth/commit/5033f354de1108cf266f32b9b3b8600aaf634663)) +* whoopsie ([5b6f898](https://github.com/salesforcecli/plugin-auth/commit/5b6f8981ff46af6cb9add70cb6f7bf0b1fc12ad4)) + ### [1.4.10](https://github.com/salesforcecli/plugin-auth/compare/v1.4.9...v1.4.10) (2021-03-03) ### [1.4.9](https://github.com/salesforcecli/plugin-auth/compare/v1.4.8...v1.4.9) (2021-02-23) diff --git a/README.md b/README.md index ab6baf73..a6ab94f6 100644 --- a/README.md +++ b/README.md @@ -69,13 +69,12 @@ sfdx plugins # Commands - -- [`sfdx auth:device:login [-i ] [-r ] [-d] [-s] [-a ] [--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) -- [`sfdx auth:jwt:grant -u -f -i [-r ] [-d] [-s] [-a ] [--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) -- [`sfdx auth:list [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authlist---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) -- [`sfdx auth:logout [-a] [-p] [-u ] [--apiversion ] [--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) -- [`sfdx auth:sfdxurl:store -f [-d] [-s] [-a ] [--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) -- [`sfdx auth:web:login [-i ] [-r ] [-d] [-s] [-a ] [--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) +* [`sfdx auth:device:login [-i ] [-r ] [-d] [-s] [-a ] [--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) +* [`sfdx auth:jwt:grant -u -f -i [-r ] [-d] [-s] [-a ] [--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) +* [`sfdx auth:list [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-authlist---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) +* [`sfdx auth:logout [-a] [-p] [-u ] [--apiversion ] [--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) +* [`sfdx auth:sfdxurl:store -f [-d] [-s] [-a ] [--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) +* [`sfdx auth:web:login [-i ] [-r ] [-d] [-s] [-a ] [--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) ## `sfdx auth:device:login [-i ] [-r ] [-d] [-s] [-a ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -83,7 +82,7 @@ authorize an org using a device code ``` USAGE - $ sfdx auth:device:login [-i ] [-r ] [-d] [-s] [-a ] [--json] [--loglevel + $ sfdx auth:device:login [-i ] [-r ] [-d] [-s] [-a ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] OPTIONS @@ -126,7 +125,7 @@ authorize an org using the JWT flow ``` USAGE - $ sfdx auth:jwt:grant -u -f -i [-r ] [-d] [-s] [-a ] [--json] [--loglevel + $ sfdx auth:jwt:grant -u -f -i [-r ] [-d] [-s] [-a ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] OPTIONS @@ -159,8 +158,8 @@ OPTIONS DESCRIPTION Use a certificate associated with your private key that has been uploaded to a personal connected app. - If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To - specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To + If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To + specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To specify a sandbox, set --instanceurl to https://test.salesforce.com. ALIASES @@ -200,7 +199,7 @@ log out from authorized orgs ``` USAGE - $ sfdx auth:logout [-a] [-p] [-u ] [--apiversion ] [--json] [--loglevel + $ sfdx auth:logout [-a] [-p] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] OPTIONS @@ -234,11 +233,11 @@ _See code: [src/commands/auth/logout.ts](https://github.com/salesforcecli/plugin ## `sfdx auth:sfdxurl:store -f [-d] [-s] [-a ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` -authorize an org using an SFDX auth URL +Authorize an org using an SFDX auth URL ``` USAGE - $ sfdx auth:sfdxurl:store -f [-d] [-s] [-a ] [--json] [--loglevel + $ sfdx auth:sfdxurl:store -f [-d] [-s] [-a ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] OPTIONS @@ -262,12 +261,14 @@ OPTIONS this command invocation DESCRIPTION - Authorize a Salesforce org using an SFDX auth URL stored within a file. The URL must have the format "force://@" or "force://::@". - 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. + Authorize a Salesforce org using an SFDX auth URL stored within a file. The URL must have the format + "force://@" or "force://::@". + 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. For example, using an org you have already authorized: - $ sfdx force:org:display -u --verbose --json > authFile.json - $ sfdx auth:sfdxurl:store -f authFile.json + $ sfdx force:org:display -u --verbose --json > authFile.json + $ sfdx auth:sfdxurl:store -f authFile.json The resulting JSON file contains the URL in the sfdxAuthUrl property inside of a results object. 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 ``` USAGE - $ sfdx auth:web:login [-i ] [-r ] [-d] [-s] [-a ] [--json] [--loglevel + $ sfdx auth:web:login [-i ] [-r ] [-d] [-s] [-a ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] OPTIONS @@ -316,8 +317,8 @@ OPTIONS this command invocation DESCRIPTION - If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To - specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log + If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To + specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log in to a sandbox, set --instanceurl to https://test.salesforce.com. ALIASES @@ -330,5 +331,4 @@ EXAMPLES ``` _See code: [src/commands/auth/web/login.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.4.10/src/commands/auth/web/login.ts)_ - diff --git a/package.json b/package.json index 64bc7eae..041a70f3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-auth", "description": "plugin for sfdx auth commands", - "version": "1.4.10", + "version": "1.5.0", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": {