Constrain dependency within major version, as recommended by semantic versioning