Trapdoors have been in Minecraft since Beta 1.6 in 2011, when they were added alongside maps, grass and dead bushes. Originally they only opened upward, but that was later fixed so they opened down too, and the ability to climb them as a ladder was added.