-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Breaking API change in 7.6: MinimalExternalModuleDependency
interface adds lots of methods
#22701
Comments
Good catch! I wondering if this falls into the Following this now! |
And if |
oh you are right! well definitely a breaking change :( |
Anyone trying to implement a custom impl of the Optional<Provider<MinimalExternalModuleDependency>> findLibrary(String alias); |
but that is Also, using |
Thank you This issue needs a decision from the team responsible for that area. They have been informed, response time may vary. |
@eskatos given that this is a breaking API change should it be marked for milestone IF they decide to fix, it should be fixed before a release. :) |
Good point, done! |
Hi @yogurtearl, we have decided to go ahead and do the 7.6 release with these breaking changes. The main motivation is the new type safe dependency block for test suites, that we plan to make available in more places ... and maybe replace the project level Ideally, the above changes should have taken in consideration changes to public API interfaces, but that was missed. Designing an evolution instead of a total breaking changes was a difficult challenge, so we will keep this more constrained breakage. I filed #22848 to improve the situation about types open for extension. |
Thanks for the response :) |
starting with
7.6-rc-1
,MinimalExternalModuleDependency
which is a public interface, now extendsExternalModuleDependency
This adds a lot of methods to the
Minimal
interface...This will fail the build or fail at runtime for implementations of the
MinimalExternalModuleDependency
interface.Build time error would look like this:
If plugins implement
MinimalExternalModuleDependency
they will fail at runtime.Rather than change the public interface
MinimalExternalModuleDependency
, could you instead make a newNotVeryMinimalExternalModuleDependency
?The text was updated successfully, but these errors were encountered: