Skip to content

Releases: microsoft/WSL

0.66.2

19 Aug 14:24
e3a6bcb
Compare
Choose a tag to compare
  • Add wsl2.safeMode option to %userprofile%\.wslconfig
    This change introduces the concept of "Safe Mode" to WSL which disables many features and is intended to be used to recover distributions that are in bad states.
    [wsl2]
    safeMode=true
  • Update wsl.exe to not create stdin / stdout / stderr relay threads if the std handle is not present
  • Do not set window title in wsl.exe [GH 8701]
  • Update Microsoft.WSLg to version 1.0.42
    • WSLg: archive wslg-notify debuginfo
    • rdp: upstream coding style changes
    • rdp: Multihead refactor
    • xwayland: Fix some xwayland focus bugs
    • xwayland: fix default override window position back to (0,0).
    • xwm: Don't send synthetic ConfigureNotify to windows that were mapped O-R
  • Update MSRDC to version 1.2.3401
  • Update Microsoft.Direct3D.Linux to 1.606.4

0.65.3

04 Aug 04:29
e3a6bcb
Compare
Choose a tag to compare
  • Temporarily revert localhost enhancements while investigating a regression [GH 8679]
  • Add more error messages to improved error model

0.65.1

03 Aug 00:04
e3a6bcb
Compare
Choose a tag to compare
0.65.1 Pre-release
Pre-release
  • Improvements to localhost relay to have better performance and accurately report bind failures.
  • Use /dev/ptp0 to keep guest chock in sync with the host
  • Improve the error message if the distro list can't be fetched and wire it to wsl.exe --list --online
  • Update Linux kernel to 5.15.57.1
    • Fix 9p filesystem regressions since the last v5.10 WSL2 kernel
    • Enable support for the Precision Time Protocol (PTP) clock device
    • Enable Retbleed mitigations in x86_64 builds
    • Enable nftables and traffic control
    • Enable VGEM driver
  • Update Microsoft.WSLg to version 1.0.41
    • WSLg: add default x11 bell sound
    • WSLg: Update /etc/wsl.conf to set the default user to wslg
    • WSLGd: add option to start weston under gdbserver
    • WSLGd: simplify weston command line construction
    • compositor: add wslgd-notify
    • compositor: Stop trapping SIGINT
    • compositor: load xwayland module last
    • rdp: resize margin adjustment for MoveWindow/SnapArrange PDU
    • rdpaudio: use pthread_cancel instead of pthread_kill
    • xwayland: give Xwayland its own session
    • xwayland: Don't track focus for override redirect windows

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.