initial draft of What's New for v2.17.x#19168
Conversation
| For the `adhoc_tool` target type, the `stdout` and `stderr` fields are now specified relative to the applicable | ||
| workdir and also support absolute paths. | ||
|
|
||
| #### New: Javascript |
There was a problem hiding this comment.
@tobni: Is the Javascript ready for mention in the release notes?
Are there other contributors who should be mentioned for this support?
There was a problem hiding this comment.
Maybe a call for testing and/or disclaimer that it is in early stages? Theres some showstopper bugs in there which might frustrate...
Otherwise I believe this release contains test goal support and enables choice of package managers and a push for docker backend compatability (Ill have to double check though.)
I think 2.17 contains my contributions only, but @theoribeiro has helped me course correct.
There was a problem hiding this comment.
@tobni : It would probably be good to create a "tracking ticket" that covers the issues you would like to see resolved before it is no longer experimental. It's a young convention (not actually documented anywhere yet), but useful for linking from various places.
There was a problem hiding this comment.
Maybe a call for testing and/or disclaimer that it is in early stages? Theres some showstopper bugs in there which might frustrate...
Otherwise I believe this release contains test goal support and enables choice of package managers and a push for docker backend compatability (Ill have to double check though.)
Any preferred wording for these points?
| The [`scie-pants` launcher binary](https://github.com/pantsbuild/scie-pants) is now the recommended way to run Pants. | ||
| Use of a `./pants` shell script in a repository is deprecated. Among other benefits, the `scie-pants` launcher is able | ||
| to automatically download and maintain a Python distribution for running Pants. It also allows you to run `pants` | ||
| from any directory within a repository and not just the build root. See the [Pants installation | ||
| instructions](https://www.pantsbuild.org/docs/installation) for additional information on how to migrate to `scie-pants.` |
There was a problem hiding this comment.
Because we now use the native client, 2.17.x runs using scie-pants with pantsd are also about 4.25x faster: #18957
| For the `adhoc_tool` target type, the `stdout` and `stderr` fields are now specified relative to the applicable | ||
| workdir and also support absolute paths. | ||
|
|
||
| #### New: Javascript |
There was a problem hiding this comment.
@tobni : It would probably be good to create a "tracking ticket" that covers the issues you would like to see resolved before it is no longer experimental. It's a young convention (not actually documented anywhere yet), but useful for linking from various places.
benjyw
left a comment
There was a problem hiding this comment.
I love it! That's some good stuff for a release that is largely a fast-follow to 2.16.x.
huonw
left a comment
There was a problem hiding this comment.
Nice! I've left some suggestions, but no particular attachment to them (E.g. I'm happy to work on the Lambda/GCF tweaks separately).
Potentially some other things that might be worth mentioning: 🤷♂️
| Pants now has _very early_ experimental support for Javascript thanks to ongoing efforts by Tobias Nilsson and | ||
| Theo Ribeiro. Please note that the Javascript backend is still incomplete, is being actively developed, and _probably | ||
| has critical bugs_. Despite that, the Pants maintainers would appreciate any feedback from the community to help | ||
| guide our development efforts. | ||
|
|
||
| Enable the `pants.backend.experimental.javascript` backend to try out this support. Please file issues at | ||
| https://github.com/pantsbuild/pants/issues/new/choose for any issues encountered. |
There was a problem hiding this comment.
| Pants now has _very early_ experimental support for Javascript thanks to ongoing efforts by Tobias Nilsson and | |
| Theo Ribeiro. Please note that the Javascript backend is still incomplete, is being actively developed, and _probably | |
| has critical bugs_. Despite that, the Pants maintainers would appreciate any feedback from the community to help | |
| guide our development efforts. | |
| Enable the `pants.backend.experimental.javascript` backend to try out this support. Please file issues at | |
| https://github.com/pantsbuild/pants/issues/new/choose for any issues encountered. | |
| Pants now has _very early_ experimental support for Javascript thanks to ongoing efforts by Tobias Nilsson and | |
| Theo Ribeiro. Please note that the Javascript backend is still incomplete, is being actively developed, and _probably | |
| has critical bugs_. Despite that, the Pants maintainers would appreciate any feedback from the community to help | |
| guide our development efforts. | |
| Supported goals are: | |
| * `test`: Letting you run tests via runners installed with the package manager of your choice. | |
| * `package` goal, either to run a customized `package.json` script that produces an artifact via `node_build_script`, or to pack a tarball for npm-registry publication via the `npm_distribution` target. | |
| * `tailor`: Generates build file targets for `*.js`, `*.test.js` and `package.json` files. | |
| * `generate-lockfile`: Creates the lockfile in the format matching a projects package manager. | |
| The backend supports all package managers provided by `corepack`. `yarn@v2` and [PlugNPlay](https://yarnpkg.com/features/pnp) is not supported. | |
| Enable the `pants.backend.experimental.javascript` backend to try out this support. Please file issues at | |
| https://github.com/pantsbuild/pants/issues/new/choose for any issues encountered, and follow along [the stabilization ticket on github](https://github.com/pantsbuild/pants/issues/19240). |
Not sure how much prose should go here, but since there's no documentation (:see_no_evil:) maybe a list of what is possible helps encourage participation?
|
From #19450 (comment), can you include a tidbit about how 2.17.x is the last stable release that will have a universal PEX uploaded? Instead we're switching to per-platform PEXs. |
Good point. Will do. |
|
Let's merge this, and tweak it later if needed? |
|
I just need to resolve the merge conflict. |
|
I enabled auto-merge so should merge when CI passes. |
Add initial draft of "What's New" section in v2.17.x release notes.
|
I tried to automatically cherry-pick this change back to each relevant milestone, so that it is available in those older releases of Pants. ✔️ 2.17.xSuccessfully opened #19584. Thanks again for your contributions! |
Add initial draft of "What's New" section in v2.17.x release notes.
This adds a few additional notes to the "What's new" for 2.17, based on some comments in #19168, as well as a skim of the release notes from 2.17.0rc0 and newer. This also includes an explicit call out for the new sponsorship strategy.
This adds a few additional notes to the "What's new" for 2.17, based on some comments in #19168, as well as a skim of the release notes from 2.17.0rc0 and newer. This also includes an explicit call out for the new sponsorship strategy.
Add initial draft of "What's New" section in v2.17.x release notes.