Based on D&D 5E rules.
All changes approved by Wizards of the Coast.
Wizards of the Coast worked directly with Larian to change the Ranger as the PHB ranger was under-powered and didn't translate to a video game.
That is why theyt release Revised Ranger? They could have use that.