Skip to content

Tags: ilarischeinin/pillar

Tags

v1.3.0.9001

Toggle v1.3.0.9001's commit message
pillar 1.3.0.9001

- Fix off-by-one error in distribution of empty space (r-lib#141).
- `NA` in names is no longer escaped with backticks.
- Tests work again in a 256-color terminal (r-lib#129).
- Don't add quotes for pillars formatted with their `format()` method (tidyverse/tibble#448).

v1.3.0.9000

Toggle v1.3.0.9000's commit message
pillar 1.3.0.9000

- Same as previous version.

v1.3.0

Toggle v1.3.0's commit message
pillar 1.3.0

## Visible changes

- Unknown data types are formatted using `format()`, not `as.character()` (r-lib#120).

- Multi-tier colonnades can always fill the last tier, even if the width isn't a proper multiple of `getOption("width")`. (Example: `options(width = 80, tibble.width = 200)` will print a wide tibble in three tiers, each 80 characters wide, with a total width of 240 characters.)

- Fixed mixed formatting (showing some pillars with maximum, and some with minimum width). If a pillar's minimum width is smaller than `getOption("width")`, it is shown nevertheless, abbreviated with dots if necessary.

## Interface changes

- `format_type_sum()` gains `width` argument (r-lib#73).

## Performance improvements

- Printing large multi-tier colonnades is much faster, the code that distributes pillars over tiers uses a much simpler and much faster algorithm (tidyverse/tibble#422).

- Printing is now faster overall, because less work is done for formatting in "subtle" style (gray of a fixed level), and because `fansi::strip_sgr()` is used instead of `crayon::strip_style()`.

- Slightly faster printing of colonnades by reusing an intermediate result.

## Internal

- `pillar()` no longer adds backticks if `title` is non-syntactic.

- `colonnade()` supports data frames and matrices. When printing, each sub-column is shown individually, using a title that resembles the syntax used to access it. Also supports recursively nested data frames (with data frame or matrix columns).

- Added fuzz tests for character colonnades of varying widths.

- Use `fansi::substr_ctl()` in favor of `crayon::col_substr()`.

v1.2.3.9004

Toggle v1.2.3.9004's commit message
pillar 1.2.3.9004

- Slightly faster printing of colonnades by reusing an intermediate result.

v1.2.3.9003

Toggle v1.2.3.9003's commit message
pillar 1.2.3.9003

- Add fuzz tests for character colonnades of varying widths.
- Multi-tier colonnades can always fill the last tier, even if the width isn't a proper multiple of `getOption("width")`.
- Fix mixed formatting (maximum and minimum width). If a pillar's minimum width is smaller than `getOption("width")`, it is shown nevertheless, abbreviated with dots if necessary.
- Printing is now faster because less work is done for formatting in "subtle" style (gray of a fixed level), and because `fansi::strip_sgr()` is used instead of `crayon::strip_style()`.
- Printing large multi-tier colonnades is much faster, the code that distributes pillars over tiers uses a much simpler and much faster algorithm (tidyverse/tibble#422).

v1.2.3.9002

Toggle v1.2.3.9002's commit message
pillar 1.2.3.9002

- Support recursively nested data frames.

v1.2.3.9001

Toggle v1.2.3.9001's commit message
pillar 1.2.3.9001

- `colonnade()` supports data frames and matrices. When printing, each sub-column is shown individually, using a title that resembles the syntax used to access it. `pillar()` no longer adds backticks if `title` is non-syntactic.

v1.2.3.9000

Toggle v1.2.3.9000's commit message
pillar 1.2.3.9000

- Internal changes only.

v1.2.3

Toggle v1.2.3's commit message
pillar 1.2.3

- Eliminate CRAN check warning about undeclared withr dependency.
- More defensive test to address CRAN check failures on Solaris.
- `colonnade()` now handles pillars named `"sep"` (r-lib#115).
- `pillar_shaft.character()` gains `min_width` argument.

v1.2.2.9003

Toggle v1.2.2.9003's commit message
pillar 1.2.2.9003

- Fix broken tests.