Releases: spectreconsole/spectre.console
Releases · spectreconsole/spectre.console
0.49.0
What's Changed
- Cleanup line endings by @nils-a in #1381
- Added Spectre.Console.Cli to quick-start. by @nils-a in #1413
- Fix rendering of ListPrompt for odd pageSizes by @nils-a in #1365
- Remove mandelbrot example due to conflicting license by @patriksvensson in #1426
- Allow specifying a property to ignore the use of build-time packages for versioning and analysis by @baronfel in #1425
- Add the possibility to register multiple interceptors by @nils-a in #1412
- Added the ITypeResolver to the ExceptionHandler by @nils-a in #1411
- Updated typo in CommandApp.md by @DarqueWarrior in #1431
- Command with -v displays app version instead of executing the command by @FrankRay78 in #1427
- HelpProvider colors should be configurable by @FrankRay78 in #1408
- Direct contributors to the current CONTRIBUTING.md by @tonycknight in #1435
- Fix deadlock when cancelling prompts by @caesay in #1439
- Add progress bar value formatter by @jsheely in #1414
- Update dependencies and do some clean-up by @patriksvensson in #1440
- Delete [UsesVerify], which has become obsolete through the latest update. by @danielcweber in #1456
- Don't erase secret prompt text upon backspace when mask is null by @danielcweber in #1458
- Update dependencies to the latest version by @patriksvensson in #1459
- Automatically register command settings by @patriksvensson in #1463
- Remove [DebuggerDisplay] from Paragraph by @martincostello in #1477
- Selection Prompt Search by @slang25 in #1289
- Update dependency SixLabors.ImageSharp to v3.1.3 by @renovate in #1486
- Positioned Progress Tasks - Before or After Other Tasks by @thomhurst in #1250
- Added NoStackTrace to ExceptionFormats by @gerardog in #1489
- Pipe character for listing options (issue 1434) by @FrankRay78 in #1498
- Improve XmlDoc output by @yenneferofvengerberg in #1503
- Revert 71a5d83 to undo flickering regression by @phil-scott-78 in #1504
- AddDelegate uses an abstract type when used in a branch by @BlazeFace in #1509
- Missing Separator When Headers are Hidden by @BlazeFace in #1513
- Expose raw arguments on the command context by @patriksvensson in #1523
- Add token representation to remaining arguments by @patriksvensson in #1525
New Contributors
- @baronfel made their first contribution in #1425
- @DarqueWarrior made their first contribution in #1431
- @tonycknight made their first contribution in #1435
- @caesay made their first contribution in #1439
- @jsheely made their first contribution in #1414
- @danielcweber made their first contribution in #1456
- @martincostello made their first contribution in #1477
- @slang25 made their first contribution in #1289
- @thomhurst made their first contribution in #1250
- @gerardog made their first contribution in #1489
- @yenneferofvengerberg made their first contribution in #1503
- @BlazeFace made their first contribution in #1509
Full Changelog: 0.48.0...0.49.0
0.48.0
Version 0.48 of Spectre.Console has been released!
Several rendering issues have been addressed, such as fixing problems related to rendering inside status causing corrupt output, avoiding exceptions on Rows with no children, as well as addressing rendering bugs in TextPath.
New features have been added, such as the ability to show separators between table rows. Other notable additions include progress bar header and footer support, customizable (and localizable) help providers, and the option to style text and confirmation prompts.
New Contributors
- @icalvo made their first contribution in #1215
- @fredrikbentzen made their first contribution in #1132
- @jeppevammenkristensen made their first contribution in #1241
- @tomaszprasolek made their first contribution in #1257
- @olabacker made their first contribution in #1302
- @AndrewRathbun made their first contribution in #1315
What's Changed
Rendering
- Add .NET 8 support by @patriksvensson in #1367
- Fixed render issue where writeline inside status caused corrupt output #415 #694 by @fredrikbentzen in #1132
- Relax the SDK requirements by rolling forward to the latest feature by @0xced in #1237
- Add fix to avoid exception on rows with no children by @jeppevammenkristensen in #1241
- Set
end_of_line
toLF
instead ofCRLF
by @0xced in #1256 - Fix
Rule
widget docs by @tomaszprasolek in #1257 - Added the missing columns-cast by @nils-a in #1294
- Render tables with zero-width columns by @Frassle in #1197
- Fix figlet centering possibly throwing due to negative size by @olabacker in #1302
- Add option to show separator between table rows by @patriksvensson in #1304
- Enable setting the color of the values in a
BreakdownChart
by @nils-a in #1303 - Progress bar header and footer by @phil-scott-78 in #1262
- Add an example showing the decorations off by @Frassle in #1191
- Fixes
TextPath
rendering bugs by @patriksvensson in #1308 - Fix greedy row measure by @nils-a in #1338
- Fix
AnsiConsoleOutput
safe height by @0xced in #1358 - Allow passing a nullable style in
DefaultValueStyle()
andChoicesStyle()
by @0xced in #1359 - Allow
ConfirmationPrompt
Styling by @wbaldoumas in #1210
CLI
- Add async command unit tests by @FrankRay78 in #1228
- Add support for async delegate by @icalvo in #1215
- Remove unnecessary
[NotNull]
attributes by @0xced in #1255 - Allow custom help providers by @FrankRay78 in #1259
- Specified details for settings for the argument vector by @nils-a in #1301
- Add support for localisation in help provider by @FrankRay78 in #1349
- Fix DefaultValue for
FileInfo
andDirectoryInfo
by @0xced in #1238
Documentation & Samples
- Added a minimal PR template by @nils-a in #1318
- Fix typo in
showcase
sample by @AndrewRathbun in #1315 - Update
columns
sample to showcase nicer data by @nils-a in #1295 - Change all
SetErrorHandler
toSetExceptionHandler
by @nils-a in #1298
Other stuff
- Ensure the
Generator
project compiles by @patriksvensson in #1371
0.47.0
What's Changed
- Add Alacritty to the supported terminals in AnsiDetector by @MaxAtoms in #1211
- Add an implicit operator to convert from Color to Style by @0xced in #1160
- Allow case-insensitive confirmation prompt by @MartinZikmund in #1151
- Allow configuration of confirmation prompt comparison via
StringComparer
by @MartinZikmund in #1161 - Do not register analyzer if SpectreConsole is not available in the current compilation by @meziantou in #1172
- Ensure correct comparer is used for
TextPrompt
by @MartinZikmund in #1152 - Forward CancellationToken to GetOperation by @meziantou in #1173
- Fix minor typo in Prompt example by @Frassle in #1183
- Fix coconut spelling by @phillip-haydon in #1218
- Improve conversion error messages by @0xced in #1141
- Make the code fix more robust and detect more symbols of type IAnsiConsole by @meziantou in #1169
- Minor Refactorings by @Elisha-Aguilera in #1081
- Simplify access to the SemanticModel in analyzers by @meziantou in #1167
- Use SymbolEqualityComparer.Default when possible by @meziantou in #1171
- Use StringComparison.Ordinal instead of culture-sensitive comparisons by @meziantou in #1174
Command line updates
- Add possibility to set description and/or data for the default command by @0xced in #1091
- Add support for converting command parameters into FileInfo and DirectoryInfo by @0xced in #1145
- Add support for arrays in [DefaultValue] attributes by @0xced in #1164
- Add ability to pass example args using
params
syntax by @seclerp in #1166 - Alias for branches by @ilyahryapko in #1131
- Command line improvements by @FrankRay78 in #1103
Documentation updates
- Alignment => Justification Docs Fixes by @wbaldoumas in #1143
New Contributors
- @wbaldoumas made their first contribution in #1143
- @MartinZikmund made their first contribution in #1151
- @ilyahryapko made their first contribution in #1131
- @meziantou made their first contribution in #1174
- @MaxAtoms made their first contribution in #1211
- @phillip-haydon made their first contribution in #1218
Full Changelog: 0.46.0...0.47.0
0.46.0
What's changed?
- Add support for .NET 7.0 by @patriksvensson in #1056
- Add
Layout
widget by @patriksvensson in #1041 - Add JSON text renderer by @patriksvensson in #1086
- Backward direction of text prompt autocomplete by @nkochnev in #921
- Custom mask for secret by @GaryMcD in #970
- Allow selections to wrap around by @Saalvage in #976
- Adding value: a single semi-colon! by @johanlindfors in #986
- Fix
@
being used in Figlet font by @Saalvage in #972 - Add new and transferred issues to backlog project by @patriksvensson in #995
- Pin SDK due to a bug in .NET 6.0.401 by @patriksvensson in #1011
- Remove period trimming by @BenjaminMichaelis in #1008
- Allow
PACKET
key on MultiSelectionPrompt by @nilaoda in #1012 - Added Suckless Simple Terminal to list of ANSI terminals by @picture-vision in #1013
- Add culture option to
TypeConverterHelper
,TextPrompt
andAnsiConsole
by @sowa705 in #1014 - Minor typo fixes by @ardalis in #1021
- Add link to documentation in README by @ardalis in #1030
- Alignment fixes by @patriksvensson in #1066
IndexOf
replaced by Count at Add method - Performance issue #975 fixed by @maije in #1096- Modified tokenizer not to break on on
]]]
at the end of a style by @nils-a in #1027 - Command line argument parsing improvements by @FrankRay78 in #1048
- Show help for default command by @krisrok in #953
- Automatically display default values of options in the help page by @0xced in #1032
Documentation updates
- Update .NET 5 references in docs by @eduherminio in #964
- Blog date fix by @phil-scott-78 in #963
- Update sponsors by @tomkerkhove in #1089
- Inline
CommandArgument
required/optional style in template parameter docs by @ArveSystad in #1090 - Add documentation for
BreakdownChart
by @BenjaminMichaelis in #1000 - Create
Panel
documentation by @patrickfreilinger in #1016 - Added details for using links within markup. by @GaryMcD in #961
- Added documentation for
Rows
widget by @Elisha-Aguilera in #1038 - Added documentation for
Grid
widget by @Elisha-Aguilera in #1043 - Added documentation for the
Padder
widget by @Elisha-Aguilera in #1046 - Created a
Columns
widget documentation by @wguner in #1044 - Fixed typo in
Panel
documentation by @bcwood in #1068 - Clarified the license for
SixLabors.ImageSharp
by @FrankRay78 in #1073 - Add documentation for
Layout
by @patriksvensson in #1127
Dependencies
- Update dependency
Wcwidth.Sources
tov1
by @renovate in #969 - Update
actions/setup-dotnet
action tov3
by @renovate in #982 - Update dependency
Microsoft.NET.Test.Sdk
tov17.3.2
by @renovate in #977 - Update dependency
cake.tool
tov2.3.0
by @renovate in #1015
New Contributors
- @GaryMcD made their first contribution in #961
- @eduherminio made their first contribution in #964
- @Saalvage made their first contribution in #976
- @BenjaminMichaelis made their first contribution in #1000
- @nilaoda made their first contribution in #1012
- @picture-vision made their first contribution in #1013
- @patrickfreilinger made their first contribution in #1016
- @sowa705 made their first contribution in #1014
- @ardalis made their first contribution in #1021
- @Elisha-Aguilera made their first contribution in #1038
- @wguner made their first contribution in #1044
- @bcwood made their first contribution in #1068
- @FrankRay78 made their first contribution in #1073
- @tomkerkhove made their first contribution in #1089
- @ArveSystad made their first contribution in #1090
- @maije made their first contribution in #1096
- @krisrok made their first contribution in #953
Full Changelog: 0.45.0...0.46.0
0.45.0
What's Changed
- Move Spectre.Console.Cli to its own package by @patriksvensson in #827
- Remove the 'net50' TFM by @patriksvensson in #877
- Corrected section heading in Status by @drewnoakes in #781
- Upgrade dotnet example tool to 1.6.0 by @leo-costa in #782
- Fix documentation workflow by @patriksvensson in #799
- Fix missing API reference pages for Spectre.Console.Cli by @ivml in #834
- Fix the "Escaping Interpolated Strings" documentation by @0xced in #837
- Check for null in TextPrompt by @danielchalmers in #850
- Fix ArgumentNullException on .NET Framework by @nils-a in #923
- Add command description to command help message by @nkochnev in #920
- Fix missing call to Validate when using CommandConstructorBinder by @nils-a in #924
- Modified MarkupTokenizer, so that escaped markup inside markup is valid by @nils-a in #911
- Detect non-interactive console via Console.IsInputRedirected instead of Environment.UserInteractive by @bastianeicher in #824
- Set the DevelopmentDependency flag on the Spectre.Console.Analyzer project by @0xced in #950
New Contributors
- @drewnoakes made their first contribution in #781
- @renovate made their first contribution in #785
- @leo-costa made their first contribution in #782
- @wanglong126 made their first contribution in #819
- @ivml made their first contribution in #834
- @dependabot made their first contribution in #849
- @danielchalmers made their first contribution in #850
- @nkochnev made their first contribution in #920
- @lonix1 made their first contribution in #938
Full Changelog: 0.44.0...0.45.0
0.44
What's Changed
- Added the ability to hide CommandOptions. by @twaalewijn in #642
- Add support for alternate screen buffers by @patriksvensson in #647
- Updates asciinema update by @phil-scott-78 in #648
- Update Roslynator.Analyzers to version 3.3 by @phil-scott-78 in #650
- Ordered CommandArguments by position by @nils-a in #646
- Table title's first letter is getting capitalized by default by @zmrfzn in #652
- Simplify stack frame parsing by @0xced in #637
- Trying to rework dotnet tools for docs and playwright by @phil-scott-78 in #667
- Add release notes for 0.43.0 by @patriksvensson in #663
- Use file scoped namespace declarations by @patriksvensson in #666
- Add global usings by @patriksvensson in #668
- Changed TypeResolver in Cli/logging by @nils-a in #675
- Invalid WithExample call on the CommandApp doc page by @jouniheikniemi in #689
- Add overload with params array for AddChoiceGroup() by @Sir-Baconn in #682
- Simplify exception formatting by @0xced in #695
- Improves exception rendering for async methods in .NET 6 by @phil-scott-78 in #718
- Adding better type names for return types and parameters by @phil-scott-78 in #719
- Docs redesign by @phil-scott-78 in #728
- Configures deployment to netlify by @phil-scott-78 in #729
- Tweaking font-size and line-height for smaller screens by @phil-scott-78 in #730
- Adding a best practices guide. by @phil-scott-78 in #744
- Adds widget for displaying (pretty) paths by @patriksvensson in #734
- Add missing inheritance and nullable types in settings.md by @seclerp in #665
- Optimizing build by @phil-scott-78 in #747
- Update SixLabors.ImageSharp reference by @Arcodiant in #748
- Add support for styling and aligning paths by @patriksvensson in #746
- Add documentation for
TextPath
widget by @patriksvensson in #757 - Fix path and description for TextPath docs by @patriksvensson in #758
- Adding a short template file for new documentation. by @phil-scott-78 in #763
- Introduce MarkupInterpolated and MarkupLineInterpolated extensions by @phil-scott-78 in #761
- Obsolete the AnsiConsoleFactory class by @0xced in #585
- Add option to configure the style of the choices list and the default value in TextPrompt by @ap0llo in #681
New Contributors
- @twaalewijn made their first contribution in #642
- @zmrfzn made their first contribution in #652
- @jouniheikniemi made their first contribution in #689
- @Sir-Baconn made their first contribution in #682
- @seclerp made their first contribution in #665
- @Arcodiant made their first contribution in #748
- @ap0llo made their first contribution in #681
Full Changelog: 0.43.0...0.44.0
0.43
What's Changed
- Update sponsors.md by @mgnslndh in #584
- Upgrades Statiq and re-enables docs publishing by @phil-scott-78 in #591
- Internalizes the WcWidth package by @patriksvensson in #593
- Small typos in the -Spectre.Console.Cli Getting Started- page by @antoniovalentini in #597
- Add net6.0 TFM by @patriksvensson in #603
- Fix a typo in code comment by @GitHubPang in #579
- Added GetParent and GetParents to MultiSelectionPrompt by @nils-a in #590
- Added ExceptionHandler to ICommandAppSettings by @nils-a in #607
- Fixed documentation for selection and multiselection (#499) by @nils-a in #589
- Escape any Markup when displaying selected prompt items by @nils-a in #610
- Upgrade .NET SDK to 6.0.100 by @patriksvensson in #616
- Allow color numbers in markup expressions by @patriksvensson in #615
- Remove
Render
from docs in favor ofWrite
by @patriksvensson in #613 - Clarify ITypeResolver returns
null
by @nils-a in #620 - Fix typo in PairDeconstructor class name by @0xced in #619
- Fix type conversion in the default pair deconstructor implementation by @0xced in #618
- Update examples to net6.0 by @patriksvensson in #625
- Fix exception formatting for generic methods by @0xced in #639
New Contributors
Full Changelog: 0.42.0...0.43.0
0.42.0
What's Changed
- Use browser context for social cards by @phil-scott-78 in #490
- Adds additional check that analyzer is within a method by @phil-scott-78 in #488
- Add support for manipulating individual table rows by @patriksvensson in #503
- Do not share semaphore between consoles by @patriksvensson in #507
- Fix ArgumentOutOfRangeException when rendering a table by @LiamSho in #509
- Make building more flexible by allowing feature bands by @kzu in #514
- Fix parsing of exceptions on .NET Framework by @0xced in #513
- Fix the style parameter nullable annotation on AnsiConsoleExtensions by @0xced in #527
- Fix 404 in documentation by @nils-a in #530
- Fix typos in code comments by @GitHubPang in #535
- Remove additional registration of ICommand by @nils-a in #533
- Add extension methods to get cell width of
char
andstring
by @patriksvensson in #523 - Disable GH Action workflow for docs by @patriksvensson in #547
- Fix typos in docs by @GitHubPang in #542
- Add a segment builder for merging multiple segments by @phil-scott-78 in #552
- Allow user to update table cell by @RedEyedDog in #546
- Fix a minor typo for Spectre1021 by @GitHubPang in #557
- Future-proof conditional compilation by @0xced in #563
- Add support custom max value for barcharts by @rifatx in #545
- Improve the error message when acquiring the interactive semaphore fails by @0xced in #569
- Add
AnsiConsole.Write
method by @patriksvensson in #577