Repository navigation
Servy v11.0 introduces a Simplified Chinese (简体中文) display language for the Servy Desktop App, Servy Manager, and the installer, and window size, position, and column widths persistence across sessions in Servy Manager, alongside fixes to account handling on service import, recovery and stop handling, and Servy Manager refresh behavior, code quality improvements, and documentation updates.
Full Changelog
- feat(i18n): add a Simplified Chinese (
zh-CN) display language to the Servy Desktop App and Servy Manager, selectable from a newLanguagemenu, the--langcommand-line option, or theLanguagesetting inappsettings.desktop.jsonandappsettings.manager.json(system,en, orzh-CN); the menu asks for confirmation and restarts the app to apply the change, the language is shared by both apps, and the CLI, PowerShell module, logs, and Windows Event Log entries remain in English (#8148, thanks to @xiaciyidingde) - feat(setup): add Simplified Chinese to the installer, which now asks for the setup language at start, preselects the one matching the Windows display language, and accepts
/LANG=englishor/LANG=chinesesimplifiedfor silent installs (#8169) - feat(manager): persist main window size, position, maximized state, and table column widths across sessions, saving automatically after layout changes settle as well as on window close, and add a
View > Reset window layoutmenu item (#8009) - fix(core): clarify
ProcessKiller.KillProcessTreedebug log when root start time is unreadable and descendants are skipped (#8031) - fix(core): remove unreachable
UnauthorizedAccessExceptionterm from the catch filter inLogonAsServiceGrant.Ensure(#8032) - fix(core): document intentional retention of synchronous
Write<T>andRead<T>inINamedPipesService(#8033) - fix(core): use
ServiceAccounts.ExpandLocalShorthandinAccountSidResolver.Resolveinstead of manual.\expansion (#8035) - fix(core): remove redundant
IdentityNotMappedExceptioncatch block inAccountSidResolver.TryTranslate(#8036) - fix(core): reuse static
AdministratorsSidandLocalSystemSidfields inSecurityHelper.CreateSecureDirectoryandApplySecurityRulesinstead of allocating them inline (#8037) - fix(core): document intentional retention of string-returning
ExportXmlandExportJsonoverloads inServiceExporter(#8038) - fix(core): throw
Win32ExceptioninServiceManager.IsDelayedStartwhenQueryServiceConfig2fails soGetAllServicessetsDetailsUnavailableand preserves stored delayed startup types (#8048) - fix(core): read the previous log-on account from the Service Control Manager in
ServiceManager.InstallServiceAsyncso service control rights and vault/pipe permissions are revoked when an account is changed via import (#8052) - fix(core): catch
InvalidOperationExceptionalongsideArgumentExceptionwhen opening the parent handle inProcessKiller.KillParentProcessesso a parent exiting mid-walk stops the upward walk without aborting target process termination (#8075) - fix(core): exit the stop-wait loop in
ServiceHelper.StopServicesAsyncas soon asRefresh()observesStopped, avoiding an extra 500 ms poll delay and no longer reporting a service that reachesStoppednear the deadline as timed out or cancelled (#8077) - fix(core): remove unreachable
?? new List<string>()fallback inServyHostInstaller.GetRunningServyServicessinceIServiceHelper.GetRunningServyServicesis non-nullable and always returns a list (#8105) - fix(core): remove unreachable
?.ToList() ?? new List<ServiceDto>()null fallback inServyExePermissionsHardener.RevokeIfUnusedAsyncsinceIServiceRepository.GetAllAsyncis non-nullable (#8106) - fix(core): restrict the
ProtectedKeyProvidercross-process key-vault mutex ACL fromAuthenticated UserstoLocal SystemandAdministrators(retaining the current user on unelevated runs) to match the key files' DACL and prevent unprivileged local users from holding the lock during key generation or migration (#8172) - fix(core): let a second Servy process (such as the service, Manager, or CLI starting at the same time on a fresh install) wait for the
ProtectedKeyProviderkey-vault mutex during key generation or migration instead of failing with an access-denied error (#8173) - fix(core,manager): remove six redundant
usingdirectives already covered by implicit usings inLogLineSplitter,IServyExePermissionsHardener, andExePermissionsHardeningResult(#8127) - fix(core,service): initialize
AllowOverriddenRuntimeVarsfromAppConfig.DefaultAllowOverriddenRuntimeVarsinStartOptions,Service, andInstallServiceOptions, like every other option, instead of leaving it at the implicitfalse(#8177) - fix(infra): reset a stored passwordless account to
LocalSystemwhen re-importing a service configuration that names no account (#8050) - fix(core,infra,dump): clarify import log messages and
Servy-Restore.ps1/Servy-Dump.ps1banners to note that existing services with stored password-protected accounts retain their credentials rather than being reset toLocalSystem, and log the retained account on import (#8054) - fix(service): remove seven redundant
?? string.Emptyfallbacks inStartOptionsParserahead ofEscapeBackslashesandEnvironmentVariableParser.Parsecalls that already handlenullinputs (#7993) - fix(service): re-check teardown state in
Service.InitiateRecoveryAsyncand synchronize process relaunches with teardown so recovery actions cannot run or leave orphaned processes after service stop begins (#8043) - fix(service): log
Process restarted.inServiceHelper.RestartProcessonly when the relaunch callback launches a child process rather than when skipped during service stop (#8047) - fix(ui): wait in
AppBootstrapper.OnExitfor any in-flightServyServicesPause.ResumeAsyncto finish (and skip deferred warning dialogs when shutting down) so closing the splash window or ending the session during a post-upgrade update does not leave stopped Servy services and the Servy host unstarted (#8166) - fix(ui): end
AppBootstrapper.OnExitwait as soon asServyServicesPause.ResumeAsynccompletes rather than waiting for the entire start-up task, preventing a Windows session end while a deferred warning dialog is open from blocking shutdown for the full 45s+ timeout and logging a false warning (#8171) - fix(ui): treat an explicit script subtag as deciding between Simplified and Traditional Chinese in
LocalizationCulture, sozh-Hans-HKandzh-Hans-MOselect the Simplified Chinese display language instead of being rejected (#8153) - fix(ui): pass
--langwhen the Servy Desktop App and Servy Manager launch each other, handing over the language saved in the settings file rather than the one the app started in (#8161) - fix(desktop,manager): invoke
base.OnExitbeforeLogger.ShutdowninApp.xaml.cssoAppRestarterwarnings are flushed to the log when an application restart fails (#8178) - fix(manager): capture only columns configured with an absolute pixel width when saving DataGrid column widths (#8013)
- fix(manager): persist the width of a column auto-fitted by double-clicking its header edge in the Services and Logs grids (#8028)
- fix(manager): restore the star width of a star-sized column after a header-edge double-click instead of pinning and saving a pixel width (#8030)
- fix(manager): raise
HasSelectedServicesinMainViewModel.RemoveServiceso bulk action buttons disable after the last checked service is removed (#8041) - fix(manager): preserve stored description for uninstalled services during
MainViewModelrefresh ticks instead of overwriting it with stale in-memory row text (#8042) - fix(manager): prevent
MainViewModelrefresh ticks from overwriting stored service descriptions and delayed startup types when native SCM queries fail or time out (#8044) - fix(manager): update display name and user account from stored configuration during
MainViewModelrefresh ticks for uninstalled services (#8046) - fix(manager): preserve the row's existing Log On As account during
MainViewModelrefresh ticks when SCM details are unavailable instead of displayingLocal System(#8051) - fix(manager): show the translated level name in the Level column of the Logs grid, matching the Level filter above it (#8164)
- fix(manager): name the
Languagemenu in the screen-reader help text of the Servy Manager menu bar (#8175) - ci(publish.yml): add cooldown before SignPath signing requests to allow GitHub artifact API propagation
- docs(taskschd): correct
.EXAMPLEhelp text inServyFailureNotification.ps1to describe one notification per new event - docs(readme): note the Simplified Chinese display language of the Servy Desktop App and Servy Manager in README.md (#8160)
- docs(wiki): correct the portable package elevation requirement in Installation Guide, the stored-account exception on restore and import in Backup, Restore & VM Cloning, Export & Import Services, and Security, and the scope of
dotnet testin Building from Source (#8053, #8055, #8057, #8058) - docs(wiki): document the display language, the
Languagesetting, and the--langoption in Servy Desktop App, Servy Manager, and Advanced Configuration (#8148) - docs(wiki): document the installer language and the
/LANGswitch in Installation Guide, and correct the statement in Servy Desktop App and Servy Manager that the installer is in English only (#8169)