The 5.2 branch is "dead" so no, you don't have to do this work on that branch.
Thanks for taking on that.