## [5.0.0] - 2026-03-21 Alpha #356
HeyItsGilbert
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Added
Task 'Build' @{ DependsOn = 'Clean'; Action = { ... } }with validated keys (typos throw errors)Versiondeclaration:Version 5at the top of a build file enforces the required psake major versionPropertiessyntax:Properties @{ Config = 'Release' }as alternative to scriptblock-CompileOnlyparameter onInvoke-psake: returns the build plan without executing tasks (for tooling/testing)Inputs/Outputs(glob patterns or scriptblocks) are content-addressed cached in.psake/cache/; unchanged tasks are skipped-NoCacheparameter onInvoke-psake: bypass caching for a single runInvoke-psakereturns aPsakeBuildResultwith per-taskPsakeTaskResult(status, duration, cached flag)-OutputFormat JSON|GitHubActionsparameter onInvoke-psakefor CI integration; GitHubActions emits::error::,::warning::,::debug::workflow annotations-Quietparameter onInvoke-psake: suppress all console output while still returning structured resultsGet-PsakeBuildPlanfunction: testability API to compile a build file and inspect the plan without executingTest-PsakeTaskfunction: testability API to execute a single task in isolation without triggering dependenciesClear-PsakeCachefunction: clear the local task cacheCachedcolumn in Build Time Report showing which tasks were served from cacheInputs,Outputs,InputHash,Cached,Executedproperties onPsakeTaskclassPsakeBuildPlanclass for compile-phase build plan representationPsakeBuildResultandPsakeTaskResultclasses for structured outputdocs/migration-v4-to-v5.mdChanged
4.0to4.7.2Invoke-psakenow returns aPsakeBuildResultobject (previously returned nothing);$psake.build_successis retained for backward compatibilityNew-Object PSObjectreplaced with[PSCustomObject]in module internalsWrite-BuildMessagewith$env:NO_COLORsupport; colored output is disabled automatically whenNO_COLORis setRemoved
default.ps1fallback: build files must be namedpsakefile.ps1(or specified explicitly via-BuildFile)psake.ps1andpsake.cmd: useImport-Module psake; Invoke-psakeinstead$frameworkglobal variable: use theFrameworkfunction orpsake-config.ps1insteadLegacyBuildFileNameconfiguration optionOutputHandler,OutputHandlers, andColoredOutputconfiguration properties: output is now handled byWrite-BuildMessagewith format-based routing (-OutputFormat GitHubActionsfor CI annotations)Write-PsakeOutputandWrite-ColoredOutputinternal functionspsake-config.ps1output handler override examplesThis discussion was created from the release ## [5.0.0] - 2026-03-21 Alpha.
Beta Was this translation helpful? Give feedback.
All reactions