File tree Expand file tree Collapse file tree 4 files changed +62
-3
lines changed Expand file tree Collapse file tree 4 files changed +62
-3
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## [ 17.0.0] - 2025-10-17
4+
5+ ### Changed
6+
7+ - BREAKING CHANGE: Dropped support for Python 3.8
8+ - BREAKING CHANGE: ` base_ref ` parameter no longer gets reset to default branch by Decision task
9+ - BREAKING CHANGE: ` base_rev ` parameter no longer gets reset to merge-base by Decision task
10+ - BREAKING CHANGE: ` run-task ` script no longer fetches or checks out ` base_ref ` parameter
11+ - BREAKING CHANGE: ` run-task ` script no longer fetches all heads if ` head_ref ` was not specified
12+
13+ ### Added
14+
15+ - ` run-task ` now supports shallow Git clones
16+ - Improved support for shallow clones in ` repo.get_changed_files() `
17+
18+ ### Perf
19+
20+ - Improvements to graph traversal logic and caching
21+
22+ ### Fixed
23+
24+ - Bug in ` retrigger-multiple ` action's schema definition
25+ - ` run-task ` no longer fetches head ref twice in some scenarios
26+ - ` run-task ` avoids fetching tags in some scenarios when not necessary
27+ - ` run-task ` properly normalizes ` head_ref ` before checking it out
28+ - Appropriate exception now being caught in various ` taskcluster ` call sites
29+
330## [ 16.2.1] - 2025-10-14
431
532### Fixed
Original file line number Diff line number Diff line change @@ -3,6 +3,38 @@ Migration Guide
33
44This page can help when migrating Taskgraph across major versions.
55
6+ 16.x -> 17.x
7+ ------------
8+
9+ * Upgrade to Python 3.9 or above.
10+ * The ``base_ref `` parameter could now be ``None `` if it wasn't explicitly
11+ passed into the Decision task. If this was relied upon, do the following
12+ instead:
13+
14+ .. code-block :: python
15+
16+ from taskgraph.util.vcs import get_repository
17+
18+ repo = get_repository()
19+ base_ref = repo.default_branch
20+
21+ * The ``base_rev `` parameter is no longer being reset to the merge-base. This
22+ means in some cases, ``base_rev `` might not actually be an ancestor of
23+ ``head_rev ``. If you need the merge-base, you can use:
24+
25+ .. code-block :: python
26+
27+ from taskgraph.util.vcs import get_repository
28+
29+ repo = get_repository()
30+ base_rev = repo.find_latest_common_revision(parameters[" base_rev" ], parameters[" head_rev" ])
31+
32+ * The ``base_ref `` is no longer being fetched by ``run-task ``. If you were
33+ relying on it, you can run ``git fetch origin <base_ref> `` in a subprocess.
34+ * The ``run-task `` scripts no longer fetches all heads when ``head_ref `` isn't
35+ specified. If this behaviour was relied upon, you can run
36+ ``git fetch +refs/heads/*:refs/remotes/work/* `` in a subprocess.
37+
63815.x -> 16.x
739------------
840
Original file line number Diff line number Diff line change 11# ## Project
22[project ]
33name = " taskcluster-taskgraph"
4- version = " 16.2.1 "
4+ version = " 17.0.0 "
55description = " Build taskcluster taskgraphs"
66readme = " README.rst"
77authors = [
You can’t perform that action at this time.
0 commit comments