Skip to content

Commit e5fbba9

Browse files
authored
Summer '23 release (#39)
* feat: summer '23 release * fix: removed OrgLimits.getAll bug workaround * feat: update notification label
1 parent 2e12158 commit e5fbba9

23 files changed

+28
-25
lines changed

sfdx-project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
],
88
"namespace": "",
99
"sfdcLoginUrl": "https://login.salesforce.com",
10-
"sourceApiVersion": "56.0"
10+
"sourceApiVersion": "58.0"
1111
}

src/main/default/classes/StreamingMonitorController.cls

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ public abstract class StreamingMonitorController {
6767
public static List<OrgLimitWrapper> getOrgLimits() {
6868
// Can't output directly OrgLimit so we have to use a wrapper
6969
List<OrgLimitWrapper> output = new List<OrgLimitWrapper>();
70-
// Temporary hack in API v56.0: can't use OrgLimits.getAll() because it produces some duplicates in the limit list
71-
List<OrgLimit> limits = OrgLimits.getMap().values();
70+
List<OrgLimit> limits = OrgLimits.getAll();
7271
for (OrgLimit l : limits) {
7372
if (l.getLimit() != null && l.getValue() != null) {
7473
output.add(new OrgLimitWrapper(l));
@@ -312,7 +311,7 @@ public abstract class StreamingMonitorController {
312311
public void execute(QueueableContext context) {
313312
String restAPIURL =
314313
URL.getSalesforceBaseUrl().toExternalForm() +
315-
'/services/data/v56.0/sobjects/StreamingChannel/' +
314+
'/services/data/v58.0/sobjects/StreamingChannel/' +
316315
channelId +
317316
'/push';
318317
HttpRequest httpRequest = new HttpRequest();

src/main/default/classes/StreamingMonitorController.cls-meta.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
xmlns="urn:metadata.tooling.soap.sforce.com"
44
fqn="StreamingMonitorController"
55
>
6-
<apiVersion>56.0</apiVersion>
6+
<apiVersion>58.0</apiVersion>
77
<status>Active</status>
88
</ApexClass>

src/main/default/lwc/actions/actions.js-meta.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
xmlns="http://soap.sforce.com/2006/04/metadata"
44
fqn="actions"
55
>
6-
<apiVersion>56.0</apiVersion>
6+
<apiVersion>58.0</apiVersion>
77
<isExposed>false</isExposed>
88
</LightningComponentBundle>

src/main/default/lwc/actions/register.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
pushTopic.Name = 'ClosedCaseUpdates';<br />
2222
pushTopic.Query = 'SELECT Id, Subject FROM Case WHERE
2323
Status=\'Closed\'';<br />
24-
pushTopic.ApiVersion = 56.0;<br />
24+
pushTopic.ApiVersion = 58.0;<br />
2525
pushTopic.NotifyForOperationCreate = true;<br />
2626
pushTopic.NotifyForOperationUpdate = true;<br />
2727
pushTopic.NotifyForOperationUndelete = true;<br />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>56.0</apiVersion>
3+
<apiVersion>58.0</apiVersion>
44
<isExposed>false</isExposed>
55
</LightningComponentBundle>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>56.0</apiVersion>
3+
<apiVersion>58.0</apiVersion>
44
<isExposed>false</isExposed>
55
</LightningComponentBundle>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>56.0</apiVersion>
3+
<apiVersion>58.0</apiVersion>
44
<isExposed>false</isExposed>
55
</LightningComponentBundle>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>56.0</apiVersion>
3+
<apiVersion>58.0</apiVersion>
44
<isExposed>false</isExposed>
55
</LightningComponentBundle>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>56.0</apiVersion>
3+
<apiVersion>58.0</apiVersion>
44
<isExposed>false</isExposed>
55
</LightningComponentBundle>

0 commit comments

Comments
 (0)