Skip to content

Commit

Permalink
release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdyas committed May 13, 2024
1 parent f24f7f5 commit 6f48967
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/notes/2.22.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ We offer [formal sponsorship tiers for companies](https://www.pantsbuild.org/spo
### Highlights

- A new implementation of the options system.
- BSP support has been moved out of core rules into separate core and language-specific backends.

### New options system

Expand All @@ -36,6 +37,16 @@ docs [here](https://www.pantsbuild.org/2.22/docs/sql).

Setting the `orphan_files_behaviour = "ignore"` option for [`pants.backend.experimental.scala.lint.scalafix`](https://www.pantsbuild.org/2.22/reference/subsystems/scalafix#orphan_files_behavior) or [`pants.backend.experimental.scala.lint.scalafmt`](https://www.pantsbuild.org/2.22/reference/subsystems/scalafmt#orphan_files_behavior) backend is now properly silent. It previously showed spurious warnings.

##### BSP (Build Server Protocol)

The BSP (Build Server Protocol) support has been moved out of the Pants core into several new backends to faciliate disabling this support if it is not needed. The new backends are:

- `pants.backend.experimental.bsp` (core)
- `pants.backend.experimental.java.bsp` (Java support)
- `pants.backend.experimental.scala.bsp` (Scala support)

Enable the core `pants.backend.experimental.bsp` backend and one or more of the language-specific backends to enable BSP support.

#### OpenAPI

The `openapi_document` target will now bundle itself and its `openapi_source` dependencies into a single file when depended on by other targets. Do note that this change will make the `openapi_document` target behave more like a `resource` target rather than a `file` target, which in turn will likely affect which mechanism you need to use when loading it in dependent code.
Expand Down Expand Up @@ -64,6 +75,8 @@ Setting [the `orphan_files_behaviour = "ignore"` option](https://www.pantsbuild.

### Plugin API changes

Plugins may now provide builtin goals by implememting the `builtin_goals` function in their plugin registration module.

## Full Changelog

For the full changelog, see the individual GitHub Releases for this series: https://github.com/pantsbuild/pants/releases

0 comments on commit 6f48967

Please sign in to comment.