Skip to content

Releases: webmd-health-services/Whiskey

0.40.0

28 Jan 21:54
85900ab
Compare
Choose a tag to compare
  • You can now use the Environment class's static properties as Whiskey variables. Using these variables are now recommended over environment variables, since the existence of some environment variables varies between operating systems.
  • Added WHISKEY_TEMP_DIRECTORY built-in variable to get the path to the global/system temporary directory. This uses the value returned by the .NET [Path.GetTempPath()] method.
  • Added WHISKEY_TASK_TEMP_DIRECTORY built-in variable to get the path to the currently executing task's temporary directory, which Whiskey creates/deletes as each task runs.
  • Created ConvertFrom-WhiskeyContext and ConvertTo-WhiskeyContext functions for securely serializing/deserializing Whiskey's context object into background jobs. PowerShell on Linux/MacOS can't serialize SecureString objects. Created these functions to work around that limitation. Used by Whiskey's Parallel and PowerShell tasks.
  • Added support for tasks to define what platform/operating system they can run on with a new Platform property on the task attribute. If a task can only run on a specific platform, set the Platform property to the platform is supports, e.g. [Whiskey.TaskAttribute('SomeTask',Platform=([Whiskey.Platform]::Windows))]. Valid platforms are Windows, Linux, and MacOS. The default platform is All.
  • Added OnlyOnPlatform and ExceptOnPlatform common task properties that control the platforms on which a task will or will not be run. Valid platforms are Windows, Linux, and MacOS.
  • Fixed: ProGetUniversalPackage task doesn''t fail the build if there were errors when adding files to the package.
  • Updated all tasks that use the ProGetAutomation module to default to using version 0.9.* (from 0.8.*).

0.39.0

17 Jan 23:15
59d4e1d
Compare
Choose a tag to compare
  • Whiskey can now run under PowerShell Core.
  • Updated ProGet tasks to depend on ProGetAutomation 0.8.*.
  • Switched ProGetUniversalPackage task to use native .NET compression libraries instead of 7-Zip.
  • ProGetUniversalPackage task should now be faster. It no longer copies files into a temporary directory before creating its package. It now adds files to the package in-place.
  • Created new Zip task for creating ZIP archives.
  • Whiskey no longer ships with a copy of 7-Zip. Instead, if 7-Zip is needed to install a local version of Node (only applicable on Windows due to path length restrictions), 7-Zip is downloaded from nuget.org. If you were using the version of 7-Zip in Whiskey to create ZIP archives during your build, please use the new Zip task instead.
  • Now uses robocopy.exe only on Windows to delete some files/directories. Robocopy is used to work-around Windows path restrictions when deleting items with long paths. Other platforms don't have that restriction.
  • Created Resolve-WhiskeyNodePath function to resolve/get the path to the Node executable in a cross-platform manner.
  • Created Resolve-WhiskeyNodeModulePath function to resolve/get the path to a Node module's directory in a cross-platform manner.
  • Fixed: Whiskey variables fail to be resolved when specified in the key portion of a key:value property in whiskey.yml.

0.38.5

11 Dec 01:04
9059643
Compare
Choose a tag to compare
  • Fixed: GetPowerShellModule task assumes that a module is already installed if an empty directory for that module exists in the PSModules directory.
  • Fixed: PSModules directory isn't removed removed during Clean mode after all contained modules have been deleted.

0.38.4

05 Dec 18:09
840b4e5
Compare
Choose a tag to compare
  • Updating to YAML.NET 5.2.1 (from 4.2.2) because of security vulnerabilities in the old version.
  • Switched to .NET Core version of YAML.NET. Whiskey now requires .NET Framework 4.6.

0.38.3

29 Nov 18:21
bed14c1
Compare
Choose a tag to compare
  • Fixed: ExceptBy common task property was documented but never implemented.
  • Updated 7-Zip binaries to 18.05 (from 16.04) to resolve vulnerability CVE-2018-10115.

0.38.2

09 Nov 03:52
4e0ea7e
Compare
Choose a tag to compare
  • Fixed: Install-WhiskeyPowerShellModule and Resolve-WhiskeyPowerShellModule functions may fail when NuGet package provider is not initialized.

0.38.1

24 Oct 21:11
7c25719
Compare
Choose a tag to compare
  • Fixed: NUnit3 task fails to find ReportGenerator executable when using ReportGenerator-4.0.0.

0.38.0

21 Sep 18:33
898af3d
Compare
Choose a tag to compare
  • Version task now supports pulling a version number from a Chef Cookbook metadata.rb file.
  • Fixed: Detecting versions of installed MSBuild fails if expected registry keys exist but expected values don't exist.
  • Created Import-WhiskeyPowerShellModule function for importing a PowerShell module installed by Whiskey into the global scope.
  • Added support for PowerShell modules to the RequiresTool attribute.
  • Whiskey tasks that use PowerShell modules now use Whiskey's auto-download feature to download required modules during the build.
  • Fixed: publishing to the PowerShell Gallery released in September 2018 is failing. Updating to PowerShellGet 2.0.0 and PackageManagement 1.1.7.2.
  • Created Npm task for running NPM commands.
  • Deprecated the NpmConfig, NpmInstall, NpmPrune, and NpmRunScript tasks. They will be removed in a future version of Whiskey. Use the new Npm task instead.
  • The NodeNspCheck task is obsolete (and will actually stop working when the NSP project shuts down on 30 September 2018). Migrate to the Npm task and use it to run the npm audit command.
  • Created DotNet task for running dotnet.exe commands.
  • Deprecated the DotNetBuild, DotNetPack, DotNetPublish, and DotNetTest tasks. They will be removed in a future version of Whiskey. Use the new DotNet task instead.
  • Fixed: Pester output is duplicated.

0.37.1

06 Sep 20:10
8e44fb6
Compare
Choose a tag to compare
  • Fixed: Detecting versions of installed MSBuild fails if expected registry keys exist but expected values don't exist.

0.37.0

18 Jul 21:17
3879bd3
Compare
Choose a tag to compare
  • Created Get-WhiskeyMSBuildConfiguration and Set-WhiskeyMSBuildConfiguration functions to allow for customizing the configuration to use when running MSBuild tasks/tools.
  • PublishProGetUniversalPackage task can now exclude items from being published. Set the Exclude property to a list of path wildcards. Any path from the Path property that match any wildcards will not be published.
  • Fixed: MSBuild task fails when given Version property and multiple installs of that version of MSBuild exist on the system.