Restored tilde in composer.json version constraints, it looks like it works as expected.