From 6f08dac276b16c53125503daef0f07b206540bb3 Mon Sep 17 00:00:00 2001 From: Moritz Bruder Date: Sat, 29 Oct 2022 20:10:45 +0200 Subject: [PATCH] Prepare for release of 1.0.0.0 --- CHANGELOG.md | 43 ++++++++++++++++++++++++++++++++++++++++++- table-layout.cabal | 2 +- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0537cfb..833656a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,48 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] -## [0.9.1.0] - 2020-12-21 +## [1.0.0.0] - 2023-11-17 + +This release would not have been possible without the tireless work of Stephen +Morgan. + +### Added + +- Add `asciiDoubleS` table style. +- Add combinators for removing outer borders of tables. +- Provide general versions of grid and table functions that generate output for + `StringBuilder` instances. +- Add dependency to `doclayout` and `text`. +- Add `WideString` and `WideText` to support multi-width character input. (#8) +- Custom vertical separators can now be specified in the table header + specification in a hierarchic manner. +- Add simplified table style specification with `LineStyle` and many new + combinators. +- Add `Cell` instance for `Data.Text`, `Data.Either`, `Data.Maybe`. +- Add versions of functions for tables and grids that return `ColModInfo`s. +- Provide functions to work with `Formatted`. +- Add safe versions of the `trim` function. (#35) +- Add `expandBetween` `LenSpec` which provides a lower and an upper bound for + the width of a column. (#35) +- Add explicit defaults for data types (#26). +- Provide more functions to derive `ColModInfo`. +- Add `TableSpec` to specify tables. + +### Changed + +- Changed version bounds of `base`, `QuickCheck`, and `data-default-class`. +- Remove dependency on `data-default-instances-base`. +- Improve performance of Cell and StringBuilder instances +- Generalize `Formatted` to provide nested color formatting. (#11) +- Change `TableStyle` to use `String` as basic building blocks of tables. (#17) +- Add more separator types to `TableStyle`. +- Accept arbitrary instances of `Cell` as header titles. +- Lower requirements for `Cell` instances: Cells no longer need to be able to + drop characters. +- Drop `Monoid` requirement for vertical alignment. +- Rendering functions for tables now use `TableSpec`. +- Renamed functions to derive `ColModInfo`. + ### Fixed diff --git a/table-layout.cabal b/table-layout.cabal index c7c9bcf..d4b721e 100644 --- a/table-layout.cabal +++ b/table-layout.cabal @@ -6,7 +6,7 @@ name: table-layout -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.9.1.0 +version: 1.0.0.0 synopsis: Format tabular data as grid or table.