Added v2 deprecation warning and disabled support for v2.

[Finishes #46236885]