hms breaking changes
cran9 curated breaking changes across major versions of hms. Use this as a migration checklist before bumping dependencies.
- v0.5.3 \u2192 v1.0.0breaking
`"hms"` objects no longer have a common type with `character` and `numeric`. Combining such values previously threw a warning, now throws an error (#94).
- v0.5.3 \u2192 v1.0.0breaking
`vec_cast()` and `as_hms()` now throw error instead of a warning if input can't be parsed (#68).
- v0.4.2 \u2192 v0.5.0breaking
Now based on vctrs >= 0.2.0 (#61). This adds support for `vec_cast()` and `vec_ptype2()`. Some operations (such as subset assignment) are now stricter. The `new_hms()` constructor permits safe construction of `hms` objects from a numeric vector.
- v0.4.2 \u2192 v0.5.0breaking
The new `is_hms()` deprecates the existing `is.hms()`. `as.hms()` is deprecated in favor of `vec_cast()` or the new `as_hms()` (which is just a thin wrapper around `vec_cast()`).
- v0.3 \u2192 v0.4.0breaking
`as.hms.POSIXt()` now defaults to the current time zone, the previous default was `"UTC"` and can be restored by calling `pkgconfig::set_config("hms::default_tz", "UTC")`. New features ------------
- v0.3 \u2192 v0.4.0breaking
Pillar support, will display `hms` columns in tibbles in color on terminals that support it (#43).
- v0.3 \u2192 v0.4.0breaking
New `round_hms()` and `trunc_hms()` for rounding or truncating to a given multiple of seconds (#31).
- v0.3 \u2192 v0.4.0breaking
New `parse_hms()` and `parse_hm()` to parse strings in "HH:MM:SS" and "HH:MM" formats (#30).
- v0.3 \u2192 v0.4.0breaking
`as.hms.POSIXt()` gains `tz` argument, default `"UTC"` (#28).
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cran/hms