Releases: microsoft/WSL
Releases Β· microsoft/WSL
2.6.2
What's Changed
- Add comprehensive GitHub Copilot instructions for WSL development by @Copilot in #13352
- wslg: update to latest version which uses wslinfo --vm-id instead of env var by @benhillis in #13361
- Remove hardcoded
--cd ~
from WSL terminal fragment profiles to support Terminal's startingDirectory by @Copilot in #13350 - Disable HTTP cache when reading the distribution manifest over HTTP by @OneBlue in #13383
- Relaunch the debug shell if user exits it. by @benhillis in #13379
- Update Microsoft .NET and AppSDK nuget packages. by @benhillis in #13450
- logging: add more settings to vm create begin / end events. by @benhillis in #13412
- Fix: Always use 'WSLInterop` as the binfmt name by @benhillis in #13467
- Notice change from build: 129899373 by @benhillis in #13475
- Set TargetLatestRuntimePatch to false to prevent automatic framework version increases by @OneBlue in #13483
- Add WININET_E_TIMEOUT to g_commonErrors by @OneBlue in #13506
- fix: UnboundLocalError in create-release.py by @rodeka in #13499
- Add logic to force terminate the VM if the session lock can't be acquired for 30 seconds when the service stops by @OneBlue in #13493
- Fix incorrect timeout causing WSL1 OOBE to fail if the OOBE process takes longer than 30 seconds by @OneBlue in #13517
- Create a persistent install log file to help root cause package upgrade issues by @OneBlue in #13500
- fix: correct sparse VHD command to include
true
by @junhaoliao in #13512 - Introduce a new wsl.conf config value to allow distributions to opt-in to cgroupv1 mounts by @OneBlue in #13546
- Add more verbose output to bsdtar to help root cause 'ImportExportStdout' test failures by @OneBlue in #13555
- Respect the distribution manifest ordering when listing distributions by @OneBlue in #13561
- Update the initramfs generation logic to set 755 permissions on /init by @OneBlue in #13567
- Update WSLg to 1.0.71 by @hideyukn88 in #13570
- Implement clean instance terminate when using systemd by @benhillis in #13552
- Fix potential service deadlock when plugin returns an error from OnVmStarted by @OneBlue in #13569
- Improve logging when socket operations fail by @OneBlue in #13579
New Contributors
- @jkvn made their first contribution in #13355
- @Copilot made their first contribution in #13352
- @rodeka made their first contribution in #13499
- @junhaoliao made their first contribution in #13512
- @hideyukn88 made their first contribution in #13570
Full Changelog: 2.5.10...2.6.2
2.6.1
What's Changed
- Fix json invalid utf-8 from IconPath by @CarlosNihelton in #13340
- Switch
wslinfo --vm-id
to not rely on presence of VM ID environment variable by @benhillis in #13318 - Fixed CVE-2025-53788 (Details to be published on Aug 12th)
- install: do not attempt to install distros if a reboot is required by @benhillis in #13298
- wslsettings: appropriately set heading level for PageHeaderTextBlockStyle by @benhillis in #13257
- Expose the VM ID inside user distros by @chelnak in #13212
- Don't display a warning when the binfmt process doesn't have a controlling terminal by @OneBlue in #13176
- Fix C1010070 compilation error in wslsettings by @Mlekow in #12928
- Look up systemctl from $PATH for user session checks by @K900 in #13157
- Update Microsoft.RemoteDesktop.Client.MSRDC.SessionHost to version 1.2.6353 by @benhillis in #13271
New Contributors
- @Mlekow made their first contribution in #12928
- @K900 made their first contribution in #13157
- @g0tmi1k made their first contribution in #13182
- @chelnak made their first contribution in #13212
- @kirancheparthi made their first contribution in #13240
- @mohiuddin-khan-shiam made their first contribution in #13201
- @stratusjerry made their first contribution in #13314
- @CarlosNihelton made their first contribution in #13340
Full Changelog: 2.6.0...2.6.1
2.5.10
- Fixed CVE-2025-53788 (Details to be published on Aug 12th)
2.6.0
- First open source release of WSL
- Various stability improvements
- Update localized strings
- Don't throw when unregistering a distro that has a BasePath that doesn't exist (solves #13004)
- Fix distribution download failing if the URL contains parameters
- Fix various issues with systemd user sessions (solves #13053)
- Fix wslsettings crash when invoked from wslservice
- Set MOVEFILE_WRITE_THROUGH when moving distribution VHD's (solves #13055)
- Discard BOM header when parsing the Windows 'hosts' file (solves #9642)
- Correctly report corrupted disks when mount() fails with EUCLEAN (solves #13074)
- Don't use a ? prefix when resolving the distribution location (solves #13064)
- Solve potential failure while downloading a distribution if LastError is non zero
2.5.9
2.5.8
2.5.7
- Update Linux kernel to 6.6.87.1-1
- Update WindowsAppSDK to version 1.7.250401001
- Increase the soft file descriptor limit to 1024 * 1024 (solves #12837)
- Add logic to detect when an imported distribution is invalid
- Move Linux side warnings to new warning infrastructure
- Fix potential deadlock when converting a distribution to WSL1 or WSL2
- Fix download logic to download to a file instead of in memory (solves #12805)
- Use a systemd-generator to create the wslg and binfmt units
2.5.6
- Fix docker by adding back modules loaded at boot (solves #12748)
- Fix command line parsing preventing importing or exporting from stdout / stdin
- Bring back bridged networking mode
- Update to 6.6.84.1 WSL Kernel
- wslinfo: print newline after usage
- Add initgroups helper to work around musl limitation (solves #12755)
- Remove invalid kmesg error when gui apps are disabled
- Fallback to GrantVmAccess when attaching a VHD fails with ERROR_ACCESS_DENIED
- Update UtilConnectToInteropServer to respect g_InitPid and minor wslinfo updates (solves #12714)
- Put sparse vhd support behind an --allow-unsafe flag.
- wslsettings: fix networking mode selection logic (solves #12745)
2.5.4
- Fix the wsl --update --pre-release logic to correctly handle backports and always pick the actual latest
- Set LX_WSL2_INSTALL_PATH even when gui apps are disabled
- Introduce general.instanceIdleTimeout to control distribution termination timeouts (solves #10138, #9401)
- Modify config file parsing to allow empty strings
- Update Microsoft.RemoteDesktop.Client.MSRDC.SessionHost to version 1.2.6074
- Change behavior of a custom kernel with no modules to not log a warning.
- Implement --vhd-size and --fixed-vhd arguments to wsl.exe --install
- Detect when the VM crashes, and capture dmesg
- Resolve kernel warning about ip_local_port_range having start / end with same parity
- Update WSLENV logic to allow passing /l and /p together to translate paths and path lists
- Don't throw when processing an empty argument (solves #12649)
- Disable DNS tunneling if global secure access client is present
- Remove support bridged networking
- Fix wsl.exe --install --enable-wsl1 to work when run as non-elevated
- Fix partial read causing failure to import WSL1 distribution
- wslsettings: Launch MSI version of wsl.exe instead of the one in system32