cabal-install-3.10.3.0
cabal-install and cabal-install-solver 3.10.3.0 changelog and release notes
Release 3.10.3.0 is strictly a bug-fix release, with the fixes listed below
PkgConfig individual calls #9134
cabal
invokespkg-config
individually for each lib if querying for all doesn't return the expected result
Use compiler flags for caching project config #8819
This ensures that cached project configs with conditionals re-execute the conditional logic when the compiler changes.
Make
check
recogniseTypeAbstractions
#9496 #9503cabal check
will not complain about “Unknown extension” when findingTypeAbstractions
.
check
: add PackageInfo warning #9331 #9525cabal check
will warn about PackageInfo_* modules and provide an upgrade path to 3.12.Fix extra-prog-path propagation #7649 #9519 #9527
- extra-prog-paths are now propagated to all commands. This in particular helps when running a MinGW cabal in the PowerShell, where the MSYS2 paths are usually not available in the PowerShell PATH. GHCup already sets them up for us but they were sometimes lost on the way.
Ignore invalid Unicode in pkg-config descriptions #9608 #9609
Previously, cabal-install would crash when
pkg-config --list-all
contained invalid Unicode. With this change, invalid unicode in package descriptions is ignored, and unparseable package names are considered nonexistent.Script cache dir is the base16 hash of the canonical path of the script. #9459
Script cache dir is the base16 hash of the canonical path of the script.
Fix run command environment #8391 #9341
- The Run command will now add binary paths of dependencies (build-tool-depends) to PATH, just like Exec and Test commands.