Since the new keyboard is still compatible with the older iPad Airs, I’d assume the reverse is true as well. The (last year) Pro keyboards aren’t compatible because the magnets layout on the M4 iPad Pro is different.
The story with these keyboards, especially iPad Pro keyboards, is the ugly part of the whole iPad experience. “Fuck you, give us money” more or less.
But wait, given how iPad Pros now have the same SoC as MacBook Airs, but are crippled (or should I say, “computationally challenged”?), it wouldn’t surprise me if a MacBook Air with built-in cellular connectivity would just make iPad Pro dead in the water.