rflib-plugin 0.21.0 → 0.21.2

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.
@@ -3,7 +3,7 @@
3
3
  "rflib:packages:upgrade": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "Compares the RFLIB packages (RFLIB, RFLIB-FS, RFLIB-TF, RFLIB-PHAROS) installed in the target org with the latest package versions published in the RFLIB GitHub repository (https://github.com/j-fischer/rflib).\n\nFor every installed package with a newer version available, the command asks whether to install the upgrade and, if confirmed, starts the installation in the target org. Upgrades are installed one at a time in dependency order (RFLIB first), and the remaining upgrades are skipped if an installation does not complete successfully.\n\nPackages that are not installed in the target org are only reported; this command never installs a package that isn't already present.\n\nUse --dryrun to only report the available upgrades, or --no-prompt to install all available upgrades without asking for confirmation. When --json is specified without --no-prompt, no upgrades are installed.",
6
+ "description": "Compares the RFLIB packages (RFLIB, RFLIB-FS, RFLIB-TF, RFLIB-PHAROS) installed in the target org with the latest package versions published in the RFLIB GitHub repository (https://github.com/j-fischer/rflib).\n\nNew package versions are listed in the repository before they are released. The command asks Salesforce for the release state of each version and only offers released versions. Newer versions that aren't released yet are reported and skipped.\n\nFor every installed package with a newer version available, the command asks whether to install the upgrade and, if confirmed, starts the installation in the target org. Upgrades are installed one at a time in dependency order (RFLIB first), and the remaining upgrades are skipped if an installation does not complete successfully.\n\nPackages that are not installed in the target org are only reported; this command never installs a package that isn't already present.\n\nUse --dryrun to only report the available upgrades, or --no-prompt to install all available upgrades without asking for confirmation. When --json is specified without --no-prompt, no upgrades are installed.",
7
7
  "examples": [
8
8
  "Check the RFLIB packages installed in an org and choose which upgrades to install:\n$ sf rflib packages upgrade --target-org myOrg",
9
9
  "Report the available upgrades without installing anything:\n$ sf rflib packages upgrade --target-org myOrg --dryrun",
@@ -93,6 +93,106 @@
93
93
  "upgrade:packages:rflib"
94
94
  ]
95
95
  },
