As we have started deprecating some properties introduced earlier (for example: release tag), it might be necessary to introduce two validation modes:
Legacy mode
The mode validates all features ever introduced to package spec, so that we can include also deprecated and old packages. We may need it for publishing logic to resign and revalidate all package revisions.
Strict mode
The strict mode focuses only on current features and guards that developers don't use deprecated features accidentally.
Checklist:
As we have started deprecating some properties introduced earlier (for example: release tag), it might be necessary to introduce two validation modes:
Legacy mode
The mode validates all features ever introduced to package spec, so that we can include also deprecated and old packages. We may need it for publishing logic to resign and revalidate all package revisions.
Strict mode
The strict mode focuses only on current features and guards that developers don't use deprecated features accidentally.
Checklist: