Remove deprecation by updating from 2.8.2 to 2.10.0.
Approved by: maintainer (timeout 2 weeks) PR: 243293