Skip to content

Commit 323fa77

Browse files
authored
v4.16.0 - Spring '25 Release (API v63.0) (#859)
* Bumped all metadata to API v63.0 - Spring '25 Release * Greatly simplified management of field permissions in all permissions sets by using the new object-level permission option <viewAllFields> (added in Spring '25) * Fixed #837 by changing how some fields are set on new OmniStudio entries to avoid a NullPointerException when the entry's logging level doesn't meet the user's logging level * Scope creep: added the ability in CallableLogger to override shouldSave on new entries, similar to using Logger method overloads like Logger.newEntry(System.LoggingLevel loggingLevel, String message, Boolean shouldSave) * Suppressed some PMD warnings in LogEntryEventHandler that now occur in the upgraded version of sfdx scanner * The code itself hasn't changed in a long time, but now PMD complains :-/ * Upgraded several devDependencies in package.json * Created devcontainer.json and Dockerfile to use for a (hopefully) consistent & reproducable dev setup * Added new GitHub action to auto-publish a Docker image, based on .devcontainer/Dockerfile * Eventually, this will be used both for 'local' dev & within the pipeline (build.yml)
1 parent 12926c7 commit 323fa77

File tree

292 files changed

+9869
-35046
lines changed

Some content is hidden

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

292 files changed

+9869
-35046
lines changed

.devcontainer/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM salesforce/cli:2.82.6-full
2+
3+
# Set up sf plugins
4+
RUN mkdir $HOME/.config && mkdir $HOME/.config/sf \
5+
# && echo '[ "@jongpie/sfdx-bummer-plugin", "jamessimone/sf-trace-plugin", "sf-trace-plugin" ]' > $HOME/.config/sf/unsignedPluginAllowList.json \
6+
&& echo '[ "@jongpie/sfdx-bummer-plugin" ]' > $HOME/.config/sf/unsignedPluginAllowList.json \
7+
# TODO migrate all scripts (including in build.yml) to use
8+
# the new code-analyzer plugin / eliminate sfdx-scanner
9+
&& sf plugins install code-analyzer@ \
10+
# && sf plugins install @salesforce/sfdx-scanner \
11+
&& sf plugins install @jongpie/sfdx-bummer-plugin \
12+
&& echo y | sf plugins install jamessimone/sf-trace-plugin
13+
14+
# Set up Oh My Bash
15+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" \
16+
&& sed -i 's/OSH_THEME=.*/OSH_THEME="agnoster"/' ~/.bashrc
17+
18+
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
19+
ENV PATH=$JAVA_HOME/bin:$PATH

.devcontainer/devcontainer.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"name": "Nebula Logger Dev Container",
3+
"dockerFile": "Dockerfile",
4+
"features": {},
5+
"remoteUser": "root",
6+
"mounts": [
7+
"source=${localWorkspaceFolder}/.npm,target=/home/vscode/.npm,type=bind",
8+
"source=${localWorkspaceFolder}/.sf,target=/home/vscode/.sf,type=bind",
9+
"source=${localWorkspaceFolder}/.sfdx,target=/home/vscode/.sfdx,type=bind"
10+
],
11+
"postCreateCommand": "npm ci",
12+
"customizations": {
13+
"vscode": {
14+
"settings": {
15+
"codeAnalyzer.enableV5": true,
16+
"editor.defaultFormatter": "esbenp.prettier-vscode",
17+
"editor.formatOnSave": true,
18+
"explorer.copyRelativePathSeparator": "/",
19+
"explorer.fileNesting.enabled": true,
20+
"explorer.fileNesting.expand": false,
21+
"explorer.fileNesting.patterns": {
22+
"*.cls": "${capture}.cls-meta.xml",
23+
"*.page": "${capture}.page-meta.xml",
24+
"*.trigger": "${capture}.trigger-meta.xml",
25+
"*.view": "${capture}.view-meta.xml",
26+
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, bun.lock"
27+
},
28+
"files.autoSave": "onFocusChange",
29+
"files.trimTrailingWhitespace": true,
30+
"gitlens.views.scm.grouped.views": {
31+
"branches": false,
32+
"commits": false,
33+
"contributors": false,
34+
"launchpad": false,
35+
"remotes": false,
36+
"repositories": false,
37+
"searchAndCompare": false,
38+
"stashes": false,
39+
"tags": false,
40+
"worktrees": false
41+
},
42+
"salesforcedx-vscode-apex.java.home": "/usr/lib/jvm/java-11-openjdk-amd64",
43+
"salesforcedx-vscode-core.show-cli-success-msg": false,
44+
"terminal.integrated.defaultProfile.linux": "bash"
45+
},
46+
"extensions": [
47+
"albymor.increment-selection",
48+
"bibhasdn.unique-lines",
49+
"chuckjonas.apex-pmd",
50+
"dbaeumer.vscode-eslint",
51+
"eamodio.gitlens",
52+
"esbenp.prettier-vscode",
53+
"financialforce.lana",
54+
"github.vscode-github-actions",
55+
"github.vscode-pull-request-github",
56+
"gruntfuggly.todo-tree",
57+
"mhutchie.git-graph",
58+
"modicatech.apex-code-coverage-visualizer",
59+
"ms-azuretools.vscode-docker",
60+
"ms-vscode-remote.remote-containers",
61+
"ms-vscode-remote.remote-wsl",
62+
"ms-vscode.sublime-keybindings",
63+
"redhat.vscode-xml",
64+
"redhat.vscode-yaml",
65+
"salesforce.salesforce-vscode-slds",
66+
"salesforce.salesforcedx-einstein-gpt",
67+
"salesforce.salesforcedx-vscode-apex-debugger",
68+
"salesforce.salesforcedx-vscode-apex-replay-debugger",
69+
"salesforce.salesforcedx-vscode-apex",
70+
"salesforce.salesforcedx-vscode-core",
71+
"salesforce.salesforcedx-vscode-expanded",
72+
"salesforce.salesforcedx-vscode-lightning",
73+
"salesforce.salesforcedx-vscode-lwc",
74+
"salesforce.salesforcedx-vscode-soql",
75+
"salesforce.salesforcedx-vscode-visualforce",
76+
"salesforce.salesforcedx-vscode",
77+
"salesforce.sfdx-code-analyzer-vscode",
78+
"wmaurer.change-case"
79+
]
80+
}
81+
}
82+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish Docker Container
2+
3+
on:
4+
push:
5+
paths:
6+
- '.devcontainer/Dockerfile'
7+
8+
jobs:
9+
build-and-push:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
packages: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: docker/setup-buildx-action@v3
17+
18+
- uses: docker/login-action@v3
19+
with:
20+
registry: ghcr.io
21+
username: ${{ github.actor }}
22+
password: ${{ secrets.GH_TOKEN_PUBLISH_DOCKER_IMAGE }}
23+
24+
- uses: docker/build-push-action@v5
25+
with:
26+
context: .
27+
file: .devcontainer/Dockerfile
28+
push: true
29+
tags: ghcr.io/${{ github.repository_owner }}/nebula-logger-dev:latest

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@
55

66
The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, OmniStudio, and integrations.
77

8-
## Unlocked Package - v4.15.10
8+
## Unlocked Package - v4.16.0
99

10-
[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015pGeQAI)
11-
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015pGeQAI)
10+
[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015pGyQAI)
11+
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015pGyQAI)
1212
[![View Documentation](./images/btn-view-documentation.png)](https://github.com/jongpie/NebulaLogger/wiki)
1313

14-
`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015pGeQAI`
14+
`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015pGyQAI`
1515

1616
---
1717

18-
## Managed Package - v4.15.0
18+
## Managed Package - v4.16.0
1919

20-
[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015odFQAQ)
21-
[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015odFQAQ)
22-
[![View Milestone](./images/btn-view-managed-package-milestone.png)](https://github.com/jongpie/NebulaLogger/milestone/15?closed=1)
20+
[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015pGtQAI)
21+
[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015pGtQAI)
22+
[![View Milestone](./images/btn-view-managed-package-milestone.png)](https://github.com/jongpie/NebulaLogger/milestone/16?closed=1)
2323

24-
`sf package install --wait 30 --security-type AdminsOnly --package 04t5Y0000015odFQAQ`
24+
`sf package install --wait 30 --security-type AdminsOnly --package 04t5Y0000015pGtQAI`
2525

2626
---
2727

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>62.0</apiVersion>
3+
<apiVersion>63.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>62.0</apiVersion>
3+
<apiVersion>63.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>62.0</apiVersion>
3+
<apiVersion>63.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>62.0</apiVersion>
3+
<apiVersion>63.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>62.0</apiVersion>
3+
<apiVersion>63.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>62.0</apiVersion>
3+
<apiVersion>63.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>

0 commit comments

Comments
 (0)