rich breaking changes

pypi

20 curated breaking changes across major versions of rich. Use this as a migration checklist before bumping dependencies.

20
changes
Breaking changes by transition
  • 3.4.1 \u2192 4.0.0api

    Change signature of Text.stylize to accept style first

  • 3.4.1 \u2192 4.0.0breaking

    Added markup switch to RichHandler https://github.com/textualize/rich/issues/171

  • 3.4.1 \u2192 4.0.0breaking

    Fixed rendering of Confirm prompt https://github.com/textualize/rich/issues/170

  • 3.4.1 \u2192 4.0.0removed

    Remove Text.stylize_all which is no longer necessary

  • 1.3.1 \u2192 2.0.0breaking

    Return self from text.append

  • 1.3.1 \u2192 2.0.0breaking

    Added no_wrap option to print()

  • 1.3.1 \u2192 2.0.0breaking

    Added width option to print

  • 1.3.1 \u2192 2.0.0breaking

    Improved handling of compressed tables

  • 1.3.1 \u2192 2.0.0breaking

    Fixed erroneous space at end of log

  • 1.3.1 \u2192 2.0.0breaking

    Fixed erroneous space at end of progress bar

  • 1.3.1 \u2192 2.0.0breaking

    Optimized \_trim_spans

  • 1.3.1 \u2192 2.0.0breaking

    Enforced keyword args in Console / Text interfaces (backwards incompatible)

  • 1.3.1 \u2192 2.0.0breaking

    Added overflow methods

  • 1.3.1 \u2192 2.0.0renamed

    Renamed \_ratio.ratio_divide to \_ratio.ratio_distribute

  • 1.3.1 \u2192 2.0.0renamed

    Renamed JustifyValues to JustifyMethod (backwards incompatible)

  • 14.3.4 \u2192 15.0.0api

    Fixed empty print ignoring the `end` parameter https://github.com/Textualize/rich/pull/4075

  • 14.3.4 \u2192 15.0.0breaking

    Fixed inline code in Markdown tables cells https://github.com/Textualize/rich/pull/4079

  • 14.3.4 \u2192 15.0.0breaking

    Fixed `FileProxy.isatty` not proxying https://github.com/Textualize/rich/pull/4077

  • 14.3.4 \u2192 15.0.0breaking

    Breaking change: Dropped support for Python3.8

  • 14.3.4 \u2192 15.0.0removed

    Fixed `Text.from_ansi` removing newlines https://github.com/Textualize/rich/pull/4076

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/pypi/rich
rich breaking changes — PyPI migration guide | DepScope