auth0-deploy-cli 8.29.0 → 8.29.1
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
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [8.29.1] - 2026-03-12
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fix bad request error when no `emailProvider` is configured. [#1321]
|
|
15
|
+
- Fix `enabled_clients` pagination for `connections`. [#1320]
|
|
16
|
+
|
|
10
17
|
## [8.29.0] - 2026-03-03
|
|
11
18
|
|
|
12
19
|
### Added
|
|
@@ -1669,7 +1676,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1669
1676
|
[#1302]: https://github.com/auth0/auth0-deploy-cli/issues/1302
|
|
1670
1677
|
[#1310]: https://github.com/auth0/auth0-deploy-cli/issues/1310
|
|
1671
1678
|
[#1311]: https://github.com/auth0/auth0-deploy-cli/issues/1311
|
|
1672
|
-
[
|
|
1679
|
+
[#1320]: https://github.com/auth0/auth0-deploy-cli/issues/1320
|
|
1680
|
+
[#1321]: https://github.com/auth0/auth0-deploy-cli/issues/1321
|
|
1681
|
+
[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v8.29.1...HEAD
|
|
1682
|
+
[8.29.1]: https://github.com/auth0/auth0-deploy-cli/compare/v8.29.0...v8.29.1
|
|
1673
1683
|
[8.29.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.28.0...v8.29.0
|
|
1674
1684
|
[8.28.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.27.0...v8.28.0
|
|
1675
1685
|
[8.27.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.26.0...v8.27.0
|
|
@@ -166,24 +166,8 @@ const getConnectionEnabledClients = async (auth0Client, connectionId) => {
|
|
|
166
166
|
if (!connectionId)
|
|
167
167
|
return null;
|
|
168
168
|
try {
|
|
169
|
-
const
|
|
170
|
-
|
|
171
|
-
// Process first page
|
|
172
|
-
enabledClients.data?.forEach((client) => {
|
|
173
|
-
if (client?.client_id) {
|
|
174
|
-
enabledClientsFormatted.push(client.client_id);
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
// Fetch remaining pages
|
|
178
|
-
while (enabledClients.hasNextPage()) {
|
|
179
|
-
enabledClients = await enabledClients.getNextPage();
|
|
180
|
-
enabledClients.data?.forEach((client) => {
|
|
181
|
-
if (client?.client_id) {
|
|
182
|
-
enabledClientsFormatted.push(client.client_id);
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
return enabledClientsFormatted;
|
|
169
|
+
const enabledClients = await (0, client_1.paginate)((params) => auth0Client.connections.clients.get(connectionId, params), { checkpoint: true, take: 100 });
|
|
170
|
+
return enabledClients.filter((client) => !!client?.client_id).map((client) => client.client_id);
|
|
187
171
|
}
|
|
188
172
|
catch (error) {
|
|
189
173
|
return null;
|
|
@@ -77,6 +77,9 @@ class EmailProviderHandler extends default_1.default {
|
|
|
77
77
|
// HTTP DELETE on emails/provider is not supported, as this is not part of our vNext SDK.
|
|
78
78
|
if (Object.keys(emailProvider).length === 0) {
|
|
79
79
|
if (this.config('AUTH0_ALLOW_DELETE') === true) {
|
|
80
|
+
// If no existing provider, there is nothing to delete
|
|
81
|
+
if (!existing.name)
|
|
82
|
+
return;
|
|
80
83
|
// await this.client.emails.delete(); is not supported
|
|
81
84
|
if ((0, lodash_1.isEmpty)(existing.credentials)) {
|
|
82
85
|
delete existing.credentials;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth0-deploy-cli",
|
|
3
|
-
"version": "8.29.
|
|
3
|
+
"version": "8.29.1",
|
|
4
4
|
"description": "A command line tool for deploying updates to your Auth0 tenant",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homepage": "https://github.com/auth0/auth0-deploy-cli#readme",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ajv": "^6.12.6",
|
|
36
|
-
"auth0": "^5.
|
|
36
|
+
"auth0": "^5.4.0",
|
|
37
37
|
"dot-prop": "^5.3.0",
|
|
38
38
|
"fs-extra": "^10.1.0",
|
|
39
39
|
"js-yaml": "^4.1.1",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@eslint/js": "^9.39.2",
|
|
51
51
|
"@types/fs-extra": "^9.0.13",
|
|
52
|
-
"@types/lodash": "^4.17.
|
|
52
|
+
"@types/lodash": "^4.17.24",
|
|
53
53
|
"@types/mocha": "^10.0.10",
|
|
54
54
|
"@types/nconf": "^0.10.7",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
56
|
-
"@typescript-eslint/parser": "^8.
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
56
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
57
57
|
"chai": "^4.5.0",
|
|
58
58
|
"chai-as-promised": "^7.1.2",
|
|
59
59
|
"eslint": "^9.39.2",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"sinon": "^13.0.2",
|
|
74
74
|
"sinon-chai": "^3.7.0",
|
|
75
75
|
"ts-mocha": "^11.1.0",
|
|
76
|
-
"typescript": "
|
|
76
|
+
"typescript": "~5.9.3"
|
|
77
77
|
},
|
|
78
78
|
"engines": {
|
|
79
79
|
"node": ">=20.19.0"
|