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.
See changelog for details...
[10.0.0] - 2021-03-27
Changed
Made pydoc import lazy as at least one use found it slow to import willmcgugan/rich#1104
Modified string highlighting to not match in the middle of a word, so that apostrophes are not considered strings
New way of encoding control codes in Segment
New signature for Control class
Changed Layout.split to use new Splitter class
Improved layout.tree
Changed default theme color for repr.number to cyan
__rich_measure__ signature changed to accept ConsoleOptions rather than max_width
The highlight of this release is that pretty printing now supports dataclasses, which can now collapse just like other data structures. Here's an example:
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.0.0.
Release notes
Sourced from rich's releases.
... (truncated)
Changelog
Sourced from rich's changelog.
... (truncated)
Commits
b9e0014
Merge pull request #1125 from JoshKarpel/really-disable-pbar34c5620
test that Progress writes nothing when disabled3e079ff
Merge branch 'master' into really-disable-pbar472ed32
Merge pull request #1122 from Adilius/masterfe5db3c
Merge pull request #1126 from willmcgugan/dependabot/pip/sphinx-3.5.3d1f819a
Merge pull request #1131 from neutrinoceros/type_annotations_progress_totale08a838
Merge branch 'master' into type_annotations_progress_total95016f4
Merge pull request #1119 from willmcgugan/control-codes86a3844
win32 skipf1492a0
skip alt screen if LWDependabot 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)