add `since` comments

to help write binary compatibility code in 7.0.x

cherry-picking #465 58e008bd70