diff --git a/news-files-annotated/cli.md b/news-files-annotated/cli.md index ba6d31cc..f86fba71 100644 --- a/news-files-annotated/cli.md +++ b/news-files-annotated/cli.md @@ -1,8 +1,24 @@ # cli (development version) +!begin-bullets-1! + +- !begin-bullet! + `ansi_collapse()` and inline collapsing now uses `last` as the + separator (without the serial comma) for two-element vectors if + `sep2` is not given (@rundel, #681). + + !end-bullet! +- !begin-bullet! + `ansi_collapse()` is now correct for length-1 vectors with style + "head" if width is specified (@rundel, #590). + + !end-bullet! + +!end-bullets-1! + # cli 3.6.3 -!begin-bullets-1! +!begin-bullets-2! - !begin-bullet! cli now builds on ARM Windows. @@ -24,11 +40,11 @@ !end-bullet! -!end-bullets-1! +!end-bullets-2! # cli 3.6.2 -!begin-bullets-2! +!begin-bullets-3! - !begin-bullet! `ansi_collapse(x, trunc = 1, style = "head")` now indeed shows one @@ -47,22 +63,22 @@ !end-bullet! -!end-bullets-2! +!end-bullets-3! # cli 3.6.1 -!begin-bullets-3! +!begin-bullets-4! - !begin-bullet! ANSI hyperlinks are now turned off on the RStudio render plane (#581). !end-bullet! -!end-bullets-3! +!end-bullets-4! # cli 3.6.0 -!begin-bullets-4! +!begin-bullets-5! - !begin-bullet! The progressr progress handler now reports progress correctly @@ -88,11 +104,11 @@ !end-bullet! -!end-bullets-4! +!end-bullets-5! # cli 3.5.0 -!begin-bullets-5! +!begin-bullets-6! - !begin-bullet! New `keypress()` function to read a single key press from a @@ -125,11 +141,11 @@ !end-bullet! -!end-bullets-5! +!end-bullets-6! # cli 3.4.1 -!begin-bullets-6! +!begin-bullets-7! - !begin-bullet! cli has better error messages now. @@ -141,11 +157,11 @@ !end-bullet! -!end-bullets-6! +!end-bullets-7! # cli 3.4.0 -!begin-bullets-7! +!begin-bullets-8! - !begin-bullet! New experimental styles to create ANSI hyperlinks in RStudio and @@ -279,11 +295,11 @@ !end-bullet! -!end-bullets-7! +!end-bullets-8! # cli 3.3.0 -!begin-bullets-8! +!begin-bullets-9! - !begin-bullet! `style_hyperlink()` no longer breaks if the env variable @@ -307,24 +323,24 @@ !end-bullet! -!end-bullets-8! +!end-bullets-9! # cli 3.2.0 ## Breaking change -!begin-bullets-9! +!begin-bullets-10! - !begin-bullet! The `cli_theme_dark` option is now known as `cli.theme_dark`, to be consistent with all other cli option names (#380). !end-bullet! -!end-bullets-9! +!end-bullets-10! ## Other changes -!begin-bullets-10! +!begin-bullets-11! - !begin-bullet! The preferred names of the S3 classes `ansi_string`, `ansi_style`, @@ -369,39 +385,39 @@ !end-bullet! -!end-bullets-10! +!end-bullets-11! # cli 3.1.1 -!begin-bullets-11! +!begin-bullets-12! - !begin-bullet! `style_hyperlink()` gains a `params=` argument (#384). !end-bullet! -!end-bullets-11! +!end-bullets-12! # cli 3.1.0 ## Breaking changes -!begin-bullets-12! +!begin-bullets-13! - !begin-bullet! The C progress bar API now uses `double` instead of `int` as the data type of the progress units (#335). !end-bullet! -!end-bullets-12! +!end-bullets-13! ## New features -!begin-bullets-13! +!begin-bullets-14! - !begin-bullet! Several improvements and changes in the `ansi_*()` functions: - !begin-bullets-14! + !begin-bullets-15! - !begin-bullet! most `ansi_*()` functions are now implemented in C and they are much faster (#316). @@ -429,7 +445,7 @@ arguments to look for SGR tags, CSI tags, or both. !end-bullet! - !end-bullets-14! + !end-bullets-15! !end-bullet! - !begin-bullet! New functions that handle UTF-8 encoded strings correctly: @@ -469,11 +485,11 @@ !end-bullet! -!end-bullets-13! +!end-bullets-14! ## Smaller improvements -!begin-bullets-15! +!begin-bullets-16! - !begin-bullet! Progress bars with `clear = FALSE` now print the last, completed, @@ -517,11 +533,11 @@ !end-bullet! -!end-bullets-15! +!end-bullets-16! # cli 3.0.1 -!begin-bullets-16! +!begin-bullets-17! - !begin-bullet! `ansi_strtrim()` now correctly keeps `NA` values (#309). @@ -532,11 +548,11 @@ !end-bullet! -!end-bullets-16! +!end-bullets-17! # cli 3.0.0 -!begin-bullets-17! +!begin-bullets-18! - !begin-bullet! New functions for progress bars, please see the new articles at @@ -554,11 +570,11 @@ !end-bullet! -!end-bullets-17! +!end-bullets-18! # cli 2.5.0 -!begin-bullets-18! +!begin-bullets-19! - !begin-bullet! New `style_no_*()` functions to locally undo styling. New @@ -597,11 +613,11 @@ !end-bullet! -!end-bullets-18! +!end-bullets-19! # cli 2.4.0 -!begin-bullets-19! +!begin-bullets-20! - !begin-bullet! New `cli_memo()` function to create a list of items or tasks. @@ -628,11 +644,11 @@ !end-bullet! -!end-bullets-19! +!end-bullets-20! # cli 2.3.1 -!begin-bullets-20! +!begin-bullets-21! - !begin-bullet! ANSI color support detection works correctly now in older RStudio, @@ -645,11 +661,11 @@ !end-bullet! -!end-bullets-20! +!end-bullets-21! # cli 2.3.0 -!begin-bullets-21! +!begin-bullets-22! - !begin-bullet! `boxx()` now correctly calculates the width of the box for non-ASCII @@ -682,11 +698,11 @@ !end-bullet! -!end-bullets-21! +!end-bullets-22! # cli 2.2.0 -!begin-bullets-22! +!begin-bullets-23! - !begin-bullet! New `style_hyperlink()` function to add hyperlinks, on terminals @@ -711,11 +727,11 @@ !end-bullet! -!end-bullets-22! +!end-bullets-23! # cli 2.1.0 -!begin-bullets-23! +!begin-bullets-24! - !begin-bullet! New `cli_vec()` function to allow easier formatting of collapsed @@ -790,11 +806,11 @@ !end-bullet! -!end-bullets-23! +!end-bullets-24! # cli 2.0.2 -!begin-bullets-24! +!begin-bullets-25! - !begin-bullet! The status bar now does not simplify multiple spaces by a single @@ -818,11 +834,11 @@ !end-bullet! -!end-bullets-24! +!end-bullets-25! # cli 2.0.1 -!begin-bullets-25! +!begin-bullets-26! - !begin-bullet! Symbols (`symbol$*`) are now correctly printed in RStudio on Windows @@ -844,7 +860,7 @@ !end-bullet! -!end-bullets-25! +!end-bullets-26! # cli 2.0.0 @@ -858,18 +874,18 @@ site: https://cli.r-lib.org ## Bug fixes: -!begin-bullets-26! +!begin-bullets-27! - !begin-bullet! Fix a bug in `is_dynamic_tty()`, setting `R_CLI_DYNAMIC="FALSE"` now properly turns dynamic tty off (#70). !end-bullet! -!end-bullets-26! +!end-bullets-27! # cli 1.1.0 -!begin-bullets-27! +!begin-bullets-28! - !begin-bullet! cli has now functions to add ANSI styles to text. These use the @@ -905,11 +921,11 @@ site: https://cli.r-lib.org !end-bullet! -!end-bullets-27! +!end-bullets-28! # 1.0.1 -!begin-bullets-28! +!begin-bullets-29! - !begin-bullet! New `cli_sitrep()` function, situation report about UTF-8 and ANSI @@ -922,7 +938,7 @@ site: https://cli.r-lib.org !end-bullet! -!end-bullets-28! +!end-bullets-29! # cli 1.0.0 diff --git a/news-files/cli.md b/news-files/cli.md index 1d7f4ca4..2de62a09 100644 --- a/news-files/cli.md +++ b/news-files/cli.md @@ -1,5 +1,12 @@ # cli (development version) +* `ansi_collapse()` and inline collapsing now uses `last` as the separator + (without the serial comma) for two-element vectors if `sep2` is not + given (@rundel, #681). + +* `ansi_collapse()` is now correct for length-1 vectors with style "head" + if width is specified (@rundel, #590). + # cli 3.6.3 * cli now builds on ARM Windows. diff --git a/news-files/hashes.rds b/news-files/hashes.rds index a00c9586..ec9065c1 100644 Binary files a/news-files/hashes.rds and b/news-files/hashes.rds differ diff --git a/previous_updates.csv b/previous_updates.csv index f5824d2e..056fd7a8 100644 --- a/previous_updates.csv +++ b/previous_updates.csv @@ -17693,3 +17693,5 @@ ggplot2,089aae938dc2c2bf3ebd2a668c59e623,"`coord_*(expand)` can now take a logic ggplot2,bc85147dad44890321eae6d016ea12dc,"The ellipsis argument is now checked in `fortify()`, `get_alt_text()`, `labs()` and several guides (@​teunbrand, #3196).",NA,NA,NA,NA ggplot2,774415805622fc065948bda88cb03b7f,"`guide_bins()`, `guide_colourbar()` and `guide_coloursteps()` gain an `angle` argument to overrule theme settings, similar to `guide_axis(angle)` (@​teunbrand, #4594).",NA,NA,NA,NA ggplot2,cde7efce5fb0518462272dd39d95b800,"`stat_summary_bin()` no longer ignores `width` parameter (@​teunbrand, #4647).",NA,NA,NA,NA +cli,cb1d7d3c2948d6f451fe7f27165aec5f,"`ansi_collapse()` and inline collapsing now uses `last` as the separator (without the serial comma) for two-element vectors if `sep2` is not given (@​rundel, #681).",NA,NA,NA,NA +cli,c39908c7438c7f6e92f5c5129f10d1f1,"`ansi_collapse()` is now correct for length-1 vectors with style ""head"" if width is specified (@​rundel, #590).",NA,NA,NA,NA diff --git a/refresh-token.rds b/refresh-token.rds index 20d73327..36a1b866 100644 --- a/refresh-token.rds +++ b/refresh-token.rds @@ -1 +1,3 @@ -9镧$07D"CXzꄽ#jLKԐnrb|΍&rAeALKYgYzxLG~2ku'O^>”mLbu,:k݋@d{6<4 ,87h YF橭좉=m>bGCZS$' \ No newline at end of file +ҲZBg2zr OɪĪ]h,w.U6`ℏ(Sd +f8d[I!]r+x)R} ".QF&Paa?i`yڬxw7l0̔:AmIW=Dl"ry0AVAt + \ No newline at end of file