diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a2b155c7..8a144a07d 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 08ff10003..d92684ac5 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 be05c090b..7d46bab36 100644 --- a/rich/columns.py +++ b/rich/columns.py @@ -28,6 +28,7 @@ def __init__( 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 5a8753cc7..32327f03d 100644 --- a/rich/panel.py +++ b/rich/panel.py @@ -38,6 +38,7 @@ def __init__( 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 e5bfd4232..0e0851164 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: