From efd2eb237ef13bb800637e843a0b65e80b40e791 Mon Sep 17 00:00:00 2001 From: Jonathan Gillespie Date: Thu, 10 Mar 2022 22:45:02 -0500 Subject: [PATCH] [skip ci] Re-added logId property in logViewer lwc to ensure managed package versions can be upgraded, created new package versions for both the unlocked & managed packages --- .gitignore | 7 +++++++ README.md | 8 ++++---- .../core/main/log-management/lwc/logViewer/logViewer.js | 6 +++++- nebula-logger/managed-package/sfdx-project.json | 5 +++-- sfdx-project.json | 4 ++-- 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 38b9b4e43..ad1b3590d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,13 @@ nebula-logger/**/main/default/ test-coverage/ temp/ +# Additional folders that are temporarily copied when creating a version of the managed package +nebula-logger/managed-package/core/main/configuration/ +nebula-logger/managed-package/core/main/log-management/ +nebula-logger/managed-package/core/main/logger-engine/ +nebula-logger/managed-package/core/main/plugin-framework/ +nebula-logger/managed-package/core/tests/ + # NPM node_modules/ yarn.lock diff --git a/README.md b/README.md index fcb896a45..e0ac9bb3b 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,14 @@ Designed for Salesforce admins, developers & architects. A robust logger for Ape ## Unlocked Package - v4.7.0 -[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lX8QAI) -[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lX8QAI) +[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lXSQAY) +[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lXSQAY) [![View Documentation](./images/btn-view-documentation.png)](https://jongpie.github.io/NebulaLogger/) ## Managed Package - v4.7.0 -[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015keOQAQ) -[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015keOQAQ) +[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015lXNQAY) +[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015lXNQAY) [![View Milestone](./images/btn-view-managed-package-milestone.png)](https://github.com/jongpie/NebulaLogger/milestone/6) --- diff --git a/nebula-logger/core/main/log-management/lwc/logViewer/logViewer.js b/nebula-logger/core/main/log-management/lwc/logViewer/logViewer.js index c2f89c01b..9b32918e0 100644 --- a/nebula-logger/core/main/log-management/lwc/logViewer/logViewer.js +++ b/nebula-logger/core/main/log-management/lwc/logViewer/logViewer.js @@ -13,6 +13,11 @@ import LOG_ENTRY_STACK_TRACE_FIELD from '@salesforce/schema/LogEntry__c.StackTra import LOG_ORGANIZATION_ID_FIELD from '@salesforce/schema/Log__c.OrganizationId__c'; export default class LogViewer extends LightningElement { + // logId is deprecated - it was used before quickActions supported LWC. + // recordId is now used instead, but logId has to be kept for the managed package + @api + logId; // Deprecated + @api recordId; @@ -67,7 +72,6 @@ export default class LogViewer extends LightningElement { } async copyToClipboard() { - // const value = this.template.querySelector('pre').textContent; const value = this.currentMode.data; const textArea = document.createElement('textarea'); diff --git a/nebula-logger/managed-package/sfdx-project.json b/nebula-logger/managed-package/sfdx-project.json index 91e00fa2c..16229ea42 100644 --- a/nebula-logger/managed-package/sfdx-project.json +++ b/nebula-logger/managed-package/sfdx-project.json @@ -12,7 +12,7 @@ "ancestorVersion": "HIGHEST", "versionNumber": "4.7.0.NEXT", "versionName": "Spring '22 Release", - "versionDescription": "Added new settings fields for controlling saving, default log scenario, default log owner, bugfixes & cleanup", + "versionDescription": "View the v4.7.0 milestone in GitHub for the list of changes - https://github.com/jongpie/NebulaLogger/milestone/7", "releaseNotesUrl": "https://github.com/jongpie/NebulaLogger/releases" } ], @@ -23,6 +23,7 @@ "Nebula Logger - Managed Package@4.3.0-3-logger-console-app": "04t5Y000000YLDLQA4", "Nebula Logger - Managed Package@4.4.0-2-configurable-default-save-method": "04t5Y0000027FFgQAM", "Nebula Logger - Managed Package@4.5.0-0-logger-plugin-framework": "04t5Y0000027FMhQAM", - "Nebula Logger - Managed Package@4.6.0-0-tagging-system-overhaul": "04t5Y0000015keOQAQ" + "Nebula Logger - Managed Package@4.6.0-0-tagging-system-overhaul": "04t5Y0000015keOQAQ", + "Nebula Logger - Managed Package@4.7.0-30-spring-22-release": "04t5Y0000015lXNQAY" } } diff --git a/sfdx-project.json b/sfdx-project.json index 48f102b74..c16879b92 100644 --- a/sfdx-project.json +++ b/sfdx-project.json @@ -9,7 +9,7 @@ "definitionFile": "./config/scratch-orgs/base-scratch-def.json", "versionNumber": "4.7.0.NEXT", "versionName": "Spring '22 Release", - "versionDescription": "Added new settings fields for controlling saving, default log scenario, default log owner, bugfixes & cleanup", + "versionDescription": "Added new settings fields for controlling saving, default log scenario, & default log owner, improved logViewer lwc, bugfixes & cleanup", "releaseNotesUrl": "https://github.com/jongpie/NebulaLogger/releases", "default": true }, @@ -76,7 +76,7 @@ "Nebula Logger - Core@4.6.14-0-new-logger-settings-component": "04t5Y0000015lB0QAI", "Nebula Logger - Core@4.6.15-0-small-bugfixes-and-test-improvements": "04t5Y0000015lKDQAY", "Nebula Logger - Core@4.6.16-0-ui-cleanup": "04t5Y0000015lLzQAI", - "Nebula Logger - Core@4.7.0-NEXT-spring-'22-release": "04t5Y0000015lX8QAI", + "Nebula Logger - Core@4.7.0-25-spring-'22-release": "04t5Y0000015lXSQAY", "Nebula Logger - Plugin - Log Retention Rules": "0Ho5Y000000blNfSAI", "Nebula Logger - Plugin - Logger Admin Dashboard": "0Ho5Y000000blNkSAI", "Nebula Logger - Plugin - Logger Admin Dashboard@0.9.0-0": "04t5Y0000015l3yQAA",