96
+ "rflib:debug:logarchives:get": {
97
+ "aliases": [],
98
+ "args": {},
99
+ "description": "Retrieves rflib_Logs_Archive__b records from the target org's big object store via the Salesforce REST API.\nEach log record contains log level, context, request ID, and full log messages in the format: [timestamp]|[LEVEL]|[TRACE_ID]|[CONTEXT]|[MESSAGE].\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to rflib_Logs_Archive__b).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
100
+ "examples": [
101
+ "Get log archives from the last 24 hours:\n$ sf rflib debug logarchives get --target-org myOrg",
102
+ "Get log archives for a specific date range:\n$ sf rflib debug logarchives get --target-org myOrg --start-date 2024-01-01T00:00:00Z --end-date 2024-01-02T00:00:00Z"
103
+ ],
104
+ "flags": {
105
+ "json": {
106
+ "description": "Format output as json.",
107
+ "helpGroup": "GLOBAL",
108
+ "name": "json",
109
+ "allowNo": false,
110
+ "type": "boolean"
111
+ },
112
+ "flags-dir": {
113
+ "helpGroup": "GLOBAL",
114
+ "name": "flags-dir",
115
+ "summary": "Import flag values from a directory.",
116
+ "hasDynamicHelp": false,
117
+ "multiple": false,
118
+ "type": "option"
119
+ },
120
+ "target-org": {
121
+ "char": "o",
122
+ "description": "The username or alias of the Salesforce org containing the RFLIB base package.",
123
+ "name": "target-org",
124
+ "noCacheDefault": true,
125
+ "required": true,
126
+ "summary": "Username or alias of the target org.",
127
+ "hasDynamicHelp": true,
128
+ "multiple": false,
129
+ "type": "option"
130
+ },
131
+ "start-date": {
132
+ "char": "s",
133
+ "description": "Only return log archives created on or after this date. Must be in ISO 8601 format, e.g. 2024-01-01T00:00:00Z. Defaults to 24 hours ago if omitted.",
134
+ "name": "start-date",
135
+ "summary": "Start of the date range in ISO 8601 format. Defaults to 24 hours ago.",
136
+ "hasDynamicHelp": false,
137
+ "multiple": false,
138
+ "type": "option"
139
+ },
140
+ "end-date": {
141
+ "char": "d",
142
+ "description": "Only return log archives created on or before this date. Must be in ISO 8601 format, e.g. 2024-12-31T23:59:59Z. Defaults to the current time if omitted.",
143
+ "name": "end-date",
144
+ "summary": "End of the date range in ISO 8601 format. Defaults to now.",
145
+ "hasDynamicHelp": false,
146
+ "multiple": false,
147
+ "type": "option"
148
+ }
149
+ },
150
+ "hasDynamicHelp": true,
151
+ "hiddenAliases": [],
152
+ "id": "rflib:debug:logarchives:get",
153
+ "pluginAlias": "rflib-plugin",
154
+ "pluginName": "rflib-plugin",
155
+ "pluginType": "core",
156
+ "strict": true,
157
+ "summary": "Query RFLIB log archives from a Salesforce org.",
158
+ "enableJsonFlag": true,
159
+ "isESM": true,
160
+ "relativePath": [
161
+ "lib",
162
+ "commands",
163
+ "rflib",
164
+ "debug",
165
+ "logarchives",
166
+ "get.js"
167
+ ],
168
+ "aliasPermutations": [],
169
+ "permutations": [
170
+ "rflib:debug:logarchives:get",
171
+ "debug:rflib:logarchives:get",
172
+ "debug:logarchives:rflib:get",
173
+ "debug:logarchives:get:rflib",
174
+ "rflib:logarchives:debug:get",
175
+ "logarchives:rflib:debug:get",
176
+ "logarchives:debug:rflib:get",
177
+ "logarchives:debug:get:rflib",
178
+ "rflib:logarchives:get:debug",
179
+ "logarchives:rflib:get:debug",
180
+ "logarchives:get:rflib:debug",
181
+ "logarchives:get:debug:rflib",
182
+ "rflib:debug:get:logarchives",
183
+ "debug:rflib:get:logarchives",
184
+ "debug:get:rflib:logarchives",
185
+ "debug:get:logarchives:rflib",
186
+ "rflib:get:debug:logarchives",
187
+ "get:rflib:debug:logarchives",
188
+ "get:debug:rflib:logarchives",
189
+ "get:debug:logarchives:rflib",
190
+ "rflib:get:logarchives:debug",
191
+ "get:rflib:logarchives:debug",
192
+ "get:logarchives:rflib:debug",
193
+ "get:logarchives:debug:rflib"
194
+ ]
195
+ },
96
196
  "rflib:debug:applicationevents:get": {
97
197
  "aliases": [],
98
198
  "args": {},
@@ -540,106 +640,6 @@
540
640
  "get:userpermissions:debug:rflib"
541
641
  ]
542
642
  },
