Skip to content

Releases: WeihanLi/dotnet-exec

0.34.0

23 Jan 15:57

Choose a tag to compare

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

0.33.0

21 Nov 00:59

Choose a tag to compare

.NET 10 GA Release

Full Changelog: 0.32.0...0.33.0

0.32.0

15 Sep 04:58

Choose a tag to compare

  • feat: upgrade dependencies and .NET 10 RC 1 update
  • feat: add more default alias(base64/md5/sha256)
  • docs: update documentation

Full Changelog: 0.31.0...0.32.0

0.31.0

17 Aug 13:55

Choose a tag to compare

  • feat: upgrade dependencies and .NET 10 Preview 7 update
  • refactor: log enhancement and refactoring
  • build: simplify build script
  • docs: refine document

Full Changelog: 0.30.0...0.31.0

0.30.0

25 Jul 11:12

Choose a tag to compare

  • feat: .NET 10 Preview 6 upgrade
  • feat: Improve stdin support to better support alias and support stdin + scripts
  • feat: support new project run file directive
  • feat: upgrade System.CommandLine and etc dependencies

Full Changelog: 0.29.0...0.30.0

0.29.0

14 Jun 11:52
28f9e39

Choose a tag to compare

  • feat: .NET 10 Preview 5 upgrade
  • feat: support read code from stdin
  • feat: run file directive support

Full Changelog: 0.28.0...0.29.0

0.28.0

24 May 15:32

Choose a tag to compare

  • feat: .NET 10 Preview 4 upgrade
  • feat: project compiler support

Full Changelog: 0.27.0...0.28.0

0.27.0

29 Mar 08:34
e4c34ec

Choose a tag to compare

What's Changed

  • .NET 10 Preview 2 upgrade
  • Add xunit test case execution support by @WeihanLi in #29
  • Add docs about the alias command usage by @WeihanLi in #31

Full Changelog: 0.26.0...0.27.0

0.26.0

08 Mar 14:39

Choose a tag to compare

  • feat: support net10.0
  • feat: support project code compiler/executor
  • refactor: some refactoring and cleanup

Full Changelog: 0.25.0...0.26.0

0.25.0

15 Dec 15:41

Choose a tag to compare

  • feat: remove net6.0/net7.0 support, fixes #22
  • feat: REPL support multi-line input, #25
  • refactor: update default config file path
  • feat: ReferenceResolver dependency injection support keyed service and AOT-compatible

Full Changelog: 0.24.0...0.25.0