v2.1.0
The add method to add Symfony commands was deprecated in Symfomy version 7.4 and removed in version 8.0. However, since we still allow Symfony versions less than 7.4 (for the time being), we added a check to see if the new method addCommand exists. If it does not, it will fall back to the old add command.