Updates the migration guide with changes from v5.1.0 and adds new changes that area coming with v5.2.0.
Cherry-picked from #35736.
Updates the migration guide with changes from v5.1.0 and adds new changes that area coming with v5.2.0.
Cherry-picked from #35736.