Answer the question
In order to leave comments, you need to log in
How to inform users of a composer package about a version change that breaks backwards compatibility?
Hello. There is a Yii2 extension written by me that is distributed through Composer. I wrote a long time ago, now I decided to refactor and cover with tests. In the process, there are many class and method relocations that break backward compatibility. If one of the installed users executes composer update
, then after that a bunch of errors will appear in the project. How to warn the user about this? Is it possible to output composer update
some message to the console when executing?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question