Preview version v0.8.0
Pre-release
Pre-release
New Features
- Added an opt-in horizontal table layout (LinqPad style) that renders members as columns. Enable it globally or per dump with
TableConfig.TableLayout = TableLayout.Horizontal, or per type with the newSetLayoutForType,SetLayoutForTypeAndDerivedandSetLayoutWhenrules. The default layout remains vertical - Added
TableLayoutContextandTableLayoutResult, allowing layout rules to decide based on the type, depth and container, and to override row indices, headers, member types and row separators per rule - Added
TableConfig.ShowRowIndices, which applies to all collections.ShowArrayIndicesstill works but is now marked[Obsolete]and will be removed in a future version MemberFilternow also applies to the columns of collections rendered in horizontal layout
Bug Fixes
- Fixed
[Failed to Render ...] Could not load type 'Spectre.Console.Color'errors when the consuming application referencesSpectre.Console0.55.0 or newer (#36) - Objects without any members, or with all members filtered out, now render a
[No members]message instead of an empty table
Miscellaneous
- (breaking change) Updated
Spectre.Consoleto version 0.55.2. Applications that reference an olderSpectre.Consolemust upgrade to 0.55.2 or newer.Spectre.Console.Ansiis now a transitive dependency - Added a workflow for publishing pre-release versions
- Codebase improvements and additional rendering tests
Full Changelog: 0.7.0...0.8.0