github fsprojects/Paket 12.0.1

one hour ago
  • deps(BREAKING): Replace Chessie with FsToolkit.ErrorHandling in Paket.Core. Recompile callers of affected APIs and replace Chessie patterns and helpers with F# Ok and Error. CredsMigrationMode.Parse returns one error, and LockFile.GetPackageHullSafe returns a list of errors - #4513
  • fix: paket add indents the lines that it writes into an indented group of paket.dependencies, the package and the source that it adds to a group without one, as the first line of the group: it wrote them at column 0. In a new group, they stay at column 0 - #3784
  • fix: paket add indents the lines that it writes into an indented group of paket.dependencies, the package and the source that it adds to a group without one, as the first line of the group that is not a comment: it wrote them at column 0. In a new group, they stay at column 0 - #3784
  • fix: paket pack packs only the framework of TargetFramework when a project sets it next to TargetFrameworks, as the SDK builds only that one: it also took the frameworks of TargetFrameworks, and failed with "Unable to find Release output path node" when the project sets no OutputPath
  • fix: paket pack takes the frameworks that a project declares for the build configuration, as in a PropertyGroup with Condition=" '$(Configuration)' == 'Release' ", and for the platform of --build-platform: it read the project file without the configuration and platform set. When the project declares its frameworks only under such a condition, pack failed with "Unable to find Release output path node", or with "Could not find file" for the assembly of the project when it sets an OutputPath; otherwise, pack took the frameworks that the project declares without a condition. Without --build-platform, the platform stays empty, where the SDK takes AnyCPU: a condition such as '$(Configuration)|$(Platform)' == 'Release|AnyCPU' needs --build-platform AnyCPU - #3799
  • fix: paket find-packages reads only the .nupkg files of a local feed. In a feed with a folder per package and version, as dotnet nuget push writes it, it also took the other files whose name has the search text, and could take the .nupkg.sha512 file next to a .nupkg for the package, which failed with "End of Central Directory record could not be found"
  • fix: paket find-packages ignores the case of the search text in a local feed, as on nuget.org. On Linux, it found only the packages whose .nupkg file name has the text in the same case: in a feed written by dotnet nuget push, whose file names are in lowercase, it found nothing for a text with an uppercase letter, such as the ID of the package
  • fix: paket find-packages finds the packages of a local feed whose path starts with ~/ or is relative, as paket install does: in the home directory, or from the folder of paket.dependencies. It looked for them from the current folder, taking ~ as a folder name, so that it found none of the packages of a feed in ~/, nor of a relative feed when run from a subfolder - #4243
  • fix: Paket takes the local feeds source ~, source ~/ and those whose path starts with ~\, as source ~\nuget, in the home directory, as those whose path starts with ~/: it took them as relative to the folder of paket.dependencies
  • See 12.0.1-alpha001

Don't miss a new Paket release

NewReleases is sending notifications on new releases.