543
- "rflib:debug:logarchives:get": {
544
- "aliases": [],
545
- "args": {},
546
- "description": "Retrieves rflib_Logs_Archive__b records from the target org's big object store via the Salesforce REST API.\nEach log record contains log level, context, request ID, and full log messages in the format: [timestamp]|[LEVEL]|[TRACE_ID]|[CONTEXT]|[MESSAGE].\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to rflib_Logs_Archive__b).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
547
- "examples": [
548
- "Get log archives from the last 24 hours:\n$ sf rflib debug logarchives get --target-org myOrg",
549
- "Get log archives for a specific date range:\n$ sf rflib debug logarchives get --target-org myOrg --start-date 2024-01-01T00:00:00Z --end-date 2024-01-02T00:00:00Z"
550
- ],
551
- "flags": {
552
- "json": {
553
- "description": "Format output as json.",
554
- "helpGroup": "GLOBAL",
555
- "name": "json",
556
- "allowNo": false,
557
- "type": "boolean"
558
- },
559
- "flags-dir": {
560
- "helpGroup": "GLOBAL",
561
- "name": "flags-dir",
562
- "summary": "Import flag values from a directory.",
563
- "hasDynamicHelp": false,
564
- "multiple": false,
565
- "type": "option"
566
- },
567
- "target-org": {
568
- "char": "o",
569
- "description": "The username or alias of the Salesforce org containing the RFLIB base package.",
570
- "name": "target-org",
571
- "noCacheDefault": true,
572
- "required": true,
573
- "summary": "Username or alias of the target org.",
574
- "hasDynamicHelp": true,
575
- "multiple": false,
576
- "type": "option"
577
- },
578
- "start-date": {
579
- "char": "s",
580
- "description": "Only return log archives created on or after this date. Must be in ISO 8601 format, e.g. 2024-01-01T00:00:00Z. Defaults to 24 hours ago if omitted.",
581
- "name": "start-date",
582
- "summary": "Start of the date range in ISO 8601 format. Defaults to 24 hours ago.",
583
- "hasDynamicHelp": false,
584
- "multiple": false,
585
- "type": "option"
586
- },
587
- "end-date": {
588
- "char": "d",
589
- "description": "Only return log archives created on or before this date. Must be in ISO 8601 format, e.g. 2024-12-31T23:59:59Z. Defaults to the current time if omitted.",
590
- "name": "end-date",
591
- "summary": "End of the date range in ISO 8601 format. Defaults to now.",
592
- "hasDynamicHelp": false,
593
- "multiple": false,
594
- "type": "option"
595
- }
596
- },
597
- "hasDynamicHelp": true,
598
- "hiddenAliases": [],
599
- "id": "rflib:debug:logarchives:get",
600
- "pluginAlias": "rflib-plugin",
601
- "pluginName": "rflib-plugin",
602
- "pluginType": "core",
603
- "strict": true,
604
- "summary": "Query RFLIB log archives from a Salesforce org.",
605
- "enableJsonFlag": true,
606
- "isESM": true,
607
- "relativePath": [
608
- "lib",
609
- "commands",
610
- "rflib",
611
- "debug",
612
- "logarchives",
613
- "get.js"
614
- ],
615
- "aliasPermutations": [],
616
- "permutations": [
617
- "rflib:debug:logarchives:get",
618
- "debug:rflib:logarchives:get",
619
- "debug:logarchives:rflib:get",
620
- "debug:logarchives:get:rflib",
621
- "rflib:logarchives:debug:get",
622
- "logarchives:rflib:debug:get",
623
- "logarchives:debug:rflib:get",
624
- "logarchives:debug:get:rflib",
625
- "rflib:logarchives:get:debug",
626
- "logarchives:rflib:get:debug",
627
- "logarchives:get:rflib:debug",
628
- "logarchives:get:debug:rflib",
629
- "rflib:debug:get:logarchives",
630
- "debug:rflib:get:logarchives",
631
- "debug:get:rflib:logarchives",
632
- "debug:get:logarchives:rflib",
633
- "rflib:get:debug:logarchives",
634
- "get:rflib:debug:logarchives",
635
- "get:debug:rflib:logarchives",
636
- "get:debug:logarchives:rflib",
637
- "rflib:get:logarchives:debug",
638
- "get:rflib:logarchives:debug",
639
- "get:logarchives:rflib:debug",
640
- "get:logarchives:debug:rflib"
641
- ]
642
- },
643
643
  "rflib:logging:apex:instrument": {
644
644
  "aliases": [],
645
645
  "args": {},
@@ -949,7 +949,7 @@
949
949
  },
950
950
  "target-org": {
951
951
  "char": "o",
952
- "description": "The Salesforce org the instrumented Flows will be deployed to. The command checks the version of the RFLIB package installed in this org to decide whether fault paths can be instrumented.",
952
+ "description": "The Salesforce org the instrumented Flows will be deployed to. The fault paths this command creates use the Terminate Transaction option of the RFLIB Log Message action, which was added in RFLIB 11.4.0, so Flows that use it fail to deploy to an org running an older RFLIB version. Before changing any files, the command runs a single read-only Tooling API query for the packages installed in this org. If RFLIB 11.4.0 or later is installed, fault paths are instrumented; if an older version is installed, or RFLIB is not installed as a package, they are skipped with a warning. Nothing in the org is changed. The flag is required even with --skip-fault-paths, although the org is not queried in that case.",
953
953
  "name": "target-org",
954
954
  "noCacheDefault": true,
955
955
  "required": true,
@@ -1202,5 +1202,5 @@
1202
1202
  ]
1203
1203
  }
1204
1204
  },
1205
- "version": "0.21.0"
1205
+ "version": "0.21.2"
1206
1206
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rflib-plugin",
3
3
  "description": "Utility commands to help with the adoption of the RFLIB open-source library for Salesforce.",
4
- "version": "0.21.0",
4
+ "version": "0.21.2",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4.14.0",
7
7
  "@salesforce/core": "^8.32.6",