There are a number of breaking changes in RethinkDB 1.12 you should be aware of before migrating.
First, make sure to go through the regular data migration process, since the 1.12 file format isn't compatible with file formats generated by previous versions of RethinkDB.
Then, replace group_by and grouped_map_reduce commands in your applications with the new group command.