v0.22.0
As part of this release we had 48 issues closed.
- Update of Roslyn, Update to net462, Drop mono script engine
Breaking changes
- #1785 Bump LatestBreakingChange to 0.22.0 (@bjorkstromm)
- #1745 Change parameter for InstallTools and InstallAddins in IScriptProcessor (@bjorkstromm)
- #1720 ILRepackSettings.Libs should be List of DirectoryPath (@Redth)
- #1719 Jenkins BRANCH_NAME is missing (@Roemer)
- #1714 Updated CakeRuntime.TargetVersion to net462
- #1674 MSBuildFileLogger LogFile is a string and not a FilePath
- #1665 NUnit3Settings: Params and multiple results (@Roemer)
- #1651 NUnit3Settings
Verbose
flag obsoleted by NUnit console runner (@akamud) - #1614 Correct the class that TeamCityEnvironmentInfo inherits from (@phillipsj)
- #1597 CommitsSinceVersionSource and PreReleaseNumber as Integer
- #1564 DeleteDirectory cannot delete read-only files (@DixonDs)
- #1540 Upgrade to Roslyn 2.0 (@patriksvensson)
Features
- #1791 Add option to enable MSBuild binary logging
- #1771 Look for msbuild in default install path on Linux (@atsushieno)
- #1761 DoesForEach() extension method
- #1754 VSWhere not returning "prerelease" versions (@olevett)
- #1743 Implement functionality in Cake.NuGet for downloading packages (@bjorkstromm)
- #1734 Add GitLink 3 compatible aliases (@Cheesebaron)
- #1710 Add alias for simple sub-directory listing (@patridge)
- #1699 NuGetPackSettings missing language/locale ID for the package (@devlead)
- #1670 OpenCover is missing some commandline parameter (for example mergebyhash) (@Roemer)
- #1667 Add support for choco download internalize-all-urls (@pascalberger)
- #1621 Add overload for StartProcess which also returns redircted error output (@pascalberger)
Bugs
- #1775 Strange usage of Cake.Core.dll when executing cake sub process (@devlead)
- #1773 NuGetHasSource call do not take care of ArgumentCustomization in NuGetSourcesSettings (@devlead)
- #1759 XmlPoke always writes the xmldeclaration even if the original file didn't have one (@Roemer)
- #1742 Some unit tests are locale-sensitive (@SIkebe)
- #1739 NuGetContentResolver can't find assemblies if located in root (@bjorkstromm)
- #1738 NuGetInstaller can't resolve files if package contains dependencies (@bjorkstromm)
- #1697 CakeContextAdapter do not implement ICakeContext (@devlead)
- #1694 Addin directive shouldn't attempt to load native assemblies (@devlead)
- #1693 Possible bug when setting process environment variable (@devlead)
- #1625 Comma in msbuild commands are not escaped (@Julien-Mialon)
- #1602 MSBuildFileLogger Verbosity does not accept Verbosity.Verbose (@devlead)
- #1537 XmlPeek not working correctly for element nodes (@kcamp)
- #1422 Error: Unkown token when directory contains multibyte characters (@tom-dudley)
Improvements
- #1752 Extend DownloadFile to allow AcceptEncoding gzip (@Roemer)
- #1746 ScriptAnalyzer.Analyze() should not throw, instead return list of errors (@bjorkstromm)
- #1704 Move CakeConsole & CakeBuildLog to Cake.Core and made CakeConfiguration public (@devlead)
- #1512 Please support C# 7 and Roslyn v2 (@patriksvensson)
- #753 Tool Versioning
Documentation
- #1787 Add opt-out config information to assembly version verification error message (@devlead)
- #1780 Fix typo in version.cake
- #1727 Incorrect documentation for XmlPeek Alias (@gep13)
- #1700 Update nuget license url
- #1525 Updated examples for DotNetCoreTest
Pull requests were reviewed by: @agc93, @bjorkstromm, @devlead, @gep13, @patriksvensson, @Roemer
Fixes issues reported by: @bjorkstromm, @Cheesebaron, @david-driscoll, @dbent, @devlead, @DixonDs, @djdelaney, @ErikSchierboom, @gep13, @henningst, @hoffe86, @jnm2, @Julien-Mialon, @kendaleiv, @olevett, @pascalberger, @patridge, @patriksvensson, @peter-perot, @phillipsj, @Redth, @Roemer, @RSchwoerer, @SIkebe, @soydachi, @WebDucer