Skip to content

Releases: microsoft/WSL

0.64.0

21 Jul 20:21
8f6670b
Compare
Choose a tag to compare
  • Implement new error model

    • Localized error messages with inserts
    • Contextualized error messages
    • String readable HRESULTs

    Sample error:

    C:\Users\Test>wsl --mount A
    Administrator access is needed to mount a disk.
    Error code: Wsl/Service/AttachDisk/LXSS_E_ELEVATION_NEEDED_TO_MOUNT_DISK
    
  • Manually reset the interop server when the relay exits [GH 7506]

  • Ensure WSLg logs will be present in /mnt/wslg/stderr.log

  • WSL1 errors will now be printed to /dev/kmsg

  • Add opt-in environment variable to use UTF8 encoding

    • Adds the opt-in WSL_UTF8=1 environment variable to force UTF8 encoding on stdout & stderr through the CRT
    • Get rid of the double \r in our error messages
  • Update WSLg to version 1.0.40

    • libweston-desktop/xwayland: Use correct geometry
    • xwm: Generate more synthetic ConfigureNotify events
    • xwayland: Support _NET_FRAME_EXTENTS
    • rdp: fix window doesn't redraw properly moving across different DPI monitors
    • rdp: Move audio processing to front-end
    • rdp: Clipboard changes (sync with upstream)
    • WSLGd: don't override certain env if already set
    • Build: fix cut&paste mistake for DirectX-headers git version
    • rdp-plugin: various bug fixes in WSLDVCPlugin DLL

0.61.8

29 Jun 15:08
8f6670b
Compare
Choose a tag to compare
  • Fix potential wslservice.exe crash when tearing down VM state.

0.61.4

24 Jun 15:19
63cd735
Compare
Choose a tag to compare
  • Add support for Explorer quick access icons without the WSL optional component installed.
  • Add support for shift + right click Open Linux shell here option without the WSL optional component installed.
  • Remove WSLg icons when a distro is uninstalled.
  • Add WSLg environment variables to init and all children
  • Fix memory corruption in $WSLENV parsing
  • Update compiler toolchain to LLVM 14 and musl v1.2.3
  • Add support for .xz compressed tar files for wsl.exe --import operations (WSL2 only).
  • Adds the --shell-type command to the wsl.exe and wslg.exe help text.
  • Update Microsoft.WSLg to version 1.0.39
    • Update system distro’s CBL-Mariner to 2.0.
    • Build DirectX-headers from specific version source
    • Optimize remove/add event source when transferring clipboard data.
    • Clean up 'todo' coordinate conversion to client space for local window move
    • Check height instead of checking width a second time
    • weston_desktop_surface_set_size expects window geometry coordinates
    • Add API to remove program menu to RDP client plugin.
    • Add e2fsprogs to system distro for runtime dependencies.
    • Send window zorder list to RDP client before sending window update.
  • Update MSRDC to version 1.2.3213
    • Fix for [MSRDC] TS_PROP_IS_OOB_CLIENT is set incorrectly

0.60.0

07 Jun 20:15
63cd735
Compare
Choose a tag to compare
  • Allow daemonized processes to continue running [GH 8161].
  • Re-enable packaged GPU libs by default and update DXCore library with bugfixes.
  • Use a bind mount for /etc/.X11-unix instead of a symlink so it can be mapped into containers [GH 8411].
  • Fix crash when wsl.exe --import is provided invalid arguments.
  • Ensure correct print order when running wsl.exe --update
  • Update Microsoft.WSLg to version 1.0.34
    • Fix memory use after free in OpenSSL code path (only with TCP/IP RDP connection).
    • Change RDP backend configuration and its name in wslgconfig.
    • Revert enabling pango fallback attribute explicitly as it should be enabled by default.
    • Hardening multi-threading task dispatch from FreeRDP virtual channel thread to wayland display thread.
    • Fix memory leak at rdprail-shell destruction.
    • Report correct marker window zorder to RDP client.
    • Add option to disable remoting window shadow area to RDP client.
    • Refactor rdprail-shell configuration and change its name in .wslgconfig.
    • Set default keyboard model to pc105 (follow changes in upstream).
    • Use glib’s key file API to parse .desktop file.

