-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
authors: [benjy] | ||
tags: [announcement] | ||
# The release happened on this date, despite what the file name implies (which is when this post was authored) | ||
date: 2024-10-07 | ||
--- | ||
|
||
# Pants 2.22.0 is released! | ||
|
||
<CaptionedImg src={require("./splash.jpeg").default}> | ||
Photo by{" "} | ||
<a href="https://unsplash.com/@florianxrebmann?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash"> | ||
Florian Rebmann | ||
</a>{" "} | ||
on{" "} | ||
<a href="https://unsplash.com/photos/a-building-with-a-flag-on-top-cWAsvnD9A98?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash"> | ||
Unsplash | ||
</a> | ||
</CaptionedImg> | ||
|
||
{/* truncate */} | ||
|
||
We are pleased to announce Pants [2.22.0](<(https://github.com/pantsbuild/pants/tree/2.22.x/src/python/pants/notes/2.22.x.md)>), the latest release of [Pantsbuild, the scalable and ergonomic build system](https://www.pantsbuild.org/). To update, set `pants_version = "2.22.0"` in your `pants.toml`. If you're not using Pants yet, [get started now](https://www.pantsbuild.org/2.22/docs/getting-started). | ||
|
||
_Highlights in [2.22](<(https://github.com/pantsbuild/pants/tree/2.22.x/src/python/pants/notes/2.22.x.md)>) include_: | ||
|
||
- 🎛️A major re-implementation of the Pants [options system](https://www.pantsbuild.org/2.22/docs/using-pants/key-concepts/options). See below for more! | ||
- 🏠Support for executing local processes within the repository itself (rather than in a sandbox) via the new [workspace environment](https://www.pantsbuild.org/stable/docs/using-pants/environments#in-workspace-execution-experimental_workspace_environment) feature. | ||
- 🐍Initial support for Python 3.13. | ||
- 🛫Ability to export Python tools [from their default bundled lockfiles](https://www.pantsbuild.org/2.22/docs/using-pants/setting-up-an-ide#tool-virtualenvs). | ||
- ☁️Improvements in FaaS support, such as the ability to create cloud functions as directories, instead of .zip files. | ||
- 🏷️[`vcs_version`](https://www.pantsbuild.org/stable/reference/targets/vcs_version) always executes locally, so that it has the local git context, even when otherwise using docker environments. | ||
- 📊A new experimental SQL backend, with [SQLFluff](https://sqlfluff.com/) linter support. | ||
- 🗃️A new experimental [Makeself](https://makeself.io/) backend for creating self-extractable archives. | ||
- 🫙A [`deploy_jar_exclude_files`](https://www.pantsbuild.org/2.22/reference/subsystems/jvm#deploy_jar_exclude_files) option, to allow excluding irrelevant signature files from JAR files. | ||
- 🗺️Better understanding of self-type annotations in Scala dependency inference. | ||
- 🎒the ability to bundle `openapi_document` and its `openapi_source` dependencies into a single file, for consumption by other targets. | ||
- 📈 And lots of smaller features, update, bugfixes, and general improvements | ||
|
||
Check out the [full release notes](https://github.com/pantsbuild/pants/tree/2.22.x/src/python/pants/notes/2.22.x.md). Pants is an open-source project, and the changes are all contributed by our community. If you want to see something more in the next changelog, join us on [GitHub](https://github.com/pantsbuild/pants) and become a contributor. | ||
|
||
In particular, please note the transition to the new options system. In 2.22.x we run both the new and the legacy systems concurrently and compare the results, issuing warnings if there are any discrepancies. If you do encounter discrepancies that you can't resolve on your own, please [reach out to us!](https://www.pantsbuild.org/community/getting-help). | ||
|
||
We also offer [formal sponsorship tiers for companies](https://www.pantsbuild.org/sponsorship), as well as individual sponsorships via [GitHub](https://github.com/sponsors/pantsbuild). These help pay for the ongoing development and hosting costs, and are managed by the Pants Build non-profit organization. | ||
|
||
To see Pants in action, explore our example repositories: | ||
|
||
- [example-python](https://github.com/pantsbuild/example-python) | ||
- [example-adhoc](https://github.com/pantsbuild/example-adhoc/) | ||
- [example-codegen](https://github.com/pantsbuild/example-codegen) | ||
- [example-docker](https://github.com/pantsbuild/example-docker) | ||
- [example-golang](https://github.com/pantsbuild/example-golang) | ||
- [example-javascript](https://github.com/pantsbuild/example-javascript) | ||
- [example-jvm](https://github.com/pantsbuild/example-jvm) | ||
- [example-kotlin](https://github.com/pantsbuild/example-kotlin) | ||
- [example-visibility](https://github.com/pantsbuild/example-visibility) | ||
|
||
And let us know what you think in [Slack!](https://www.pantsbuild.org/community/getting-help) | ||
|
||
Pants 2.22.0 took longer than usual to stabilize, but we hope to get 2.23.0 out quite soon! | ||
|
||
Pants wouldn't be possible without everyone who contributed to 2.22.0, including everyone who shared feedback on changes and who tested release candidates! Thank you very much! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.