Skip to content

nanonext 1.0.0

Compare
Choose a tag to compare
@shikokuchuo shikokuchuo released this 01 May 22:48
· 350 commits to main since this release
e6d6d7c

New Features

  • Integrates with the later package to provide the foundation for truly event-driven (non-polling) promises (thanks @jcheng5 for the initial prototype in #28), where side-effects are enacted asynchronously upon aio completion.
    • request() and request_signal() modified internally to support conversion of 'recvAio' to event-driven promises.
    • later dependency ensures asynchronous R code is always run on the main R thread.
    • later is lazily loaded the first time a promise is used, and hence does not impact the load time of nanonext or dependent packages.

Updates

  • stop_aio() now causes the 'aio' to resolve to an 'errorValue' of 20 (Operation canceled) if successfully stopped.
  • nng_error() now returns the error code combined with the message as a character string.
  • Integer file descriptors are no longer appended to 'nanoSocket' attributes.
  • Adds 'xz' to SystemRequirements (as was the case previously but not explicitly specified) (thanks @gaborcsardi).
  • Re-aligns bundled 'libmbedtls' to v3.5.2 and optimises bundle size.
  • Updates minimum 'libnng' version requirement to v1.6.0.
  • Upgrades bundled 'libnng' to v1.8.0.