Best practices for data migrations with YJS


Wondering if folks have any best practices for handling data migrations where you need to migrate your data model from one version to another in a collaborative environment with yjs. Are there any helpers to make this easier in yjs? Is there any way for example to migrate any active yjs updates at the time of a data migration?