@salesforce/core 3.6.5 → 3.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -12
- package/lib/config/config.d.ts +4 -0
- package/lib/config/config.js +4 -0
- package/lib/global.js +1 -1
- package/lib/logger.d.ts +1 -1
- package/lib/logger.js +1 -1
- package/lib/util/sfdcUrl.js +1 -0
- package/messages/config.md +6 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,47 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
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.
|
|
4
4
|
|
|
5
|
-
### [3.6.
|
|
5
|
+
### [3.6.6](https://github.com/forcedotcom/sfdx-core/compare/v3.6.5...v3.6.6) (2021-10-08)
|
|
6
6
|
|
|
7
|
+
### [3.6.5](https://github.com/forcedotcom/sfdx-core/compare/v3.6.4...v3.6.5) (2021-09-29)
|
|
7
8
|
|
|
8
9
|
### Bug Fixes
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
- add getValue to AliasAccessor ([c4b69f5](https://github.com/forcedotcom/sfdx-core/commit/c4b69f5ff38547fad640c64833291fe0c6e06a79))
|
|
11
12
|
|
|
12
13
|
### [3.6.4](https://github.com/forcedotcom/sfdx-core/compare/v3.6.3...v3.6.4) (2021-09-23)
|
|
13
14
|
|
|
14
|
-
|
|
15
15
|
### Bug Fixes
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
- edit the env var blurbs ([#482](https://github.com/forcedotcom/sfdx-core/issues/482)) ([bbbdb6d](https://github.com/forcedotcom/sfdx-core/commit/bbbdb6d0800015e94ce0f0c551eec8ed73dd87c6))
|
|
18
18
|
|
|
19
19
|
### [3.6.3](https://github.com/forcedotcom/sfdx-core/compare/v3.6.2...v3.6.3) (2021-09-23)
|
|
20
20
|
|
|
21
|
-
|
|
22
21
|
### Bug Fixes
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
- edit the config var blurbs ([#480](https://github.com/forcedotcom/sfdx-core/issues/480)) ([f845512](https://github.com/forcedotcom/sfdx-core/commit/f8455121bfd96f27495bc124dc06570632dfce70))
|
|
25
24
|
|
|
26
25
|
### [3.6.2](https://github.com/forcedotcom/sfdx-core/compare/v3.6.1...v3.6.2) (2021-09-17)
|
|
27
26
|
|
|
28
|
-
|
|
29
27
|
### Bug Fixes
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
- improve time to build auths for many orgs @W-9914839@ ([#478](https://github.com/forcedotcom/sfdx-core/issues/478)) ([c788541](https://github.com/forcedotcom/sfdx-core/commit/c7885415d59994b28552227f0b84dcee5d3ec7cf))
|
|
32
30
|
|
|
33
31
|
### [3.6.1](https://github.com/forcedotcom/sfdx-core/compare/v3.6.0...v3.6.1) (2021-09-13)
|
|
34
32
|
|
|
35
|
-
|
|
36
33
|
### Bug Fixes
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
- remove tokens associated with org ([#477](https://github.com/forcedotcom/sfdx-core/issues/477)) ([5034fa2](https://github.com/forcedotcom/sfdx-core/commit/5034fa2d4c52d347c00499e137a71366e4feba7f))
|
|
39
36
|
|
|
40
37
|
## [3.6.0](https://github.com/forcedotcom/sfdx-core/compare/v3.5.0...v3.6.0) (2021-09-10)
|
|
41
38
|
|
|
42
|
-
|
|
43
39
|
### Features
|
|
44
40
|
|
|
45
|
-
|
|
41
|
+
- add help section helper ([#474](https://github.com/forcedotcom/sfdx-core/issues/474)) ([b34c2d7](https://github.com/forcedotcom/sfdx-core/commit/b34c2d7a442aed2cf091fd394a7c3656287d1dbf))
|
|
46
42
|
|
|
47
43
|
## [3.5.0](https://github.com/forcedotcom/sfdx-core/compare/v3.4.5...v3.5.0) (2021-09-09)
|
|
48
44
|
|
|
@@ -210,6 +206,20 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
210
206
|
- add GlobalInfo config file ([#397](https://github.com/forcedotcom/sfdx-core/issues/397)) ([579998b](https://github.com/forcedotcom/sfdx-core/commit/579998b6ee70dbb9772e65896bbabf6d812aae23))
|
|
211
207
|
- default to reading files from cache ([12b5930](https://github.com/forcedotcom/sfdx-core/commit/12b59301df96395c4edcbfb0816dbddd45af95db))
|
|
212
208
|
|
|
209
|
+
### [2.28.1](https://github.com/forcedotcom/sfdx-core/compare/v2.28.0...v2.28.1) (2021-10-06)
|
|
210
|
+
|
|
211
|
+
### Bug Fixes
|
|
212
|
+
|
|
213
|
+
- crmforce.mil ([e263d5d](https://github.com/forcedotcom/sfdx-core/commit/e263d5d74be9c0651e5c2676d6eec1c31fca05e4))
|
|
214
|
+
|
|
215
|
+
## [2.28.0](https://github.com/forcedotcom/sfdx-core/compare/v2.27.2...v2.28.0) (2021-09-16)
|
|
216
|
+
|
|
217
|
+
### Features
|
|
218
|
+
|
|
219
|
+
- add custom templates config ([3cf8a8c](https://github.com/forcedotcom/sfdx-core/commit/3cf8a8cee1e7196efced989dcca9b545e1283386))
|
|
220
|
+
- add validator for custom templates config ([dd2bcfe](https://github.com/forcedotcom/sfdx-core/commit/dd2bcfe8e7fee5c5c1c6321189ec04288103d5b6))
|
|
221
|
+
- update config name ([72e84bf](https://github.com/forcedotcom/sfdx-core/commit/72e84bfacef48a1c2d00a61ebbae3f632601abbd))
|
|
222
|
+
|
|
213
223
|
### [2.27.2](https://github.com/forcedotcom/sfdx-core/compare/v2.27.1...v2.27.2) (2021-08-05)
|
|
214
224
|
|
|
215
225
|
### Bug Fixes
|
package/lib/config/config.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ export declare enum SfdxPropertyKeys {
|
|
|
80
80
|
* Disables telemetry reporting
|
|
81
81
|
*/
|
|
82
82
|
DISABLE_TELEMETRY = "disableTelemetry",
|
|
83
|
+
/**
|
|
84
|
+
* Custom templates repo or local location.
|
|
85
|
+
*/
|
|
86
|
+
CUSTOM_ORG_METADATA_TEMPLATES = "customOrgMetadataTemplates",
|
|
83
87
|
/**
|
|
84
88
|
* allows users to override the 10,000 result query limit
|
|
85
89
|
*/
|
package/lib/config/config.js
CHANGED
|
@@ -73,6 +73,10 @@ var SfdxPropertyKeys;
|
|
|
73
73
|
* Disables telemetry reporting
|
|
74
74
|
*/
|
|
75
75
|
SfdxPropertyKeys["DISABLE_TELEMETRY"] = "disableTelemetry";
|
|
76
|
+
/**
|
|
77
|
+
* Custom templates repo or local location.
|
|
78
|
+
*/
|
|
79
|
+
SfdxPropertyKeys["CUSTOM_ORG_METADATA_TEMPLATES"] = "customOrgMetadataTemplates";
|
|
76
80
|
/**
|
|
77
81
|
* allows users to override the 10,000 result query limit
|
|
78
82
|
*/
|
package/lib/global.js
CHANGED
|
@@ -79,5 +79,5 @@ Global.SF_DIR = path.join(os.homedir(), Global.SF_STATE_FOLDER);
|
|
|
79
79
|
/**
|
|
80
80
|
* The full system path to the global log file.
|
|
81
81
|
*/
|
|
82
|
-
Global.LOG_FILE_PATH = path.join(Global.
|
|
82
|
+
Global.LOG_FILE_PATH = path.join(Global.SF_DIR, 'sf.log');
|
|
83
83
|
//# sourceMappingURL=global.js.map
|
package/lib/logger.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ export declare class Logger {
|
|
|
150
150
|
/**
|
|
151
151
|
* The name of the root sfdx `Logger`.
|
|
152
152
|
*/
|
|
153
|
-
static readonly ROOT_NAME = "
|
|
153
|
+
static readonly ROOT_NAME = "sf";
|
|
154
154
|
/**
|
|
155
155
|
* The default `LoggerLevel` when constructing new `Logger` instances.
|
|
156
156
|
*/
|
package/lib/logger.js
CHANGED
package/lib/util/sfdcUrl.js
CHANGED
|
@@ -70,6 +70,7 @@ class SfdcUrl extends url_1.URL {
|
|
|
70
70
|
'.salesforce.com',
|
|
71
71
|
'.salesforceliveagent.com',
|
|
72
72
|
'.secure.force.com',
|
|
73
|
+
'crmforce.mil',
|
|
73
74
|
];
|
|
74
75
|
const allowlistOfSalesforceHosts = ['developer.salesforce.com', 'trailhead.salesforce.com'];
|
|
75
76
|
return allowlistOfSalesforceDomainPatterns.some((pattern) => {
|
package/messages/config.md
CHANGED
|
@@ -22,6 +22,10 @@ Specify a valid Salesforce instance URL.
|
|
|
22
22
|
|
|
23
23
|
Specify a valid Salesforce API version, for example, 42.0.
|
|
24
24
|
|
|
25
|
+
# invalidCustomOrgMetadataTemplates
|
|
26
|
+
|
|
27
|
+
Specify a valid repository URL or directory for the custom org metadata templates.
|
|
28
|
+
|
|
25
29
|
# invalidIsvDebuggerSid
|
|
26
30
|
|
|
27
31
|
Specify a valid Debugger SID.
|
|
@@ -97,7 +101,7 @@ ISV debugger URL
|
|
|
97
101
|
|
|
98
102
|
# apiVersion
|
|
99
103
|
|
|
100
|
-
API version of your project. Default: API version of your Dev Hub org.
|
|
104
|
+
API version of your project. Default: API version of your Dev Hub org.
|
|
101
105
|
|
|
102
106
|
# disableTelemetry
|
|
103
107
|
|
|
@@ -109,7 +113,7 @@ Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
|
109
113
|
|
|
110
114
|
# restDeploy
|
|
111
115
|
|
|
112
|
-
Whether deployments use the Metadata REST API (true) or SOAP API (false, default value).
|
|
116
|
+
Whether deployments use the Metadata REST API (true) or SOAP API (false, default value).
|
|
113
117
|
|
|
114
118
|
# instanceUrl
|
|
115
119
|
|