Unfortunately, there isn't any easy way to migrate from v3 to v4. The v4 version is modular and a collection of many small libraries instead of one big library. So, the changes are fundamental and might be for better. I found this presentation by Irene Ros as a good start to migrating to v4. Also, refer to the GitHub repo which has many examples of Scott's book migrated to v4.

Related Query