Skip to content

Commit

Permalink
Release 9.0.0-pre.20250109.2 (2025-01-17)
Browse files Browse the repository at this point in the history
Baseline: 457d248

New features:

  - Materializer functions now have access to the label of the rule
    they are running on as ctx.label .

Important changes:

  - Extra targets provided to `ctx.expand_location` now expand to
    their executable (if any) instead of resulting in an error if
    they provide a number of files different from one.
    RELNOTES[INC]: The `--incompatible_locations_prefers_executable`
    flag has been added and enabled, which makes it so that
    `ctx.expand_location` expands `$(locations :x)` to the executable
    of an extra target `:x` if it provides one and the number of
    files provided by it is not one.

This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim.
  • Loading branch information
Bazel Release System authored and keertk committed Jan 17, 2025
1 parent 90cd5cc commit 17ace28
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## Release 9.0.0-pre.20250109.2 (2025-01-17)

```
Baseline: 457d248218540b0ae93d6454fa8a95ccad877063
```

New features:

- Materializer functions now have access to the label of the rule
they are running on as ctx.label .

Important changes:

- Extra targets provided to `ctx.expand_location` now expand to
their executable (if any) instead of resulting in an error if
they provide a number of files different from one.
RELNOTES[INC]: The `--incompatible_locations_prefers_executable`
flag has been added and enabled, which makes it so that
`ctx.expand_location` expands `$(locations :x)` to the executable
of an extra target `:x` if it provides one and the number of
files provided by it is not one.

This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim.

## Release 9.0.0-pre.20250106.2 (2025-01-13)

```
Expand Down

0 comments on commit 17ace28

Please sign in to comment.