-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.5.0 should be considered a breaking change? #28
Comments
I agree it would be a breaking change if we now required this line, but I don't think anything changed, see e.g. the composer documentation here? When I create a test project that depends on
If I set up unit tests in this project and run them with E: Maybe something actionable - if there is any project setup that now (in 1.5.0) requires a line like
which wasn't required in 1.4.0, please provide an example of it and I'll gladly change this. |
FYI (you may disagree with my reasoning). I was implementing a customized loader (rather than the generic one
|
@rguttersohn How was autoloading/loading dependencies configured beforehand for these apps that broke? |
I loaded the class with the following code:
|
@JanEbbing , perhaps I have a bit of a unique situation here. I am using the Bedrock/Sage stack maintained by Roots.io team. I am relying on the Bedrock autoloader which worked fine for autoloading versions <=1.40. I haven't been able to figure out why that autoloader isn't working. I also could install DeepL as a theme-level dependence in Sage. It uses a psr-4 autoloader, but I wanted this to be theme agnostic. |
Thanks for the info! I will take a stab at checking why that autoloader doesn't work with us next week. |
Per, issue #27 DeepL PHP library now requires devs to add
prior to instantiating the translator.
In my composer.json, I had my constraints set to allow upgrades to non-breaking versions. However, because of this additional step, the DeepL library triggered fatal errors after a running composer install on a deployment.
However when v1.4.0 is installed and running composer outdated, it denotes v 1.5.0 only contains bug fixes. I disagree considering it will likely break the apps of people coming from v.1.5.0.
Anyhow thought I'd give you a heads up in case this was an oversight.
Also, the fix in the issue above should be mentioned in the docs, right?
The text was updated successfully, but these errors were encountered: