Releases: spectreconsole/spectre.console
0.53.1 (hotfix)
This is a hotfix release for 0.53.0, which accidentally included OpenCli.Sources as a dependency, instead of being included in the package.
As a bonus, a fix for panels was also included in this release 😄
What's Changed
- Ensure OpenCli.Sources are not a dependency of the CLI package. by @patriksvensson in d61788d
- Normalizes paths when writing exceptions to the console for tests. by @phil-scott-78 in #1758
- Fixes issue with Panel not applying overflow to children by @phil-scott-78 in #1942
Full Changelog: 0.53.0...0.53.1
0.54.0
Version 0.54.0 of Spectre.Console has been released!
Spectre.Console.Cli has a new home!
We've decided to move Spectre.Console.Cli to its own repository, where we will prepare it for a 1.0 release. This means that the Spectre.Console.Cli NuGet packages will no longer be versioned together with Spectre.Console. They will now have a preview version such as 1.0.0-alpha-0.x.
There should be no issues staying on version 0.53.0 of Spectre.Console.Cli until we release a stable version if you prefer not to use a pre-release dependency.
New unit testing package for Spectre.Console.Cli
There is now a new testing package for Spectre.Console.Cli called Spectre.Console.Cli.Testing. This is where you will find the CommandAppTester from now on.
You can find more information about unit testing in the documentation.
What's Changed
- Normalizes paths when writing exceptions to the console for tests. by @phil-scott-78 in #1758
- Fixes issue with Panel not applying overflow to children by @phil-scott-78 in #1942
- Remove Spectre.Console.Cli from repository by @patriksvensson in #1928
Full Changelog: 0.53.0...0.54.0
0.53.0
0.52.0
What's Changed
- Add OpenCLI integration to Spectre.Console.Cli by @patriksvensson in #1909
- Fix OPENCLI_VISIBILITY_INTERNAL to DefineConstants concat by @devlead in #1912
Full Changelog: 0.51.1...0.52.0
0.51.1
What's Changed
- Fix IndexOutOfRangeException in ExceptionFormatter by @martincostello in #1800
- TestConsole can now be configured and accessed in CommandAppTester by @magiino in #1803
- Add ShowRowSeparators in Table Widget docs by @bartoginski in #1807
- Add support for required options by @patriksvensson in #1825
- Added documentation for align widget by @Elementttto in #1746
- Fixed link not displayed in markup in Style.cs and added unit test cases by @Elementttto in #1750
- Update System.Memory dependency by @WeihanLi in #1832
- Reduce memory usage for rune width cache. by @Pannoniae in #1756
- Fix resizing of Live views with reduced size. by @belucha in #1840
- Corrects comment for optional text prompt by @aljanabim in #1857
- Update spinners by @FroggieFrog in #1873
- Support J and K for navigating list prompts by @tobias-tengler in #1877
- Fix space triggering selection when items in the selection list have a space. by @mitchdenny in #1881
- Fix bug setting Header by @mattfennerom in #1890
New Contributors
- @magiino made their first contribution in #1803
- @bartoginski made their first contribution in #1807
- @Elementttto made their first contribution in #1746
- @WeihanLi made their first contribution in #1832
- @Pannoniae made their first contribution in #1756
- @belucha made their first contribution in #1840
- @aljanabim made their first contribution in #1857
- @FroggieFrog made their first contribution in #1873
- @tobias-tengler made their first contribution in #1877
- @mitchdenny made their first contribution in #1881
- @mattfennerom made their first contribution in #1890
Full Changelog: 0.50.0...0.51.1
0.50.0
What's Changed
General
- Strong name the assemblies by @KirillOsenkov in #1623
- Update MSDN link to learn.microsoft.com by @Kissaki in #1575
- Add spanish translation for help strings by @kzu in #1597
- Update documentation: add example for the Text Prompt usage by @davide-pi in #1636
- Fix typos xml docs by @devlead in #1684
- Upgrade SixLabors.ImageSharp to 3.1.7 by @Moustafaa91 in #1779
Console
- AOT Support for Spectre.Console by @phil-scott-78 in #1690
- Make method reference to Markup.Escape more obvious by @Kissaki in #1574
- Fix
HtmlEncoderIncorrectly Applying Italics to Bold Text by @z4ryy in #1590 - Fix Console Display Issue with Deleting Wide Characters by @TonWin618 in #1595
- Fix search bug in prompt related to custom item types by @patriksvensson in #1627
- Cleanup the prompt tests by @0xced in #1635
- Add custom style for each calendar event by @davide-pi in #1246
- Fix tree expansion bug by @davide-pi in #1245
- Enhance the style of the checkboxes for multi-selection by @davide-pi in #1244
- Improve exception if a (multi)selection prompt is used incorrectly by @0xced in #1637
- Fix incorrect panel height calculation in complex layout by @BlazeFace in #1514
- Adding Enricher for Azure Pipelines by @BlazeFace in #1675
- Added hex color conversion by @jsheely in #1432
- Fixed type in Segment description by @PascalSenn in #1687
- Adding TransferSpeedColumn configuration to display bits/bytes + binary/decimal prefixes by @tpill90 in #904
- Changes Emoji dictionary to OrdinalIgnoreCase for performance by @phil-scott-78 in #1691
- ProgressTask.GetPercentage() returns 100 when max value is 0 by @FrankRay78 in #1694
- Async overloads for AnsiConsole Prompt/Ask/Confirm. by @tmds in #1194
- Support 3-digit hex codes in markup by @TheMarteh in #1708
- Add async spinner extension methods and related documentation by @phil-scott-78 in #1747
- Fix generic exception formatting by @0xced in #1755
CLI
- Remove redundant explain settings ctor by @gitfool in #1534
- Trim trailing comma in settings by @devlead in #1550
- Consider -? as an alias to -h by @kzu in #1552
- Trimming of TestConsole output by CommandAppTester is user configurable. by @FrankRay78 in #1739
- Include resource files for additional cultures in HelpProvider. by @Tolitech in #1717
- Conditionally trim trailing periods of argument and option descriptions by @TheTonttu in #1740
- Changed IConfigurator to return IConfigurator instead of void by @byte2pixel in #1762
- Add parsed unknown flag to remaining arguments for a branch with a default command by @FrankRay78 in #1660
- Correctly show application version; execution of command with version option by @FrankRay78 in #1663
- Help output correctly decides when to show the version option by @FrankRay78 in #1664
New Contributors
- @Kissaki made their first contribution in #1575
- @z4ryy made their first contribution in #1590
- @TonWin618 made their first contribution in #1595
- @KirillOsenkov made their first contribution in #1623
- @davide-pi made their first contribution in #1246
- @armanossiloko made their first contribution in #1668
- @PascalSenn made their first contribution in #1687
- @tpill90 made their first contribution in #904
- @tmds made their first contribution in #1194
- @TheMarteh made their first contribution in #1708
- @Tolitech made their first contribution in #1717
- @TheTonttu made their first contribution in #1740
- @byte2pixel made their first contribution in #1762
- @Moustafaa91 made their first contribution in #1779
Full Changelog: 0.49.1...0.50.0
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_linetoLFinstead ofCRLFby @0xced in #1256 - Fix
Rulewidget 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
BreakdownChartby @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
TextPathrendering bugs by @patriksvensson in #1308 - Fix greedy row measure by @nils-a in #1338
- Fix
AnsiConsoleOutputsafe height by @0xced in #1358 - Allow passing a nullable style in
DefaultValueStyle()andChoicesStyle()by @0xced in #1359 - Allow
ConfirmationPromptStyling 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
FileInfoandDirectoryInfoby @0xced in #1238
Documentation & Samples
- Added a minimal PR template by @nils-a in #1318
- Fix typo in
showcasesample by @AndrewRathbun in #1315 - Update
columnssample to showcase nicer data by @nils-a in #1295 - Change all
SetErrorHandlertoSetExceptionHandlerby @nils-a in #1298
Other stuff
- Ensure the
Generatorproject 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
StringComparerby @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
TextPromptby @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
paramssyntax 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
Layoutwidget 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
PACKETkey 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,TextPromptandAnsiConsoleby @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
IndexOfreplaced 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
CommandArgumentrequired/optional style in template parameter docs by @ArveSystad in #1090 - Add documentation for
BreakdownChartby @BenjaminMichaelis in #1000 - Create
Paneldocumentation by @patrickfreilinger in #1016 - Added details for using links within markup. by @GaryMcD in #961
- Added documentation for
Rowswidget by @Elisha-Aguilera in #1038 - Added documentation for
Gridwidget by @Elisha-Aguilera in #1043 - Added documentation for the
Padderwidget by @Elisha-Aguilera in #1046 - Created a
Columnswidget documentation by @wguner in #1044 - Fixed typo in
Paneldocumentation by @bcwood in #1068 - Clarified the license for
SixLabors.ImageSharpby @FrankRay78 in #1073 - Add documentation for
Layoutby @patriksvensson in #1127
Dependencies
- Update dependency
Wcwidth.Sourcestov1by @renovate in #969 - Update
actions/setup-dotnetaction tov3by @renovate in #982 - Update dependency
Microsoft.NET.Test.Sdktov17.3.2by @renovate in #977 - Update dependency
cake.tooltov2.3.0by @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