Commit Graph

892 Commits

Author SHA1 Message Date
Patrik Svensson
15dbbc41e9 Update dependencies 2026-01-05 10:09:48 +01:00
Patrik Svensson
7965168a1d Add modernization commit to .git-blame-ignore-revs 2026-01-05 00:35:41 +01:00
Patrik Svensson
3f57df5af6 Modernization of the code base (#1993)
* Update packages
* Convert extension methods to extension blocks
* Move extension methods closer to what they are extending
* Use ArgumentNullException.ThrowIfNull
* Move WriteAnsi and ToAnsi methods to Spectre.Console namespace
* Make shared global state obsolete
* Make AnsiConsole.Clear an extension method
* Linting should not fail build
2026-01-05 00:32:54 +01:00
Patrik Svensson
129fd710c1 Remove signing (again) 2026-01-04 11:51:47 +01:00
unknown
d394d79be1 Use GH environment for secrets 2025-12-31 22:39:24 +01:00
unknown
2128d26e49 Try giving GH actions more permissions to fix az login 2025-12-31 22:26:53 +01:00
Patrik Svensson
f7db113d14 Fix example image link 2025-12-24 20:21:32 +01:00
Patrik Svensson
e6796b7797 Remove documentation (for real this time) 2025-12-24 20:20:20 +01:00
Patrik Svensson
fed1b8db89 Remove documentation 2025-12-24 20:17:42 +01:00
Patrik Svensson
1002fe9feb Re-enable code signing (hopefully it works this time) 2025-12-09 02:55:27 +01:00
Patrik Svensson
df68d50f50 Disable code signing for now 2025-12-08 00:46:28 +01:00
Patrik Svensson
b8dd2c7d54 Add write permission for id-token 2025-12-08 00:40:11 +01:00
Patrik Svensson
27f40e5da0 Add code signing 2025-12-08 00:38:03 +01:00
Patrik Svensson
6a7457dc9f Remove GitHub Actions that move issues to project 2025-11-22 14:16:53 +01:00
Patrik Svensson
719bf12b61 Update dependencies 2025-11-14 00:33:35 +01:00
Patrik Svensson
8fa0536a53 Remove Spectre.Console.Cli badge from README 2025-11-14 00:03:23 +01:00
Patrik Svensson
a4721e7a72 Add Polyfill package 2025-11-14 00:03:23 +01:00
Patrik Svensson
f1200d6702 Update social media image for blog post 2025-11-13 00:56:09 +01:00
Patrik Svensson
f020c51e1a Add release notes blog post for 0.54.0 2025-11-13 00:40:07 +01:00
Patrik Svensson
a234475520 Update docs related to CLI unit testing 2025-11-13 00:39:39 +01:00
Patrik Svensson
e097281ca8 Add Discord link in docs 0.54.0 2025-11-12 23:48:32 +01:00
Patrik Svensson
6288d90bc5 Update to Cake.Sdk@6.0.0 2025-11-12 23:30:52 +01:00
Patrik Svensson
03d34371b8 Add (long overdue) blog post about the 0.53 release 2025-11-12 23:10:25 +01:00
Patrik Svensson
ace1b31383 Only do style linting 2025-11-12 22:15:29 +01:00
Patrik Svensson
8ac0e518a5 Update exception rendering tests 2025-11-12 22:15:13 +01:00
Patrik Svensson
1640f23b28 Update dependencies 2025-11-12 21:44:02 +01:00
Patrik Svensson
b2f961a197 Add support for using C# 14 in solution 2025-11-12 21:43:53 +01:00
Patrik Svensson
c8c72b9d72 Fix build script warning 2025-11-12 21:39:37 +01:00
Patrik Svensson
c6e9501f49 Add net10.0 tfm, and update to non-rc SDK 2025-11-12 21:39:25 +01:00
Patrik Svensson
0da5113b82 Fix docs generation bug 2025-11-12 21:20:13 +01:00
Patrik Svensson
45799107a3 Remove Spectre.Console.Cli from repository
* Move Spectre.Console.Cli to its own repository
* Update build script to use Cake.Sdk and .NET Make
* Remove StyleCop (unmaintained)
* Add linting using dotnet format
* Fix generator which was broken
* Update dependencies
2025-11-12 20:56:48 +01:00
Phil Scott
1ec7b8ae8f Fixes issue with Panel not applying overflow to children
Add tests for widget content overflow scenarios in Panel, Table, and Grid widgets.
2025-10-31 21:42:02 +01:00
Phil Scott
010beffae0 Normalizes paths when writing exceptions to the console for tests.
The verified output for Should_Write_GenericException was outputting ProjectDirectory}Data\Exceptions.cs on my Windows machine, but the Verified version wasProjectDirectory}Data/Exceptions.cs

Wasn't causing a build issue because we run those on Ubuntu, but locally it was giving me an error.
2025-10-31 16:48:50 +01:00
Patrik Svensson
5af8e09111 Update .NET SDK version 0.53.0 2025-10-26 17:50:35 +01:00
Patrik Svensson
5dcf72cb8f Update generator dependencies 2025-10-26 17:50:26 +01:00
Patrik Svensson
64c31f5b76 Update GitHub Actions dependencies 2025-10-26 17:50:15 +01:00
Patrik Svensson
4562f014ac Update dependencies 2025-10-26 17:45:07 +01:00
Cédric Luthi
e51812237e Update the Spectre.Console.Cli documentation with CancellationToken
Now that #1911 is merged, all `Execute` methods of commands have a new CancellationToken parameter. Update the documentation to reflect that.

New documentation shall still be written with an example on how to pass the top-level CancellationToken to the app.Run(Async) method.
2025-10-16 22:50:52 +02:00
Patrik Svensson
749f0fded8 Update Verify to 31.0.1 2025-10-11 20:54:48 +02:00
Cédric Luthi
f5f61ca610 Add top-level CancellationToken support to Spectre.Console.Cli
Also raise CA2016 (forward the CancellationToken parameter to methods that take one) to warning

Fixes #701
2025-10-11 20:51:01 +02:00
Patrik Svensson
d90e94dbb3 Fix spacing in blog post 2025-10-10 21:27:37 +02:00
Patrik Svensson
169abca986 Add blog post for 0.52.0 2025-10-10 21:12:54 +02:00
Patrik Svensson
3c2156268c Remove global.json for docs project 0.52.0 2025-10-10 20:36:13 +02:00
Patrik Svensson
6fb81103f0 Update more dependencies 2025-10-10 20:32:48 +02:00
Patrik Svensson
880e83b27c Update Cake to 5.1.0 2025-10-10 20:20:50 +02:00
Patrik Svensson
0b270e1ccd Update dependencies 2025-10-10 20:13:21 +02:00
Mattias Karlsson
2d9e8069fd Fix OPENCLI_VISIBILITY_INTERNAL to DefineConstants concat 2025-10-06 23:19:10 +02:00
Patrik Svensson
b551bbd244 Add OpenCLI integration to Spectre.Console.Cli 2025-10-02 02:05:46 +02:00
Patrik Svensson
3a70fbec75 Update the blog post with info about 0.51.1 2025-09-07 01:04:05 +02:00
Patrik Svensson
c67b3df3ba Fix package references 0.51.1 2025-09-07 00:44:00 +02:00