There don’t seem to be any major changes to the base of from_pretrained(), but the HF_TOKEN and environment variable-related parts have changed quite a bit…
You might be able to find out more by turning on HF_DEBUG and running it.
import os
os.environ["HF_DEBUG"] = "1"