Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 23 Aug 00:04
· 22 commits to master since this release

Added

  • GitRepository.VerifyUnchanged(...) for failing generation or formatting operations that alter the Git-visible repository state while allowing pre-existing changes.
  • :rename <old-name> <new-name> for renaming task files and synchronizing configured solution folders.
  • A compiler warning when a task invokes DotNetDo through a compile-time-known Do.Exec(...) command; use a configured meta-task or shared C# method instead.
  • AbsolutePath.ZipTo(...) and UnzipTo(...) for creating ZIP archives from files or directories and extracting them.
  • DeleteAll() for deleting a collection of absolute paths while omitting duplicates and paths beneath another supplied path.
  • RecreateAll() for recreating a collection of directories.
  • AbsolutePath.TemporaryFileContents(...) for scoped file-content replacement that restores the original bytes on disposal and replacement failure.
  • ExecOptions.Environment for transforming the complete environment supplied to raw and typed child processes.
  • ProjectInfo.Name and lazy ProjectInfo.Project access to the default evaluated MSBuild project.

Changed

  • :new now synchronizes configured solution folders after creating a task.
  • DotNetTest.Environment and VSTestCommand.Environment are renamed to TestEnvironment, distinguishing test-host variables from the child-process environment.
  • ProjectInfo.Load(globalProperties) now returns a process-owned MSBuild Project; LoadedProject and caller-owned disposal are removed.

Fixed

  • :init and :new now pin generated tasks to the latest stable DotNetDo.Core version available from configured NuGet sources instead of the CLI's version.
  • AbsolutePath.Delete() and RecreateDirectory() reject filesystem roots.
  • Package tools recognize root-level dotnet-tools.json manifests created by current .NET SDKs, while retaining .config/dotnet-tools.json support.
  • PowerShell, Bash, and Zsh completion works with workspace-local launchers invoked as .\do or ./do.
  • Workspace-local launchers forward colon-prefixed management commands to DotNetDo instead of consuming them as dnx options.
  • Fixed :init failing when adding a new scripts folder to a .sln solution.