Details in sibling but I dug a bit deeper, new version used to_char, turns out that is STABLE and not IMMUTABLE so because the volatility didn't match the whole way down anymore it broke inlining.
I'm guessing switching the function that calls to_char to STABLE will fix the problem.