-
Notifications
You must be signed in to change notification settings - Fork 710
Release 3.10.3.0 moved simpleProgram
between nodules and, so, is *not* strictly a bug-fix release
#9863
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
Comments
Arguably that calls for 3.10.3.1 to reexport it, since API changes like that seem wrong. |
Previously, it was reexported from |
In 3.10.3.0 |
indeed this was a pvp breaking change (#9544) and we shouldn't have let it into a minor release. i think the damage is done at this point, and wouldn't want to reintroduce the problematic module dependency that pr introduced in a further release -- however we should be more mindful in the future, perhaps with automated api-surface comparison tools. |
simpleProgram stopped being exported from Distribution.Simple.Program.Types. It's still imported from Distribution.Simple.Program so let's refer to it there. See: haskell/cabal#9863 See: haskell/cabal#9544
simpleProgram
between nodules and, so, is *not* strictly a bug-fix release
Describe the bug
This is not a bug but rather a short remark. The 3.10.3.0 release was announced as strictly a bug-fix release, but, comparing to 3.10.2.1, there are changes in the interface that may affect users.
I used
simpleProgram
in my custom code withThe
simpleProgram
was previously defined in that module, but in the new release it was moved directly intoDistribution.Simple.Program
. Therefore, the code failed to compile after the upgrade, so I had to replace all my granular imports with the singleDistribution.Simple.Program
.Btw, I agree that
Distribution.Simple.Program.Types
is not a proper place forsimpeProgram
.The text was updated successfully, but these errors were encountered: