stringr breaking changes
cran8 curated breaking changes across major versions of stringr. Use this as a migration checklist before bumping dependencies.
- v1.5.1 \u2192 v1.6.0breaking
All relevant stringr functions now preserve names (@jonovik, #575).
- v1.5.1 \u2192 v1.6.0breaking
`str_like(ignore_case)` is deprecated, with `str_like()` now always case sensitive to better follow the conventions of the SQL LIKE operator (@edward-burn, #543).
- v1.5.1 \u2192 v1.6.0breaking
In `str_replace_all()`, a `replacement` function now receives all values in a single vector. This radically improves performance at the cost of breaking some existing uses (#462).
- v1.4.1 \u2192 v1.5.0breaking
stringr functions now consistently implement the tidyverse recycling rules (#372). There are two main changes:
- v1.4.1 \u2192 v1.5.0breaking
Only vectors of length 1 are recycled. Previously, (e.g.) `str_detect(letters, c("x", "y"))` worked, but it now errors.
- v1.4.1 \u2192 v1.5.0breaking
`str_c()` ignores `NULLs`, rather than treating them as length 0 vectors. Additionally, many more arguments now throw errors, rather than warnings, if supplied the wrong type of input.
- v1.4.1 \u2192 v1.5.0breaking
`regex()` and friends now generate class names with `stringr_` prefix (#384).
- v1.4.1 \u2192 v1.5.0breaking
`str_detect()`, `str_starts()`, `str_ends()` and `str_subset()` now error when used with either an empty string (`""`) or a `boundary()`. These operations didn't really make sense (`str_detect(x, "")` returned `TRUE` for all non-empty strings) and made it easy to make mistakes when programming.
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cran/stringr