From 95ee530e057bb011939c6ad1ae90668f057666bd Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 28 Jun 2020 11:45:14 +0100 Subject: [PATCH] version bump --- CHANGELOG.md | 12 ++++++++++++ pyproject.toml | 2 +- rich/columns.py | 1 + rich/panel.py | 1 + rich/rule.py | 1 + 5 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a2b155c..8a144a07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.0.0] - Unreleased + +### Changed + +- Enabled supported box chars for legacy Windows, and introduce `safe_box` flag +- Disable hyperlinks on legacy Windows +- Constructors for Rule and Panel now have keyword only arguments (reson for major version bump) + +### Fixed + +- Fixed Table measure + ## [2.3.1] - 2020-06-26 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index 08ff1000..d92684ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "rich" homepage = "https://github.com/willmcgugan/rich" documentation = "https://rich.readthedocs.io/en/latest/" -version = "2.3.1" +version = "3.0.0" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" authors = ["Will McGugan "] license = "MIT" diff --git a/rich/columns.py b/rich/columns.py index be05c090..7d46bab3 100644 --- a/rich/columns.py +++ b/rich/columns.py @@ -28,6 +28,7 @@ class Columns(JupyterMixin): self, renderables: Iterable[RenderableType] = None, padding: PaddingDimensions = (0, 1), + *, width: int = None, expand: bool = False, equal: bool = False, diff --git a/rich/panel.py b/rich/panel.py index 5a8753cc..32327f03 100644 --- a/rich/panel.py +++ b/rich/panel.py @@ -38,6 +38,7 @@ class Panel(JupyterMixin): self, renderable: RenderableType, box: Box = ROUNDED, + *, safe_box: bool = True, expand: bool = True, style: Union[str, Style] = "none", diff --git a/rich/rule.py b/rich/rule.py index e5bfd423..0e085116 100644 --- a/rich/rule.py +++ b/rich/rule.py @@ -18,6 +18,7 @@ class Rule(JupyterMixin): def __init__( self, title: Union[str, Text] = "", + *, character: str = None, style: Union[str, Style] = "rule.line", ) -> None: