This version has some enhancements to pretty printing. Rich will now pretty print objects created with attrs (https://www.attrs.org/en/stable/). Additionally, there is expanded support for UserList, UserDict, and mappingproxy -- less common containers in Python.
[10.2.0] - 2021-05-12
Added
Added syntax for call, i.e. "Foo(bar)"
Added Console.measure as a convenient alias for Measurement.get
Added support for pretty printing attrs objects
Added mappingproxy to pretty print
Added UserDict and UserList support to pretty printer
Changed
Changed colorama init to set strip=False
Changed highlighter for False, True, None to not match in the middle of a word. i.e. NoneType is no longer highlighted as None
Fixed
Fixed initial
Improved Jupyter support
[10.1.0] - 2020-04-03
Fixed
Fixed support for jupyter qtconsole and similar Jupyter environments
Some significant signature to render protocol, hence the major version bump. These are unlikely to impact many people unless you are implementing your own renderables.
Most of the work in this version was to aid development of adding more dynamic features to future versions.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rich from 8.0.0 to 10.2.1.
Release notes
Sourced from rich's releases.
... (truncated)
Changelog
Sourced from rich's changelog.
... (truncated)
Commits
690507d
Merge pull request #1239 from willmcgugan/fix-markdown-layout11242ad
fix for markdown in layout94661d3
Merge pull request #1233 from polyedre/fix-layout-doc-codeblocd1601f9
doc(layout): remove trailing spaces285937f
doc(layout): fix unrecognized codebloc7d02d29
attrs example, version bump22e95c9
Merge pull request #1203 from nathanrpage97/feat/mypy-strict-compliantb7bbbe5
Merge branch 'master' into feat/mypy-strict-compliant5c8a331
Merge pull request #1225 from willmcgugan/dependabot/pip/sphinx-4.0.14357981
Merge pull request #1231 from willmcgugan/user-dictDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)