Rather than leave it up to chance, you can take steps to update your specific AirPods model to the latest software version.
The Apple Support page provides instructions to update the firmware for all three: AirPods, AirPods Pro and AirPods Max ...