Skip to content

0.34.0

Latest

Choose a tag to compare

@WeihanLi WeihanLi released this 23 Jan 15:57

Highlights

  • New alias management command: alias reset to restore default aliases.
  • New built-in helpers: base64-decode and sha1.
  • Upgraded dependencies across hosting, command-line, and common libraries.
  • Testing stack refreshed to use GitHub Actions test logger and MTP-compatible xUnit packages.

New Features

  • Alias management:
    • Added alias reset command to restore aliases to the default set.
      • Usage:
        dotnet exec alias reset
        
  • Built-in expressions:
    • base64-decode: decodes a Base64 string to UTF-8.
      • Example:
        dotnet exec base64-decode "SGVsbG8="
        
        Output: Hello
    • sha1: computes SHA-1 hex digest for input text.
      • Example:
        dotnet exec sha1 "text"
        

Improvements

  • Reset action persists via AppConfiguration and saves through IAppConfigSource.
  • Expanded default alias set to include base64-decode and sha1.

Dependency Updates

  • Tooling:
    • Husky: 0.7.2 → 0.8.0
  • Runtime/Library:
    • Microsoft.Extensions.Hosting: 10.0.0 → 10.0.2
    • ModelContextProtocol: 0.4.0-preview.3 → 0.6.0-preview.1
    • NuGet.Protocol: 7.0.0 → 7.0.1
    • System.CommandLine: 2.0.0 → 2.0.2
    • System.Linq.AsyncEnumerable: 10.0.0 → 10.0.2 (conditionally excluded for net10.0)
    • WeihanLi.Common: 1.0.84 → 1.0.86
  • Testing:
    • Added GitHubActionsTestLogger: 3.0.1
    • Switched to xUnit MTP package: xunit.v3.mtp-v2 3.2.2
    • Xunit.DependencyInjection: 11.1.0 → 11.1.1
    • Removed coverlet.collector
    • Dropped TestingPlatformDotnetTestSupport property from tests

Upgrade

If you use dotnet-exec as a .NET tool, you can upgrade with:

dotnet tool update --global dotnet-exec

Full Changelog: 0.33.0...0.34.0