cpp11 breaking changes

cran

4 curated breaking changes across major versions of cpp11. Use this as a migration checklist before bumping dependencies.

4
changes
Breaking changes by transition
  • v0.4.7 \u2192 v0.5.0breaking

    R >=3.6.0 is now required. This is in line with (and even goes beyond) the tidyverse standard of supporting the previous 5 minor releases of R.

  • v0.4.7 \u2192 v0.5.0breaking

    Implicit conversion from `sexp` to `bool`, `size_t`, and `double` has been marked as deprecated and will be removed in the next version of cpp11. The 3 packages that were using this have been notified and sent PRs. The recommended approach is to instead use `cpp11::as_cpp<T>`, which performs type and length checking, making it much safer to use.

  • v0.4.7 \u2192 v0.5.0breaking

    Dropped support for gcc 4.8, mainly an issue for extremely old CentOS 7 systems which used that as their default compiler. As of June 2024, CentOS 7 is past its vendor end of support date and therefore also out of scope for Posit at this time (#359).

  • v0.2.7 \u2192 v0.3.0breaking

    Memory no longer inadvertently leaks when move constructing vectors (#173)

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cran/cpp11
cpp11 breaking changes — CRAN migration guide | DepScope