diff --git a/blog/2024-03-27-pants-2-20/index.mdx b/blog/2024-03-27-pants-2-20/index.mdx new file mode 100644 index 000000000..ad2955bb2 --- /dev/null +++ b/blog/2024-03-27-pants-2-20/index.mdx @@ -0,0 +1,48 @@ +--- + authors: [cburroughs] + tags: [announcement] +--- + +# Pants 2.20.0 is released! + + + Photo by [Jongsun Leed](https://unsplash.com/@sarahleejs) / + [Unsplash](https://unsplash.com/photos/moon-eclipse-F-pSZO_jeE8) + + +{/* 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! diff --git a/blog/2024-03-27-pants-2-20/splash.jpeg b/blog/2024-03-27-pants-2-20/splash.jpeg new file mode 100644 index 000000000..bb8bbfa58 Binary files /dev/null and b/blog/2024-03-27-pants-2-20/splash.jpeg differ diff --git a/blog/authors.yml b/blog/authors.yml index 1581d0c93..1eda069f6 100644 --- a/blog/authors.yml +++ b/blog/authors.yml @@ -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 diff --git a/src/pages/versions/index.md b/src/pages/versions/index.md index d9ce1154f..9e631a57b 100644 --- a/src/pages/versions/index.md +++ b/src/pages/versions/index.md @@ -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) |