File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.14.1] - 2024-03-01
9+
10+ ### Fixed
11+
12+ - ` Log: Retrieve Apex Log And Show Analysis ` not working ([ #490 ] [ #490 ] )
13+
814## [ 1.14.0] - 2024-02-12
915
1016### Added
@@ -326,7 +332,11 @@ Skipped due to adopting odd numbering for pre releases and even number for relea
326332- Add explorer menu item
327333- Provide more information when selecting log to download
328334
329- <!-- Unreleased -->
335+ <!-- v1.14.1 -->
336+
337+ [ #490 ] : https://github.com/certinia/debug-log-analyzer/issues/490
338+
339+ <!-- v1.14.0 -->
330340
331341[ #475 ] : https://github.com/certinia/debug-log-analyzer/issues/475
332342[ #299 ] : https://github.com/certinia/debug-log-analyzer/issues/299
Original file line number Diff line number Diff line change 11{
22 "name" : " lana" ,
33 "displayName" : " Apex Log Analyzer" ,
4- "version" : " 1.14.0 " ,
4+ "version" : " 1.14.1 " ,
55 "description" : " Analyzer for Salesforce debug logs - Visualize code execution via a Flame graph and identify performance and SOQL/DML problems via Method and Database analysis" ,
66 "keywords" : [
77 " apex" ,
Original file line number Diff line number Diff line change 22 * Copyright (c) 2020 Certinia Inc. All rights reserved.
33 */
44
5+ import { AuthHelper } from '@apexdevtools/sfdx-auth-helper' ;
6+ import { LogService } from '@salesforce/apex-node' ;
7+
58export class GetLogFile {
69 static async apply ( wsPath : string , logDir : string , logId : string ) : Promise < void > {
7- // eslint-disable-next-line @typescript-eslint/naming-convention
8- const { AuthHelper } = await import ( '@apexdevtools/sfdx-auth-helper' ) ;
910 const ah = await AuthHelper . instance ( wsPath ) ;
1011 const connection = await ah . connect ( await ah . getDefaultUsername ( ) ) ;
1112
1213 if ( connection ) {
13- // eslint-disable-next-line @typescript-eslint/naming-convention
14- const { LogService } = await import ( '@salesforce/apex-node' ) ;
1514 await new LogService ( connection ) . getLogs ( { logId : logId , outputDir : logDir } ) ;
1615 }
1716 return new Promise ( ( resolve ) => resolve ( ) ) ;
Original file line number Diff line number Diff line change 11/*
22 * Copyright (c) 2020 Certinia Inc. All rights reserved.
33 */
4- import { type LogRecord } from '@salesforce/apex-node' ;
4+ import { AuthHelper } from '@apexdevtools/sfdx-auth-helper' ;
5+ import { LogService , type LogRecord } from '@salesforce/apex-node' ;
56
67export class GetLogFiles {
78 static async apply ( wsPath : string ) : Promise < LogRecord [ ] > {
8- // eslint-disable-next-line @typescript-eslint/naming-convention
9- const { AuthHelper } = await import ( '@apexdevtools/sfdx-auth-helper' ) ;
109 const ah = await AuthHelper . instance ( wsPath ) ;
1110 const connection = await ah . connect ( await ah . getDefaultUsername ( ) ) ;
1211
1312 if ( connection ) {
14- // eslint-disable-next-line @typescript-eslint/naming-convention
15- const { LogService } = await import ( '@salesforce/apex-node' ) ;
1613 return new LogService ( connection ) . getLogRecords ( ) ;
1714 }
1815 return [ ] ;
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ export default [
2020 input : './lana/src/Main.ts' ,
2121 output : {
2222 format : 'cjs' ,
23- dir : './lana/out' ,
24- chunkFileNames : '[name].js' ,
23+ file : './lana/out/Main.js' ,
2524 sourcemap : false ,
2625 } ,
2726 external : [ 'vscode' ] ,
You can’t perform that action at this time.
0 commit comments