The changes were made "for-free" as in no code needed to be changed, but when changing query planners caution should be heeded..
I remember a time where a mysql 5.6->5.7 upgrade crippled our entire monitoring stack:
https://bugs.mysql.com/bug.php?id=87164
https://dba.stackexchange.com/questions/121841/mysql-5-7-inn...