Fix deprecated uses

These deprecated uses cause crash in applications
please don't force the dev version. You should still use the ``~`` constraint, but put the minimum to ``-alpha3``. Otherwise it will be far too easy to forget to change it when releasing alpha3, making it unusable