0.58.3

28 Apr 17:17
Compare
Choose a tag to compare
  • Fix an incorrect mount retry condition that could cause issues launching distros or running wsl.exe --mount
  • Update wsl.exe --update to not print ^C when app is being updated.

0.58.1

14 Apr 21:58
b88392b
Compare
Choose a tag to compare
  • Fix for invalid JSON document error on old Windows Insider builds [GH 8272]
  • Fix "The syntax of the command is incorrect." when launching cmd.exe by full path [GH 8259]
  • Update Microsoft.WSLg to version 1.0.33
    • Fix cursor image being sent to client with no change.
    • Fix weston crash by clipboard operation.
  • Remove double %% in some localized strings
  • Add --cd argument to wslg.exe

0.58.0

07 Apr 18:50
b88392b
Compare
Choose a tag to compare
  • Fix interop hang and hang when accessing \\wsl.localhost or \\wsl$ shares [GH 7883]
  • Add wsl.exe --import-in-place to take an existing .vhdx file and register it as a distro
  • Introduce --vhd flag for wsl.exe --import and wsl.exe --export operations
  • Suppress prints to stdout if using wsl.exe --export to export to stdout
  • Increase the default max size of the dynamic VHD to 1TB
  • Improve error logging in init binary
  • Register binfmt interpreter with the 'P' flag to preserve argv[0] [GH 8162]
  • Handle possible winrt exception when trying to determine if wsl.exe was launched via the start menu
  • Update Microsoft.WSLg version 1.0.32
    • Update system-disto mariner base image to 1.0.20220226
    • Fix WSLg failed to start when Windows's user name contains single-quote (')
    • Add Hebrew (Standard) keyboard layout support.
    • Add US international keyboard layout support.
    • Restore to not rounding up monitor scaling factor.

0.56.2

17 Mar 15:33
f3abb7d
Compare
Choose a tag to compare
  • Include packaged dxcore library to fix issues on retail Win11 [GH 8145]
  • Mount drvfs shares on demand to avoid using the linked token. This improves startup time of launching WSL elevated and ensures the correct package context is used.
  • Fix issue preventing launching Windows executables with large environments [GH 7947]
  • Update kernel to 5.10.102.1
    • Fix a new Linux kernel vulnerability called Dirty Pipe (CVE-2022-0847)
    • Disable unprivileged BPF by default
      • It can be re-enabled by setting /proc/sys/kernel/unprivileged_bpf_disabled to 0
    • Update Dxgkrnl Version to 2216
      • Fix out of bounds array access for ioctls[]
      • Implement wait for sync VM bus messages as killable to allow killing a process waiting for a synchronous call to the host
      • Flush device for termination when process is destroyed to avoid a deadlock when the guest process is killed

0.56.1

11 Mar 16:36
362aaa3
Compare
Choose a tag to compare
  • Prevent /etc/resolv.conf from getting overwritten [GH 8030]
  • Fix issue in the Linux stdout relay to ensure the other end of the pipe is closed
  • Ensure correct user token is used when registering 9p file server for \\wsl.localhost\distro
  • Update wsl.exe --cd to support paths that begin with ~
  • Fix race condition during service startup that could cause a crash
  • Inherit and attach console in wslhost's interop path
  • Resolve quiesce hang Watson reports when updating or uninstalling the WSL package
  • Include packaged Direct3D libraries
  • Update Microsoft Remote Desktop Client to version 1.2.2924
  • Add MSRDC and Direct3D versions to wsl.exe --version

0.51.3

09 Feb 19:29
362aaa3
Compare
Choose a tag to compare
  • Resolve issue with localhost relay introduced by refactoring [GH 7982]
  • Fix HANG_QUIESCE issues on servicing operations.
  • Update Kernel to version 5.10.93.2
    • Enable CH341 and CP210X USB Serial drivers
    • Fix README.md build instructions to include dwarves dependency for pahole
    • Switched Dxgkrnl Version to 2111
      • Removed the limit of existing and total sysmem allocations
      • Properly flush the device for termination during process cleanup
      • Fixed SPDX-License-Identifier for d3dkmthk.h