Add deprecation warning and bump version