Elasticsearch can log warnings when deprecated features are used. We could introduce new checks to avoid the use of deprecated features in packages, and to check in daily builds if Fleet needs to be adapted to migrate packages.
 For example we found cases of uses of the deprecated _source.mode setting: elastic/kibana#206307.