Rely on stable dependencies as much as possible

It is a best practice to develop our code relying on stable releases of our dependencies.

I've made proper changes to composer.json to do that.

Tests pass.