@simplysf/simply 2.12.1 → 2.12.7

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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  Apache License Version 2.0
2
2
 
3
- Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ Copyright (c) 2026, Clay Chipps.
4
4
  All rights reserved.
5
5
 
6
6
  Apache License
package/README.md CHANGED
@@ -12,6 +12,10 @@ sf plugins install @simplysf/simply
12
12
 
13
13
  Please report any issues at https://github.com/SimplySF/simply-node/issues
14
14
 
15
+ ## Contributing
16
+
17
+ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/simply-node) monorepo. See [CONTRIBUTING.md](CONTRIBUTING.md) for what's specific to this package, and the repo's [root CONTRIBUTING.md](https://github.com/SimplySF/simply-node/blob/main/CONTRIBUTING.md) for repo structure, setup, commit conventions, and how to submit a pull request. Please also read our [Code of Conduct](https://github.com/SimplySF/simply-node/blob/main/CODE_OF_CONDUCT.md).
18
+
15
19
  ## Commands
16
20
 
17
21
  <!-- commands -->
@@ -80,13 +84,16 @@ Purge Apex debug logs.
80
84
 
81
85
  ```
82
86
  USAGE
83
- $ sf simply apex logs purge -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
87
+ $ sf simply apex logs purge -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>] [-b] [--wait
88
+ <value>]
84
89
 
85
90
  FLAGS
91
+ -b, --use-bulk-api Use Bulk API v2 to query and delete the logs.
86
92
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
87
93
  configuration variable is already set.
88
94
  -w, --where=<value> SOQL WHERE clause
89
95
  --api-version=<value> Override the api version used for api requests made by this command
96
+ --wait=<value> Number of minutes to wait for the Bulk API jobs to finish.
90
97
 
91
98
  GLOBAL FLAGS
92
99
  --flags-dir=<value> Import flag values from a directory.
@@ -103,10 +110,26 @@ EXAMPLES
103
110
 
104
111
  $ sf simply apex logs purge --target-org myOrg --where "Status = 'Success'"
105
112
 
113
+ $ sf simply apex logs purge --target-org myOrg --use-bulk-api
114
+
115
+ $ sf simply apex logs purge --target-org myOrg --use-bulk-api --wait 60
116
+
106
117
  FLAG DESCRIPTIONS
118
+ -b, --use-bulk-api Use Bulk API v2 to query and delete the logs.
119
+
120
+ Runs the whole purge as two Bulk API v2 jobs instead of a Tooling API query followed by chunked REST deletes. Bulk
121
+ API processes the deletion asynchronously and does not consume the org's REST API request limit, which suits purges
122
+ of tens of thousands of logs. For small purges the default REST path is faster, since it avoids the overhead of
123
+ creating, uploading, and polling a job.
124
+
107
125
  -w, --where=<value> SOQL WHERE clause
108
126
 
109
127
  A WHERE clause used to filter which ApexLog records are purged (e.g. "Status = 'Success'").
128
+
129
+ --wait=<value> Number of minutes to wait for the Bulk API jobs to finish.
130
+
131
+ Only applies with --use-bulk-api. The command polls the query and delete jobs until they complete or this timeout
132
+ elapses, then throws.
110
133
  ```
111
134
 
112
135
  _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.1.18/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
@@ -1124,3 +1147,7 @@ FLAG DESCRIPTIONS
1124
1147
 
1125
1148
  _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.4.9/packages/simply-sobject/lib/commands/simply/sobject/history/schema.js)_
1126
1149
  <!-- commandsstop -->
1150
+
1151
+ ## License
1152
+
1153
+ Licensed under the [Apache-2.0](https://raw.githubusercontent.com/SimplySF/simply-node/main/LICENSE.txt) license.
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
2
+ * Copyright (c) 2026, Clay Chipps.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplysf/simply",
3
3
  "description": "Salesforce CLI Plugins created by @SimplySF",
4
- "version": "2.12.1",
4
+ "version": "2.12.7",
5
5
  "author": "@ClayChipps",
6
6
  "homepage": "https://github.com/SimplySF/simply-node",
7
7
  "bugs": "https://github.com/SimplySF/simply-node/issues",
@@ -72,14 +72,14 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@oclif/core": "^4.11.2",
75
- "@simplysf/simply-apex": "^1.1.18",
76
- "@simplysf/simply-data": "^2.3.17",
77
- "@simplysf/simply-document": "^0.3.3",
78
- "@simplysf/simply-package": "^2.8.7",
79
- "@simplysf/simply-permissions": "^1.2.22",
80
- "@simplysf/simply-project": "^1.2.14",
81
- "@simplysf/simply-schema": "^0.3.8",
82
- "@simplysf/simply-sobject": "^1.4.9",
75
+ "@simplysf/simply-apex": "^1.3.3",
76
+ "@simplysf/simply-data": "^2.3.21",
77
+ "@simplysf/simply-document": "^0.3.6",
78
+ "@simplysf/simply-package": "^2.8.11",
79
+ "@simplysf/simply-permissions": "^1.2.26",
80
+ "@simplysf/simply-project": "^1.2.17",
81
+ "@simplysf/simply-schema": "^0.3.12",
82
+ "@simplysf/simply-sobject": "^1.4.13",
83
83
  "debug": "^4.4.3"
84
84
  },
85
85
  "devDependencies": {
@@ -167,5 +167,5 @@
167
167
  "output": []
168
168
  }
169
169
  },
170
- "gitHead": "b6604fc398051fa2f92ad8223dd8e214ba9e4988"
170
+ "gitHead": "72806767bdc7be2b10e4c7da2a074596db73c9f4"
171
171
  }