guillaumerose was referring to all versions, so both "all OS X versions" and "all macOS versions" would be wrong, no...?
For example, Wikipedia[1] has a page called "OS X Yosemite" which describes it as "A version of the macOS operating system", and the Wikipedia article on macOS[2] says it was first released in 2001.
Because it's a bother to keep in mind when they introduced the new name? Or release names? It's hard to imagine that someone would actually be talking about certain number of releases this way.
PS: Apple's stupid marketing bs strikes again.