Skip to content

Commit dd07d4d

Browse files
committed
chore: version bump Taskgraph 8.0.0
1 parent 9ed586e commit dd07d4d

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Change Log
22

3+
## [8.0.0] - 2024-04-09
4+
5+
### Added
6+
7+
- Ability to use custom name functions in `from_deps` transforms (#484)
8+
- New `from_deps` name function that doesn't strip the dep's kind (#484)
9+
- New cli flag to force using locally generated `files_changed` (#481)
10+
11+
### Fixed
12+
13+
- Support for `artifact-reference` with private artifacts (#485)
14+
15+
### Changed
16+
17+
- Replaced `head_ref` in pull-request cached task routes (#486)
18+
- Created a new `files_changed` parameter (#481)
19+
20+
### Removed
21+
22+
- Removed the `taskgraph.files_changed` module (#481)
23+
324
## [7.4.0] - 2024-03-26
425

526
### Changed

docs/reference/migrations.rst

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

44
This page can help when migrating Taskgraph across major versions.
55

6+
7.x -> 8.x
7+
----------
8+
9+
* Replace all references to ``taskgraph.files_changed``. Instead, use one of:
10+
11+
* The ``files_changed`` parameter
12+
* The ``get_files_changed`` method on an instance of ``taskgraph.util.vcs.Repository``
13+
* Mercurial repositories relying on hgmo's ``json-automationrelevance``
14+
endpoint will need to in-line this logic into their own custom Taskgraph
15+
logic
16+
* In tasks using the ``from_deps`` transforms, remove ``from-deps.set-name`` if
17+
it is set to ``true``
18+
* Update any references to pull request cached task indexes from
19+
``{cache_prefix}.cache.head.{head_ref}...`` to ``{cache_prefix}.cache.pr...``
20+
(i.e, add ``pr`` and remove the ``head.{head_ref}``)
21+
622
6.x -> 7.x
723
----------
824

@@ -11,6 +27,7 @@ This page can help when migrating Taskgraph across major versions.
1127
``taskcluster/ci``. Typically this value is not passed in explicitly by
1228
consumers, but updates are likely required if you have custom code that
1329
uses any of the following objects:
30+
1431
* ``taskgraph.config.GraphConfig``
1532
* ``taskgraph.config.load_graph_config``
1633
* ``taskgraph.generator.TaskGraphGenerator``

src/taskgraph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License, v. 2.0. If a copy of the MPL was not distributed with this
33
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

5-
__version__ = "7.4.0"
5+
__version__ = "8.0.0"
66

77
# Maximum number of dependencies a single task can have
88
# https://docs.taskcluster.net/reference/platform/taskcluster-queue/references/api#createTask

0 commit comments

Comments
 (0)