Skip to content

Releases: gerardog/gsudo

gsudo v2.0.2

10 Nov 12:24
Compare
Choose a tag to compare

What's Changed

  • Fixed issue with --copyEV by @gerardog in #202
  • Built using the first .NET 7.0 official release.

Full Changelog: v2.0.1...v2.0.2

gsudo v2.0.1

08 Nov 22:42
Compare
Choose a tag to compare

What's Changed

  • Fixed #199: --copyev throws System.IO.IOException
  • Fixed gsudo --help text
  • Nicer error message on UAC cancel

Full Changelog: v2.0.0...v2.0.1

gsudo v2.0.0

06 Nov 23:17
Compare
Choose a tag to compare

What's Changed (since v2.0.0-preview release)

  • Fixed #196: Credential cache status is displayed incorrectly
  • Fixed an issue where the credentials cache fails to start and restarts in a loop. (thanks dmagician!)

What's Changed (since v1.7.1 - latest Chocolatey/Winget/Scoop version)

  • Add the ability to run a shell or command as a specific user, even if the user is not a local machine admin. By @gerardog in #188
    gsudo [-u|--user {username}]  [command]
  • Feature: Added the ability to force execution in a New Window, and control if that window stays open, by @gerardog in #190
    • Added setting gsudo config NewWindow.Force=true to force every elevation in new window. (Same as using -n every time)
    • Added --KeepWindow: When in new console, ask for keypress before closing the console.
    • Added --KeepShell: Keep the elevated shell open after running {command}.
    • Added setting gsudo config NewWindow.CloseBehaviour: KeepShellOpen (--KeepShell), PressKeyToClose(--KeepWindow), OsDefault to set close behaviour permanently.
  • Added experimental support for NuShell (#152)

  • Config syntax more relaxed now:

    gsudo.exe config loglevel debug
    gsudo.exe config loglevel="debug"
    gsudo.exe config loglevel =  debug

Full Changelog: v1.7.1...v2.0.0-preview

gsudo v2.0.0-preview

24 Oct 13:29
Compare
Choose a tag to compare
gsudo v2.0.0-preview Pre-release
Pre-release

What's Changed

  • Several new features and some refactoring justified a new mayor version. Pre-release open for wider user testing.

  • Add the ability to run a shell or command as a specific user, even if the user is not a local machine admin. By @gerardog in #188

    gsudo [-u|--user {username}]  [command]
  • Feature: Force NewWindow + --KeepShell + --KeepWindow by @gerardog in #190

    • Added setting gsudo config NewWindow.Force to force every elevation in new window. (Same as using -n every time)
    • Added --KeepShell: Keep elevated shell open after running {command}.
    • Added --KeepWindow: When in new console, ask for keypress before closing the console.
    • Added setting gsudo config NewWindow.CloseBehaviour: KeepShellOpen (--NoExit), PressKeyToClose(--NoClose), OsDefault
  • Added experimental support for NuShell (#152)

  • Config syntax more relaxed now:

    gsudo.exe config loglevel debug
    gsudo.exe config loglevel="debug"
    gsudo.exe config loglevel =  debug

Full Changelog: v1.7.1...v2.0.0-preview

gsudo v1.7.1

01 Oct 17:48
12438bb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v1.7.1

gsudo v1.7.0

28 Sep 14:46
34be524
Compare
Choose a tag to compare

What's Changed

  • Feature: Follow posix conventions for command line arguments #148 by @gerardog in #179
    • Short options without arguments can be grouped (gsudo -n -w -d => gsudo -nwd)
    • Short options with arguments now accepts space/no-space/equals as separator ( gsudo -i Low => gsudo -iLow or gsudo -i=Low )
    • For example gsudo -i Low -n -w -d --debug MyProgram.exe can now be written as
      • gsudo -iLow -nwd --debug MyProgram.exe allowed
      • gsudo -i=Low -nwd --debug MyProgram.exe allowed
      • gsudo -i Low -nwd --debug MyProgram.exe allowed

Full Changelog: v1.6.0...v1.7.0

gsudo v1.6.0

20 Sep 21:31
Compare
Choose a tag to compare

What's Changed

  • 🚀 Feature: PowerShell new syntax: gsudo { ScriptBlock } by @gerardog in #178
    Read the Docs:

  • Fix: Unified gsudo config PowerShellLoadProfile and $gsudoLoadProfile into the first one. by @gerardog in #175

    gsudo { Get-Process "chrome" }
    gsudo { Get-Process $args } -args "chrome"
    
    $file='C:\My Secret.txt'; 
    $algorithm='md5';
    $hash = gsudo {(Get-FileHash $args[0] -Algorithm $args[1]).Hash} -args $file, $algorithm
    
    # Output can be captured as PSObjects.
    $services = gsudo { Get-Service 'WSearch', 'Winmgmt'} 
    Write-Output $services.DisplayName

Full Changelog: v1.5.1...v1.6.0

gsudo v1.5.1

09 Sep 03:38
afc9ccd
Compare
Choose a tag to compare

What's Changed

  • Feature: gsudo --ti to run as TrustedInstaller by @gerardog in #163
  • Fix: Elevation to System from non-admin account by @gerardog in #174

Full Changelog: v1.4.1...v1.5.1

gsudo v1.5.0

06 Sep 19:52
Compare
Choose a tag to compare
gsudo v1.5.0 Pre-release
Pre-release

What's Changed

  • Feature: Added gsudo --ti to run as TrustedInstaller by @gerardog in #163

Full Changelog: v1.4.1...v1.5.0

gsudo v1.4.1

05 Sep 06:40
6dfc9ca
Compare
Choose a tag to compare

What's Changed

  • Fix(UnauthorizedAccessException): when elevating as someone else twice from same parent process (eg, WT elevated tabs) #150
  • Fix(Simultaneous elevations): Fix cache for simultaneous elevations from one parent process (eg. WT tabs) #145
  • Fix(Cache): Fix cache on finishing before the cache is available. Fixes #144
  • Fix(Hang): Limit recursion seeking parent pid #155
  • Fix(VT mode): Send correct cursor pos on Vt init 48261ec
  • Chore: Removed hardcoded Cmd commands that actually are .EXE apps 2f47f3e

Full Changelog: v1.4.0...v1.4.1