Downgrade a package on Archlinux
The easy way is to install from the Archlinux User Repository (AUR) the package called downgrade.
paru -S downgrade
Then use downgrade to downgrade a package :
sudo downgrade <your package name>
I had to use this package to downgrade the intel-compute-runtime package because the version 24.39 drops support for my GPU. The version 24.35 still support it and will be transformed to a legacy package, but until then i had to downgrade.