Repository navigation
1.22.0: interactive timeline calltree, view heap usage, variable values for selected frame, and more...
·
150 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
What's Changed
Added
- 🧭 Inspector: select a timeline frame, a table row or a statement to see its details, governor usage, call stack and subtree - or select nothing for a whole-log overview. Dock it left, right or bottom, and each tab keeps its own arrangement. (#113 #405 #373 #63)
- Reorder: drag a section header, or press
Alt+Up/Alt+Down. - Choose sections: right-click a header to tick sections on and off, or reset the list.
- Resize: drag a divider; double-click one to restore the default sizes.
- Reorder: drag a section header, or press
- 🔬 Variables: see the Local and Static variables in scope at the frame you selected, each holding the value it had at that point; an object opens into its fields. Pick a merged row and it compares its calls instead, which names varied and every value they held, with how many calls held each; hover a value to light those calls in the timeline and grids. Needs Apex Code at FINEST. (#373)
- 🧠 Heap analysis: every method and call path reports heap three ways - Net (retained), Gross (allocated) and Peak (highest live) - so allocate-then-free churn no longer looks like a leak. (#32)
- 🗄️ Database governor limits: SOQL, SOSL, DML and row counts show as
used / limit, flagging queries that did not consume the limit, plus a dedicated SOSL table. (#162) - 🔴 Timeline exception markers: exceptions show as red lines, with a Throws count in method tooltips. (#828)
- 🧰 Filter bar: Call Tree and Database filters sit in one toolbar - filter by namespace, object or caller namespace, or by a row count or time range. (#873)
- 🗂️ Choose your columns in Call Tree, Analysis and Database: switch between presets, show or hide any column, and your choice is remembered. (#298)
- 🏷️ New columns: Object on SOQL and DML, SOSL Count and Rows, Avg Self Time, a Self variant of every governor metric, and a SOQL Query Plan view. (#298)
- 🪪 Header: shows the entry point, user and start time, with more detail on hover.
- 🌐 VS Code for the Web: open and analyse logs in vscode.dev, github.dev and Salesforce Web Console.
Changed
- ⬆️ Requires VS Code 1.102 or newer.
⚠️ Legacy Timeline settings deprecated:lana.timeline.legacyandlana.timeline.colorsnow show as deprecated in Settings - the legacy Timeline goes in the next release, so switch now.- 📊 Governor columns in the Call Tree and Analysis fill against what the transaction consumed, like the time columns beside them, so the path responsible for a metric stands out. Gov Avg % and Gov Peak % still measure headroom, and each tooltip still names the limit.
- 🎚️ Governor figures: the Inspector overview and the Database tab report each metric at its peak, the level the governor charges the transaction at, while the Timeline strip plots the value as recorded.
- no limit is assumed where the log reports none instead the Timeline strip and the governor trends scale each
metric to its own peak.
- no limit is assumed where the log reports none instead the Timeline strip and the governor trends scale each
- 🎨 Header bar: Log problems and Notifications are redesigned cards that name the problem and its time and jump to the Call Tree; Help and Report an issue move into a
•••menu. - 🎨 Timeline legend: moved into the toolbar as colour chips, each showing the log's self time in that category.
- 📊 Timeline frame details: the hover panel sits against the frame, follows the pointer, never blocks clicks, and fits long SOQL so the
WHEREstays visible. Turn it off withlana.timeline.showTooltip. - 🔍 Timeline zooming: smooth and consistent on every platform - a Windows mouse wheel no longer over-zooms, and zooming back out returns you to where you started.
- ✂️ Truncation markers end where the log recovers, so sound sections are no longer flagged. (#828)
- ⚡ Timeline minimap is ~25× faster and uses less memory.
- 📈 Governor strip tooltips keep a stable row order and always show
used / limit, so figures no longer jump as you move the pointer. (#827) - ⚡ Go to Code is 6× to 10× faster in large projects. (#834)
- 🏷️ Call Tree names drop the redundant
EVENT_TYPE:prefix and say what a frame is -(code unit),(flow). Add the Type column back from the Columns menu. - 🧱 Table styling: VS Code tree icons, rows indented under their group headings, a crisper header separator, columns sized to fit so nothing clips, and one consistent look across every table. (#832 #873)
- 🎛️ Dropdowns are searchable and compact, and carry the field and value together (e.g.
Group: Namespace). (#848) - 💅 UI More closely matches VS Code styling in several areas. (#576)
Fixed
- 📏 Timeline length: the chart stopped at the last recorded frame instead of spanning the log - 10.8s of a 27.1s log - and now shades the part the log never recorded. (#828)
- 📊 Governor limits strip: where the log recorded nothing, the strip drew its last reading across the gap as though it had been measured; the gap is now blank, and the tooltip names the reason and range. (#828)
- 🗄️ Flow database usage: SOQL and DML run by a Flow or Process Builder element are now counted. Needs
WORKFLOWatFINERor above. (#871). - ⚡ Timeline resize: the Flame Chart flashed and trailed a frame behind as you dragged the window or the panel edge.
- 🖱️ Governor limits strip: reading across the 15px collapsed strip lost the tooltip on the smallest wobble; the hover now holds until the pointer is clear of it.
- 🐛 Go to Code matches methods with namespace or
Systemqualified parameter types. (#834) - 🎨 Theme switch: Timeline and view colours update straight away instead of needing the log reopened.
New Contributors
- @peternhale made their first contribution in #951
Full Changelog: 1.20.0...1.22.0