1.24.x Stable Releases

1.24.x Stable Releases

This document describes releases leading up to the 1.24.x stable series.

1.24.0rc1 (01/08/2020)

Bugfixes

  • Fix ./pants lint2 for Black and isort (#8877) PR #8877
  • Report a deprecation for the option name rather than for the dest. (#8856) PR #8856

Refactoring, Improvements, and Tooling

  • [IntelliJ] Export only modulizable targets when in export-dep-as-jar (#8812) PR #8812

1.24.0rc0 (12/19/2019)

API Changes

  • Upgrade fasteners (#8826) PR #8826
  • Separate v1/v2 backend and plugin registration (#8817) PR #8817
  • Deprecate old style of passthrough args for isort, Pytest, and MyPy (#8842) PR #8842
  • Deprecate passthrough args for ./pants login (#8843) PR #8843
  • Upgrade ansicolors to 1.1.8 (#8839) PR #8839
  • Add new MyPy subsystem and deprecate --lint-mypy-config-file and --lint-mypy-version (#8829) PR #8829
  • Deprecate unused global --timeout option (#8805) PR #8805

New Features

  • A v2 backend for generating AWS Lambdas. (#8835) PR #8835
  • Add user-facing-name abstraction to Node and use it in v2 console UI (#8828) PR #8828
  • Add timeout options to Pytest rule (#8783) PR #8783

Bugfixes

  • Fix V2 formatters failing when formatting the same file (#8823) Issue #8722 PR #8823
  • V2 console UI: fix bug with InteractiveProcessRequest (#8833) PR #8833
  • Fix terminal display with v2 UI (#8821) PR #8821
  • move the subdirectory for exception logs to .pids/ (#8511) PR #8511

Refactoring, Improvements, and Tooling

  • Use rule-author-supplied description for UI (#8846) PR #8846
  • Change signature of store_dict extern (#8844) PR #8844
  • Use f-strings on src/python/pants/option (#8837) PR #8837
  • Convert src/python/pants/backend/jvm to use f-strings (#8703) PR #8703
  • Update itertools to 0.8.2 (#8840) PR #8840
  • Port ./pants generate-pants-ini to V2 (#8830) PR #8830
  • Improve output of ./pants help (#8820) PR #8820
  • A rule to produce a Distdir product. (#8831) PR #8831
  • Typecheck rules/core, testutil/engine/util.py, and 30 more files (#8824) PR #8824
  • Refactor help (#8816) PR #8816

1.24.0.dev3 (12/13/2019)

API Changes

  • Deprecate --requirements for PythonToolBase subclasses in favor of --version and --extra-requirements (#8789) PR #8789
  • Rename V2 goals to use the same naming scheme (#8774) PR #8774

New Features

  • Add Flake8 linter to V2 (#8791) PR #8791
  • Support working_directory in EPRs. (#8784) PR #8784
  • Make v2 binary goal pay attention to --pants-distdir (#8775) PR #8775

Bugfixes

  • Fix V2 binary to work with multiple targets (#8781) PR #8781
  • Fix graph ambiguity of using multiple linters/formatters in V2 (#8801) Issue #8722 PR #8801
  • Fix registration of unions that are split across multiple backends (#8810) PR #8810
  • Fix enginedisplay printing (#8799) PR #8799
  • Add cherry-picked commit to 1.23.0 (#8804) PR #8804
  • Version changes should invalidate pytest runs. (#8790) PR #8790
  • Fix pantsbuild wheel publishing. (#8782) PR #8782
  • Revert "Upgrade to Pex 2.0.3. (#8704)" (#8787) PR #8704 PR #8787
  • Add parent-build-id option to know what runs are inner runs and not to run them with pantsd (#8724) PR #8724

Refactoring, Improvements, and Tooling

  • A rule to create a pex from a target closure. (#8811) PR #8811
  • V2 console UI: Logging improvements (#8806) PR #8806
  • Rework Goal.Options so that V2 goals work with MyPy (#8742) PR #8742
  • Fix V2 linters needing to implement a formatter no-op (#8795) PR #8795
  • [IntelliJ] Refactor some code in export-dep-as-jar goal (#8792) PR #8792
  • Load the bootstrapped zinc compiler from the zinc server's classpath. (#8753) PR #8753
  • Curl in release script fails much more verbosely (#8780) PR #8780
  • This test has been flaky far too long. (#8788) PR #8788
  • [V2 UI] Pipe Python-side Console to the engine when --v2-ui is set (#8771) PR #8771
  • Prep for 1.23.0 (#8785) PR #8785
  • Cleanup type ignore. (#8777) PR #8777
  • Remove deprecated ./pants mypy in favor of ./pants lint.mypy (#8773) PR #8773

1.24.0.dev2 (12/08/2019)

API Changes

  • Add option to attach Subsystems to streaming workunits (#8720) PR #8720
  • Allow passing arguments to Pytest, isort, and Black in V2 (#8729) PR #8729

New Features

  • Add fast-depedencies V2 rule (#8759) PR #8759

Bugfixes

  • Fix V2 Black not being distributed to end users (#8776) PR #8776
  • Fix V2 isort config option when only using a single config file (#8768) PR #8768

Refactoring, Improvements, and Tooling

  • Bump test_pytest_run.py timeout. (#8778) PR #8778
  • Upgrade to Pex 2.0.3. (#8704) PR #8704
  • Deprecate --dependencies-external-only and the default including external dependencies (#8763) PR #8763
  • Update reqwests dependency to 0.9.22 PR #8755
  • Simplify .travis.yml setup now that more shards can use remote execution (#8754) PR #8754
  • Fix internal unmatched globs warnings (#8735) PR #8735
  • Partially type check 300 more files (#8741) PR #8741

Documentation

  • Update "powered by" page. (#8761) PR #8761

1.24.0.dev1 (12/02/2019)

API Changes

  • Remove deprecated option mypy_version (#8751) PR #8751

Refactoring, Improvements, and Tooling

  • Add missing source file (#8737) PR #8737

1.24.0.dev0 (11/29/2019)

Note: This was not published due to infrastructure issues. dev1 is effectively identical.

API Changes

  • Deprecate --run-py-args and --run-cpp-args (#8726) PR #8726
  • Treat all MaterializeToDirectories paths as relative to the buildroot (#8696) PR #8696
  • Use default argument for DirectoryToMaterialize's path_prefix (#8711) PR #8711

New Features

  • [IntelliJ] Export source jars of dependencies in export-dep-as-jar (#8723) PR #8723
  • Add available targets to the exported json in order to support proper highlighting in the BUILD files (#8688) PR #8688
  • Add --dep-as-jar option for idea-plugin (#8632) PR #8632
  • Add SchedulerSession.materialize_directory() for less boilerplate in V2 rules (#8709) PR #8709
  • [experimental] Add export-dep-as-jar task (#8628) PR #8628
  • Support publishing plugins that expose rules. (#8693) PR #8693
  • Allow @rule-authors to give rules names (#8592) PR #8592

Bugfixes

  • Fix unused variable breaking master branch (#8734) PR #8734
  • Don't check that plugins are exact requirements. (#8721) PR #8721
  • Don't choke on plugin requirements that are URLs. (#8708) PR #8708
  • Fix bug in create_html_page - undefined variable (#8700) PR #8700
  • No-op when V2 fmt, lint, and test have a target with empty sources (#8730) PR #8730

Refactoring, Improvements, and Tooling

  • Allow V2 isort to use multiple config files (#8731) PR #8731
  • Refactor V2 Black and isort for better de-duplication (#8732) PR #8732
  • Refactor fmt-v2 to use Workspace (#8691) PR #8691
  • add types to await Get[X](...)!! (#8697) PR #8697
  • Add V2 implementation of isort (#8689) PR #8689
  • Assign some names to rules (#8695) PR #8695
  • Convert contrib/confluence, contrib/thrifty, contrib/cpp, contrib/scrooge, contrib/scalajs to use f-strings (#8702) PR #8702
  • Add TestBase.request_single_product() for less boilerplate when writing V2 tests (#8698) PR #8698
  • Convert contrib/node and contrib/go to use f-strings. (#8699) PR #8699
  • Remove yielding @rules (#8652) PR #8652

Version updates

  • Bump default MyPy to 0.740 (#8358) PR #8358
  • Bump to latest junit-runner to pull in #8674. (#8692) PR #8692
Generated by publish_docs from dist/markdown/html/src/python/pants/notes/1.24.x.html 2020-01-20T19:53:31.627042