1
0
mirror of https://github.com/go-task/task.git synced 2025-03-27 21:48:54 +02:00
task/zh-Hans/changelog/index.html

22 lines
103 KiB
HTML

<!doctype html>
<html lang="zh-Hans" 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.3.1">
<title data-rh="true">更新日志 | 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/zh-Hans/changelog/"><meta data-rh="true" name="docusaurus_locale" content="zh-Hans"><meta data-rh="true" name="docsearch:language" content="zh-Hans"><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="更新日志 | Task"><meta data-rh="true" name="description" content="v3.24.0 - 2023-04-15"><meta data-rh="true" property="og:description" content="v3.24.0 - 2023-04-15"><link data-rh="true" rel="icon" href="/zh-Hans/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://taskfile.dev/zh-Hans/changelog/"><link data-rh="true" rel="alternate" href="https://taskfile.dev/changelog/" hreflang="en-US"><link data-rh="true" rel="alternate" href="https://taskfile.dev/zh-Hans/changelog/" hreflang="zh-Hans"><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="/zh-Hans/opensearch.xml"><link rel="stylesheet" href="/zh-Hans/assets/css/styles.fbd3cd80.css">
<link rel="preload" href="/zh-Hans/assets/js/runtime~main.75095c66.js" as="script">
<link rel="preload" href="/zh-Hans/assets/js/main.ff3b4cee.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="跳到主要内容"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">跳到主要内容</a></div><nav aria-label="主导航" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="切换导航栏" 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="/zh-Hans/"><div class="navbar__logo"><img src="/zh-Hans/img/logo.svg" alt="Task Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/zh-Hans/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="/zh-Hans/installation/">安装</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/zh-Hans/usage/">使用指南</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/zh-Hans/api/">接口</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/zh-Hans/donate/">赞助</a><div class="navbar__item dropdown dropdown--hoverable"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_nlXk"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>简体中文</a><ul class="dropdown__menu"><li><a href="/changelog/" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="en-US">English</a></li><li><a href="/zh-Hans/changelog/" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" lang="zh-Hans">简体中文</a></li><li><a class="dropdown__link" href="/zh-Hans/translate/">Help Us Translate</a></li></ul></div></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="me" 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="切换浅色/暗黑模式(当前为浅色模式)" aria-label="切换浅色/暗黑模式(当前为浅色模式)" 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="搜索"><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">搜索</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="回到顶部" 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="sidebarViewport_Xe31"><div class="sidebar_njMd"><nav aria-label="文档侧边栏" 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="/zh-Hans/">主页</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/zh-Hans/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="/zh-Hans/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="/zh-Hans/api/">API 参考</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/zh-Hans/integrations/">集成</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/zh-Hans/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="/zh-Hans/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="/zh-Hans/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="/zh-Hans/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="/zh-Hans/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="/zh-Hans/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="/zh-Hans/taskfile-versions/">Taskfile 版本</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/zh-Hans/donate/">赞助</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/zh-Hans/translate/">翻译</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></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="页面路径"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="主页面" class="breadcrumbs__link" href="/zh-Hans/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_YNFT"><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">更新日志</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">本页总览</button></div><div class="theme-doc-markdown markdown"><h1>更新日志</h1><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3240---2023-04-15">v3.24.0 - 2023-04-15<a href="#v3240---2023-04-15" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>修复带有别名的 task 的 Fish shell 补全 (<a href="https://github.com/go-task/task/issues/1113" target="_blank" rel="noopener noreferrer">#1113</a> by <a href="https://github.com/patricksjackson" target="_blank" rel="noopener noreferrer">@patricksjackson</a>)。</li><li>默认分支已从 <code>master</code> 重命名为 <code>main</code> (<a href="https://github.com/go-task/task/issues/1049" target="_blank" rel="noopener noreferrer">#1049</a>, <a href="https://github.com/go-task/task/issues/1048" target="_blank" rel="noopener noreferrer">#1048</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)。</li><li>修复静默任务未省略“up-to-date”日志的错误 (<a href="https://github.com/go-task/task/issues/546" target="_blank" rel="noopener noreferrer">#546</a>, <a href="https://github.com/go-task/task/issues/1107" target="_blank" rel="noopener noreferrer">#1107</a> by <a href="https://github.com/danquah" target="_blank" rel="noopener noreferrer">@danquah</a>)。</li><li>使用 <code>--watch</code> 时将 <code>.hg</code> (Mercurial) 添加到忽略目录列表 (<a href="https://github.com/go-task/task/issues/1098" target="_blank" rel="noopener noreferrer">#1098</a> by <a href="https://github.com/misery" target="_blank" rel="noopener noreferrer">@misery</a>)。</li><li>对发布工具的更多改进 (<a href="https://github.com/go-task/task/issues/1096" target="_blank" rel="noopener noreferrer">#1096</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)。</li><li>强制执行 <a href="https://github.com/mvdan/gofumpt" target="_blank" rel="noopener noreferrer">gofumpt</a> linter (<a href="https://github.com/go-task/task/issues/1099" target="_blank" rel="noopener noreferrer">#1099</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)</li><li>添加 <code>--sort</code> 标志以与 <code>--list</code><code>--list-all</code> 一起使用 (<a href="https://github.com/go-task/task/issues/946" target="_blank" rel="noopener noreferrer">#946</a>, <a href="https://github.com/go-task/task/issues/1105" target="_blank" rel="noopener noreferrer">#1105</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)。</li><li>Task 现在根据错误具有 <a href="https://taskfile.dev/api/#exit-codes" target="_blank" rel="noopener noreferrer">自定义退出代码</a> (<a href="https://github.com/go-task/task/issues/1114" target="_blank" rel="noopener noreferrer">#1114</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)。</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3230---2023-03-26">v3.23.0 - 2023-03-26<a href="#v3230---2023-03-26" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><p>Task 现在已经有了一个由 <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a> 贡献的 <a href="https://marketplace.visualstudio.com/items?itemName=task.vscode-task" target="_blank" rel="noopener noreferrer">Visual Studio Code 官方扩展程序</a>! 🎉该扩展现在在 <code>go-task</code> 组织的 <a href="https://github.com/go-task/vscode-task" target="_blank" rel="noopener noreferrer">新存储库</a> 中进行维护。 我们希望从社区收集反馈,请尝试并通过<a href="https://github.com/go-task/vscode-task/discussions" target="_blank" rel="noopener noreferrer">discussion</a><a href="https://github.com/go-task/vscode-task/issues" target="_blank" rel="noopener noreferrer">issue</a><a href="https://discord.gg/6TY36E39UK" target="_blank" rel="noopener noreferrer">Discord</a> 告诉我们您的想法!</p><blockquote><p><strong>注意:</strong> 扩展 <em>需要安装</em> v3.23.0 才能正常工作。</p></blockquote><ul><li>The website was integrated with <a href="https://crowdin.com/project/taskfile" target="_blank" rel="noopener noreferrer">Crowdin</a> to allow the community to contribute with translations! <a href="https://taskfile.dev/zh-Hans/" target="_blank" rel="noopener noreferrer">Chinese</a> is the first language available (<a href="https://github.com/go-task/task/issues/1057" target="_blank" rel="noopener noreferrer">#1057</a>, <a href="https://github.com/go-task/task/issues/1058" target="_blank" rel="noopener noreferrer">#1058</a> by <a href="https://github.com/misitebao" target="_blank" rel="noopener noreferrer">@misitebao</a>).</li><li>Added task location data to the <code>--json</code> flag output (<a href="https://github.com/go-task/task/issues/1056" target="_blank" rel="noopener noreferrer">#1056</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)</li><li>Change the name of the file generated by <code>task --init</code> from <code>Taskfile.yaml</code> to <code>Taskfile.yml</code> (<a href="https://github.com/go-task/task/issues/1062" target="_blank" rel="noopener noreferrer">#1062</a> by <a href="https://github.com/misitebao" target="_blank" rel="noopener noreferrer">@misitebao</a>).</li><li>Added new <code>splitArgs</code> template function (<code>{{splitArgs &quot;foo bar &#x27;foo bar baz&#x27;&quot;}}</code>) to ensure string is split as arguments (<a href="https://github.com/go-task/task/issues/1040" target="_blank" rel="noopener noreferrer">#1040</a>, <a href="https://github.com/go-task/task/issues/1059" target="_blank" rel="noopener noreferrer">#1059</a> by <a href="https://github.com/dhanusaputra" target="_blank" rel="noopener noreferrer">@dhanusaputra</a>).</li><li>Fix the value of <code>{{.CHECKSUM}}</code> variable in status (<a href="https://github.com/go-task/task/issues/1076" target="_blank" rel="noopener noreferrer">#1076</a>, <a href="https://github.com/go-task/task/issues/1080" target="_blank" rel="noopener noreferrer">#1080</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>).</li><li>Fixed deep copy implementation (<a href="https://github.com/go-task/task/issues/1072" target="_blank" rel="noopener noreferrer">#1072</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)</li><li>Created a tool to assist with releases (<a href="https://github.com/go-task/task/issues/1086" target="_blank" rel="noopener noreferrer">#1086</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3220---2023-03-10">v3.22.0 - 2023-03-10<a href="#v3220---2023-03-10" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Add a brand new <code>--global</code> (<code>-g</code>) flag that will run a Taskfile from your <code>$HOME</code> directory. This is useful to have automation that you can run from anywhere in your system! (<a href="https://taskfile.dev/usage/#running-a-global-taskfile" target="_blank" rel="noopener noreferrer">Documentation</a>, <a href="https://github.com/go-task/task/issues/1029" target="_blank" rel="noopener noreferrer">#1029</a> by <a href="https://github.com/andreynering" target="_blank" rel="noopener noreferrer">@andreynering</a>).</li><li>Add ability to set <code>error_only: true</code> on the <code>group</code> output mode. This will instruct Task to only print a command output if it returned with a non-zero exit code (<a href="https://github.com/go-task/task/issues/664" target="_blank" rel="noopener noreferrer">#664</a>, <a href="https://github.com/go-task/task/issues/1022" target="_blank" rel="noopener noreferrer">#1022</a> by <a href="https://github.com/jaedle" target="_blank" rel="noopener noreferrer">@jaedle</a>).</li><li>Fixed bug where <code>.task/checksum</code> file was sometimes not being created when task also declares a <code>status:</code> (<a href="https://github.com/go-task/task/issues/840" target="_blank" rel="noopener noreferrer">#840</a>, <a href="https://github.com/go-task/task/issues/1035" target="_blank" rel="noopener noreferrer">#1035</a> by <a href="https://github.com/harelwa" target="_blank" rel="noopener noreferrer">@harelwa</a>, <a href="https://github.com/go-task/task/issues/1037" target="_blank" rel="noopener noreferrer">#1037</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>).</li><li>Refactored and decoupled fingerprinting from the main Task executor (<a href="https://github.com/go-task/task/issues/1039" target="_blank" rel="noopener noreferrer">#1039</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>).</li><li>Fixed deadlock issue when using <code>run: once</code> (<a href="https://github.com/go-task/task/issues/715" target="_blank" rel="noopener noreferrer">#715</a>, <a href="https://github.com/go-task/task/issues/1025" target="_blank" rel="noopener noreferrer">#1025</a> by <a href="https://github.com/theunrepentantgeek" target="_blank" rel="noopener noreferrer">@theunrepentantgeek</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3210---2023-02-22">v3.21.0 - 2023-02-22<a href="#v3210---2023-02-22" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/1014" target="_blank" rel="noopener noreferrer">#1014</a> by <a href="https://github.com/ja1code" target="_blank" rel="noopener noreferrer">@ja1code</a>).</li><li>Fixed a bug where tasks were sometimes incorrectly marked as internal (<a href="https://github.com/go-task/task/issues/1007" target="_blank" rel="noopener noreferrer">#1007</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>).</li><li>Update to Go 1.20 (bump minimum version to 1.19) (<a href="https://github.com/go-task/task/issues/1010" target="_blank" rel="noopener noreferrer">#1010</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)</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/issues/1003" target="_blank" rel="noopener noreferrer">#1003</a> by <a href="https://github.com/automation" target="_blank" rel="noopener noreferrer">@automation</a>-stack)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3200---2023-01-14">v3.20.0 - 2023-01-14<a href="#v3200---2023-01-14" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/977" target="_blank" rel="noopener noreferrer">#977</a> by <a href="https://github.com/aminya" target="_blank" rel="noopener noreferrer">@aminya</a>).</li><li>Performance optimizations were made for large Taskfiles (<a href="https://github.com/go-task/task/issues/982" target="_blank" rel="noopener noreferrer">#982</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>).</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/issues/929" target="_blank" rel="noopener noreferrer">#929</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>, <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&#x27;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/issues/980" target="_blank" rel="noopener noreferrer">#980</a> by <a href="https://github.com/leaanthony" target="_blank" rel="noopener noreferrer">@leaanthony</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3191---2022-12-31">v3.19.1 - 2022-12-31<a href="#v3191---2022-12-31" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Small bug fix: closing <code>Taskfile.yml</code> once we&#x27;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/issues/964" target="_blank" rel="noopener noreferrer">#964</a> by <a href="https://github.com/HeCorr" target="_blank" rel="noopener noreferrer">@HeCorr</a>).</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/issues/971" target="_blank" rel="noopener noreferrer">#971</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>).</li><li>Fixed a bug where watch intervals set in the Taskfile were not being respected (<a href="https://github.com/go-task/task/issues/969" target="_blank" rel="noopener noreferrer">#969</a>, <a href="https://github.com/go-task/task/issues/970" target="_blank" rel="noopener noreferrer">#970</a> by <a href="https://github.com/pd93" target="_blank" rel="noopener noreferrer">@pd93</a>)</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/issues/936" target="_blank" rel="noopener noreferrer">#936</a> by <a href="https://github.com/davidalpert" target="_blank" rel="noopener noreferrer">@davidalpert</a>, <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 href="#v3190---2022-12-05" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/2)</a>, <a href="https://github.com/go-task/go-npm/pull/3" target="_blank" rel="noopener noreferrer">go-task/go-npm<!-- -->[<!-- -->#3<!-- -->]<!-- -->(https://github.com/go-task/task/issues/3)</a>).</li><li>It&#x27;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/issues/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/issues/904" target="_blank" rel="noopener noreferrer">#904</a>).</li><li>It&#x27;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/issues/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<!-- -->]<!-- -->(https://github.com/DeronW)</a>. Thanks!</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3180---2022-11-12">v3.18.0 - 2022-11-12<a href="#v3180---2022-11-12" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/806" target="_blank" rel="noopener noreferrer">#806</a>, <a href="https://github.com/go-task/task/issues/890" target="_blank" rel="noopener noreferrer">#890</a>).</li><li>It&#x27;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/issues/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 href="#v3170---2022-10-14" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Add a &quot;Did you mean ...?&quot; 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/issues/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/issues/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/issues/268" target="_blank" rel="noopener noreferrer">#268</a>, <a href="https://github.com/go-task/task/issues/340" target="_blank" rel="noopener noreferrer">#340</a>, <a href="https://github.com/go-task/task/issues/879" target="_blank" rel="noopener noreferrer">#879</a>).</li><li>Improvements to Fish shell completion (<a href="https://github.com/go-task/task/issues/897" target="_blank" rel="noopener noreferrer">#897</a>).</li><li>Added ability to set a different watch interval by setting <code>interval: &#x27;500ms&#x27;</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/issues/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/issues/845" target="_blank" rel="noopener noreferrer">#845</a>, <a href="https://github.com/go-task/task/issues/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/issues/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 href="#v3160---2022-09-29" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Add <code>npm</code> as new installation method: <code>npm i -g [@go](https://github.com/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/issues/871" target="_blank" rel="noopener noreferrer">#871</a>, <a href="https://www.npmjs.com/package/%5B@go%5D(https://github.com/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/issues/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 href="#v3152---2022-09-08" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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/issues/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 href="#v3150---2022-09-03" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/831" target="_blank" rel="noopener noreferrer">#831</a>).</li><li>Improvements and fixes to Bash completion (<a href="https://github.com/go-task/task/issues/835" target="_blank" rel="noopener noreferrer">#835</a>, <a href="https://github.com/go-task/task/issues/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 href="#v3141---2022-08-03" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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 href="#v3140---2022-07-08" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/568" target="_blank" rel="noopener noreferrer">#568</a>, <a href="https://github.com/go-task/task/issues/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&#x27;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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/884)</a>, <a href="https://github.com/mvdan/sh/pull/893" target="_blank" rel="noopener noreferrer">mvdan/sh<!-- -->[<!-- -->#893<!-- -->]<!-- -->(https://github.com/go-task/task/issues/893)</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v3130---2022-06-13">v3.13.0 - 2022-06-13<a href="#v3130---2022-06-13" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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/issues/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/issues/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 href="#v3121---2022-05-10" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 href="#v3120---2022-03-31" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/623" target="_blank" rel="noopener noreferrer">#623</a>, <a href="https://github.com/go-task/task/issues/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/issues/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 href="#v3110---2022-02-19" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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 href="#v3100---2022-01-04" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>A new <code>--list-all</code> (alias <code>-a</code>) flag is now available. It&#x27;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/issues/401" target="_blank" rel="noopener noreferrer">#401</a>).</li><li>It&#x27;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/issues/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/issues/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/issues/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/issues/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/issues/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 href="#v392---2021-12-02" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/768)</a>, <a href="https://github.com/mvdan/sh/pull/769" target="_blank" rel="noopener noreferrer">mvdan/sh<!-- -->[<!-- -->#769<!-- -->]<!-- -->(https://github.com/go-task/task/issues/769)</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v391---2021-11-28">v3.9.1 - 2021-11-28<a href="#v391---2021-11-28" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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/issues/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/issues/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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/763)</a>).</li><li>Fix issue of wrong environment variable being picked when there&#x27;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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/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/issues/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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/2)</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v390---2021-10-02">v3.9.0 - 2021-10-02<a href="#v390---2021-10-02" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>A new <code>shellQuote</code> function was added to the template system (<code>{{shellQuote &quot;a string&quot;}}</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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/727)</a>, <a href="https://github.com/mvdan/sh/pull/737" target="_blank" rel="noopener noreferrer">mvdan/sh<!-- -->[<!-- -->#737<!-- -->]<!-- -->(https://github.com/go-task/task/issues/737)</a>, <a href="https://pkg.go.dev/mvdan.cc/sh/v3%5B@v3%5D(https://github.com/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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/551)</a>, <a href="https://github.com/mvdan/sh/pull/722" target="_blank" rel="noopener noreferrer">mvdan/sh<!-- -->[<!-- -->#772<!-- -->]<!-- -->(https://github.com/go-task/task/issues/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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/724)</a>, <a href="https://github.com/mvdan/sh/pull/728" target="_blank" rel="noopener noreferrer">mvdan/sh<!-- -->[<!-- -->#728<!-- -->]<!-- -->(https://github.com/go-task/task/issues/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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/723)</a>)</li></ul></li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v380---2021-09-26">v3.8.0 - 2021-09-26<a href="#v380---2021-09-26" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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/issues/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/issues/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 href="#v373---2021-09-04" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Add official support to Apple M1 (<a href="https://github.com/go-task/task/issues/564" target="_blank" rel="noopener noreferrer">#564</a>, <a href="https://github.com/go-task/task/issues/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 href="#v370---2021-07-31" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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 href="#v360---2021-07-10" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/477" target="_blank" rel="noopener noreferrer">#477</a>).</li><li>Small optimization and bug fix: don&#x27;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 href="#v350---2021-07-04" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Add support for interpolation in <code>dotenv:</code> (<a href="https://github.com/go-task/task/issues/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/issues/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 href="#v343---2021-05-30" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/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/issues/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 href="#v342---2021-04-23" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>On watch, report which file failed to read (<a href="https://github.com/go-task/task/issues/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/issues/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/issues/462" target="_blank" rel="noopener noreferrer">#462</a>, <a href="https://github.com/go-task/task/issues/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 href="#v341---2021-04-17" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Improve error reporting when parsing YAML: in some situations where you would just see an generic error, you&#x27;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/issues/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 href="#v330---2021-03-20" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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 href="#v322---2021-01-12" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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 href="#v321---2021-01-09" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 href="#v320---2021-01-07" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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 href="#v310---2021-01-03" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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&#x27;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&#x27;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 href="#v301---2020-12-26" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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/issues/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 href="#v300---2020-08-16" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/321)</a>, <a href="https://github.com/go-task/task/issues/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/issues/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/issues/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/issues/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/issues/216" target="_blank" rel="noopener noreferrer">#216</a>).</li><li>We&#x27;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/issues/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/issues/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 href="#v281---2020-05-20" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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/issues/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/issues/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 href="#v280---2019-12-07" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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 href="#v271---2019-11-10" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 href="#v270---2019-09-22" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/243" 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/issues/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 href="#v260---2019-07-21" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/205" target="_blank" rel="noopener noreferrer">#205</a>).</li><li>Create directory informed on <code>dir:</code> if it doesn&#x27;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/issues/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/issues/221" target="_blank" rel="noopener noreferrer">#221</a>).</li><li>It&#x27;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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/1)</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v252---2019-05-11">v2.5.2 - 2019-05-11<a href="#v252---2019-05-11" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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<!-- -->]<!-- -->(https://github.com/go-task/task/issues/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 href="#251---2019-04-27" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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 href="#v250---2019-03-16" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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 href="#v240---2019-02-21" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/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 href="#v230---2019-01-02" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/issues/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/issues/138" target="_blank" rel="noopener noreferrer">#138</a>, <a href="https://github.com/go-task/task/issues/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 href="#v221---2018-12-09" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>This repository now uses Go Modules (<a href="https://github.com/go-task/task/issues/143" target="_blank" rel="noopener noreferrer">#143</a>). We&#x27;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 (<a href="https://github.com/go-task/task/issues/150" target="_blank" rel="noopener noreferrer">#150</a>);</li><li>Fix a bug when calling another task or a dependency in an included Taskfile (<a href="https://github.com/go-task/task/issues/151" target="_blank" rel="noopener noreferrer">#151</a>).</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v220---2018-10-25">v2.2.0 - 2018-10-25<a href="#v220---2018-10-25" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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> (<a href="https://github.com/go-task/task/issues/98" target="_blank" rel="noopener noreferrer">#98</a>)<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 <a href="https://github.com/go-task/task/issues/98" target="_blank" rel="noopener noreferrer">#98</a>.</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/main/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 href="#v211---2018-09-17" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 (<a href="https://github.com/go-task/task/issues/131" target="_blank" rel="noopener noreferrer">#131</a>)</li><li>Fix signal handling when the <code>--watch</code> flag is given (<a href="https://github.com/go-task/task/issues/132" target="_blank" rel="noopener noreferrer">#132</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v210---2018-08-19">v2.1.0 - 2018-08-19<a href="#v210---2018-08-19" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Add a <code>ignore_error</code> option to task and command (<a href="https://github.com/go-task/task/issues/123" target="_blank" rel="noopener noreferrer">#123</a>)</li><li>Add a dry run mode (<code>--dry</code> flag) (<a href="https://github.com/go-task/task/issues/126" target="_blank" rel="noopener noreferrer">#126</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v203---2018-06-24">v2.0.3 - 2018-06-24<a href="#v203---2018-06-24" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Expand environment variables on &quot;dir&quot;, &quot;sources&quot; and &quot;generates&quot; (<a href="https://github.com/go-task/task/issues/116" target="_blank" rel="noopener noreferrer">#116</a>)</li><li>Fix YAML merging syntax (<a href="https://github.com/go-task/task/issues/112" target="_blank" rel="noopener noreferrer">#112</a>)</li><li>Add ZSH completion (<a href="https://github.com/go-task/task/issues/111" target="_blank" rel="noopener noreferrer">#111</a>)</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 href="#v202---2018-05-01" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Fix merging of YAML anchors (<a href="https://github.com/go-task/task/issues/112" target="_blank" rel="noopener noreferrer">#112</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v201---2018-03-11">v2.0.1 - 2018-03-11<a href="#v201---2018-03-11" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 href="#v200---2018-03-08" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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/main/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">#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">#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 href="#v144---2017-11-19" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Handle SIGINT and SIGTERM (<a href="https://github.com/go-task/task/issues/75" target="_blank" rel="noopener noreferrer">#75</a>);</li><li>List: print message with there&#x27;s no task with description;</li><li>Expand home dir (&quot;~&quot; symbol) on paths (<a href="https://github.com/go-task/task/issues/74" target="_blank" rel="noopener noreferrer">#74</a>);</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 &quot;cmds&quot;, and not only on &quot;deps&quot;;</li><li>Print logs to stderr instead of stdout (<a href="https://github.com/go-task/task/issues/68" target="_blank" rel="noopener noreferrer">#68</a>);</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 href="#v143---2017-09-07" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Allow assigning variables to tasks at run time via CLI (<a href="https://github.com/go-task/task/issues/33" target="_blank" rel="noopener noreferrer">#33</a>)</li><li>Added suport for multiline variables from sh (<a href="https://github.com/go-task/task/issues/64" target="_blank" rel="noopener noreferrer">#64</a>)</li><li>Fixes env: remove square braces and evaluate shell (<a href="https://github.com/go-task/task/issues/62" target="_blank" rel="noopener noreferrer">#62</a>)</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 (<a href="https://github.com/go-task/task/issues/59" target="_blank" rel="noopener noreferrer">#59</a> and <a href="https://github.com/go-task/task/issues/60" target="_blank" rel="noopener noreferrer">#60</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v142---2017-07-30">v1.4.2 - 2017-07-30<a href="#v142---2017-07-30" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 (<a href="https://github.com/go-task/task/issues/56" target="_blank" rel="noopener noreferrer">#56</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v141---2017-07-15">v1.4.1 - 2017-07-15<a href="#v141---2017-07-15" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 (<a href="https://github.com/go-task/task/issues/49" target="_blank" rel="noopener noreferrer">#49</a>)</li><li>Allow absolute path in generates section (<a href="https://github.com/go-task/task/issues/48" target="_blank" rel="noopener noreferrer">#48</a>)</li><li>Bugfix: allow templating when calling deps (<a href="https://github.com/go-task/task/issues/42" target="_blank" rel="noopener noreferrer">#42</a>)</li><li>Fix panic for invalid task in cyclic dep detection</li><li>Better error output for dynamic variables in Taskvars.yml (<a href="https://github.com/go-task/task/issues/41" target="_blank" rel="noopener noreferrer">#41</a>)</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 href="#v140---2017-07-06" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Cache dynamic variables</li><li>Add verbose mode (<code>-v</code> flag)</li><li>Support to task parameters (overriding vars) (<a href="https://github.com/go-task/task/issues/31" target="_blank" rel="noopener noreferrer">#31</a>) (<a href="https://github.com/go-task/task/issues/32" target="_blank" rel="noopener noreferrer">#32</a>)</li><li>Print command, also when &quot;set:&quot; is specified (<a href="https://github.com/go-task/task/issues/35" target="_blank" rel="noopener noreferrer">#35</a>)</li><li>Improve task command help text (<a href="https://github.com/go-task/task/issues/35" target="_blank" rel="noopener noreferrer">#35</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v131---2017-06-14">v1.3.1 - 2017-06-14<a href="#v131---2017-06-14" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Fix glob not working on commands (<a href="https://github.com/go-task/task/issues/28" target="_blank" rel="noopener noreferrer">#28</a>)</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 (<a href="https://github.com/go-task/task/issues/27" target="_blank" rel="noopener noreferrer">#27</a>)</li><li>Allow interpolation on <code>generates</code> and <code>sources</code> attributes (<a href="https://github.com/go-task/task/issues/26" target="_blank" rel="noopener noreferrer">#26</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v130---2017-04-24">v1.3.0 - 2017-04-24<a href="#v130---2017-04-24" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 &quot;ToSlash&quot; and &quot;FromSlash&quot; 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 href="#v120---2017-04-02" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></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 &quot;=&quot; not being reconized in variables/environment variables</li><li>Tasks can now have a description, and help will print them (<a href="https://github.com/go-task/task/issues/10" target="_blank" rel="noopener noreferrer">#10</a>)</li><li>Task dependencies now run concurrently</li><li>Support for a default task (<a href="https://github.com/go-task/task/issues/16" target="_blank" rel="noopener noreferrer">#16</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v110---2017-03-08">v1.1.0 - 2017-03-08<a href="#v110---2017-03-08" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Support for YAML, TOML and JSON (<a href="https://github.com/go-task/task/issues/1" target="_blank" rel="noopener noreferrer">#1</a>)</li><li>Support running command in another directory (<a href="https://github.com/go-task/task/issues/4" target="_blank" rel="noopener noreferrer">#4</a>)</li><li><code>--force</code> or <code>-f</code> flag to force execution of task even when it&#x27;s up-to-date</li><li>Detection of cyclic dependencies (<a href="https://github.com/go-task/task/issues/5" target="_blank" rel="noopener noreferrer">#5</a>)</li><li>Support for variables (<a href="https://github.com/go-task/task/issues/6" target="_blank" rel="noopener noreferrer">#6</a>, <a href="https://github.com/go-task/task/issues/9" target="_blank" rel="noopener noreferrer">#9</a>, <a href="https://github.com/go-task/task/issues/14" target="_blank" rel="noopener noreferrer">#14</a>)</li><li>Operation System specific commands and variables (<a href="https://github.com/go-task/task/issues/13" target="_blank" rel="noopener noreferrer">#13</a>)</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="v100---2017-02-28">v1.0.0 - 2017-02-28<a href="#v100---2017-02-28" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2><ul><li>Add LICENSE file</li></ul></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="文档分页导航"><a class="pagination-nav__link pagination-nav__link--prev" href="/zh-Hans/styleguide/"><div class="pagination-nav__sublabel">上一页</div><div class="pagination-nav__label">风格指南</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/zh-Hans/community/"><div class="pagination-nav__sublabel">下一页</div><div class="pagination-nav__label">社区</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="#v3240---2023-04-15" class="table-of-contents__link toc-highlight">v3.24.0 - 2023-04-15</a></li><li><a href="#v3230---2023-03-26" class="table-of-contents__link toc-highlight">v3.23.0 - 2023-03-26</a></li><li><a href="#v3220---2023-03-10" class="table-of-contents__link toc-highlight">v3.22.0 - 2023-03-10</a></li><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">页面</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/zh-Hans/installation/">安装</a></li><li class="footer__item"><a class="footer__link-item" href="/zh-Hans/usage/">使用指南</a></li><li class="footer__item"><a class="footer__link-item" href="/zh-Hans/donate/">赞助</a></li></ul></div><div class="col footer__col"><div class="footer__title">社区</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="me" 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">翻译</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="/zh-Hans/assets/js/runtime~main.75095c66.js"></script>
<script src="/zh-Hans/assets/js/main.ff3b4cee.js"></script>
</body>
</html>