Skip to content

Commit d45dd34

Browse files
committed
Groom news for release
1 parent 0673613 commit d45dd34

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

NEWS.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
# cpp11 (development version)
22

3-
* read-only matrix accessors are now marked const (#234)
3+
## New Features
4+
5+
* New opt-in message formatting with the {fmt} C++ library for `cpp11::messages()` `cpp11::stop()` and `cpp11::warning()`.
6+
Set the `CPP11_USE_FMT` macro to use this feature in your package. (@sbearrows, #169, #208)
7+
* New `as_double()` and `as_integer()` methods to coerce integers to doubles and doubles to integers to doubles (@sbearrows, #46)
8+
* `cpp11::matrix` iterators can now be used either row-wise or column-wise (the default) depending on the user's choice (@alyst, #229)
9+
10+
## Improvements and fixes
11+
12+
* Read-only matrix accessors are now marked const (#234)
413
* `writable::r_vector` default constructors now return a 0 length vector when converted to `SEXP` (#166)
5-
* read-only `r_vector` constructors now disallow implicit construction with named arguments (#237)
6-
* read-only `r_vector.attr()` methods now return const objects, so it is a compile time error to try to assign to them (#237)
7-
* Allow `cpp11::matrix` to be accessed either row-wise or column-wise (the default) depending on the user's choice (@alyst, #229)
14+
* Read-only `r_vector` constructors now disallow implicit construction with named arguments (#237)
15+
* Read-only `r_vector.attr()` methods now return const objects, so it is a compile time error to try to assign to them (#237)
816
* Fixed `+` and `+=` operators of `r_vector::[const_]iterator` to conform the *iterators* concept:
917
`+=` updates the iterator, and `+` returns the updated copy, while keeping the original unchanged (@alyst, #231)
1018
* Remove undefined behavior when constructing global `cpp11::sexp`s (#224)
11-
* `cpp_register()` now includes `attribute_visible` in the init function, so packages compiled with `C_VISIBILITY` will find the init function.
12-
* added `as_double()` and `as_integer()` method to coerce integers to doubles and doubles to integers to doubles (@sbearrows, #46)
1319
* Removed redundant `.Call calls` in cpp11.cpp file (@sbearrows, #170)
14-
* Allow cpp11 decorators of the form `cpp11::linking_to` (@sbearrows, #193)
1520
* Error messages now output original file name rather than the temporary file name (@sbearrows, #194)
21+
* `cpp_register()` now includes `attribute_visible` in the init function, so packages compiled with `C_VISIBILITY` will find the init function.
1622
* Fixed bug when running `cpp_source()` on the same file more than once (@sbearrows, #202)
23+
* Allow cpp11 decorators of the form `cpp11::linking_to` (@sbearrows, #193)
1724
* Removed internal instances of `cpp11::stop()` and replaced with C++ exceptions (@sbearrows, #203)
18-
* Added `cpp11::messages()` feature with {fmt} library formatting for non-error messages (@sbearrows, #208)
1925
* Names of named lists are now resized along with the list elements (@sbearrows, #206)
20-
* Added optionally formatting to `stop()` and `warning()` using {fmt} library (@sbearrows, #169)
2126

2227
# cpp11 0.3.1
2328

@@ -34,7 +39,7 @@
3439
## Major fixes
3540
* Memory no longer inadvertently leaks when move constructing vectors (#173)
3641

37-
## minor improvements and fixes
42+
## Minor improvements and fixes
3843
* Incorrectly formatted cpp11 decorators now output a more informative error message (@sbearrows, #127)
3944
* Generated registration code now uses C collation to avoid spurious changes from `tools::package_native_routine_registration_skeleton()` (@sbearrows, #171)
4045
* Makevars files which include filenames now handle spaces in paths properly (@klmr, #160)

0 commit comments

Comments
 (0)