mirror of
https://github.com/go-task/task.git
synced 2025-03-19 21:17:46 +02:00
248 lines
83 KiB
HTML
248 lines
83 KiB
HTML
<!doctype html>
|
|
<html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-changelog">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="generator" content="Docusaurus v2.2.0">
|
|
<title data-rh="true">Changelog | Task</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://taskfile.dev/changelog/"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="og:image" content="https://taskfile.dev/img/og-image.png"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Changelog | Task"><meta data-rh="true" name="description" content="v3.21.0 - 2023-02-22"><meta data-rh="true" property="og:description" content="v3.21.0 - 2023-02-22"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://taskfile.dev/changelog/"><link data-rh="true" rel="alternate" href="https://taskfile.dev/changelog/" hreflang="en"><link data-rh="true" rel="alternate" href="https://taskfile.dev/changelog/" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://7IZIJ13AI7-dsn.algolia.net" crossorigin="anonymous"><link rel="preconnect" href="https://www.google-analytics.com">
|
|
<link rel="preconnect" href="https://www.googletagmanager.com">
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4RT25NXQ7N"></script>
|
|
<script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-4RT25NXQ7N",{anonymize_ip:!0})</script>
|
|
|
|
|
|
<link rel="search" type="application/opensearchdescription+xml" title="Task" href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.127b1661.css">
|
|
<link rel="preload" href="/assets/js/runtime~main.d068029d.js" as="script">
|
|
<link rel="preload" href="/assets/js/main.379bdc30.js" as="script">
|
|
</head>
|
|
<body class="navigation-with-keyboard">
|
|
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
|
|
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo.svg" alt="Task Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/img/logo.svg" alt="Task Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Task</b></a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/installation/">Installation</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/usage/">Usage</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/api/">API</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/donate/">Donate</a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/go-task/task" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><a href="https://twitter.com/taskfiledev" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><a href="https://fosstodon.org/@task" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">Mastodon<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><a href="https://discord.gg/6TY36E39UK" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0 docsWrapper_BCFX"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"><div class="sidebar_njMd"><nav class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/">Home</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/installation/">Installation</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/usage/">Usage</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/api/">API Reference</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/faq/">FAQ</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/styleguide/">Styleguide</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" href="/changelog/">Changelog</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/community/">Community</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/contributing/">Contributing</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/releasing/">Releasing</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/taskfile-versions/">Taskfile Versions</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/donate/">Donate</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a href="https://task-zh.readthedocs.io/zh_CN/latest/" target="_blank" rel="noopener noreferrer" class="menu__link menuExternalLink_NmtK">Chinese | 中国人<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></nav></div></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_OVgt"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">Changelog</span><meta itemprop="position" content="1"></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><h1>Changelog</h1><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3210---2023-02-22">v3.21.0 - 2023-02-22<a class="hash-link" href="#v3210---2023-02-22" title="Direct link to heading"></a></h2><ul><li>Added new <code>TASK_VERSION</code> special variable
|
|
(<a href="https://github.com/go-task/task/issues/990" target="_blank" rel="noopener noreferrer">#990</a>, <a href="https://github.com/go-task/task/pull/1014" target="_blank" rel="noopener noreferrer">#1014</a> by @ja1code).</li><li>Fixed a bug where tasks were sometimes incorrectly marked as internal (<a href="https://github.com/go-task/task/pull/1007" target="_blank" rel="noopener noreferrer">#1007</a> by @pd93).</li><li>Update to Go 1.20 (bump minimum version to 1.19) (<a href="https://github.com/go-task/task/pull/1010" target="_blank" rel="noopener noreferrer">#1010</a> by @pd93)</li><li>Added environment variable <code>FORCE_COLOR</code> support to force color output. Usefull for environments without TTY (<a href="https://github.com/go-task/task/pull/1003" target="_blank" rel="noopener noreferrer">#1003</a> by @automation-stack)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3200---2023-01-14">v3.20.0 - 2023-01-14<a class="hash-link" href="#v3200---2023-01-14" title="Direct link to heading"></a></h2><ul><li>Improve behavior and performance of status checking when using the
|
|
<code>timestamp</code> mode
|
|
(<a href="https://github.com/go-task/task/issues/976" target="_blank" rel="noopener noreferrer">#976</a>, <a href="https://github.com/go-task/task/pull/977" target="_blank" rel="noopener noreferrer">#977</a> by @aminya).</li><li>Performance optimizations were made for large Taskfiles
|
|
(<a href="https://github.com/go-task/task/pull/982" target="_blank" rel="noopener noreferrer">#982</a> by @pd93).</li><li>Add ability to configure options for the <a href="https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html" target="_blank" rel="noopener noreferrer"><code>set</code></a>
|
|
and <a href="https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html" target="_blank" rel="noopener noreferrer"><code>shopt</code></a> builtins
|
|
(<a href="https://github.com/go-task/task/issues/908" target="_blank" rel="noopener noreferrer">#908</a>, <a href="https://github.com/go-task/task/pull/929" target="_blank" rel="noopener noreferrer">#929</a> by @pd93, <a href="http://taskfile.dev/usage/#set-and-shopt" target="_blank" rel="noopener noreferrer">Documentation</a>).</li><li>Add new <code>platforms:</code> attribute to <code>task</code> and <code>cmd</code>, so it's now possible to
|
|
choose in which platforms that given task or command will be run on. Possible
|
|
values are operating system (GOOS), architecture (GOARCH) or a combination of
|
|
the two. Example: <code>platforms: [linux]</code>, <code>platforms: [amd64]</code> or
|
|
<code>platforms: [linux/amd64]</code>. Other platforms will be skipped
|
|
(<a href="https://github.com/go-task/task/issues/978" target="_blank" rel="noopener noreferrer">#978</a>, <a href="https://github.com/go-task/task/pull/980" target="_blank" rel="noopener noreferrer">#980</a> by @leaanthony).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3191---2022-12-31">v3.19.1 - 2022-12-31<a class="hash-link" href="#v3191---2022-12-31" title="Direct link to heading"></a></h2><ul><li>Small bug fix: closing <code>Taskfile.yml</code> once we're done reading it
|
|
(<a href="https://github.com/go-task/task/issues/963" target="_blank" rel="noopener noreferrer">#963</a>, <a href="https://github.com/go-task/task/pull/964" target="_blank" rel="noopener noreferrer">#964</a> by @HeCorr).</li><li>Fixes a bug in v2 that caused a panic when using a <code>Taskfile_{{OS}}.yml</code> file
|
|
(<a href="https://github.com/go-task/task/issues/961" target="_blank" rel="noopener noreferrer">#961</a>, <a href="https://github.com/go-task/task/pull/971" target="_blank" rel="noopener noreferrer">#971</a> by @pd93).</li><li>Fixed a bug where watch intervals set in the Taskfile were not being respected (<a href="https://github.com/go-task/task/pull/969" target="_blank" rel="noopener noreferrer">#969</a>, <a href="https://github.com/go-task/task/pull/970" target="_blank" rel="noopener noreferrer">#970</a> by @pd93)</li><li>Add <code>--json</code> flag (alias <code>-j</code>) with the intent to improve support for code
|
|
editors and add room to other possible integrations. This is basic for now,
|
|
but we plan to add more info in the near future
|
|
(<a href="https://github.com/go-task/task/pull/936" target="_blank" rel="noopener noreferrer">#936</a> by @davidalpert, <a href="https://github.com/go-task/task/issues/764" target="_blank" rel="noopener noreferrer">#764</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3190---2022-12-05">v3.19.0 - 2022-12-05<a class="hash-link" href="#v3190---2022-12-05" title="Direct link to heading"></a></h2><ul><li>Installation via npm now supports <a href="https://pnpm.io/" target="_blank" rel="noopener noreferrer">pnpm</a> as well
|
|
(<a href="https://github.com/go-task/go-npm/issues/2" target="_blank" rel="noopener noreferrer">go-task/go-npm#2</a>, <a href="https://github.com/go-task/go-npm/pull/3" target="_blank" rel="noopener noreferrer">go-task/go-npm#3</a>).</li><li>It's now possible to run Taskfiles from subdirectories! A new <code>USER_WORKING_DIR</code> special
|
|
variable was added to add even more flexibility for monorepos
|
|
(<a href="https://github.com/go-task/task/issues/289" target="_blank" rel="noopener noreferrer">#289</a>, <a href="https://github.com/go-task/task/pull/920" target="_blank" rel="noopener noreferrer">#920</a>).</li><li>Add task-level <code>dotenv</code> support
|
|
(<a href="https://github.com/go-task/task/issues/389" target="_blank" rel="noopener noreferrer">#389</a>, <a href="https://github.com/go-task/task/pull/904" target="_blank" rel="noopener noreferrer">#904</a>).</li><li>It's now possible to use global level variables on <code>includes</code>
|
|
(<a href="https://github.com/go-task/task/issues/942" target="_blank" rel="noopener noreferrer">#942</a>, <a href="https://github.com/go-task/task/pull/943" target="_blank" rel="noopener noreferrer">#943</a>).</li><li>The website got a brand new <a href="https://task-zh.readthedocs.io/zh_CN/latest/" target="_blank" rel="noopener noreferrer">translation to Chinese</a>
|
|
by <a href="https://github.com/DeronW" target="_blank" rel="noopener noreferrer">@DeronW</a>. Thanks!</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3180---2022-11-12">v3.18.0 - 2022-11-12<a class="hash-link" href="#v3180---2022-11-12" title="Direct link to heading"></a></h2><ul><li>Show aliases on <code>task --list --silent</code> (<code>task --ls</code>). This means that aliases
|
|
will be completed by the completion scripts
|
|
(<a href="https://github.com/go-task/task/pull/919" target="_blank" rel="noopener noreferrer">#919</a>).</li><li>Tasks in the root Taskfile will now be displayed first in <code>--list</code>/<code>--list-all</code>
|
|
output (<a href="https://github.com/go-task/task/pull/806" target="_blank" rel="noopener noreferrer">#806</a>, <a href="https://github.com/go-task/task/pull/890" target="_blank" rel="noopener noreferrer">#890</a>).</li><li>It's now possible to call a <code>default</code> task in an included Taskfile by using
|
|
just the namespace. For example: <code>docs:default</code> is now automatically
|
|
aliased to <code>docs</code>
|
|
(<a href="https://github.com/go-task/task/issues/661" target="_blank" rel="noopener noreferrer">#661</a>, <a href="https://github.com/go-task/task/pull/815" target="_blank" rel="noopener noreferrer">#815</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3170---2022-10-14">v3.17.0 - 2022-10-14<a class="hash-link" href="#v3170---2022-10-14" title="Direct link to heading"></a></h2><ul><li>Add a "Did you mean ...?" suggestion when a task does not exits another one
|
|
with a similar name is found
|
|
(<a href="https://github.com/go-task/task/issues/867" target="_blank" rel="noopener noreferrer">#867</a>, <a href="https://github.com/go-task/task/pull/880" target="_blank" rel="noopener noreferrer">#880</a>).</li><li>Now YAML parse errors will print which Taskfile failed to parse
|
|
(<a href="https://github.com/go-task/task/issues/885" target="_blank" rel="noopener noreferrer">#885</a>, <a href="https://github.com/go-task/task/pull/887" target="_blank" rel="noopener noreferrer">#887</a>).</li><li>Add ability to set <code>aliases</code> for tasks and namespaces (<a href="https://github.com/go-task/task/pull/268" target="_blank" rel="noopener noreferrer">#268</a>, <a href="https://github.com/go-task/task/pull/340" target="_blank" rel="noopener noreferrer">#340</a>, <a href="https://github.com/go-task/task/pull/879" target="_blank" rel="noopener noreferrer">#879</a>).</li><li>Improvements to Fish shell completion
|
|
(<a href="https://github.com/go-task/task/pull/897" target="_blank" rel="noopener noreferrer">#897</a>).</li><li>Added ability to set a different watch interval by setting
|
|
<code>interval: '500ms'</code> or using the <code>--interval=500ms</code> flag
|
|
(<a href="https://github.com/go-task/task/issues/813" target="_blank" rel="noopener noreferrer">#813</a>, <a href="https://github.com/go-task/task/pull/865" target="_blank" rel="noopener noreferrer">#865</a>).</li><li>Add colored output to <code>--list</code>, <code>--list-all</code> and <code>--summary</code> flags (<a href="https://github.com/go-task/task/pull/845" target="_blank" rel="noopener noreferrer">#845</a>, <a href="https://github.com/go-task/task/pull/874" target="_blank" rel="noopener noreferrer">#874</a>).</li><li>Fix unexpected behavior where <code>label:</code> was being shown instead of the task
|
|
name on <code>--list</code>
|
|
(<a href="https://github.com/go-task/task/issues/603" target="_blank" rel="noopener noreferrer">#603</a>, <a href="https://github.com/go-task/task/pull/877" target="_blank" rel="noopener noreferrer">#877</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3160---2022-09-29">v3.16.0 - 2022-09-29<a class="hash-link" href="#v3160---2022-09-29" title="Direct link to heading"></a></h2><ul><li>Add <code>npm</code> as new installation method: <code>npm i -g @go-task/cli</code>
|
|
(<a href="https://github.com/go-task/task/issues/870" target="_blank" rel="noopener noreferrer">#870</a>, <a href="https://github.com/go-task/task/pull/871" target="_blank" rel="noopener noreferrer">#871</a>, <a href="https://www.npmjs.com/package/@go-task/cli" target="_blank" rel="noopener noreferrer">npm package</a>).</li><li>Add support to marking tasks and includes as internal, which will hide them
|
|
from <code>--list</code> and <code>--list-all</code>
|
|
(<a href="https://github.com/go-task/task/pull/818" target="_blank" rel="noopener noreferrer">#818</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3152---2022-09-08">v3.15.2 - 2022-09-08<a class="hash-link" href="#v3152---2022-09-08" title="Direct link to heading"></a></h2><ul><li>Fix error when using variable in <code>env:</code> introduced in the previous release
|
|
(<a href="https://github.com/go-task/task/issues/858" target="_blank" rel="noopener noreferrer">#858</a>, <a href="https://github.com/go-task/task/pull/866" target="_blank" rel="noopener noreferrer">#866</a>).</li><li>Fix handling of <code>CLI_ARGS</code> (<code>--</code>) in Bash completion
|
|
(<a href="https://github.com/go-task/task/pull/863" target="_blank" rel="noopener noreferrer">#863</a>).</li><li>On zsh completion, add ability to replace <code>--list-all</code> with <code>--list</code> as
|
|
already possible on the Bash completion
|
|
(<a href="https://github.com/go-task/task/pull/861" target="_blank" rel="noopener noreferrer">#861</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3150---2022-09-03">v3.15.0 - 2022-09-03<a class="hash-link" href="#v3150---2022-09-03" title="Direct link to heading"></a></h2><ul><li>Add new special variables <code>ROOT_DIR</code> and <code>TASKFILE_DIR</code>. This was a highly
|
|
requested feature
|
|
(<a href="https://github.com/go-task/task/issues/215" target="_blank" rel="noopener noreferrer">#215</a>, <a href="https://github.com/go-task/task/pull/857" target="_blank" rel="noopener noreferrer">#857</a>, <a href="https://taskfile.dev/api/#special-variables" target="_blank" rel="noopener noreferrer">Documentation</a>).</li><li>Follow symlinks on <code>sources</code>
|
|
(<a href="https://github.com/go-task/task/issues/826" target="_blank" rel="noopener noreferrer">#826</a>, <a href="https://github.com/go-task/task/pull/831" target="_blank" rel="noopener noreferrer">#831</a>).</li><li>Improvements and fixes to Bash completion
|
|
(<a href="https://github.com/go-task/task/pull/835" target="_blank" rel="noopener noreferrer">#835</a>, <a href="https://github.com/go-task/task/pull/844" target="_blank" rel="noopener noreferrer">#844</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3141---2022-08-03">v3.14.1 - 2022-08-03<a class="hash-link" href="#v3141---2022-08-03" title="Direct link to heading"></a></h2><ul><li>Always resolve relative include paths relative to the including Taskfile
|
|
(<a href="https://github.com/go-task/task/issues/822" target="_blank" rel="noopener noreferrer">#822</a>, <a href="https://github.com/go-task/task/pull/823" target="_blank" rel="noopener noreferrer">#823</a>).</li><li>Fix ZSH and PowerShell completions to consider all tasks instead of just the
|
|
public ones (those with descriptions)
|
|
(<a href="https://github.com/go-task/task/pull/803" target="_blank" rel="noopener noreferrer">#803</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3140---2022-07-08">v3.14.0 - 2022-07-08<a class="hash-link" href="#v3140---2022-07-08" title="Direct link to heading"></a></h2><ul><li>Add ability to override the <code>.task</code> directory location with the
|
|
<code>TASK_TEMP_DIR</code> environment variable.</li><li>Allow to override Task colors using environment variables:
|
|
<code>TASK_COLOR_RESET</code>, <code>TASK_COLOR_BLUE</code>, <code>TASK_COLOR_GREEN</code>,
|
|
<code>TASK_COLOR_CYAN</code>, <code>TASK_COLOR_YELLOW</code>, <code>TASK_COLOR_MAGENTA</code>
|
|
and <code>TASK_COLOR_RED</code>
|
|
(<a href="https://github.com/go-task/task/pull/568" target="_blank" rel="noopener noreferrer">#568</a>, <a href="https://github.com/go-task/task/pull/792" target="_blank" rel="noopener noreferrer">#792</a>).</li><li>Fixed bug when using the <code>output: group</code> mode where STDOUT and STDERR were
|
|
being print in separated blocks instead of in the right order
|
|
(<a href="https://github.com/go-task/task/issues/779" target="_blank" rel="noopener noreferrer">#779</a>).</li><li>Starting on this release, ARM architecture binaries are been released to Snap
|
|
as well
|
|
(<a href="https://github.com/go-task/task/issues/795" target="_blank" rel="noopener noreferrer">#795</a>).</li><li>i386 binaries won't be available anymore on Snap because Ubuntu removed the support
|
|
for this architecture.</li><li>Upgrade mvdan.cc/sh, which fixes a bug with associative arrays
|
|
(<a href="https://github.com/go-task/task/issues/785" target="_blank" rel="noopener noreferrer">#785</a>, <a href="https://github.com/mvdan/sh/issues/884" target="_blank" rel="noopener noreferrer">mvdan/sh#884</a>, <a href="https://github.com/mvdan/sh/pull/893" target="_blank" rel="noopener noreferrer">mvdan/sh#893</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3130---2022-06-13">v3.13.0 - 2022-06-13<a class="hash-link" href="#v3130---2022-06-13" title="Direct link to heading"></a></h2><ul><li>Added <code>-n</code> as an alias to <code>--dry</code>
|
|
(<a href="https://github.com/go-task/task/issues/776" target="_blank" rel="noopener noreferrer">#776</a>, <a href="https://github.com/go-task/task/pull/777" target="_blank" rel="noopener noreferrer">#777</a>).</li><li>Fix behavior of interrupt (SIGINT, SIGTERM) signals. Task will now give time
|
|
for the processes running to do cleanup work
|
|
(<a href="https://github.com/go-task/task/issues/458" target="_blank" rel="noopener noreferrer">#458</a>, <a href="https://github.com/go-task/task/pull/479" target="_blank" rel="noopener noreferrer">#479</a>, <a href="https://github.com/go-task/task/issues/728" target="_blank" rel="noopener noreferrer">#728</a>, <a href="https://github.com/go-task/task/pull/769" target="_blank" rel="noopener noreferrer">#769</a>).</li><li>Add new <code>--exit-code</code> (<code>-x</code>) flag that will pass-through the exit form the
|
|
command being ran
|
|
(<a href="https://github.com/go-task/task/pull/755" target="_blank" rel="noopener noreferrer">#755</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3121---2022-05-10">v3.12.1 - 2022-05-10<a class="hash-link" href="#v3121---2022-05-10" title="Direct link to heading"></a></h2><ul><li>Fixed bug where, on Windows, variables were ending with <code>\r</code> because we were
|
|
only removing the final <code>\n</code> but not <code>\r\n</code>
|
|
(<a href="https://github.com/go-task/task/issues/717" target="_blank" rel="noopener noreferrer">#717</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3120---2022-03-31">v3.12.0 - 2022-03-31<a class="hash-link" href="#v3120---2022-03-31" title="Direct link to heading"></a></h2><ul><li>The <code>--list</code> and <code>--list-all</code> flags can now be combined with the <code>--silent</code>
|
|
flag to print the task names only, without their description
|
|
(<a href="https://github.com/go-task/task/pull/691" target="_blank" rel="noopener noreferrer">#691</a>).</li><li>Added support for multi-level inclusion of Taskfiles. This means that
|
|
included Taskfiles can also include other Taskfiles. Before this was limited
|
|
to one level
|
|
(<a href="https://github.com/go-task/task/issues/390" target="_blank" rel="noopener noreferrer">#390</a>, <a href="https://github.com/go-task/task/discussions/623" target="_blank" rel="noopener noreferrer">#623</a>, <a href="https://github.com/go-task/task/pull/656" target="_blank" rel="noopener noreferrer">#656</a>).</li><li>Add ability to specify vars when including a Taskfile.
|
|
<a href="https://taskfile.dev/#/usage?id=vars-of-included-taskfiles" target="_blank" rel="noopener noreferrer">Check out the documentation</a>
|
|
for more information.
|
|
(<a href="https://github.com/go-task/task/pull/677" target="_blank" rel="noopener noreferrer">#677</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3110---2022-02-19">v3.11.0 - 2022-02-19<a class="hash-link" href="#v3110---2022-02-19" title="Direct link to heading"></a></h2><ul><li>Task now supports printing begin and end messages when using the <code>group</code>
|
|
output mode, useful for grouping tasks in CI systems.
|
|
<a href="http://taskfile.dev/#/usage?id=output-syntax" target="_blank" rel="noopener noreferrer">Check out the documentation</a> for more information
|
|
(<a href="https://github.com/go-task/task/issues/647" target="_blank" rel="noopener noreferrer">#647</a>, <a href="https://github.com/go-task/task/pull/651" target="_blank" rel="noopener noreferrer">#651</a>).</li><li>Add <code>Taskfile.dist.yml</code> and <code>Taskfile.dist.yaml</code> to the supported file
|
|
name list. <a href="https://taskfile.dev/#/usage?id=supported-file-names" target="_blank" rel="noopener noreferrer">Check out the documentation</a> for more information
|
|
(<a href="https://github.com/go-task/task/issues/498" target="_blank" rel="noopener noreferrer">#498</a>, <a href="https://github.com/go-task/task/pull/666" target="_blank" rel="noopener noreferrer">#666</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3100---2022-01-04">v3.10.0 - 2022-01-04<a class="hash-link" href="#v3100---2022-01-04" title="Direct link to heading"></a></h2><ul><li>A new <code>--list-all</code> (alias <code>-a</code>) flag is now available. It's similar to the
|
|
exiting <code>--list</code> (<code>-l</code>) but prints all tasks, even those without a
|
|
description
|
|
(<a href="https://github.com/go-task/task/issues/383" target="_blank" rel="noopener noreferrer">#383</a>, <a href="https://github.com/go-task/task/pull/401" target="_blank" rel="noopener noreferrer">#401</a>).</li><li>It's now possible to schedule cleanup commands to run once a task finishes
|
|
with the <code>defer:</code> keyword
|
|
(<a href="https://taskfile.dev/#/usage?id=doing-task-cleanup-with-defer" target="_blank" rel="noopener noreferrer">Documentation</a>, <a href="https://github.com/go-task/task/issues/475" target="_blank" rel="noopener noreferrer">#475</a>, <a href="https://github.com/go-task/task/pull/626" target="_blank" rel="noopener noreferrer">#626</a>).</li><li>Remove long deprecated and undocumented <code>$</code> variable prefix and <code>^</code> command
|
|
prefix
|
|
(<a href="https://github.com/go-task/task/issues/642" target="_blank" rel="noopener noreferrer">#642</a>, <a href="https://github.com/go-task/task/issues/644" target="_blank" rel="noopener noreferrer">#644</a>, <a href="https://github.com/go-task/task/pull/645" target="_blank" rel="noopener noreferrer">#645</a>).</li><li>Add support for <code>.yaml</code> extension (as an alternative to <code>.yml</code>).
|
|
This was requested multiple times throughout the years. Enjoy!
|
|
(<a href="https://github.com/go-task/task/issues/183" target="_blank" rel="noopener noreferrer">#183</a>, <a href="https://github.com/go-task/task/pull/184" target="_blank" rel="noopener noreferrer">#184</a>, <a href="https://github.com/go-task/task/issues/369" target="_blank" rel="noopener noreferrer">#369</a>, <a href="https://github.com/go-task/task/issues/584" target="_blank" rel="noopener noreferrer">#584</a>, <a href="https://github.com/go-task/task/pull/621" target="_blank" rel="noopener noreferrer">#621</a>).</li><li>Fixed error when computing a variable when the task directory do not exist
|
|
yet
|
|
(<a href="https://github.com/go-task/task/issues/481" target="_blank" rel="noopener noreferrer">#481</a>, <a href="https://github.com/go-task/task/pull/579" target="_blank" rel="noopener noreferrer">#579</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v392---2021-12-02">v3.9.2 - 2021-12-02<a class="hash-link" href="#v392---2021-12-02" title="Direct link to heading"></a></h2><ul><li>Upgrade <a href="https://github.com/mvdan/sh" target="_blank" rel="noopener noreferrer">mvdan/sh</a> which contains a fix a for
|
|
a important regression on Windows
|
|
(<a href="https://github.com/go-task/task/issues/619" target="_blank" rel="noopener noreferrer">#619</a>, <a href="https://github.com/mvdan/sh/issues/768" target="_blank" rel="noopener noreferrer">mvdan/sh#768</a>, <a href="https://github.com/mvdan/sh/pull/769" target="_blank" rel="noopener noreferrer">mvdan/sh#769</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v391---2021-11-28">v3.9.1 - 2021-11-28<a class="hash-link" href="#v391---2021-11-28" title="Direct link to heading"></a></h2><ul><li>Add logging in verbose mode for when a task starts and finishes
|
|
(<a href="https://github.com/go-task/task/issues/533" target="_blank" rel="noopener noreferrer">#533</a>, <a href="https://github.com/go-task/task/pull/588" target="_blank" rel="noopener noreferrer">#588</a>).</li><li>Fix an issue with preconditions and context errors
|
|
(<a href="https://github.com/go-task/task/issues/597" target="_blank" rel="noopener noreferrer">#597</a>, <a href="https://github.com/go-task/task/pull/598" target="_blank" rel="noopener noreferrer">#598</a>).</li><li>Quote each <code>{{.CLI_ARGS}}</code> argument to prevent one with spaces to become many
|
|
(<a href="https://github.com/go-task/task/pull/613" target="_blank" rel="noopener noreferrer">#613</a>).</li><li>Fix nil pointer when <code>cmd:</code> was left empty
|
|
(<a href="https://github.com/go-task/task/issues/612" target="_blank" rel="noopener noreferrer">#612</a>, <a href="https://github.com/go-task/task/pull/614" target="_blank" rel="noopener noreferrer">#614</a>).</li><li>Upgrade <a href="https://github.com/mvdan/sh" target="_blank" rel="noopener noreferrer">mvdan/sh</a> which contains two
|
|
relevant fixes:<ul><li>Fix quote of empty strings in <code>shellQuote</code>
|
|
(<a href="https://github.com/go-task/task/issues/609" target="_blank" rel="noopener noreferrer">#609</a>, <a href="https://github.com/mvdan/sh/issues/763" target="_blank" rel="noopener noreferrer">mvdan/sh#763</a>).</li><li>Fix issue of wrong environment variable being picked when there's another
|
|
very similar one
|
|
(<a href="https://github.com/go-task/task/issues/586" target="_blank" rel="noopener noreferrer">#586</a>, <a href="https://github.com/mvdan/sh/pull/745" target="_blank" rel="noopener noreferrer">mvdan/sh#745</a>).</li></ul></li><li>Install shell completions automatically when installing via Homebrew
|
|
(<a href="https://github.com/go-task/task/issues/264" target="_blank" rel="noopener noreferrer">#264</a>, <a href="https://github.com/go-task/task/pull/592" target="_blank" rel="noopener noreferrer">#592</a>, <a href="https://github.com/go-task/homebrew-tap/pull/2" target="_blank" rel="noopener noreferrer">go-task/homebrew-tap#2</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v390---2021-10-02">v3.9.0 - 2021-10-02<a class="hash-link" href="#v390---2021-10-02" title="Direct link to heading"></a></h2><ul><li>A new <code>shellQuote</code> function was added to the template system
|
|
(<code>{{shellQuote "a string"}}</code>) to ensure a string is safe for use in shell
|
|
(<a href="https://github.com/mvdan/sh/pull/727" target="_blank" rel="noopener noreferrer">mvdan/sh#727</a>, <a href="https://github.com/mvdan/sh/pull/737" target="_blank" rel="noopener noreferrer">mvdan/sh#737</a>, <a href="https://pkg.go.dev/mvdan.cc/sh/v3@v3.4.0/syntax#Quote" target="_blank" rel="noopener noreferrer">Documentation</a>)</li><li>In this version <a href="https://github.com/mvdan/sh" target="_blank" rel="noopener noreferrer">mvdan.cc/sh</a> was upgraded
|
|
with some small fixes and features<ul><li>The <code>read -p</code> flag is now supported
|
|
(<a href="https://github.com/go-task/task/issues/314" target="_blank" rel="noopener noreferrer">#314</a>, <a href="https://github.com/mvdan/sh/issues/551" target="_blank" rel="noopener noreferrer">mvdan/sh#551</a>, <a href="https://github.com/mvdan/sh/pull/722" target="_blank" rel="noopener noreferrer">mvdan/sh#772</a>)</li><li>The <code>pwd -P</code> and <code>pwd -L</code> flags are now supported
|
|
(<a href="https://github.com/go-task/task/issues/553" target="_blank" rel="noopener noreferrer">#553</a>, <a href="https://github.com/mvdan/sh/issues/724" target="_blank" rel="noopener noreferrer">mvdan/sh#724</a>, <a href="https://github.com/mvdan/sh/pull/728" target="_blank" rel="noopener noreferrer">mvdan/sh#728</a>)</li><li>The <code>$GID</code> environment variable is now correctly being set
|
|
(<a href="https://github.com/go-task/task/issues/561" target="_blank" rel="noopener noreferrer">#561</a>, <a href="https://github.com/mvdan/sh/pull/723" target="_blank" rel="noopener noreferrer">mvdan/sh#723</a>)</li></ul></li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v380---2021-09-26">v3.8.0 - 2021-09-26<a class="hash-link" href="#v380---2021-09-26" title="Direct link to heading"></a></h2><ul><li>Add <code>interactive: true</code> setting to improve support for interactive CLI apps
|
|
(<a href="https://github.com/go-task/task/issues/217" target="_blank" rel="noopener noreferrer">#217</a>, <a href="https://github.com/go-task/task/pull/563" target="_blank" rel="noopener noreferrer">#563</a>).</li><li>Fix some <code>nil</code> errors
|
|
(<a href="https://github.com/go-task/task/issues/534" target="_blank" rel="noopener noreferrer">#534</a>, <a href="https://github.com/go-task/task/pull/573" target="_blank" rel="noopener noreferrer">#573</a>).</li><li>Add ability to declare an included Taskfile as optional
|
|
(<a href="https://github.com/go-task/task/issues/519" target="_blank" rel="noopener noreferrer">#519</a>, <a href="https://github.com/go-task/task/pull/552" target="_blank" rel="noopener noreferrer">#552</a>).</li><li>Add support for including Taskfiles in the home directory by using <code>~</code>
|
|
(<a href="https://github.com/go-task/task/issues/539" target="_blank" rel="noopener noreferrer">#539</a>, <a href="https://github.com/go-task/task/pull/557" target="_blank" rel="noopener noreferrer">#557</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v373---2021-09-04">v3.7.3 - 2021-09-04<a class="hash-link" href="#v373---2021-09-04" title="Direct link to heading"></a></h2><ul><li>Add official support to Apple M1 (<a href="https://github.com/go-task/task/pull/564" target="_blank" rel="noopener noreferrer">#564</a>, <a href="https://github.com/go-task/task/pull/567" target="_blank" rel="noopener noreferrer">#567</a>).</li><li>Our <a href="https://github.com/go-task/homebrew-tap" target="_blank" rel="noopener noreferrer">official Homebrew tap</a> will
|
|
support more platforms, including Apple M1</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v370---2021-07-31">v3.7.0 - 2021-07-31<a class="hash-link" href="#v370---2021-07-31" title="Direct link to heading"></a></h2><ul><li>Add <code>run:</code> setting to control if tasks should run multiple times or not.
|
|
Available options are <code>always</code> (the default), <code>when_changed</code> (if a variable
|
|
modified the task) and <code>once</code> (run only once no matter what).
|
|
This is a long time requested feature. Enjoy!
|
|
(<a href="https://github.com/go-task/task/issues/53" target="_blank" rel="noopener noreferrer">#53</a>, <a href="https://github.com/go-task/task/pull/359" target="_blank" rel="noopener noreferrer">#359</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v360---2021-07-10">v3.6.0 - 2021-07-10<a class="hash-link" href="#v360---2021-07-10" title="Direct link to heading"></a></h2><ul><li>Allow using both <code>sources:</code> and <code>status:</code> in the same task
|
|
(<a href="https://github.com/go-task/task/issues/411" target="_blank" rel="noopener noreferrer">#411</a>, <a href="https://github.com/go-task/task/issues/427" target="_blank" rel="noopener noreferrer">#427</a>, <a href="https://github.com/go-task/task/pull/477" target="_blank" rel="noopener noreferrer">#477</a>).</li><li>Small optimization and bug fix: don't compute variables if not needed for
|
|
<code>dotenv:</code> (<a href="https://github.com/go-task/task/issues/517" target="_blank" rel="noopener noreferrer">#517</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v350---2021-07-04">v3.5.0 - 2021-07-04<a class="hash-link" href="#v350---2021-07-04" title="Direct link to heading"></a></h2><ul><li>Add support for interpolation in <code>dotenv:</code>
|
|
(<a href="https://github.com/go-task/task/discussions/433" target="_blank" rel="noopener noreferrer">#433</a>, <a href="https://github.com/go-task/task/issues/434" target="_blank" rel="noopener noreferrer">#434</a>, <a href="https://github.com/go-task/task/pull/453" target="_blank" rel="noopener noreferrer">#453</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v343---2021-05-30">v3.4.3 - 2021-05-30<a class="hash-link" href="#v343---2021-05-30" title="Direct link to heading"></a></h2><ul><li>Add support for the <code>NO_COLOR</code> environment variable.
|
|
(<a href="https://github.com/go-task/task/issues/459" target="_blank" rel="noopener noreferrer">#459</a>, <a href="https://github.com/fatih/color/pull/137" target="_blank" rel="noopener noreferrer">fatih/color#137</a>).</li><li>Fix bug where sources were not considering the right directory
|
|
in <code>--watch</code> mode
|
|
(<a href="https://github.com/go-task/task/issues/484" target="_blank" rel="noopener noreferrer">#484</a>, <a href="https://github.com/go-task/task/pull/485" target="_blank" rel="noopener noreferrer">#485</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v342---2021-04-23">v3.4.2 - 2021-04-23<a class="hash-link" href="#v342---2021-04-23" title="Direct link to heading"></a></h2><ul><li>On watch, report which file failed to read
|
|
(<a href="https://github.com/go-task/task/pull/472" target="_blank" rel="noopener noreferrer">#472</a>).</li><li>Do not try to catch SIGKILL signal, which are not actually possible
|
|
(<a href="https://github.com/go-task/task/pull/476" target="_blank" rel="noopener noreferrer">#476</a>).</li><li>Improve version reporting when building Task from source using Go Modules
|
|
(<a href="https://github.com/go-task/task/pull/462" target="_blank" rel="noopener noreferrer">#462</a>, <a href="https://github.com/go-task/task/pull/473" target="_blank" rel="noopener noreferrer">#473</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v341---2021-04-17">v3.4.1 - 2021-04-17<a class="hash-link" href="#v341---2021-04-17" title="Direct link to heading"></a></h2><ul><li>Improve error reporting when parsing YAML: in some situations where you
|
|
would just see an generic error, you'll now see the actual error with
|
|
more detail: the YAML line the failed to parse, for example
|
|
(<a href="https://github.com/go-task/task/issues/467" target="_blank" rel="noopener noreferrer">#467</a>).</li><li>A JSON Schema was published <a href="https://json.schemastore.org/taskfile.json" target="_blank" rel="noopener noreferrer">here</a>
|
|
and is automatically being used by some editors like Visual Studio Code
|
|
(<a href="https://github.com/go-task/task/issues/135" target="_blank" rel="noopener noreferrer">#135</a>).</li><li>Print task name before the command in the log output
|
|
(<a href="https://github.com/go-task/task/pull/398" target="_blank" rel="noopener noreferrer">#398</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v330---2021-03-20">v3.3.0 - 2021-03-20<a class="hash-link" href="#v330---2021-03-20" title="Direct link to heading"></a></h2><ul><li>Add support for delegating CLI arguments to commands with <code>--</code> and a
|
|
special <code>CLI_ARGS</code> variable
|
|
(<a href="https://github.com/go-task/task/issues/327" target="_blank" rel="noopener noreferrer">#327</a>).</li><li>Add a <code>--concurrency</code> (alias <code>-C</code>) flag, to limit the number of tasks that
|
|
run concurrently. This is useful for heavy workloads.
|
|
(<a href="https://github.com/go-task/task/pull/345" target="_blank" rel="noopener noreferrer">#345</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v322---2021-01-12">v3.2.2 - 2021-01-12<a class="hash-link" href="#v322---2021-01-12" title="Direct link to heading"></a></h2><ul><li>Improve performance of <code>--list</code> and <code>--summary</code> by skipping running shell
|
|
variables for these flags
|
|
(<a href="https://github.com/go-task/task/issues/332" target="_blank" rel="noopener noreferrer">#332</a>).</li><li>Fixed a bug where an environment in a Taskfile was not always overridable
|
|
by the system environment
|
|
(<a href="https://github.com/go-task/task/issues/425" target="_blank" rel="noopener noreferrer">#425</a>).</li><li>Fixed environment from .env files not being available as variables
|
|
(<a href="https://github.com/go-task/task/issues/379" target="_blank" rel="noopener noreferrer">#379</a>).</li><li>The install script is now working for ARM platforms
|
|
(<a href="https://github.com/go-task/task/pull/428" target="_blank" rel="noopener noreferrer">#428</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v321---2021-01-09">v3.2.1 - 2021-01-09<a class="hash-link" href="#v321---2021-01-09" title="Direct link to heading"></a></h2><ul><li>Fixed some bugs and regressions regarding dynamic variables and directories
|
|
(<a href="https://github.com/go-task/task/issues/426" target="_blank" rel="noopener noreferrer">#426</a>).</li><li>The <a href="https://github.com/go-task/slim-sprig" target="_blank" rel="noopener noreferrer">slim-sprig</a> package was updated
|
|
with the upstream <a href="https://github.com/Masterminds/sprig" target="_blank" rel="noopener noreferrer">sprig</a>.</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v320---2021-01-07">v3.2.0 - 2021-01-07<a class="hash-link" href="#v320---2021-01-07" title="Direct link to heading"></a></h2><ul><li>Fix the <code>.task</code> directory being created in the task directory instead of the
|
|
Taskfile directory
|
|
(<a href="https://github.com/go-task/task/issues/247" target="_blank" rel="noopener noreferrer">#247</a>).</li><li>Fix a bug where dynamic variables (those declared with <code>sh:</code>) were not
|
|
running in the task directory when the task has a custom dir or it was
|
|
in an included Taskfile
|
|
(<a href="https://github.com/go-task/task/issues/384" target="_blank" rel="noopener noreferrer">#384</a>).</li><li>The watch feature (via the <code>--watch</code> flag) got a few different bug fixes and
|
|
should be more stable now
|
|
(<a href="https://github.com/go-task/task/pull/423" target="_blank" rel="noopener noreferrer">#423</a>, <a href="https://github.com/go-task/task/issues/365" target="_blank" rel="noopener noreferrer">#365</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v310---2021-01-03">v3.1.0 - 2021-01-03<a class="hash-link" href="#v310---2021-01-03" title="Direct link to heading"></a></h2><ul><li>Fix a bug when the checksum up-to-date resolution is used by a task
|
|
with a custom <code>label:</code> attribute
|
|
(<a href="https://github.com/go-task/task/issues/412" target="_blank" rel="noopener noreferrer">#412</a>).</li><li>Starting from this release, we're releasing official ARMv6 and ARM64 binaries
|
|
for Linux
|
|
(<a href="https://github.com/go-task/task/issues/375" target="_blank" rel="noopener noreferrer">#375</a>, <a href="https://github.com/go-task/task/issues/418" target="_blank" rel="noopener noreferrer">#418</a>).</li><li>Task now respects the order of declaration of included Taskfiles when
|
|
evaluating variables declaring by them
|
|
(<a href="https://github.com/go-task/task/issues/393" target="_blank" rel="noopener noreferrer">#393</a>).</li><li><code>set -e</code> is now automatically set on every command. This was done to fix an
|
|
issue where multiline string commands wouldn't really fail unless the
|
|
sentence was in the last line
|
|
(<a href="https://github.com/go-task/task/issues/403" target="_blank" rel="noopener noreferrer">#403</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v301---2020-12-26">v3.0.1 - 2020-12-26<a class="hash-link" href="#v301---2020-12-26" title="Direct link to heading"></a></h2><ul><li>Allow use as a library by moving the required packages out of the <code>internal</code>
|
|
directory
|
|
(<a href="https://github.com/go-task/task/pull/358" target="_blank" rel="noopener noreferrer">#358</a>).</li><li>Do not error if a specified dotenv file does not exist
|
|
(<a href="https://github.com/go-task/task/issues/378" target="_blank" rel="noopener noreferrer">#378</a>, <a href="https://github.com/go-task/task/pull/385" target="_blank" rel="noopener noreferrer">#385</a>).</li><li>Fix panic when you have empty tasks in your Taskfile
|
|
(<a href="https://github.com/go-task/task/issues/338" target="_blank" rel="noopener noreferrer">#338</a>, <a href="https://github.com/go-task/task/pull/362" target="_blank" rel="noopener noreferrer">#362</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v300---2020-08-16">v3.0.0 - 2020-08-16<a class="hash-link" href="#v300---2020-08-16" title="Direct link to heading"></a></h2><ul><li>On <code>v3</code>, all CLI variables will be considered global variables
|
|
(<a href="https://github.com/go-task/task/issues/336" target="_blank" rel="noopener noreferrer">#336</a>, <a href="https://github.com/go-task/task/pull/341" target="_blank" rel="noopener noreferrer">#341</a>)</li><li>Add support to <code>.env</code> like files
|
|
(<a href="https://github.com/go-task/task/issues/324" target="_blank" rel="noopener noreferrer">#324</a>, <a href="https://github.com/go-task/task/pull/356" target="_blank" rel="noopener noreferrer">#356</a>).</li><li>Add <code>label:</code> to task so you can override the task name in the logs
|
|
(<a href="https://github.com/go-task/task/issues/321%5D" target="_blank" rel="noopener noreferrer">#321</a>, <a href="https://github.com/go-task/task/pull/337" target="_blank" rel="noopener noreferrer">#337</a>).</li><li>Refactor how variables work on version 3
|
|
(<a href="https://github.com/go-task/task/pull/311" target="_blank" rel="noopener noreferrer">#311</a>).</li><li>Disallow <code>expansions</code> on v3 since it has no effect.</li><li><code>Taskvars.yml</code> is not automatically included anymore.</li><li><code>Taskfile_{{OS}}.yml</code> is not automatically included anymore.</li><li>Allow interpolation on <code>includes</code>, so you can manually include a Taskfile
|
|
based on operation system, for example.</li><li>Expose <code>.TASK</code> variable in templates with the task name
|
|
(<a href="https://github.com/go-task/task/issues/252" target="_blank" rel="noopener noreferrer">#252</a>).</li><li>Implement short task syntax
|
|
(<a href="https://github.com/go-task/task/issues/194" target="_blank" rel="noopener noreferrer">#194</a>, <a href="https://github.com/go-task/task/pull/240" target="_blank" rel="noopener noreferrer">#240</a>).</li><li>Added option to make included Taskfile run commands on its own directory
|
|
(<a href="https://github.com/go-task/task/issues/260" target="_blank" rel="noopener noreferrer">#260</a>, <a href="https://github.com/go-task/task/issues/144" target="_blank" rel="noopener noreferrer">#144</a>)</li><li>Taskfiles in version 1 are not supported anymore
|
|
(<a href="https://github.com/go-task/task/pull/237" target="_blank" rel="noopener noreferrer">#237</a>).</li><li>Added global <code>method:</code> option. With this option, you can set a default
|
|
method to all tasks in a Taskfile
|
|
(<a href="https://github.com/go-task/task/issues/246" target="_blank" rel="noopener noreferrer">#246</a>).</li><li>Changed default method from <code>timestamp</code> to <code>checksum</code>
|
|
(<a href="https://github.com/go-task/task/issues/246" target="_blank" rel="noopener noreferrer">#246</a>).</li><li>New magic variables are now available when using <code>status:</code>:
|
|
<code>.TIMESTAMP</code> which contains the greatest modification date
|
|
from the files listed in <code>sources:</code>, and <code>.CHECKSUM</code>, which
|
|
contains a checksum of all files listed in <code>status:</code>.
|
|
This is useful for manual checking when using external, or even remote,
|
|
artifacts when using <code>status:</code>
|
|
(<a href="https://github.com/go-task/task/pull/216" target="_blank" rel="noopener noreferrer">#216</a>).</li><li>We're now using <a href="https://github.com/go-task/slim-sprig" target="_blank" rel="noopener noreferrer">slim-sprig</a> instead of
|
|
<a href="https://github.com/Masterminds/sprig" target="_blank" rel="noopener noreferrer">sprig</a>, which allowed a file size
|
|
reduction of about 22%
|
|
(<a href="https://github.com/go-task/task/pull/219" target="_blank" rel="noopener noreferrer">#219</a>).</li><li>We now use some colors on Task output to better distinguish message types -
|
|
commands are green, errors are red, etc
|
|
(<a href="https://github.com/go-task/task/pull/207" target="_blank" rel="noopener noreferrer">#207</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v281---2020-05-20">v2.8.1 - 2020-05-20<a class="hash-link" href="#v281---2020-05-20" title="Direct link to heading"></a></h2><ul><li>Fix error code for the <code>--help</code> flag
|
|
(<a href="https://github.com/go-task/task/issues/300" target="_blank" rel="noopener noreferrer">#300</a>, <a href="https://github.com/go-task/task/pull/330" target="_blank" rel="noopener noreferrer">#330</a>).</li><li>Print version to stdout instead of stderr
|
|
(<a href="https://github.com/go-task/task/issues/299" target="_blank" rel="noopener noreferrer">#299</a>, <a href="https://github.com/go-task/task/pull/329" target="_blank" rel="noopener noreferrer">#329</a>).</li><li>Supress <code>context</code> errors when using the <code>--watch</code> flag
|
|
(<a href="https://github.com/go-task/task/issues/313" target="_blank" rel="noopener noreferrer">#313</a>, <a href="https://github.com/go-task/task/pull/317" target="_blank" rel="noopener noreferrer">#317</a>).</li><li>Support templating on description
|
|
(<a href="https://github.com/go-task/task/issues/276" target="_blank" rel="noopener noreferrer">#276</a>, <a href="https://github.com/go-task/task/pull/283" target="_blank" rel="noopener noreferrer">#283</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v280---2019-12-07">v2.8.0 - 2019-12-07<a class="hash-link" href="#v280---2019-12-07" title="Direct link to heading"></a></h2><ul><li>Add <code>--parallel</code> flag (alias <code>-p</code>) to run tasks given by the command line in
|
|
parallel
|
|
(<a href="https://github.com/go-task/task/pull/266" target="_blank" rel="noopener noreferrer">#266</a>).</li><li>Fixed bug where calling the <code>task</code> CLI only informing global vars would not
|
|
execute the <code>default</code> task.</li><li>Add hability to silent all tasks by adding <code>silent: true</code> a the root of the
|
|
Taskfile.</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v271---2019-11-10">v2.7.1 - 2019-11-10<a class="hash-link" href="#v271---2019-11-10" title="Direct link to heading"></a></h2><ul><li>Fix error being raised when <code>exit 0</code> was called
|
|
(<a href="https://github.com/go-task/task/issues/251" target="_blank" rel="noopener noreferrer">#251</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v270---2019-09-22">v2.7.0 - 2019-09-22<a class="hash-link" href="#v270---2019-09-22" title="Direct link to heading"></a></h2><ul><li>Fixed panic bug when assigning a global variable
|
|
(<a href="https://github.com/go-task/task/issues/229" target="_blank" rel="noopener noreferrer">#229</a>, <a href="https://github.com/go-task/task/issues/234" target="_blank" rel="noopener noreferrer">#243</a>).</li><li>A task with <code>method: checksum</code> will now re-run if generated files are deleted
|
|
(<a href="https://github.com/go-task/task/pull/228" target="_blank" rel="noopener noreferrer">#228</a>, <a href="https://github.com/go-task/task/issues/238" target="_blank" rel="noopener noreferrer">#238</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v260---2019-07-21">v2.6.0 - 2019-07-21<a class="hash-link" href="#v260---2019-07-21" title="Direct link to heading"></a></h2><ul><li>Fixed some bugs regarding minor version checks on <code>version:</code>.</li><li>Add <code>preconditions:</code> to task
|
|
(<a href="https://github.com/go-task/task/pull/205" target="_blank" rel="noopener noreferrer">#205</a>).</li><li>Create directory informed on <code>dir:</code> if it doesn't exist
|
|
(<a href="https://github.com/go-task/task/issues/209" target="_blank" rel="noopener noreferrer">#209</a>, <a href="https://github.com/go-task/task/pull/211" target="_blank" rel="noopener noreferrer">#211</a>).</li><li>We now have a <code>--taskfile</code> flag (alias <code>-t</code>), which can be used to run
|
|
another Taskfile (other than the default <code>Taskfile.yml</code>)
|
|
(<a href="https://github.com/go-task/task/pull/221" target="_blank" rel="noopener noreferrer">#221</a>).</li><li>It's now possible to install Task using Homebrew on Linux
|
|
(<a href="https://github.com/go-task/homebrew-tap/pull/1" target="_blank" rel="noopener noreferrer">go-task/homebrew-tap#1</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v252---2019-05-11">v2.5.2 - 2019-05-11<a class="hash-link" href="#v252---2019-05-11" title="Direct link to heading"></a></h2><ul><li>Reverted YAML upgrade due issues with CRLF on Windows
|
|
(<a href="https://github.com/go-task/task/issues/201" target="_blank" rel="noopener noreferrer">#201</a>, <a href="https://github.com/go-yaml/yaml/issues/450" target="_blank" rel="noopener noreferrer">go-yaml/yaml#450</a>).</li><li>Allow setting global variables through the CLI
|
|
(<a href="https://github.com/go-task/task/issues/192" target="_blank" rel="noopener noreferrer">#192</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="251---2019-04-27">2.5.1 - 2019-04-27<a class="hash-link" href="#251---2019-04-27" title="Direct link to heading"></a></h2><ul><li>Fixed some issues with interactive command line tools, where sometimes
|
|
the output were not being shown, and similar issues
|
|
(<a href="https://github.com/go-task/task/issues/114" target="_blank" rel="noopener noreferrer">#114</a>, <a href="https://github.com/go-task/task/issues/190" target="_blank" rel="noopener noreferrer">#190</a>, <a href="https://github.com/go-task/task/pull/200" target="_blank" rel="noopener noreferrer">#200</a>).</li><li>Upgraded <a href="https://github.com/go-yaml/yaml" target="_blank" rel="noopener noreferrer">go-yaml/yaml</a> from v2 to v3.</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v250---2019-03-16">v2.5.0 - 2019-03-16<a class="hash-link" href="#v250---2019-03-16" title="Direct link to heading"></a></h2><ul><li>We moved from the taskfile.org domain to the new fancy taskfile.dev domain.
|
|
While stuff is being redirected, we strongly recommend to everyone that use
|
|
<a href="https://taskfile.dev/#/installation?id=install-script" target="_blank" rel="noopener noreferrer">this install script</a>
|
|
to use the new taskfile.dev domain on scripts from now on.</li><li>Fixed to the ZSH completion
|
|
(<a href="https://github.com/go-task/task/pull/182" target="_blank" rel="noopener noreferrer">#182</a>).</li><li>Add <a href="https://taskfile.org/#/usage?id=display-summary-of-task" target="_blank" rel="noopener noreferrer"><code>--summary</code> flag along with <code>summary:</code> task attribute</a>
|
|
(<a href="https://github.com/go-task/task/pull/180" target="_blank" rel="noopener noreferrer">#180</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v240---2019-02-21">v2.4.0 - 2019-02-21<a class="hash-link" href="#v240---2019-02-21" title="Direct link to heading"></a></h2><ul><li>Allow calling a task of the root Taskfile from an included Taskfile
|
|
by prefixing it with <code>:</code>
|
|
(<a href="https://github.com/go-task/task/issues/161" target="_blank" rel="noopener noreferrer">#161</a>, <a href="https://github.com/go-task/task/issues/172" target="_blank" rel="noopener noreferrer">#172</a>),</li><li>Add flag to override the <code>output</code> option
|
|
(<a href="https://github.com/go-task/task/pull/173" target="_blank" rel="noopener noreferrer">#173</a>);</li><li>Fix bug where Task was persisting the new checksum on the disk when the Dry
|
|
Mode is enabled
|
|
(<a href="https://github.com/go-task/task/issues/166" target="_blank" rel="noopener noreferrer">#166</a>);</li><li>Fix file timestamp issue when the file name has spaces
|
|
(<a href="https://github.com/go-task/task/issues/176" target="_blank" rel="noopener noreferrer">#176</a>);</li><li>Mitigating path expanding issues on Windows
|
|
(<a href="https://github.com/go-task/task/pull/170" target="_blank" rel="noopener noreferrer">#170</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v230---2019-01-02">v2.3.0 - 2019-01-02<a class="hash-link" href="#v230---2019-01-02" title="Direct link to heading"></a></h2><ul><li>On Windows, Task can now be installed using <a href="https://scoop.sh/" target="_blank" rel="noopener noreferrer">Scoop</a>
|
|
(<a href="https://github.com/go-task/task/pull/152" target="_blank" rel="noopener noreferrer">#152</a>);</li><li>Fixed issue with file/directory globing
|
|
(<a href="https://github.com/go-task/task/issues/153" target="_blank" rel="noopener noreferrer">#153</a>);</li><li>Added ability to globally set environment variables
|
|
(
|
|
<a href="https://github.com/go-task/task/pull/138" target="_blank" rel="noopener noreferrer">#138</a>,
|
|
<a href="https://github.com/go-task/task/pull/159" target="_blank" rel="noopener noreferrer">#159</a>
|
|
).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v221---2018-12-09">v2.2.1 - 2018-12-09<a class="hash-link" href="#v221---2018-12-09" title="Direct link to heading"></a></h2><ul><li>This repository now uses Go Modules (#143). We'll still keep the <code>vendor</code> directory in sync for some time, though;</li><li>Fixing a bug when the Taskfile has no tasks but includes another Taskfile (#150);</li><li>Fix a bug when calling another task or a dependency in an included Taskfile (#151).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v220---2018-10-25">v2.2.0 - 2018-10-25<a class="hash-link" href="#v220---2018-10-25" title="Direct link to heading"></a></h2><ul><li>Added support for <a href="https://taskfile.org/#/usage?id=including-other-taskfiles" target="_blank" rel="noopener noreferrer">including other Taskfiles</a> (#98)<ul><li>This should be considered experimental. For now, only including local files is supported, but support for including remote Taskfiles is being discussed. If you have any feedback, please comment on #98.</li></ul></li><li>Task now have a dedicated documentation site: <a href="https://taskfile.org" target="_blank" rel="noopener noreferrer">https://taskfile.org</a><ul><li>Thanks to <a href="https://docsify.js.org/" target="_blank" rel="noopener noreferrer">Docsify</a> for making this pretty easy. To check the source code, just take a look at the <a href="https://github.com/go-task/task/tree/master/docs" target="_blank" rel="noopener noreferrer">docs</a> directory of this repository. Contributions to the documentation is really appreciated.</li></ul></li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v211---2018-09-17">v2.1.1 - 2018-09-17<a class="hash-link" href="#v211---2018-09-17" title="Direct link to heading"></a></h2><ul><li>Fix suggestion to use <code>task --init</code> not being shown anymore (when a <code>Taskfile.yml</code> is not found)</li><li>Fix error when using checksum method and no file exists for a source glob (#131)</li><li>Fix signal handling when the <code>--watch</code> flag is given (#132)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v210---2018-08-19">v2.1.0 - 2018-08-19<a class="hash-link" href="#v210---2018-08-19" title="Direct link to heading"></a></h2><ul><li>Add a <code>ignore_error</code> option to task and command (#123)</li><li>Add a dry run mode (<code>--dry</code> flag) (#126)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v203---2018-06-24">v2.0.3 - 2018-06-24<a class="hash-link" href="#v203---2018-06-24" title="Direct link to heading"></a></h2><ul><li>Expand environment variables on "dir", "sources" and "generates" (#116)</li><li>Fix YAML merging syntax (#112)</li><li>Add ZSH completion (#111)</li><li>Implement new <code>output</code> option. Please check out the <a href="https://github.com/go-task/task#output-syntax" target="_blank" rel="noopener noreferrer">documentation</a></li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v202---2018-05-01">v2.0.2 - 2018-05-01<a class="hash-link" href="#v202---2018-05-01" title="Direct link to heading"></a></h2><ul><li>Fix merging of YAML anchors (#112)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v201---2018-03-11">v2.0.1 - 2018-03-11<a class="hash-link" href="#v201---2018-03-11" title="Direct link to heading"></a></h2><ul><li>Fixes panic on <code>task --list</code></li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v200---2018-03-08">v2.0.0 - 2018-03-08<a class="hash-link" href="#v200---2018-03-08" title="Direct link to heading"></a></h2><p>Version 2.0.0 is here, with a new Taskfile format.</p><p>Please, make sure to read the <a href="https://github.com/go-task/task/blob/master/TASKFILE_VERSIONS.md" target="_blank" rel="noopener noreferrer">Taskfile versions</a> document, since it describes in depth what changed for this version.</p><ul><li>New Taskfile version 2 (<a href="https://github.com/go-task/task/issues/77" target="_blank" rel="noopener noreferrer">https://github.com/go-task/task/issues/77</a>)</li><li>Possibility to have global variables in the <code>Taskfile.yml</code> instead of <code>Taskvars.yml</code> (<a href="https://github.com/go-task/task/issues/66" target="_blank" rel="noopener noreferrer">https://github.com/go-task/task/issues/66</a>)</li><li>Small improvements and fixes</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v144---2017-11-19">v1.4.4 - 2017-11-19<a class="hash-link" href="#v144---2017-11-19" title="Direct link to heading"></a></h2><ul><li>Handle SIGINT and SIGTERM (#75);</li><li>List: print message with there's no task with description;</li><li>Expand home dir ("~" symbol) on paths (#74);</li><li>Add Snap as an installation method;</li><li>Move examples to its own repo;</li><li>Watch: also walk on tasks called on on "cmds", and not only on "deps";</li><li>Print logs to stderr instead of stdout (#68);</li><li>Remove deprecated <code>set</code> keyword;</li><li>Add checksum based status check, alternative to timestamp based.</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v143---2017-09-07">v1.4.3 - 2017-09-07<a class="hash-link" href="#v143---2017-09-07" title="Direct link to heading"></a></h2><ul><li>Allow assigning variables to tasks at run time via CLI (#33)</li><li>Added suport for multiline variables from sh (#64)</li><li>Fixes env: remove square braces and evaluate shell (#62)</li><li>Watch: change watch library and few fixes and improvements</li><li>When use watching, cancel and restart long running process on file change (#59 and #60)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v142---2017-07-30">v1.4.2 - 2017-07-30<a class="hash-link" href="#v142---2017-07-30" title="Direct link to heading"></a></h2><ul><li>Flag to set directory of execution</li><li>Always echo command if is verbose mode</li><li>Add silent mode to disable echoing of commands</li><li>Fixes and improvements of variables (#56)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v141---2017-07-15">v1.4.1 - 2017-07-15<a class="hash-link" href="#v141---2017-07-15" title="Direct link to heading"></a></h2><ul><li>Allow use of YAML for dynamic variables instead of $ prefix<ul><li><code>VAR: {sh: echo Hello}</code> instead of <code>VAR: $echo Hello</code></li></ul></li><li>Add <code>--list</code> (or <code>-l</code>) flag to print existing tasks</li><li>OS specific Taskvars file (e.g. <code>Taskvars_windows.yml</code>, <code>Taskvars_linux.yml</code>, etc)</li><li>Consider task up-to-date on equal timestamps (#49)</li><li>Allow absolute path in generates section (#48)</li><li>Bugfix: allow templating when calling deps (#42)</li><li>Fix panic for invalid task in cyclic dep detection</li><li>Better error output for dynamic variables in Taskvars.yml (#41)</li><li>Allow template evaluation in parameters</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v140---2017-07-06">v1.4.0 - 2017-07-06<a class="hash-link" href="#v140---2017-07-06" title="Direct link to heading"></a></h2><ul><li>Cache dynamic variables</li><li>Add verbose mode (<code>-v</code> flag)</li><li>Support to task parameters (overriding vars) (#31) (#32)</li><li>Print command, also when "set:" is specified (#35)</li><li>Improve task command help text (#35)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v131---2017-06-14">v1.3.1 - 2017-06-14<a class="hash-link" href="#v131---2017-06-14" title="Direct link to heading"></a></h2><ul><li>Fix glob not working on commands (#28)</li><li>Add ExeExt template function</li><li>Add <code>--init</code> flag to create a new Taskfile</li><li>Add status option to prevent task from running (#27)</li><li>Allow interpolation on <code>generates</code> and <code>sources</code> attributes (#26)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v130---2017-04-24">v1.3.0 - 2017-04-24<a class="hash-link" href="#v130---2017-04-24" title="Direct link to heading"></a></h2><ul><li>Migrate from os/exec.Cmd to a native Go sh/bash interpreter<ul><li>This is a potentially breaking change if you use Windows.</li><li>Now, <code>cmd</code> is not used anymore on Windows. Always use Bash-like syntax for your commands, even on Windows.</li></ul></li><li>Add "ToSlash" and "FromSlash" to template functions</li><li>Use functions defined on github.com/Masterminds/sprig</li><li>Do not redirect stdin while running variables commands</li><li>Using <code>context</code> and <code>errgroup</code> packages (this will make other tasks to be cancelled, if one returned an error)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v120---2017-04-02">v1.2.0 - 2017-04-02<a class="hash-link" href="#v120---2017-04-02" title="Direct link to heading"></a></h2><ul><li>More tests and Travis integration</li><li>Watch a task (experimental)</li><li>Possibility to call another task</li><li>Fix "=" not being reconized in variables/environment variables</li><li>Tasks can now have a description, and help will print them (#10)</li><li>Task dependencies now run concurrently</li><li>Support for a default task (#16)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v110---2017-03-08">v1.1.0 - 2017-03-08<a class="hash-link" href="#v110---2017-03-08" title="Direct link to heading"></a></h2><ul><li>Support for YAML, TOML and JSON (#1)</li><li>Support running command in another directory (#4)</li><li><code>--force</code> or <code>-f</code> flag to force execution of task even when it's up-to-date</li><li>Detection of cyclic dependencies (#5)</li><li>Support for variables (#6, #9, #14)</li><li>Operation System specific commands and variables (#13)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v100---2017-02-28">v1.0.0 - 2017-02-28<a class="hash-link" href="#v100---2017-02-28" title="Direct link to heading"></a></h2><ul><li>Add LICENSE file</li></ul></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/styleguide/"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Styleguide</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/community/"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Community</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#v3210---2023-02-22" class="table-of-contents__link toc-highlight">v3.21.0 - 2023-02-22</a></li><li><a href="#v3200---2023-01-14" class="table-of-contents__link toc-highlight">v3.20.0 - 2023-01-14</a></li><li><a href="#v3191---2022-12-31" class="table-of-contents__link toc-highlight">v3.19.1 - 2022-12-31</a></li><li><a href="#v3190---2022-12-05" class="table-of-contents__link toc-highlight">v3.19.0 - 2022-12-05</a></li><li><a href="#v3180---2022-11-12" class="table-of-contents__link toc-highlight">v3.18.0 - 2022-11-12</a></li><li><a href="#v3170---2022-10-14" class="table-of-contents__link toc-highlight">v3.17.0 - 2022-10-14</a></li><li><a href="#v3160---2022-09-29" class="table-of-contents__link toc-highlight">v3.16.0 - 2022-09-29</a></li><li><a href="#v3152---2022-09-08" class="table-of-contents__link toc-highlight">v3.15.2 - 2022-09-08</a></li><li><a href="#v3150---2022-09-03" class="table-of-contents__link toc-highlight">v3.15.0 - 2022-09-03</a></li><li><a href="#v3141---2022-08-03" class="table-of-contents__link toc-highlight">v3.14.1 - 2022-08-03</a></li><li><a href="#v3140---2022-07-08" class="table-of-contents__link toc-highlight">v3.14.0 - 2022-07-08</a></li><li><a href="#v3130---2022-06-13" class="table-of-contents__link toc-highlight">v3.13.0 - 2022-06-13</a></li><li><a href="#v3121---2022-05-10" class="table-of-contents__link toc-highlight">v3.12.1 - 2022-05-10</a></li><li><a href="#v3120---2022-03-31" class="table-of-contents__link toc-highlight">v3.12.0 - 2022-03-31</a></li><li><a href="#v3110---2022-02-19" class="table-of-contents__link toc-highlight">v3.11.0 - 2022-02-19</a></li><li><a href="#v3100---2022-01-04" class="table-of-contents__link toc-highlight">v3.10.0 - 2022-01-04</a></li><li><a href="#v392---2021-12-02" class="table-of-contents__link toc-highlight">v3.9.2 - 2021-12-02</a></li><li><a href="#v391---2021-11-28" class="table-of-contents__link toc-highlight">v3.9.1 - 2021-11-28</a></li><li><a href="#v390---2021-10-02" class="table-of-contents__link toc-highlight">v3.9.0 - 2021-10-02</a></li><li><a href="#v380---2021-09-26" class="table-of-contents__link toc-highlight">v3.8.0 - 2021-09-26</a></li><li><a href="#v373---2021-09-04" class="table-of-contents__link toc-highlight">v3.7.3 - 2021-09-04</a></li><li><a href="#v370---2021-07-31" class="table-of-contents__link toc-highlight">v3.7.0 - 2021-07-31</a></li><li><a href="#v360---2021-07-10" class="table-of-contents__link toc-highlight">v3.6.0 - 2021-07-10</a></li><li><a href="#v350---2021-07-04" class="table-of-contents__link toc-highlight">v3.5.0 - 2021-07-04</a></li><li><a href="#v343---2021-05-30" class="table-of-contents__link toc-highlight">v3.4.3 - 2021-05-30</a></li><li><a href="#v342---2021-04-23" class="table-of-contents__link toc-highlight">v3.4.2 - 2021-04-23</a></li><li><a href="#v341---2021-04-17" class="table-of-contents__link toc-highlight">v3.4.1 - 2021-04-17</a></li><li><a href="#v330---2021-03-20" class="table-of-contents__link toc-highlight">v3.3.0 - 2021-03-20</a></li><li><a href="#v322---2021-01-12" class="table-of-contents__link toc-highlight">v3.2.2 - 2021-01-12</a></li><li><a href="#v321---2021-01-09" class="table-of-contents__link toc-highlight">v3.2.1 - 2021-01-09</a></li><li><a href="#v320---2021-01-07" class="table-of-contents__link toc-highlight">v3.2.0 - 2021-01-07</a></li><li><a href="#v310---2021-01-03" class="table-of-contents__link toc-highlight">v3.1.0 - 2021-01-03</a></li><li><a href="#v301---2020-12-26" class="table-of-contents__link toc-highlight">v3.0.1 - 2020-12-26</a></li><li><a href="#v300---2020-08-16" class="table-of-contents__link toc-highlight">v3.0.0 - 2020-08-16</a></li><li><a href="#v281---2020-05-20" class="table-of-contents__link toc-highlight">v2.8.1 - 2020-05-20</a></li><li><a href="#v280---2019-12-07" class="table-of-contents__link toc-highlight">v2.8.0 - 2019-12-07</a></li><li><a href="#v271---2019-11-10" class="table-of-contents__link toc-highlight">v2.7.1 - 2019-11-10</a></li><li><a href="#v270---2019-09-22" class="table-of-contents__link toc-highlight">v2.7.0 - 2019-09-22</a></li><li><a href="#v260---2019-07-21" class="table-of-contents__link toc-highlight">v2.6.0 - 2019-07-21</a></li><li><a href="#v252---2019-05-11" class="table-of-contents__link toc-highlight">v2.5.2 - 2019-05-11</a></li><li><a href="#251---2019-04-27" class="table-of-contents__link toc-highlight">2.5.1 - 2019-04-27</a></li><li><a href="#v250---2019-03-16" class="table-of-contents__link toc-highlight">v2.5.0 - 2019-03-16</a></li><li><a href="#v240---2019-02-21" class="table-of-contents__link toc-highlight">v2.4.0 - 2019-02-21</a></li><li><a href="#v230---2019-01-02" class="table-of-contents__link toc-highlight">v2.3.0 - 2019-01-02</a></li><li><a href="#v221---2018-12-09" class="table-of-contents__link toc-highlight">v2.2.1 - 2018-12-09</a></li><li><a href="#v220---2018-10-25" class="table-of-contents__link toc-highlight">v2.2.0 - 2018-10-25</a></li><li><a href="#v211---2018-09-17" class="table-of-contents__link toc-highlight">v2.1.1 - 2018-09-17</a></li><li><a href="#v210---2018-08-19" class="table-of-contents__link toc-highlight">v2.1.0 - 2018-08-19</a></li><li><a href="#v203---2018-06-24" class="table-of-contents__link toc-highlight">v2.0.3 - 2018-06-24</a></li><li><a href="#v202---2018-05-01" class="table-of-contents__link toc-highlight">v2.0.2 - 2018-05-01</a></li><li><a href="#v201---2018-03-11" class="table-of-contents__link toc-highlight">v2.0.1 - 2018-03-11</a></li><li><a href="#v200---2018-03-08" class="table-of-contents__link toc-highlight">v2.0.0 - 2018-03-08</a></li><li><a href="#v144---2017-11-19" class="table-of-contents__link toc-highlight">v1.4.4 - 2017-11-19</a></li><li><a href="#v143---2017-09-07" class="table-of-contents__link toc-highlight">v1.4.3 - 2017-09-07</a></li><li><a href="#v142---2017-07-30" class="table-of-contents__link toc-highlight">v1.4.2 - 2017-07-30</a></li><li><a href="#v141---2017-07-15" class="table-of-contents__link toc-highlight">v1.4.1 - 2017-07-15</a></li><li><a href="#v140---2017-07-06" class="table-of-contents__link toc-highlight">v1.4.0 - 2017-07-06</a></li><li><a href="#v131---2017-06-14" class="table-of-contents__link toc-highlight">v1.3.1 - 2017-06-14</a></li><li><a href="#v130---2017-04-24" class="table-of-contents__link toc-highlight">v1.3.0 - 2017-04-24</a></li><li><a href="#v120---2017-04-02" class="table-of-contents__link toc-highlight">v1.2.0 - 2017-04-02</a></li><li><a href="#v110---2017-03-08" class="table-of-contents__link toc-highlight">v1.1.0 - 2017-03-08</a></li><li><a href="#v100---2017-02-28" class="table-of-contents__link toc-highlight">v1.0.0 - 2017-02-28</a></li></ul></div></div></div></div></main></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Pages</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/installation/">Installation</a></li><li class="footer__item"><a class="footer__link-item" href="/usage/">Usage</a></li><li class="footer__item"><a class="footer__link-item" href="/donate/">Donate</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://github.com/go-task/task" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://twitter.com/taskfiledev" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://fosstodon.org/@task" target="_blank" rel="noopener noreferrer" class="footer__link-item">Mastodon<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://discord.gg/6TY36E39UK" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://opencollective.com/task" target="_blank" rel="noopener noreferrer" class="footer__link-item">OpenCollective<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">Translations</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://task-zh.readthedocs.io/zh_CN/latest/" target="_blank" rel="noopener noreferrer" class="footer__link-item">Chinese | 中国人<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div></div></footer></div>
|
|
<script src="/assets/js/runtime~main.d068029d.js"></script>
|
|
<script src="/assets/js/main.379bdc30.js"></script>
|
|
</body>
|
|
</html> |