Releases: gerardog/gsudo
gsudo v2.0.2
What's Changed
Full Changelog: v2.0.1...v2.0.2
gsudo v2.0.1
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
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 setting
-
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
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 setting
-
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
What's Changed
Full Changelog: v1.7.0...v1.7.1
gsudo v1.7.0
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
orgsudo -i=Low
) - For example
gsudo -i Low -n -w -d --debug MyProgram.exe
can now be written asgsudo -iLow -nwd --debug MyProgram.exe
allowedgsudo -i=Low -nwd --debug MyProgram.exe
allowedgsudo -i Low -nwd --debug MyProgram.exe
allowed
- Short options without arguments can be grouped (
Full Changelog: v1.6.0...v1.7.0
gsudo v1.6.0
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 #175gsudo { 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
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
What's Changed
Full Changelog: v1.4.1...v1.5.0
gsudo v1.4.1
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