The CallbackValidator class was deprecated in 2.1.
If you implemented custom validators using this interface, you can substitute them by event listeners listening to the FormEvents::POST_BIND (or any other of the *BIND events). In case you used the CallbackValidator class, you should now pass the callback directly to addEventListener.
Here is how you do it.
Before:
After:
Enjoy! 😉