New version message breaks CLI completion output

When I run “astro completion zsh” it prints the minor version notice breaking the output.

$ astro completion zsh
A new minor version of Astro CLI is available. Your version is 0.23.2 and 0.24.0 is the latest.
See https://www.astronomer.io/docs/cli-quickstart for more information.
#compdef _astro astro


function _astro {
  local -a commands

This message should be printed to stderr thus not interfering with the output.