diff --git a/NEWS.md b/NEWS.md index c7e459cbb..5983f5957 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,47 +1,43 @@ # reticulate (development version) -- Python background threads can now run in parallel with - the R session (#1641). - -- In Positron, `repl_python()` will now use the Positron Python console. (#1648) +- Python background threads can now run in parallel with the R session (#1641). - `py_main_thread_func()` is deprecated; every R function can now safely be - called from background Python threads. (#1648) + called from background Python threads (#1648). -- Calls from a Python thread into R will now notify the main thread using - R's native event loop, ensuring that these calls are handled even when - the main thread is engaged in non-Python tasks. (#1648) +- Calls from Python threads into R now notify the main thread using R's native + event loop, ensuring that these calls are handled even when the main thread + is engaged in non-Python tasks (#1648). -- The Python session is now finalized when the R session exits (#1648). +- The knitr engine now avoids overwriting Altair's default chart dimensions with + the values of `ut.width.px` and `ut.height.px`. Use `altair.fig.height`, + `altair.fig.width`, or Altair's `width` and `height` parameters to adjust + chart dimensions (contributed by @joelostblom, #1646). + +- New `as.character()` method for `python.builtin.str` with support for handling + embedded NULs in strings (#1653). -- Internal updates for NumPy 2.1 (#1651) +- New `as.raw()` method for `python.builtin.bytes` (#1649, #1652). -- Fixed error when importing a module named `config` (#1628) +- `as.character()` method for `python.builtin.bytes` gains a `nul` argument, + allowing for convenient handling of embedded NULs in the string (#1652). -- `conda_run2()` is now exported (#1637, contributed by @dramanica) +- Reticulate now uses the `RETICULATE_VIRTUALENV_ROOT` environment variable when + determining where to resolve virtual environments (#1657). -- Fixes for CRAN check failures (#1645) +- `conda_run2()` is now exported (contributed by @dramanica, #1637). -- The knitr engine now avoids overwriting Altair's default chart dimensions - with the values of `ut.width.px` and `ut.height.px`. - Instead, use `altair.fig.height`, `altair.fig.width`, - or Altair's `width` and `height` parameters - to adjust chart dimensions. (#1646, contributed by @joelostblom) +- The Python session is now finalized when the R session exits (#1648). -- New `as.raw()` method for `python.builtin.bytes` (#1649, #1652) +- Internal updates for NumPy 2.1 (#1651). -- `as.character()` method for `python.builtin.bytes` gains a `nul` argument, - allowing for convenient handling of embedded NULs in the string. (#1652) +- Fixed error when importing a module named `config` (#1628). -- New `as.character()` method for `python.builtin.str` with support for handling - embedded NULs in strings. (#1653) - -- Reticulate will now use the `RETICULATE_VIRTUALENV_ROOT` environment variable - when determining where to resolve virtual environments. (#1657) +- Fixes for CRAN check failures on macOS-oldrel (#1645). - Fixed an error where opening a Python subprocess in Positron on Windows resulted in "OSError: [WinError 6] The handle is invalid." - (#1658, posit-dev/positron#4457) + (#1658, posit-dev/positron#4457). # reticulate 1.38.0