diff --git a/docs/notes/2.22.x.md b/docs/notes/2.22.x.md index adf5f442b689..0a19f3e24182 100644 --- a/docs/notes/2.22.x.md +++ b/docs/notes/2.22.x.md @@ -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 @@ -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. @@ -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