Skip to content

Commit 398ac94

Browse files
committed
NEWS bullet
1 parent 31b7f9c commit 398ac94

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

NEWS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# cpp11 (development version)
22

3+
* R >=3.5.0 is now required to use cpp11. This is in line with (and even goes
4+
beyond) the tidyverse standard of supporting the previous 5 minor releases of
5+
R. It also ensures that `R_UnwindProtect()` is available to avoid C++ memory
6+
leaks (#332).
7+
8+
* `cpp11::preserved.release_all()` has been removed. This was intended to
9+
support expert developers on R <3.5.0 when cpp11 used a global protection
10+
list. Since cpp11 no longer uses a global protection list and requires R
11+
>=3.5.0, it is no longer needed. As far as we can tell, no package was
12+
actively using this (#332).
13+
314
* cpp11 now creates one protection list per compilation unit, rather than one global
415
protection list shared across compilation units and across packages. This greatly
516
reduces the complexity of managing the protection list state and should make it easier

0 commit comments

Comments
 (0)