Releases: r-lib/later
later 1.4.8
later 1.4.7
later 1.4.6
-
Improved responsiveness when idle at the R console on POSIX systems (#251).
-
Fixes #249: Moved the contents of
inst/include/later.hintolater_api.hto ensure R headers are not included before Rcpp headers when Rcpp auto-includes$PACKAGE.hin RcppExports.cpp. The public API header remainslater_api.h(#250).
later 1.4.5
- Now requires R >= 3.5.0 (for
R_UnwindProtect()) and Rcpp >= 1.0.10. Removed legacy non-unwind-protect code paths that were previously used as a fallback on older R versions (#241).
later 1.4.4
- Fixed timings in a test (#237). No user-facing changes.
later 1.4.3
later 1.4.2
- Fixed #208: Fixed
keyword is hidden by macro definitioncompiler warning when using a C23 compiler. (@shikokuchuo, #209)
later 1.4.1
- Fixed #203: Resolves an issue where packages that have
LinkingTo: later(includingpromisesandhttpuv) and were built againstlater1.4.0, would fail to load on systems that actually had older versions oflaterinstalled, erroring out with the message "function 'execLaterFdNative' not provided by package 'later'". With this fix, such dependent packages should gracefully deal with older versions at load time, and complain with helpful error messages if newer C interfaces (than are available on the installedlater) are accessed. (#204)
later 1.4.0
-
Adds
later_fd()which executes a function when a file descriptor is ready for reading or writing, at some indeterminate time in the future (subject to an optional timeout). This facilitates an event-driven approach to asynchronous or streaming downloads. (@shikokuchuo and @jcheng5, #190) -
Fixed #186: Improvements to package load time as
rlangis now only loaded when used. This is a notable efficiency for packages with only a 'linking to' dependency onlater. Also updates to native symbol registration from dynamic lookup. (@shikokuchuo and @wch, #187) -
Fixed #191: Errors raised in later callbacks were being re-thrown as generic C++ std::runtime_error with Rcpp >= 1.0.10 (since 2022!). (@shikokuchuo and @lionel-, #192)