Releases: dotnet/command-line-api
Releases · dotnet/command-line-api
System.CommandLine v2.0.1
What's Changed
- [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #2665
- [release/10.0] Re-add default value on ProcessTerminationTimeout by @adamsitnik in #2674
- [release/10.0] Add package readme for the core System.CommandLine package by @baronfel in #2679
- [release/10.0] Add backport.yml and flow configuration by @github-actions[bot] in #2690
- [release/10.0] Add inter-branch merge workflow configuration by @github-actions[bot] in #2692
- [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #2668
- [release/10.0] Do not sign dotnet-suggest when not building from the VMR by @github-actions[bot] in #2694
- [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #2696
- [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #2716
- [release/10.0] TELL-MODE: Fix pipeline triggers in command-line-api official yml by @ViktorHofer in #2727
- [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #2730
Full Changelog: v2.0.0...v2.0.1
System.CommandLine v2.0.0
Full Changelog: v2.0.0-rc.2.25502.107...v2.0.0
System.CommandLine v2.0.0-rc.2.25502.107
Full Changelog: v2.0.0-rc.1.25451.107...v2.0.0-rc.2.25502.107
System.CommandLine v2.0.0-rc.1.25451.107
What's Changed
- let the users provide MaxWidth via HelpAction by @adamsitnik in #2635
- Update to rc1 by @mmitche in #2638
- Add Version.Details.props by @dkurepa in #2636
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #2633
- fix #2634: Add SetAction for Task by @petterh in #2641
- fix #2640 by @jonsequitur in #2646
- add Finnish translations by @adamsitnik in #2605
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #2650
- fix #2591 by @jonsequitur in #2644
- [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #2651
- fix a couple of outdated build properties by @jonsequitur in #2652
- fix #2589 by @jonsequitur in #2654
- fix #2257 by @jonsequitur in #2655
- Reduce Reflection usage by @adamsitnik in #2662
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #2653
- Fix #2128 by @jonsequitur in #2656
New Contributors
Full Changelog: v2.0.0-beta7.25380.108...v2.0.0-rc.1.25451.107
System.CommandLine v2.0.0-beta7.25380.108
What's Changed
- Clean-up versioning by @ViktorHofer in #2580
- Unify build entry-point between source-build and non-source-build by @ViktorHofer in #2585
- Update branding for beta7 by @ViktorHofer in #2584
- Only show help arguments for Options/Arguments with an Arity greater than zero by @baronfel in #2586
- Clean-up files in repo by @ViktorHofer in #2590
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #2604
- Fix some help and
GetRequiredValueissues by @jonsequitur in #2601 - Make dotnet-suggest follow the repo versioning by @ViktorHofer in #2608
- Revert "Update ApprovalTests to 7.0.0 and revert workaround" by @ViktorHofer in #2610
- Update ApprovalTests nuget package and remove extern alias workaround by @ViktorHofer in #2611
- remove un used sln items by @SimonCropp in #2612
- Separate parse from invocation configurations by @jonsequitur in #2606
- make the non-generic Option and Argument ctors non-private by @jonsequitur in #2624
- fix #2622: add ArgumentResult.Implicit property by @jonsequitur in #2625
- fix #2628: don't generate parse error when
--versionis invoked on a root command that has subcommands by @jonsequitur in #2631
New Contributors
- @baronfel made their first contribution in #2586
- @SimonCropp made their first contribution in #2612
Full Changelog: v2.0.0-beta6.25358.103...v2.0.0-beta7.25380.108
System.CommandLine v2.0.0-beta6.25358.103
What's Changed
- Update branding to beta6 by @ViktorHofer in #2575
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #2567
- Update to .NET 8.0 by @zbalkan in #2566
- Remove CommandLine packages by @ViktorHofer in #2577
- Ship SCL as part of the VMR by @ViktorHofer in #2578
- Downgrade System.Memory to 4.5.4 by @ViktorHofer in #2579
- Remove unused S.CL.Generator projects by @ViktorHofer in #2581
New Contributors
Full Changelog: v2.0.0-beta5.25306.1...v2.0.0-beta6.25358.103
System.CommandLine v2.0.0-beta5.25306.1
Announcing System.CommandLine 2.0.0-beta5 and our path to a stable release (#2576)
What's Changed
- remove outdated docs by @jonsequitur in #1766
- Fix #1759 by @jonsequitur in #1767
- Add support for timeout in process termination handling by @JanKrivanek in #1756
- fix #1768 by @jonsequitur in #1773
- fix #1779 by @jonsequitur in #1780
- System.CommandLine is split into too many namespaces by @BenjaminMichaelis in #1788
- Clean up files a bit by @BenjaminMichaelis in #1790
- fix generate name value for MethodInfo without Parameters by @hessenar in #1789
- update build machine image names by @brettfo in #1804
- Adding in cancellation support for InvokeAsync by @Keboo in #1502
- [1653] remove the legacy double dash behavior and ParseResult.UnparsedTokens by @Tunduk in #1806
- Update projects to net7.0 TargetFramework with shared property by @lbussell in #1803
- Update public pool names by @alexperovich in #1831
- update build urls by @brettfo in #1833
- Updated indention from an earlier PR cleanup. by @shaggygi in #1793
- Adding proposed fix for FromAmong by @Keboo in #1843
- Fixed null reference exception in
Tokenoperator overload by @vlada-shubina in #1842 - Localizing required option not provided message by @Keboo in #1856
- restore Arcade off switch by @jonsequitur in #1865
- When an explicit max width is specified don't override with the terminal's width by @Keboo in #1864
- Fix IsOptional method for arguments by @iBicha in #1862
- Seal Token class. by @andrewimcclement in #1876
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1854
- Rename members to GetValue by @Keboo in #1787
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1887
- Remove CompletionDelegate, CompletionSourceList and DirectiveCollection by @adamsitnik in #1946
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1949
- Rename getDefaultValue to defaultValueFactory in Argument and Option by @jozkee in #1950
- replace ICompletionSource with a Func by @adamsitnik in #1952
- update required msbuild version by @brettfo in #1957
- since Option defines Arity, Option does not need to by @adamsitnik in #1958
- Moves and renames by @jozkee in #1951
- replace IInvocationResult with Action by @adamsitnik in #1948
- fluent APIs should return least restrictive result by @adamsitnik in #1964
- make AddValidator fluent by @adamsitnik in #1966
- enable CodeQL by @jonsequitur in #1866
- all default value factories should be generic by @adamsitnik in #1968
- Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /src/System.CommandLine.DragonFruit.Tests by @dependabot in #1985
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1981
- make CompletionItem implement IEquatable by @adamsitnik in #1991
- First name and aliases cleanup by @adamsitnik in #1990
- introduce CompletionContext.Empty, remove Symbol.GetCompletions(void) by @adamsitnik in #1954
- Expose List properties, remove Add* methods by @adamsitnik in #1987
- Remove Argument.AllowedValues, use Validator to implement the logic by @adamsitnik in #1959
- Expose Command collection properties as mutable IList, remove AddCommand, AddOption and AddArugment methods by @adamsitnik in #1989
- Fluent APIs are not allowed in non-builder types by @adamsitnik in #1994
- Lambdas cleanup by @adamsitnik in #1995
- remove default Parser ctor by @adamsitnik in #1998
- Reducing allocations in parsing by @adamsitnik in #2001
- MS Docs -> MS Learn by @danielchalmers in #1880
- Added one test for DragonFruit when parsing
tag by @sebekkz in #2008 - add source-build pre-built detection by @oleksandr-didyk in #2012
- More parsing improvements by @adamsitnik in #2016
- SymbolResults improvements by @adamsitnik in #2024
- update msbuild version by @jonsequitur in #2028
- Build System.CommandLine.NamingConventionBinder during source-build by @MichaelSimons in #2026
- UnrecognizedArgument error should mention first invalid argument, not the last one by @adamsitnik in #2029
- More SymbolResult improvements by @adamsitnik in #2027
- Parent search bug fix by @adamsitnik in #2030
- more flexible error reporting for SymbolResult by @adamsitnik in #2033
- Translate to Spanish by @nportillo-msft in #1979
- Remove one layer of abstraction and multiple intermediate types by @adamsitnik in #2040
- Move version option out of middleware by @jonsequitur in #1969
- Move most of the built in middlewares out of middleware by @adamsitnik in #2043
- [main] Update dependencies from dotnet/source-build-reference-packages by @dotnet-maestro in #2022
- Moving CancelOnProcessTermination out of middleware, better cancellation support by @adamsitnik in #2044
- Rename Option.IsGlobal to AppliesToSelfAndChildren, make it public by @adamsitnik in #2060
- Remove non generic GetValue overloads by @adamsitnik in #2059
- Symbol.Description does not need to be virtual by @adamsitnik in #2045
- Localization by @adamsitnik in #2041
- introduce Command.Parse(CommandLineConfiguration) by @adamsitnik in #2062
- [main] Update dependencies from dotnet/source-build-reference-packages by @dotnet-maestro in #2061
- Name and aliases separation by @adamsitnik in #2073
- merge Validate clas into ArgumentValidation by @adamsitnik in #2077
- [main] Update dependencies from dotnet/source-build-reference-packages by @dotnet-maestro in #2075
- Types cleanup by @adamsitnik in #2076
- Introduce Directive Symbol type by @adamsitnik in #2063
- seal public classes which don't expose public ctors by @adamsitnik in #2081
- merge CommandLineStringSplitter into Parser by @adamsitnik in #2079
- Remove set handler overloads by @adamsitnik in #2089
- remove non-generic GetValueOrDefault and fix the usages by @adamsitnik in #2078
- Move BindingContext and related types to NamingConventionBinder project by @adamsitnik in #2093
- The handler should always return an integer by @adamsitnik in https://github.com/dotnet/command-line-api/pull/...
System.CommandLine v2.0.0-beta4.22272.1
For details on the Beta 4 release, please see #1750.
What's Changed
- Added ZSH Completion Shim Script by @JohnnyWombwell in #1643
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1651
- fix #1647 by @jonsequitur in #1649
- add support ... or, uh, remove non-support ... for OnlyTake(0) by @jonsequitur in #1658
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1660
- Perf improvements part 6: startup time by @adamsitnik in #1654
- Add string converters for uint/sbyte/byte by @SamZhangQingChuan in #1661
- update Ubuntu image to 20.04 by @jonsequitur in #1657
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1666
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1674
- Ubuntu dependencies for NativeAOT compiler by @jonsequitur in #1676
- Add NativeAOT test by @adamsitnik in #1656
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1682
- Fix #1638 by @jonsequitur in #1677
- Fix #1663 by @jonsequitur in #1671
- Fix #1209 by @eisbaer66 in #1706
- Apply comments from #7859 by @tdykstra in #1701
- Present error instead of throwing exception for empty argument to FileSystemInfo type by @therealchjones in #1704
- Fix #1665 by @jonsequitur in #1714
- fix #1711 by @jonsequitur in #1716
- Add TimeSpan string converter by @GabeDeBacker in #1718
- SetHandler improvements by @jonsequitur in #1729
- Add support for IPAddress and IPEndpoint arguments by @RobThree in #1735
- Add support for DateOnly and TimeOnly on .Net 6 (#1732). by @RobThree in #1734
- bump version to beta4 by @jonsequitur in #1741
New Contributors
- @JohnnyWombwell made their first contribution in #1643
- @SamZhangQingChuan made their first contribution in #1661
- @eisbaer66 made their first contribution in #1706
- @tdykstra made their first contribution in #1701
- @therealchjones made their first contribution in #1704
- @GabeDeBacker made their first contribution in #1718
- @RobThree made their first contribution in #1735
Full Changelog: v2.0.0-beta3.22114.1...2.0.0-beta4.22272.1
System.CommandLine v2.0.0-beta3.22114.1
For details on the Beta 3 release, please see #1613.
System.CommandLine v2.0.0-beta2.21617.1
For details on the Beta 2 release, please see #1537.