AM5 was released with the 7000 series CPUs. 8000s are absolutely going to be supported, and there’s a very high chance 9000 will be supported as well. I believe AM4 was supported for 4 generations of CPU.
Chances are you won’t conclusively know which CPU is supported until they are released, but to keep the odds ever in your favor you should pick a higher generation chipset. Unfortunately, it looks like only the 6xx generation are released at the moment so there’s not much choice.