I'm arguing against your emphatic statement that Ogres weren't considered Humanoids in most editions.
As noted in the previous post, the "Humanoid Racial Preference Table" in the 1e DMG also included Ogres and Hill Giants. This seems to indicate that Ogres (and Hill Giants) are Humanoids.
They also fit the definition of humanoid in the glossary of the DMG: "anthropomorphic, generally hostile creatures".
Now, to the Ranger list. As
@Azzy noted in a post above, the ranger list includes several smaller races. In particular, this list of "giant class creatures" includes "bugbears, ettins, giants, gnolls, goblins, hobogolins, kobolds, ogres, ogre magi, orcs, and trolls". If anything, taking "giant class creatures" in this one list as synonymous with "giant not humanoid" leaves several of the classic humanoids in an odd position and results in some very short giants.
But if Ogres are giants, it makes the case for their being humanoids in 1e even clearer. The first four words under giant in the 1e Monster Manual are "Giants are large humanoids."
I will finally note that it feels like you overstated the case from Hammer of Thunderbolts, as that seems to show that Ogres were not by default counted as giants proper. The * says "Depending on your campaign, you might wish to limit the effects to exclude storm giants and include ogres, ogre magi, trolls, ettins, and clay, flesh, and stone golems". A list that has many differences with the one in the Ranger description.