Will completion work in bash 5.2 or zsh 5.8?

I’ve just upgraded my macOS, and its newer shells have broken completion. I’ve followed the instructions but keep getting this error: “Warning: Unable to find the bash-completion package. Command line completion might not work.”

I see that the docs mention that the completion script is made for bash 3.2. Does this mean that it won’t work with the later versions?