1.22.10 (and prior)
Tweak the preinstall check to not cause errors when Node is installed as root (as a downside, it won't run at all on Windows, which should be an acceptable tradeoff): https://github.com/yarnpkg/yarn/issues/8358
1.22.7
This release doesn't change anything and was caused by a publish issue.
1.22.6
Running yarn init with the -2 flag won't print the set version output anymore.
A new preinstall check will ensure that npm install -g yarn works even under Corepack. It doesn't have any effect on other setups.