RTBC +1
Here's the correct patch file which includes nothing but the JS fix from #2.
#2 seems to fix it, nice work mdolnik.
To keep things simple and just fix the issue that's mentioned in the original post, I'd leave the versioning out of the patch though. The versioning could be done as a separate issue/PR/patch.
Could this work? It clears the deleted field's config from config/sync/diff.plugins.yml
when the field is deleted.
To test:
1. Add a new field to e.g. a content type.
2. Run drush cex
and make sure you see the field in config/sync/diff.plugins.yml
.
3. Delete the field.
4. Run drush cex
again and make sure the field's not there anymore.
#2 fixed it for us, thanks!
Tuuuukka → created an issue.
Tuuuukka → created an issue.