All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fix hashtable references so strict mode works when set in the psakeFile.
- #283 Fix path issue for msbuild is VS 2019. (via @jaymclain)
- #287 In
Exec
function, always rerun command in specified location (via @tiksn and @UberDoodles)
- #281 Support for .Net 4.8 in
Framework
function (via @granit1986) - #285 Add BuildSetup and BuildTearDown functions that are executed at the beginning of the build (before the first task), and at the end of the build (after either all tasks have completed, or a task has failed). (via @UberDoodles)
- Add support for loading in tasks contained in PowerShell modules
-
#267 Add wrapper script for Linux and macOS. (via @dermeister0)
-
#268 Allow more granularity when specifying versions of modules to load when referencing shared tasks (via @RandomNoun7)
-
#274 Add support for Visual Studio 2019 and MSBuild 16.0. (via @petedavis)
-
#276 Pass task detail including error information into TaskSetup and TaskTearDown. (via @davidalpert)
- #272 Improve parameter initialization error handling to include the parameter name which caused failure (via @GreatTeacherBasshead)
-
#260 Change the build time report to show individual task durations instead of cumulative (via @sideproject)
-
#261 Use
$global:lastexitcode
instead of$lastexitcode
in Exec (via @gpetrou)
- #259 Add $psake.error_message property which contains the error message that cause the build to fail (via @sideproject)
- Re-apply changes from PR #257 as they apparently were not committed correctly.
- #244 Update build success message to be more general: psake succeeded (via @rkeithhill)
- #249 Allow working with preloaded VSSetup module (via @havranek1024)
- #236 Change check for
$IsWindows
so it doesn't generate an error record (via @rkeithhill)
As part of this release we had 13 issues closed.
-
#198 Add support for PowerShell Core on macOS and Linux. (via @dbroeglin)
-
#196 Deprecate default build script name
default.ps1
in favor ofpsakefile.ps1
. (via @glennsarti) -
Remove legacy PowerShell v2 support. PSake now supports v3 and above.
-
#228 Project structure refactor (via @devblackops)
-
#227 Ensure postAction and taskTeardown tasks get called after action failure (via @stephan-dowding)
-
#222 Add support for .Net frameworks 4.6.2, 4.7, and 4.7.1. (via @rkeithhill)
-
#218 Improve Build Time Report by using custom
FormatTaskName
value for header and display task timing at millisecond accuracy instead of microsecond. (via @theunrepentantgeek) -
#200 Add
WorkingDirectory
parameter toExec
function. (via @DaveSenn) -
#190 Use
WriteColoredOutput
for all task headers. (via @damianpowell)
As part of this release we had 6 issues closed.
- #149 Using ErrorAction Ignore in PSv3+
- #153 Invoke-psake with option to return documentation should return objects instead of formated string
- #147 Added an option '-notr' to disable output of time report.
- #143 Publish Psake on PowerShellGallery
- #155 Move wiki content to readthedocs
- #152 Adding an example for a parallel task
- #138 Cleanup MaxRetries and RetryTriggerErrorPattern in the context of Task. (#117 and #103)
- #141 Added support for .NET 4.6.1