use salt.utils.warn_until for deprecation warning