Skip to content

Commit 8d50108

Browse files
authored
v4.17.0 - Summer '25 Release (API v64.0) (#925)
* Bumped all metadata to API v64.0 (Spring '26 release) * *Also updated the list of picklist values in several 'API version' picklist fields on Log__c and LogEntry__c * Updated Logger to more accurately reflect the current quiddity value when logging the system message Logger - Saving X log entries via <quiddity> * Updated CallableLogger to use List<String> instead of List<Object> for tags passed in via OmniStudio * Previously using List<Object> caused some exceptions, and the values should always be strings anyway * Updated logger LWC to reflect the latest changes in Salesforce's JavaScript stack traces * These changes broke the previous stack trace parsing logic - hopefully the modified logic is more resilient to future changes * The Jest tests in logger.test.js have also been expanded to include parsing examples of stack traces from Chrome, Firefox, Edge - with & without debug mode (which can make a difference in the stack traces & parsing logic) * Updated logger LWC to immediately instantiate an internal instance of LoggerService * This was previously done in connectedCallback, which added an extra unnecessary event cycle that could cause some occasional goofiness * Upgraded the version of PrismJS in LoggerResources static resource from 1.29.0 to 1.30.0 * Updated some CSS in loggerCodeViewer.css to correct some rendering issues due to changes in SLDS + SLDS v2 * Fixed an issue in loggerCodeViewer that caused PrismJS's line highlighting to not work correctly when only 1 instance of loggerCodeViewer (used by other LWCs like logEntryMetadataViewer) was on a page * Added more Jest tests in to the LWCs tests below to validate existing functionality that wasn't previously covered by tests: * Added a recipes LWC loggerWrapper to mimic orgs that use Nebula Logger's logger LWC through their own logging LWC * Updated LogEntryEventHandler_Tests to only use mock CMDT records (instead of relying on the metadata records deployed to the org) * All other test classes were previously updated to only use mock records, but this particular test class was overlooked * Updated pipeline-only tests in LogEntryEventHandler_Tests_FieldMappings.cls to validate that custom picklist fields with restricted values are handled properly * Updated scratch org definition files to tweak how OmniStudio is enabled in scratch orgs * Updated pipeline & local dev scripts to use OmniStudio managed package v258.6 (Winter '26 release) * Upgraded some dev dependencies in package.json
1 parent 1adf4de commit 8d50108

353 files changed

Lines changed: 27484 additions & 8874 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ jobs:
156156
run: npx sf org create scratch --no-namespace --no-track-source --duration-days 1 --definition-file ./config/scratch-orgs/advanced-scratch-def.json --wait 20 --set-default --json
157157

158158
# https://help.salesforce.com/s/articleView?id=000394906&type=1
159-
- name: 'Install OmniStudio managed package v250.7.1 (Summer ‘24 release)'
160-
run: npx sf package install --package 04t4W000002Z6oC --security-type AdminsOnly --wait 30 --no-prompt
159+
- name: "Install OmniStudio managed package v258.6 (Winter '26 release)"
160+
run: npx sf package install --package 04tKb000000tAtyIAE --security-type AdminsOnly --wait 30 --no-prompt
161161

162162
# To ensure that all of the Apex classes in the core directory have 75+ code coverage,
163163
# deploy only the core directory & run all of its tests as part of the deployment, using `--test-level RunLocalTests`
@@ -452,8 +452,8 @@ jobs:
452452
run: npx sf org create scratch --no-namespace --no-track-source --duration-days 1 --definition-file ./config/scratch-orgs/omnistudio-scratch-def.json --wait 20 --set-default --json
453453

454454
# https://help.salesforce.com/s/articleView?id=000394906&type=1
455-
- name: 'Install OmniStudio managed package v250.7.1 (Summer ‘24 release)'
456-
run: npx sf package install --package 04t4W000002Z6oC --security-type AdminsOnly --wait 30 --no-prompt
455+
- name: "Install OmniStudio managed package v258.6 (Winter '26 release)"
456+
run: npx sf package install --package 04tKb000000tAtyIAE --security-type AdminsOnly --wait 30 --no-prompt
457457

458458
# To ensure that all of the Apex classes in the core directory have 75+ code coverage,
459459
# deploy only the core directory & run all of its tests as part of the deployment, using `--test-level RunLocalTests`

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ yarn.lock
1919
# Files to exclude
2020
*.log
2121
*.xml
22+
23+
# Prism JS
24+
# The CSS for Prism has specifically been modified for Nebula Logger (a bit), so it's NOT ignored.
25+
# nebula-logger/core/main/log-management/staticresources/LoggerResources/prism.css
26+
# The minified JS is taken as-is, so no need for prettier to format it.
27+
nebula-logger/core/main/log-management/staticresources/LoggerResources/prism.js

README.md

Lines changed: 8 additions & 8 deletions

config/jest/mocks/lightning/empApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const jestMockPublish = jest.fn((channel, message) => {
1414
// On subscribe, store the callback function and resolve the promise
1515
export const subscribe = jest.fn((channel, replayId, onMessageCallback) => {
1616
_channels[channel] = { onMessageCallback };
17-
Promise.resolve({
17+
return Promise.resolve({
1818
id: '_' + Date.now(),
1919
channel: channel,
2020
replayId: replayId

config/scratch-orgs/advanced-scratch-def.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"hasSampleData": true,
55
"country": "US",
66
"language": "en_US",
7-
"features": ["Communities", "EinsteinGPTPlatform", "EventLogFile", "OmniStudioDesigner", "OmniStudioMetadata", "OmniStudioRuntime", "PlatformCache"],
7+
"features": ["Communities", "EinsteinGPTPlatform", "EventLogFile", "OmniStudioDesigner", "OmniStudioRuntime", "PlatformCache"],
88
"settings": {
99
"apexSettings": {
1010
"enableAuraApexCtrlAuthUserAccessCheckPref": true,
@@ -33,6 +33,10 @@
3333
"flowSettings": {
3434
"canDebugFlowAsAnotherUser": true
3535
},
36+
"omniStudioSettings": {
37+
"enableOmniStudioMetadata": true,
38+
"enableStandardOmniStudioRuntime": true
39+
},
3640
"pathAssistantSettings": {
3741
"pathAssistantEnabled": true
3842
},
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
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>63.0</apiVersion>
3+
<apiVersion>64.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>
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
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>63.0</apiVersion>
3+
<apiVersion>64.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>
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
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>63.0</apiVersion>
3+
<apiVersion>64.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>
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
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>63.0</apiVersion>
3+
<apiVersion>64.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>
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
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>63.0</apiVersion>
3+
<apiVersion>64.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>

0 commit comments

Comments
 (0)