Skip to content

Commit

Permalink
2.20.0 release blog post (#182)
Browse files Browse the repository at this point in the history
ref pantsbuild/pants#20578

---------

Co-authored-by: Huon Wilson <[email protected]>
  • Loading branch information
cburroughs and huonw authored Apr 16, 2024
1 parent 91737cd commit 74d7bd4
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 2 deletions.
48 changes: 48 additions & 0 deletions blog/2024-03-27-pants-2-20/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
authors: [cburroughs]
tags: [announcement]
---

# Pants 2.20.0 is released!

<CaptionedImg src={require("./splash.jpeg").default}>
Photo by [Jongsun Leed](https://unsplash.com/@sarahleejs) /
[Unsplash](https://unsplash.com/photos/moon-eclipse-F-pSZO_jeE8)
</CaptionedImg>

{/* truncate */}

We are pleased to announce Pants 2.20.0, the latest release of [Pantsbuild, the scalable and ergonomic build system](https://www.pantsbuild.org/). To update, set `pants_version = "2.20.0"` in your `pants.toml`. If you're not using Pants yet, [get started now](https://www.pantsbuild.org/docs/getting-started).

_Highlights in 2.20 include_:

- ⚡ Support for the Ruff formatter, for both `BUILD` files and normal Python files.
- 🔒 Built-in support for [Terraform lockfiles](https://www.pantsbuild.org/2.20/docs/terraform#lockfiles).
- 📁 Support for [more remote-caching providers](https://www.pantsbuild.org/2.20/docs/using-pants/remote-caching-and-execution/remote-caching): file system and GitHub Actions Cache.
- 🪥 New helpers for [defining "adhoc" code-quality tools](https://www.pantsbuild.org/2.20/reference/targets/code_quality_tool), without requiring a full plugin.
- ☕ JVM third-party artifacts [can now be read from `pom.xml` files](https://www.pantsbuild.org/2.20/reference/targets/jvm_artifacts), and other related improvements.
- 🐿 Go 1.22 can now be used.
- 🥚 Several features of the [Pex](https://docs.pex-tool.org/) tool are now exposed by Pants including [`sh_boot`](https://www.pantsbuild.org/2.20/reference/targets/pex_binary#sh_boot) [`executable`](https://www.pantsbuild.org/2.20/reference/targets/pex_binary#executable), and [`check`](https://www.pantsbuild.org/2.20/reference/targets/pex_binary#check).
- ⚠ Pex's [`emit_warnings`](https://www.pantsbuild.org/2.20/reference/subsystems/pex#emit_warnings) now works as advertised and comes with a [global option](https://www.pantsbuild.org/2.20/reference/subsystems/pex#emit_warnings).
- 🐋 Experimental support for [Podman](https://podman.io/) with `pants.backend.experimental.docker.podman`.
- 📈 And lots of smaller features, bugfixes, and general improvements

Check out the [full release notes](https://github.com/pantsbuild/pants/tree/2.20.x/src/python/pants/notes/2.20.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.

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/docs/getting-help)

Pants wouldn't be possible without everyone who contributed to 2.20.0, including everyone who shared feedback on changes and who tested release candidates! Thank you very much!
Binary file added blog/2024-03-27-pants-2-20/splash.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions blog/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ berkay:
# title:
url: https://github.com/ozturkberkay
image_url: https://github.com/ozturkberkay.png
cburroughs:
name: Chris Burroughs
title: Pants Contributor
url: https://github.com/cburroughs
image_url: https://github.com/cburroughs.png
cczona:
name: Carina C. Zona
title: Pants Maintainer
Expand Down
5 changes: 3 additions & 2 deletions src/pages/versions/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
| Pants version | Docs | Changelog | Highlights |
| :------------ | :----------------------------------------------------- | :------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 2.19 | [/2.19](/2.19.x/docs/introduction/how-does-pants-work) | | [Blog: Pants 2.19.0 is released!](/blog/2024/01/24/pants-2-19) |
| 2.18 | [/2.18](/2.18.x/docs/introduction/how-does-pants-work) | | [Blog: Pants 2.18.0 is released!](/blog/2023/11/14/pants-2.18.0-is-released) |
| 2.20 | [/2.20](/2.20.x/docs/introduction/how-does-pants-work) | [2.20.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.20.x.md) | [Blog: Pants 2.20.0 is released!](/blog/2024/03/27/pants-2-20) |
| 2.19 | [/2.19](/2.19.x/docs/introduction/how-does-pants-work) | [2.19.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.19.x.md) | [Blog: Pants 2.19.0 is released!](/blog/2024/01/24/pants-2-19) |
| 2.18 | [/2.18](/2.18.x/docs/introduction/how-does-pants-work) | [2.18.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.18.x.md) | [Blog: Pants 2.18.0 is released!](/blog/2023/11/14/pants-2.18.0-is-released) |
| 2.17 | [/2.17](/2.17.x/docs/introduction/how-does-pants-work) | [2.17.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.17.x.md) | [Blog: Pants 2.17.0 is released!](/blog/2023/08/30/pants-2-17-0-is-released) |
| 2.16 | [/2.16](/2.16.x/docs/introduction/how-does-pants-work) | [2.16.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.16.x.md) | [Blog: Pants 2.16.0 is here!](/blog/2023/06/16/pants-2-16-0) |
| 2.15 | [/2.15](/2.15.x/docs/introduction/how-does-pants-work) | [2.15.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.15.x.md) | [Blog: Pants 2.15: Easier multi-platform workflows, Docker build support, automatic code cleanup, and more!](/blog/2023/02/24/pants-2-15) |
Expand Down

0 comments on commit 74d7bd4

Please sign in to comment.