Upgraded to 3.4.0 now I have to be root

Today I upgraded to 3.4.0 and now I have to run “platformio run --target upload” as root (sudo).
This seems to be because in the .platformio directory (in my home directory) the .cache and other files are now onwned by root.
Did I do something wrong, or does the upgrade unintentionally touch my local files?

Please don’t use SUDO for PIO Core. To fix this, please remove ~/.platformio folder and start a build without sudo.

I probably should have known this … sorry.
chown and chgrp also seem to fix things.