Planet
The smallest known planet is PSR B1257+12A, one of the first extrasolar planets discovered, which was found in 1992 in orbit around a pulsar. Its mass is roughly half that of the planet Mercury. The smallest known planet orbiting a main-sequence star other than the Sun is Kepler-37b, with a mass (and radius) slightly higher than that of the Moon.
Kepler-186f
The nearest-to-Earth-size planet in a habitable zone previously known was Kepler-62f with 1.4 Earth radii. Kepler-186f orbits an M-dwarf star, while Kepler-62f orbits a K-type star. A study of atmospheric evolution in Earth-size planets in habitable zones of G-Stars (a class containing the Sun, but not Kepler-186) suggested that 0.8–1.15 R is the size range for planets small enough to lose their initial accreted hydrogen envelope but large enough to retain an outgassed secondary atmosphere such as Earth's.