auth0-deploy-cli 7.5.1 → 7.7.0
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/.eslintrc +7 -41
- package/.husky/pre-commit +4 -0
- package/.husky/pre-push +3 -1
- package/.prettierignore +10 -0
- package/.prettierrc.json +4 -0
- package/CHANGELOG.md +209 -7
- package/CONTRIBUTING.md +2 -2
- package/README.md +3 -0
- package/lib/args.js +16 -17
- package/lib/commands/export.js +3 -3
- package/lib/commands/import.js +7 -6
- package/lib/commands/index.js +1 -1
- package/lib/configFactory.js +5 -1
- package/lib/context/defaults.js +4 -3
- package/lib/context/directory/handlers/actions.js +6 -5
- package/lib/context/directory/handlers/attackProtection.js +7 -6
- package/lib/context/directory/handlers/branding.js +60 -0
- package/lib/context/directory/handlers/clientGrants.js +6 -4
- package/lib/context/directory/handlers/clients.js +4 -3
- package/lib/context/directory/handlers/connections.js +7 -4
- package/lib/context/directory/handlers/databases.js +30 -22
- package/lib/context/directory/handlers/emailProvider.js +6 -4
- package/lib/context/directory/handlers/emailTemplates.js +13 -11
- package/lib/context/directory/handlers/guardianFactorProviders.js +6 -4
- package/lib/context/directory/handlers/guardianFactorTemplates.js +6 -4
- package/lib/context/directory/handlers/guardianFactors.js +6 -4
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.js +4 -3
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.js +4 -3
- package/lib/context/directory/handlers/guardianPolicies.js +4 -3
- package/lib/context/directory/handlers/hooks.js +5 -4
- package/lib/context/directory/handlers/index.js +5 -2
- package/lib/context/directory/handlers/migrations.js +8 -8
- package/lib/context/directory/handlers/organizations.js +4 -3
- package/lib/context/directory/handlers/pages.js +20 -20
- package/lib/context/directory/handlers/resourceServers.js +6 -4
- package/lib/context/directory/handlers/roles.js +4 -3
- package/lib/context/directory/handlers/rules.js +5 -4
- package/lib/context/directory/handlers/rulesConfigs.js +7 -5
- package/lib/context/directory/handlers/tenant.js +7 -4
- package/lib/context/directory/handlers/triggers.js +3 -2
- package/lib/context/directory/index.js +23 -22
- package/lib/context/index.js +66 -62
- package/lib/context/yaml/handlers/actions.js +12 -8
- package/lib/context/yaml/handlers/attackProtection.js +6 -12
- package/lib/context/yaml/handlers/branding.js +66 -0
- package/lib/context/yaml/handlers/clientGrants.js +5 -4
- package/lib/context/yaml/handlers/clients.js +9 -6
- package/lib/context/yaml/handlers/connections.js +10 -7
- package/lib/context/yaml/handlers/databases.js +15 -10
- package/lib/context/yaml/handlers/emailProvider.js +7 -5
- package/lib/context/yaml/handlers/emailTemplates.js +6 -5
- package/lib/context/yaml/handlers/guardianFactorProviders.js +6 -13
- package/lib/context/yaml/handlers/guardianFactorTemplates.js +6 -13
- package/lib/context/yaml/handlers/guardianFactors.js +6 -13
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.js +6 -13
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.js +6 -13
- package/lib/context/yaml/handlers/guardianPolicies.js +6 -13
- package/lib/context/yaml/handlers/hooks.js +7 -5
- package/lib/context/yaml/handlers/index.js +5 -2
- package/lib/context/yaml/handlers/migrations.js +3 -2
- package/lib/context/yaml/handlers/organizations.js +6 -5
- package/lib/context/yaml/handlers/pages.js +6 -5
- package/lib/context/yaml/handlers/resourceServers.js +5 -4
- package/lib/context/yaml/handlers/roles.js +6 -5
- package/lib/context/yaml/handlers/rules.js +6 -5
- package/lib/context/yaml/handlers/rulesConfigs.js +6 -5
- package/lib/context/yaml/handlers/tenant.js +7 -5
- package/lib/context/yaml/handlers/triggers.js +5 -4
- package/lib/context/yaml/index.js +33 -24
- package/lib/index.js +20 -15
- package/lib/logger.js +4 -3
- package/lib/readonly.js +11 -16
- package/lib/sessionDurationsToMinutes.js +15 -0
- package/lib/tools/auth0/client.js +6 -6
- package/lib/tools/auth0/handlers/actions.js +21 -23
- package/lib/tools/auth0/handlers/attackProtection.js +14 -17
- package/lib/tools/auth0/handlers/branding.js +71 -13
- package/lib/tools/auth0/handlers/clientGrants.js +17 -10
- package/lib/tools/auth0/handlers/clients.js +15 -8
- package/lib/tools/auth0/handlers/connections.js +30 -10
- package/lib/tools/auth0/handlers/databases.js +24 -12
- package/lib/tools/auth0/handlers/default.js +47 -29
- package/lib/tools/auth0/handlers/emailTemplates.js +8 -10
- package/lib/tools/auth0/handlers/guardianFactorProviders.js +3 -3
- package/lib/tools/auth0/handlers/guardianFactorTemplates.js +3 -3
- package/lib/tools/auth0/handlers/guardianFactors.js +3 -3
- package/lib/tools/auth0/handlers/guardianPhoneFactorMessageTypes.js +11 -10
- package/lib/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.js +10 -9
- package/lib/tools/auth0/handlers/guardianPolicies.js +5 -4
- package/lib/tools/auth0/handlers/hooks.js +34 -21
- package/lib/tools/auth0/handlers/index.js +31 -27
- package/lib/tools/auth0/handlers/migrations.js +2 -1
- package/lib/tools/auth0/handlers/organizations.js +67 -32
- package/lib/tools/auth0/handlers/pages.js +20 -14
- package/lib/tools/auth0/handlers/prompts.js +1 -0
- package/lib/tools/auth0/handlers/resourceServers.js +28 -15
- package/lib/tools/auth0/handlers/roles.js +61 -32
- package/lib/tools/auth0/handlers/rules.js +55 -32
- package/lib/tools/auth0/handlers/rulesConfigs.js +12 -6
- package/lib/tools/auth0/handlers/tenant.js +8 -4
- package/lib/tools/auth0/handlers/triggers.js +11 -12
- package/lib/tools/auth0/index.js +15 -31
- package/lib/tools/auth0/schema.js +7 -27
- package/lib/tools/calculateChanges.js +149 -0
- package/lib/tools/constants.js +162 -154
- package/lib/tools/deploy.js +1 -1
- package/lib/tools/index.js +1 -1
- package/lib/tools/logger.js +14 -8
- package/lib/tools/utils.js +3 -144
- package/lib/tools/{ValidationError.js → validationError.js} +3 -1
- package/lib/types.js +2 -0
- package/lib/utils.js +12 -22
- package/package.json +9 -2
- package/tsconfig.json +2 -3
- package/typescript-migration-progress.sh +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,206 +7,318 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [7.7.0] - 2022-04-06
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Exclusion of entire resource types via the `AUTH0_EXCLUDED` configuration parameter. See [Resource Exclusion Proposal](https://github.com/auth0/auth0-deploy-cli/issues/451) for details. [#468]
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- `idle_session_lifetime` and `session_lifetime` values properly ignored on update if inheriting default tenant values.[#471]
|
|
19
|
+
|
|
20
|
+
## [7.6.0] - 2022-03-25
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- New branding template feature support [#438]
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Colliding `e` parameter alias between `export_ids` and `env` [#453]
|
|
29
|
+
|
|
30
|
+
## [7.5.2] - 2022-03-15
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- Resetting this version to be latest on NPM
|
|
35
|
+
|
|
10
36
|
## [7.5.1] - 2022-03-11
|
|
37
|
+
|
|
11
38
|
### Fixed
|
|
39
|
+
|
|
12
40
|
- Updating dead link in logging output [#436]
|
|
13
41
|
- Fixing `--env` flag to properly dictate environment variable inheritance [#432]
|
|
14
42
|
|
|
15
43
|
## [7.5.0] - 2022-03-08
|
|
44
|
+
|
|
16
45
|
### Added
|
|
46
|
+
|
|
17
47
|
- Support for attack protection configuration management [#428]
|
|
18
48
|
|
|
19
49
|
### Fixed
|
|
50
|
+
|
|
20
51
|
- Excluded connection properties from getting deleted upon update [#430]
|
|
21
52
|
- Organizations in YAML format are skipped when not defined [#388]
|
|
22
53
|
|
|
23
54
|
## [7.4.0] - 2022-02-24
|
|
55
|
+
|
|
24
56
|
### Added
|
|
57
|
+
|
|
25
58
|
- Allowing @@ array variable replacement to work when wrapped in quotes [#421]
|
|
26
59
|
|
|
27
60
|
### Fixed
|
|
61
|
+
|
|
28
62
|
- Eliminated benign `client_metadata` warnings on import [#416]
|
|
29
63
|
- Fixing request abstraction from losing function scope, enabling Auth0 Node SDK updates [#412]
|
|
30
64
|
|
|
31
65
|
### Security
|
|
66
|
+
|
|
32
67
|
- Updating Auth0 Node SDK to 2.40.0 which fixes minor dependency vulnerability
|
|
33
68
|
|
|
34
69
|
## [7.3.7] - 2022-02-03
|
|
70
|
+
|
|
35
71
|
### Fixed
|
|
72
|
+
|
|
36
73
|
- Expose errors that may be silently missed in Actions [#408]
|
|
37
74
|
|
|
38
75
|
## [7.3.6] - 2022-02-02
|
|
76
|
+
|
|
39
77
|
### Fixed
|
|
78
|
+
|
|
40
79
|
- Fix errors caused by incompatibilities introduced by new versions of Auth0 SDK [#406]
|
|
41
80
|
|
|
42
81
|
## [7.3.5] - 2022-01-27
|
|
82
|
+
|
|
43
83
|
### Fixed
|
|
84
|
+
|
|
44
85
|
- Fix an error with the function context [#403]
|
|
45
86
|
|
|
46
87
|
## [7.3.4] - 2022-01-26
|
|
88
|
+
|
|
47
89
|
### Fixed
|
|
90
|
+
|
|
48
91
|
- Fix pagination [#401]
|
|
49
92
|
|
|
50
93
|
## [7.3.3] - 2022-01-26
|
|
94
|
+
|
|
51
95
|
### Fixed
|
|
96
|
+
|
|
52
97
|
- Fix pagination [#400]
|
|
53
98
|
|
|
54
99
|
### Security
|
|
100
|
+
|
|
55
101
|
- Security fixes from dependencies
|
|
56
102
|
|
|
57
103
|
## [7.3.2] - 2021-12-14
|
|
104
|
+
|
|
58
105
|
### Security
|
|
106
|
+
|
|
59
107
|
- Fixes dependency security issues
|
|
60
108
|
|
|
61
109
|
## [7.3.1] - 2021-09-21
|
|
110
|
+
|
|
62
111
|
### Fixed
|
|
112
|
+
|
|
63
113
|
- Error when authenticating with AUTH0_CLIENT_ID and AUTH0_CLIENT_SECRET with Node.js prior to v14
|
|
64
114
|
|
|
65
115
|
## [7.3.0] - 2021-09-20
|
|
116
|
+
|
|
66
117
|
### Added
|
|
118
|
+
|
|
67
119
|
- Allow set of AUTH0_AUDIENCE for custom domain [#379] (credit @AliBazzi)
|
|
68
120
|
|
|
69
121
|
### Fixed
|
|
122
|
+
|
|
70
123
|
- Load file configured in customScripts for DB Connections [#367] (credit @skukx)
|
|
71
124
|
|
|
72
125
|
### Security
|
|
126
|
+
|
|
73
127
|
- Security fixes from dependencies
|
|
74
128
|
|
|
75
129
|
## [7.2.1] - 2021-08-23
|
|
130
|
+
|
|
76
131
|
### Fixed
|
|
132
|
+
|
|
77
133
|
- [IDS-3074] Updated structure when dumping orgs (#369)
|
|
78
|
-
|
|
134
|
+
|
|
79
135
|
Fixes an issue when exporting organizations as a directory, connections are not structured in the right way, causing the import to remove any connection on the organizations.
|
|
136
|
+
|
|
80
137
|
- [DXEX-1721] Fix client metadata property deletion
|
|
81
|
-
|
|
138
|
+
|
|
82
139
|
Fixes an inconsistency between how we calculate changes on deep metadata-like objects and with how APIv2 expects such changes to be expressed when a property is deleted.
|
|
140
|
+
|
|
83
141
|
- Bump js-yaml from 3.x to 4.x and move to kacl (#371)
|
|
84
|
-
|
|
142
|
+
|
|
85
143
|
This PR bumps js-yaml from 3.x to 4.x in accordance with its migration guide. This bump means that we're able to use the default safe behaviour for both exports and imports.
|
|
86
|
-
|
|
144
|
+
|
|
87
145
|
Notably, this means that we won't end up with values like !<tag:yaml.org,2002:js/undefined> '' that are not at all human friendly and were problematic when we used the .safeLoad functionality.
|
|
88
146
|
|
|
89
147
|
## [7.2.0] - 2021-07-14
|
|
148
|
+
|
|
90
149
|
### Added
|
|
150
|
+
|
|
91
151
|
- Add runtime property for actions [#364]
|
|
92
152
|
|
|
93
153
|
## [7.1.1] - 2021-06-23
|
|
154
|
+
|
|
94
155
|
### Added
|
|
156
|
+
|
|
95
157
|
- Export tools module
|
|
96
158
|
|
|
97
159
|
### Fixed
|
|
160
|
+
|
|
98
161
|
- Fix exception when actions is undefined [#361]
|
|
99
162
|
- yargs should not be called when required as a module
|
|
100
163
|
|
|
101
164
|
## [7.1.0] - 2021-06-23
|
|
165
|
+
|
|
102
166
|
### Changed
|
|
167
|
+
|
|
103
168
|
- Actions refactoring and fixes [#356]
|
|
104
169
|
- Bump auth0@2.35.1
|
|
105
170
|
|
|
106
171
|
## [7.0.0] - 2021-06-11
|
|
172
|
+
|
|
107
173
|
### Added
|
|
174
|
+
|
|
108
175
|
- MFA-1174 Support Recovery Codes
|
|
109
176
|
- Support for organizations
|
|
110
177
|
- Prompt link to Auth0 Docs upon insufficient scope
|
|
111
178
|
|
|
112
179
|
### Changed
|
|
180
|
+
|
|
113
181
|
- Removed dependency on `auth0-source-control-extension-tools`, the package is not part of `auth0-deploy-cli`
|
|
114
182
|
- Removed dependency on `auth-extension-tools`
|
|
115
183
|
|
|
116
184
|
### Deprecated
|
|
185
|
+
|
|
117
186
|
- Dropped Node.js 8 support
|
|
118
187
|
|
|
119
188
|
### Fixed
|
|
189
|
+
|
|
120
190
|
- Upstream node registry
|
|
121
191
|
|
|
122
192
|
### Security
|
|
193
|
+
|
|
123
194
|
- Security fixes from dependencies
|
|
124
195
|
|
|
125
196
|
## [6.0.0] - 2020-12-28
|
|
197
|
+
|
|
126
198
|
### Deprecated
|
|
199
|
+
|
|
127
200
|
- This release has been withdrawn
|
|
128
201
|
|
|
129
202
|
## [5.5.7] - 2021-05-19
|
|
203
|
+
|
|
130
204
|
### Added
|
|
205
|
+
|
|
131
206
|
- Add Support Recovery Codes by bumping auth0-source-control-extension-tools@4.7.2
|
|
132
207
|
|
|
133
208
|
## [5.5.6] - 2021-04-21
|
|
209
|
+
|
|
134
210
|
### Fixed
|
|
211
|
+
|
|
135
212
|
- Fix EXCLUDE_PROPS behaviour for connections and databases.
|
|
136
213
|
|
|
137
214
|
## [5.5.5] - 2021-03-26
|
|
215
|
+
|
|
138
216
|
### Fixed
|
|
217
|
+
|
|
139
218
|
- Broken dependencies on 4.5.x range of source-countrol-extension-tools because of organizations.
|
|
140
219
|
|
|
141
220
|
## [5.5.4] - 2021-03-12
|
|
221
|
+
|
|
142
222
|
### Fixed
|
|
223
|
+
|
|
143
224
|
- Remove limit on permissions in roles
|
|
144
225
|
|
|
145
226
|
## [5.5.3] - 2021-03-10
|
|
227
|
+
|
|
146
228
|
### Added
|
|
229
|
+
|
|
147
230
|
- Add webauthn platform as a supported factor
|
|
148
231
|
|
|
149
232
|
## [5.5.2] - 2021-03-10
|
|
233
|
+
|
|
150
234
|
### Fixed
|
|
235
|
+
|
|
151
236
|
- Fix pagination when computing changes
|
|
152
237
|
|
|
153
238
|
## [5.5.1] - 2021-03-03
|
|
239
|
+
|
|
154
240
|
### Fixed
|
|
241
|
+
|
|
155
242
|
- Fix issues with retrieving more than 50 roles
|
|
156
243
|
|
|
157
244
|
## [5.5.0] - 2021-01-28
|
|
245
|
+
|
|
158
246
|
### Added
|
|
247
|
+
|
|
159
248
|
- Add support for `verify_email_by_code` email template [#309]
|
|
160
249
|
|
|
161
250
|
## [5.3.2] - 2020-12-17
|
|
251
|
+
|
|
162
252
|
### Fixed
|
|
253
|
+
|
|
163
254
|
- Fix keyword mapping in client page templates [ESD-10528] [#291]
|
|
164
255
|
|
|
165
256
|
## [5.3.1] - 2020-11-16
|
|
257
|
+
|
|
166
258
|
### Fixed
|
|
259
|
+
|
|
167
260
|
- Fix report error exporting hooks by bumping auth0-source-control-extension-tools@4.1.12 [#289]
|
|
168
261
|
- Add MFA factor webauthn-roaming support by bumping auth0-source-control-extension-tools@4.1.12 [#289]
|
|
169
262
|
|
|
170
263
|
## [5.3.0] - 2020-11-05
|
|
264
|
+
|
|
171
265
|
### Changed
|
|
266
|
+
|
|
172
267
|
- Return database `enabled_clients` in deterministic order [#281]
|
|
173
268
|
|
|
174
269
|
### Fixed
|
|
270
|
+
|
|
175
271
|
- Fix the structure of the example policies.json, and correct the guardianPolicies test to use `all-applications` instead of `all-application` [#278]
|
|
176
272
|
- Fix pagination for specific API calls by bumping auth0-source-control-extension-tools@4.1.9 [#287]
|
|
177
273
|
|
|
178
274
|
## [5.2.1] - 2020-09-23
|
|
275
|
+
|
|
179
276
|
### Fixed
|
|
277
|
+
|
|
180
278
|
- Issue with client grants deleted when using AUTH0_EXCLUDED_CLIENTS
|
|
181
279
|
|
|
182
280
|
## [5.2.0] - 2020-09-17
|
|
281
|
+
|
|
183
282
|
### Fixed
|
|
283
|
+
|
|
184
284
|
- Always sort custom database scripts alphabetically
|
|
185
285
|
|
|
186
286
|
## [5.1.6] - 2020-09-15
|
|
287
|
+
|
|
187
288
|
### Fixed
|
|
289
|
+
|
|
188
290
|
- Add new line support to JSON files generated in directory dumps
|
|
189
291
|
- Move write file method to common util
|
|
190
292
|
- Update `auth0-source-control-extension-tools`
|
|
191
293
|
|
|
192
294
|
## [5.1.5] - 2020-08-13
|
|
295
|
+
|
|
193
296
|
### Fixed
|
|
297
|
+
|
|
194
298
|
- The --proxy_url option should work properly now. (Although only on Node >= 10).
|
|
195
299
|
|
|
196
300
|
## [5.1.4] - 2020-08-12
|
|
301
|
+
|
|
197
302
|
### Fixed
|
|
303
|
+
|
|
198
304
|
- Connections disabled when the client is added AUTH0_EXCLUDED_CLIENTS list.
|
|
199
305
|
|
|
200
306
|
## [5.1.3] - 2020-08-04
|
|
307
|
+
|
|
201
308
|
### Fixed
|
|
309
|
+
|
|
202
310
|
- Many entities were not being fetched via the Paging API properly.
|
|
203
311
|
|
|
204
312
|
## [5.1.3] - 2020-08-04
|
|
313
|
+
|
|
205
314
|
### Fixed
|
|
315
|
+
|
|
206
316
|
- Many entities were not being fetched via the Paging API properly.
|
|
207
317
|
|
|
208
318
|
## [5.1.0] - 2020-07-09
|
|
319
|
+
|
|
209
320
|
### Added
|
|
321
|
+
|
|
210
322
|
- Add support for three guardian/MFA-related features:
|
|
211
323
|
- Guardian Policies
|
|
212
324
|
- Guardian Phone factor selected provider
|
|
@@ -214,23 +326,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
214
326
|
- Adds support for Migrations
|
|
215
327
|
|
|
216
328
|
## [5.0.0] - 2020-06-04
|
|
329
|
+
|
|
217
330
|
### Added
|
|
331
|
+
|
|
218
332
|
- Allow excluding default values for emailProvider with `AUTH0_EXCLUDED_DEFAULTS` [#236]
|
|
219
333
|
|
|
220
334
|
### Changed
|
|
335
|
+
|
|
221
336
|
- [**Breaking**] Updated dependencies and deprecated support for Node versions earlier than 8 via babel@7 and dot-prop@5 [#242]
|
|
222
337
|
|
|
223
338
|
### Fixed
|
|
339
|
+
|
|
224
340
|
- pages: fix error when dumping error_page without html property [#247]
|
|
225
341
|
|
|
226
342
|
## [4.3.1] - 2020-05-20
|
|
343
|
+
|
|
227
344
|
### Fixed
|
|
345
|
+
|
|
228
346
|
- Fixed broken mkdirp package dependency
|
|
229
347
|
|
|
230
348
|
## [4.3.0] - 2020-05-18
|
|
349
|
+
|
|
231
350
|
### Removed
|
|
351
|
+
|
|
232
352
|
- Removed several unused dependencies:
|
|
233
|
-
|
|
353
|
+
|
|
234
354
|
- ajv
|
|
235
355
|
- e6-template-strings
|
|
236
356
|
- node-storage
|
|
@@ -238,174 +358,250 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
238
358
|
- xregexp
|
|
239
359
|
|
|
240
360
|
## [4.2.2] - 2020-05-04
|
|
361
|
+
|
|
241
362
|
### Added
|
|
363
|
+
|
|
242
364
|
- Support for phone message hook added.
|
|
243
365
|
- Configurable connections directory with `AUTH0_CONNECTIONS_DIRECTORY`.
|
|
244
366
|
|
|
245
367
|
### Removed
|
|
368
|
+
|
|
246
369
|
- Remove data from verify email example to prevent copy and paste misuse.
|
|
247
370
|
|
|
248
371
|
## [4.2.1] - 2020-04-06
|
|
372
|
+
|
|
249
373
|
### Fixed
|
|
374
|
+
|
|
250
375
|
- Fixed rules' reorder to avoid order collisions by updating `auth0-source-control-extension-tools`
|
|
251
376
|
|
|
252
377
|
## [4.2.0] - 2020-03-28
|
|
378
|
+
|
|
253
379
|
### Fixed
|
|
380
|
+
|
|
254
381
|
- When importing SAML database connections, support client name in the `options.idpinitiated.client_id` property.
|
|
255
382
|
- When exporting SAML database connections, convert client ID to client name.
|
|
256
383
|
|
|
257
384
|
## [4.1.0] - 2020-03-28
|
|
385
|
+
|
|
258
386
|
### Fixed
|
|
387
|
+
|
|
259
388
|
- When exporting a mailgun email provider, a placholder api key will be included in the export..
|
|
260
389
|
|
|
261
390
|
## [4.0.3] - 2020-03-18
|
|
391
|
+
|
|
262
392
|
### Fixed
|
|
393
|
+
|
|
263
394
|
- Programmatic usage will not complain about args. [#215]
|
|
264
395
|
|
|
265
396
|
## [4.0.2] - 2020-02-28
|
|
397
|
+
|
|
266
398
|
### Added
|
|
399
|
+
|
|
267
400
|
- Included Deploy CLI version number in User-Agent header.
|
|
268
401
|
- If no command line arguments are passed, the usage statement will be printed.
|
|
269
402
|
|
|
270
403
|
## [4.0.1] - 2020-02-05
|
|
404
|
+
|
|
271
405
|
### Changed
|
|
406
|
+
|
|
272
407
|
- Update `auth0-source-control-extension-tools`
|
|
273
408
|
|
|
274
409
|
### Fixed
|
|
410
|
+
|
|
275
411
|
- Fixed import and export errors when roles and hooks are not available
|
|
276
412
|
|
|
277
413
|
## [4.0.0] - 2020-01-29
|
|
414
|
+
|
|
278
415
|
### Added
|
|
416
|
+
|
|
279
417
|
- Add support for Hooks and Hook Secrets
|
|
280
418
|
- Update `auth0`, `auth0-extension-tools`, `auth0-source-control-extension-tools`, and `js-yaml`
|
|
281
419
|
|
|
282
420
|
## [3.6.7] - 2020-01-08
|
|
421
|
+
|
|
283
422
|
### Fixed
|
|
423
|
+
|
|
284
424
|
- Fixed a crash when no roles are present in a tenant during an export
|
|
285
425
|
|
|
286
426
|
## [3.6.5] - 2019-12-19
|
|
427
|
+
|
|
287
428
|
### Added
|
|
429
|
+
|
|
288
430
|
- Add readonly flag `remove_stale_idp_attributes`
|
|
289
431
|
|
|
290
432
|
## [3.6.4] - 2019-12-04
|
|
433
|
+
|
|
291
434
|
### Changed
|
|
435
|
+
|
|
292
436
|
- Update `https-proxy-agent` and `js-yaml`
|
|
293
437
|
|
|
294
438
|
## [3.6.3] - 2019-11-04
|
|
439
|
+
|
|
295
440
|
### Added
|
|
441
|
+
|
|
296
442
|
- Add `AUTH0_API_MAX_RETRIES` support
|
|
297
443
|
|
|
298
444
|
## [3.6.2] - 2019-10-18
|
|
445
|
+
|
|
299
446
|
### Fixed
|
|
447
|
+
|
|
300
448
|
- Fix mapping for passwordless email connection template
|
|
301
449
|
|
|
302
450
|
## [3.6.1] - 2019-09-27
|
|
451
|
+
|
|
303
452
|
### Removed
|
|
453
|
+
|
|
304
454
|
- Removed `--verbose` option
|
|
305
455
|
|
|
306
456
|
## [3.6.0] - 2019-08-26
|
|
457
|
+
|
|
307
458
|
### Changed
|
|
459
|
+
|
|
308
460
|
- Update `auth0-extension-tools`
|
|
309
461
|
|
|
310
462
|
### Fixed
|
|
463
|
+
|
|
311
464
|
- Clear empty descriptions on roles
|
|
312
465
|
|
|
313
466
|
## [3.5.0] - 2019-08-14
|
|
467
|
+
|
|
314
468
|
### Added
|
|
469
|
+
|
|
315
470
|
- Ability to exclude connections and databases (AUTH0_EXCLUDED_CONNECTIONS & AUTH0_EXCLUDED_DATABASES)
|
|
316
471
|
|
|
317
472
|
### Fixed
|
|
473
|
+
|
|
318
474
|
- Excludes for yaml import
|
|
319
475
|
|
|
320
476
|
## [3.4.0] - 2019-07-15
|
|
477
|
+
|
|
321
478
|
### Added
|
|
479
|
+
|
|
322
480
|
- Load email template for passwordless email connection from external html file [#124]
|
|
323
481
|
- Load custom_login_page template for client from external html file [#138]
|
|
324
482
|
|
|
325
483
|
## [3.3.2] - 2019-07-11
|
|
484
|
+
|
|
326
485
|
### Changed
|
|
486
|
+
|
|
327
487
|
- pin minor version of source-control-tools@~3.4.1
|
|
328
488
|
|
|
329
489
|
## [3.3.1] - 2019-06-13
|
|
490
|
+
|
|
330
491
|
### Fixed
|
|
492
|
+
|
|
331
493
|
- `allowed_clients`, `allowed_logout_urls`, `allowed_origins` and `callbacks` properties of the `client` can no longer be exported as `null`
|
|
332
494
|
|
|
333
495
|
## [3.3.0] - 2019-04-22
|
|
496
|
+
|
|
334
497
|
### Added
|
|
498
|
+
|
|
335
499
|
- Support for roles and permissions export and import
|
|
336
500
|
|
|
337
501
|
## [3.2.0] - 2019-04-12
|
|
502
|
+
|
|
338
503
|
### Changed
|
|
504
|
+
|
|
339
505
|
- Secrets (`rules configs` and databases `options.configuration`) can no longer be exported
|
|
340
506
|
|
|
341
507
|
## [3.1.3] - 2019-04-03
|
|
508
|
+
|
|
342
509
|
### Added
|
|
510
|
+
|
|
343
511
|
- Clearing empty tenant flags on `import`
|
|
344
512
|
|
|
345
513
|
## [3.1.2] - 2019-03-22
|
|
514
|
+
|
|
346
515
|
### Added
|
|
516
|
+
|
|
347
517
|
- Consistent property sorting for yaml dump [#108] [#61] [#82]
|
|
348
518
|
|
|
349
519
|
## [3.1.1] - 2019-03-15
|
|
520
|
+
|
|
350
521
|
### Fixed
|
|
522
|
+
|
|
351
523
|
- Exit status code on error [#107]
|
|
352
524
|
|
|
353
525
|
## [3.1.0] - 2019-03-14
|
|
526
|
+
|
|
354
527
|
### Added
|
|
528
|
+
|
|
355
529
|
- `AUTH0_EXCLUDED_CLIENTS` option has been added to the config. Works similar to `AUTH0_EXCLUDED_RULES` and `AUTH0_EXCLUDED_RESOURCE_SERVERS`. [#102]
|
|
356
530
|
|
|
357
531
|
## [3.0.2] - 2019-03-12
|
|
532
|
+
|
|
358
533
|
### Fixed
|
|
534
|
+
|
|
359
535
|
- Remove empty `flags` property from tenant settings [#104]
|
|
360
536
|
|
|
361
537
|
## [3.0.1] - 2019-03-04
|
|
538
|
+
|
|
362
539
|
### Fixed
|
|
540
|
+
|
|
363
541
|
- fix readonly `flags.enable_sso`
|
|
364
542
|
|
|
365
543
|
## [3.0.0] - 2019-03-04
|
|
544
|
+
|
|
366
545
|
### Added
|
|
546
|
+
|
|
367
547
|
- Options added to the config:
|
|
368
548
|
- `INCLUDED_PROPS` - enables export of properties that are excluded by default (e.g. `client_secret`)
|
|
369
549
|
- `EXCLUDED_PROPS` - provides ability to exclude any unwanted properties from exported objects
|
|
370
550
|
|
|
371
551
|
### Changed
|
|
552
|
+
|
|
372
553
|
- `--strip` option has been removed from `export` command. Now **IDs will be stripped by default**. `AUTH0_EXPORT_IDENTIFIERS: true` or `--export_ids` can be used to override.
|
|
373
554
|
|
|
374
555
|
## [2.3.3] - 2019-03-04
|
|
556
|
+
|
|
375
557
|
### Fixed
|
|
558
|
+
|
|
376
559
|
- backport readonly `flags.enable_sso`
|
|
377
560
|
|
|
378
561
|
## [2.3.2] - 2019-03-02
|
|
562
|
+
|
|
379
563
|
### Changed
|
|
564
|
+
|
|
380
565
|
- set `enable_sso` and `sandbox_version` as readonly properties
|
|
381
566
|
- alias `export = dump` and `import = deploy` for programmatic usage
|
|
382
567
|
|
|
383
568
|
## [2.3.1] - 2019-02-27
|
|
569
|
+
|
|
384
570
|
### Changed
|
|
571
|
+
|
|
385
572
|
- convert non-integer `session_lifetime` to minutes [#95]
|
|
386
573
|
- update `auth0-source-control-extension-tools`
|
|
387
574
|
- Fix email provider export
|
|
388
575
|
- Process empty arrays of databases
|
|
389
576
|
|
|
390
577
|
## [2.3.0] - 2019-02-21
|
|
578
|
+
|
|
391
579
|
### Changed
|
|
580
|
+
|
|
392
581
|
- Empty arrays in the `tenant.yaml` (`clients: []`) will now lead to deleting all relevant records from the tenant. [#89]
|
|
393
582
|
- Update environment variable explanation in READMEs. [#90]
|
|
394
583
|
- Sanitize file and folder names. [#92]
|
|
395
584
|
|
|
396
585
|
## [2.2.5] - 2019-02-04
|
|
586
|
+
|
|
397
587
|
### Changed
|
|
588
|
+
|
|
398
589
|
- Fix for using the wrong proxy reference. [#80]
|
|
399
590
|
|
|
400
591
|
## [2.2.4] - 2019-01-17
|
|
592
|
+
|
|
401
593
|
### Added
|
|
594
|
+
|
|
402
595
|
- Added 'name' prop to pages examples [#76]
|
|
403
596
|
|
|
404
597
|
### Changed
|
|
598
|
+
|
|
405
599
|
- Fix various schema validation issues. auth0-extensions/auth0-source-control-extension-tools PRs [#52] thru [#57]
|
|
406
600
|
|
|
407
601
|
## 2.2.0 - 2018-11-28
|
|
602
|
+
|
|
408
603
|
### Changed
|
|
604
|
+
|
|
409
605
|
- Update package dependency which contains security vulnerabilities.
|
|
410
606
|
|
|
411
607
|
[#52]: https://github.com/auth0/auth0-deploy-cli/issues/52
|
|
@@ -452,8 +648,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
452
648
|
[#430]: https://github.com/auth0/auth0-deploy-cli/issues/430
|
|
453
649
|
[#432]: https://github.com/auth0/auth0-deploy-cli/issues/432
|
|
454
650
|
[#436]: https://github.com/auth0/auth0-deploy-cli/issues/436
|
|
455
|
-
|
|
456
|
-
[
|
|
651
|
+
[#438]: https://github.com/auth0/auth0-deploy-cli/issues/438
|
|
652
|
+
[#453]: https://github.com/auth0/auth0-deploy-cli/issues/453
|
|
653
|
+
[#468]: https://github.com/auth0/auth0-deploy-cli/issues/468
|
|
654
|
+
[#471]: https://github.com/auth0/auth0-deploy-cli/issues/471
|
|
655
|
+
[unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.7.0...HEAD
|
|
656
|
+
[7.7.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.6.0...v7.7.0
|
|
657
|
+
[7.6.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.2...v7.6.0
|
|
658
|
+
[7.5.2]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.1...v7.5.2
|
|
457
659
|
[7.5.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.0...v7.5.1
|
|
458
660
|
[7.5.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.4.0...v7.5.0
|
|
459
661
|
[7.4.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.3.7...v7.4.0
|
package/CONTRIBUTING.md
CHANGED
|
@@ -7,7 +7,7 @@ Ensure that before running the versioning scripts below, the Unreleased changelo
|
|
|
7
7
|
### Production Versioning
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npm version patch --no-git-tag-version
|
|
10
|
+
npm version patch --no-git-tag-version
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
### Beta Versioning
|
|
@@ -25,4 +25,4 @@ Publishing the beta should be done manually:
|
|
|
25
25
|
```sh
|
|
26
26
|
npm run build
|
|
27
27
|
npm publish --tag beta
|
|
28
|
-
```
|
|
28
|
+
```
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@ Auth0 supports continuous integration and deployment (CI/CD) of Auth0 Tenants an
|
|
|
5
5
|
The `auth0-deploy-cli` tool supports the importing and exporting of Auth0 Tenant configuration data.
|
|
6
6
|
|
|
7
7
|
Supported Auth0 Management API resources
|
|
8
|
+
|
|
8
9
|
- [x] [Actions](https://auth0.com/docs/api/management/v2/#!/Actions/get_actions)
|
|
9
10
|
- [ ] [Branding](https://auth0.com/docs/api/management/v2/#!/Branding/get_branding)
|
|
10
11
|
- [x] [Clients (Applications)](https://auth0.com/docs/api/management/v2#!/Clients/get_clients)
|
|
@@ -47,7 +48,9 @@ Supported Auth0 Management API resources
|
|
|
47
48
|
Please visit Auth0 Doc for this [Deploy CLI Tool](https://auth0.com/docs/deploy/deploy-cli-tool)
|
|
48
49
|
|
|
49
50
|
# Integrating with popular CI/CD pipelines
|
|
51
|
+
|
|
50
52
|
Please visit Auth0 Marketplace Guide for:
|
|
53
|
+
|
|
51
54
|
- [Azure Pipelines](https://marketplace.auth0.com/integrations/azure-pipeline)
|
|
52
55
|
- [Bitbucket Pipelines](https://marketplace.auth0.com/integrations/bitbucket-pipeline)
|
|
53
56
|
- [GitLab Pipelines](https://marketplace.auth0.com/integrations/gitlab-pipeline)
|