Skip to content

Commit e8283fe

Browse files
committed
chore: version bump 17.0.0
1 parent 420b66d commit e8283fe

File tree

4 files changed

+62
-3
lines changed

4 files changed

+62
-3
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
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

docs/reference/migrations.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,38 @@ Migration Guide
33

44
This 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+
638
15.x -> 16.x
739
------------
840

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Project
22
[project]
33
name = "taskcluster-taskgraph"
4-
version = "16.2.1"
4+
version = "17.0.0"
55
description = "Build taskcluster taskgraphs"
66
readme = "README.rst"
77
authors = [

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)