Skip to content

Commit

Permalink
chore: version bump Taskgraph 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ahal committed Apr 9, 2024
1 parent 9ed586e commit dd07d4d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## [8.0.0] - 2024-04-09

### Added

- Ability to use custom name functions in `from_deps` transforms (#484)
- New `from_deps` name function that doesn't strip the dep's kind (#484)
- New cli flag to force using locally generated `files_changed` (#481)

### Fixed

- Support for `artifact-reference` with private artifacts (#485)

### Changed

- Replaced `head_ref` in pull-request cached task routes (#486)
- Created a new `files_changed` parameter (#481)

### Removed

- Removed the `taskgraph.files_changed` module (#481)

## [7.4.0] - 2024-03-26

### Changed
Expand Down
17 changes: 17 additions & 0 deletions docs/reference/migrations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ Migration Guide

This page can help when migrating Taskgraph across major versions.

7.x -> 8.x
----------

* Replace all references to ``taskgraph.files_changed``. Instead, use one of:

* The ``files_changed`` parameter
* The ``get_files_changed`` method on an instance of ``taskgraph.util.vcs.Repository``
* Mercurial repositories relying on hgmo's ``json-automationrelevance``
endpoint will need to in-line this logic into their own custom Taskgraph
logic
* In tasks using the ``from_deps`` transforms, remove ``from-deps.set-name`` if
it is set to ``true``
* Update any references to pull request cached task indexes from
``{cache_prefix}.cache.head.{head_ref}...`` to ``{cache_prefix}.cache.pr...``
(i.e, add ``pr`` and remove the ``head.{head_ref}``)

6.x -> 7.x
----------

Expand All @@ -11,6 +27,7 @@ This page can help when migrating Taskgraph across major versions.
``taskcluster/ci``. Typically this value is not passed in explicitly by
consumers, but updates are likely required if you have custom code that
uses any of the following objects:

* ``taskgraph.config.GraphConfig``
* ``taskgraph.config.load_graph_config``
* ``taskgraph.generator.TaskGraphGenerator``
Expand Down
2 changes: 1 addition & 1 deletion src/taskgraph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

__version__ = "7.4.0"
__version__ = "8.0.0"

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

0 comments on commit dd07d4d

Please sign in to comment.