./devel/libuv, Cross-platform asynchronous I/O

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 1.53.0, Package name: libuv-1.53.0, Maintainer: agc

libuv is a multi-platform support library with a focus on asynchronous
I/O. It was primarily developed for use by Node.js, but it's also used
by Luvit, Julia, pyuv, and others.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 1367.385 KB

Version history: (Expand)


CVS history: (Expand)


   2026-10-01 10:43:33 by Jonathan Perkin | Files touched by this commit (2)
Log message:
libuv: Backport https://github.com/libuv/libuv/pull/5284.

Fixes infinite loop in posix_spawn() handling which was breaking the build
of at least devel/cmake.
   2026-09-29 11:03:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
libuv: updated to 1.53.0

Changes since version 1.52.1:

* unix: fix pedantic compiler warnings (Ben Noordhuis)
* win: fix const correctness compiler error (apocelipes)
* doc: clarify handle close behavior of uv_spawn (Ben Noordhuis)
* doc: name function crosslinks consistently (Ben Noordhuis)
* win: fix const correctness warning (Ben Noordhuis)
* win: fix off-by-one in utf-16 to wtf-8 conversion (locus-x64)
* udp: validate nbufs in send functions (Oren)
* unix: improve handling of uv_async_send mistakes (Jameson Nash)
* unix,stream: verify uv_try_write2 handle (cui)
* test,win: fix race in test runner (Jameson Nash)
* unix,tty: don't drain when setting the TTY mode (Gabriel Baraldi)
* inet: prefer sizeof with parenthesis (Juan José Arboleda)
* test: remove unused headers and use newer ASSERT macros (Juan José Arboleda)
* doc: Add textual images into libuv man page (Stacey Marshall)
* darwin: replace EV_OOBAND handling with EVFILT_EXCEPT + NOTE_OOB (Juan José
  Arboleda)
* docs: add copybutton sphinx extension (HArsil)
* doc: fix threading bugs in progress example (PRANAV KUMAR)
* unix: support long path names in pipe.c (Edigleysson Silva (Edy))
* win: fix some compiler warnings (Benjamin Gilbert)
* docs: fix broken and redirected links (Jameson Nash)
* doc: remove random reference to libev (Ben Noordhuis)
* process: better validation for process->pid usage (Jameson Nash)
* unix: check return value of fcntl call (Ben Noordhuis)
* test: fix -Wunused-function warning (Ben Noordhuis)
* linux: close streams without an extra read (Jameson Nash)
* unix: enforce recvmmsg buffer size requirements (Ben Noordhuis)
* android: fix termux build (BarryLhm)
* io: make libuv 64-bit safe (Jameson Nash)
* win,pipe: skip IOCP for pipe handles (Jameson Nash)
* win: use WSA_FLAG_NO_HANDLE_INHERIT in all WSASocketW (Jameson Nash)
* unix: use posix_spawn instead of fork (Jameson Nash)
* test: use correct type for uv_fileno arguments (Saúl Ibarra Corretgé)
* misc: revise security vulnerability reporting instructions (Jameson Nash)
* win: fix watch loop logic (Stefan Stojanovic)
* win: properly initialize OSVERSIONINFOW (Santiago Gimeno)
* misc: fix error code returned from uv_wtf8_length_as_utf16 (Ryan Liptak)
* stream: fix server stop accepting after uv_accept() error (ivinx)
* unix,ibmi: abort on process_title_mutex init failure (Juan José Arboleda)
* unix,stream: fix getsockopt error handling in connect (Juan José Arboleda)
* unix: treat futimens() as best-effort in copyfile (skooch)
* unix: free statxbuf on iouring statx fallback (Santiago Gimeno)
* aix,ibmi: fix undeclared identifiers (SRAVANI GUNDEPALLI)
* unix: fix uv__udp_recvmsg crash (theanarkh)
* win: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST in uv_spawn (Jameson Nash)
* unix: avoid duplicate recvmmsg terminal callback (Isaac Elbaz)
* win: fix spawn process with no argument (sturcotte06)
* unix: handle cloexec failure in kqueue init (Juan José Arboleda)
* unix: remove UV_HANDLE_READING flag (Edigleysson Silva (Edy))
* src: use INET6_ADDRSTRLEN for IPv6 address buffer (orbisai0security)
* test: include pty.h for GNU Hurd (Jérémy Lal)
* test: skip recvmsg unreachable test when no ipv6 (Santiago Gimeno)
* win: fix race condition in uv_async_send (Jameson Nash)
* unix,fs: fix busyloop in big copyfile (Jameson Nash)
* process,unix: avoid off-by-one in uv__spawn_resolve_and_spawn (Jameson Nash)
* test: check that sizeof is constant (Jameson Nash)
* async: make seq_cst the default (Jameson Nash)
* Reland "linux: eliminate a read on eventfd per wakeup" (Jameson Nash)
* win,process: skip dump silently if no valid folder can be determined (Jameson
  Nash)
* win: handle short path mismatch with a fallback in fs events (Joyee Cheung)
* unix,udp: handle msg_hdr.msg_namelen=0 on recvmmsg (Santiago Gimeno)
* ci: lock down permissions and pin action SHAs (Alb3e3)
* docs: ignore unstable ncurses linkcheck URL (Alb3e3)
* unix: handle EINTR in uv_resident_set_memory (Nandan Acharya)
* build(deps): bump reactivecircus/android-emulator-runner (dependabot[bot])
* build(deps): bump actions/setup-python from 6.2.0 to 6.3.0 (dependabot[bot])
* unix: return EINVAL for invalid tty modes (Samuel Williams)
* ci: use VS 18 / 2026 in Windows Server 2025 (Saúl Ibarra Corretgé)
* win: fix use of wrong constant in tcp code (Ben Noordhuis)
* unix: fix UV_FS_O_DIRECT on more linux architectures (Archkon)
* doc: add UB warning to threading documentation (Ben Noordhuis)
* build(deps): bump reactivecircus/android-emulator-runner (dependabot[bot])
* sunos: use getrandom(2) for uv_random (Petr Sumbera)
* unix,poll: fix callback event bits on error/hangup (Yuki Ibe)
* haiku: build tests with libbsd (Jérôme Duval)
* unix: fix static declaration in nested block for AIX and IBM i PASE
  (sravani1510)
* win: fix unique named pipes to work inside Windows AppContainer (Russ Cox)
* build(deps): bump actions/setup-python from 6.3.0 to 7.0.0 (dependabot[bot])
* build(deps): bump actions/checkout from 6.0.3 to 7.0.0 (dependabot[bot])
* stream: Implement cancellation support for uv_write_t (Keno Fischer)
* unix: handle trailing empty write buffers (Alb3e3)
* stream: handle cancel write after close (Tyler Gibbs)
* test: don't generate io_uring variants of loopless fs tests (Jameson Nash)
* test: close the loop in udp_recvmsg_unreachable_error{,6} (Jameson Nash)
* linux: use scaling_max_freq in uv_cpu_info() (James Ross)
* win: fix leak if uv_loop_init fails (Jameson Nash)
* solaris: fix build and test failures, add CI (Petr Sumbera)
* test: improve fs event filename assertion (Petr Sumbera)
* build(deps): bump vmactions/solaris-vm from 1.3.7 to 1.3.8 (dependabot[bot])
* build(deps): bump actions/checkout from 6.0.3 to 7.0.1 (dependabot[bot])
* win: fix crash when closing a pipe after a failed bind (Yury Semikhatsky)
* darwin: report physical footprint as rss (Jarred Sumner)
* test: close file descriptors leaked by tests (Jameson Nash)
* unix: short-circuit no-op event mask changes in uv__io_stop (Shelley Vohr)
* unix,process: never shrink the stdio socket pair buffers (Shelley Vohr)
* build(deps): bump vmactions/solaris-vm from 1.3.8 to 1.3.9 (dependabot[bot])
* linux: fix tcc build (Ben Noordhuis)
* aix: canonicalize fs event path with realpath() (Milad Fa)
* openbsd: use fork instead of posix_spawn (Ben Noordhuis)
* freebsd,netbsd,openbsd: add build CI (neil)
* win,fs: suppress CRT assertion on close (Yiğit Tanrıverdi)
* unix: drain tty reads on POLLHUP without POLLIN (Santiago Gimeno)
* doc: fix on guide filesystem.rst (Viacheslav Muravyev)
* linux: support cancelling io_uring file requests (hunterinvariants)
* build: distribute Windows long path manifest (Yiğit Tanrıverdi)
* netbsd: free cpu times on sysctl failure (cui fliter)
* build(deps): bump vmactions/netbsd-vm from 1.4.8 to 1.4.9 (dependabot[bot])
* freebsd: don't fail uv_cpu_info() when hw.clockrate is missing (Piotr Kubaj)
* build(deps): bump vmactions/netbsd-vm from 1.4.9 to 1.5.0 (dependabot[bot])
* build(deps): bump vmactions/solaris-vm from 1.3.9 to 1.4.0 (dependabot[bot])
* build(deps): bump vmactions/freebsd-vm from 1.5.5 to 1.5.6 (dependabot[bot])
* unix: fix warning in OpenBSD code (Brad Smith)
* test: lower number of iterations (Ben Noordhuis)
* openbsd: update EVFILT_USER comment (Brad Smith)
* freebsd: don't use long AF_UNIX socket paths (Juan José Arboleda)
* openbsd: use getexecpath in uv_exepath if present (Brad Smith)
* build(deps): bump vmactions/freebsd-vm from 1.5.6 to 1.5.7 (dependabot[bot])
* win: reserve explicit thread stack size (Zuohui Yang)
   2026-08-24 02:18:40 by Pierre Pronchery | Files touched by this commit (1)
Log message:
devel/libuv: correct the COMMENT

Bumps PKGREVISION.
   2026-03-07 12:31:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
libuv: updated to 1.52.1

Changes since version 1.52.0:

* misc: add simple clang-tidy setup (Jameson Nash)
* unix: check RLIMIT_AS and RLIMIT_DATA in uv_get_constrained_memory (Jameson
  Nash)
* win: add fs-fd-hash-inl.h to tarball (tobil4sk)
* unix,win: support NULL loop for sync uv_getaddrinfo (Saúl Ibarra Corretgé)
* Fix const-correctness warning in linux.c (Quaylyn Rimer)
* build(deps): bump actions/upload-artifact from 6 to 7 (dependabot[bot])
* build(deps): bump actions/download-artifact from 7 to 8 (dependabot[bot])
* unix: fix compilation warnings with GCC 15 (Saúl Ibarra Corretgé)
* test: remove conditionals from `uv_thread_self` usage (Yasser Nascimento)
* unix: fix discard const (Rudi Heitbaum)
* unix: do not cast to char variables that are const char (Rudi Heitbaum)
* linux: fix crash if poll callback closes handle before `POLLERR` (Juan José
  Arboleda)
   2026-02-11 10:05:25 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
libuv: updated to 1.52.0

2026.02.11, Version 1.52.0 (Stable)

* src: remove unused include of <assert.h> in timer.c (Juan José Arboleda)
* test: skip `udp_multicast_join` if not system-wide available (Juan José
  Arboleda)
* test: remove unused include of <limits.h> in runner.h (Juan José Arboleda)
* doc: don't mention UV_LOOP_ENABLE_IO_URING_SQPOLL (Poul T Lomholt)
* unix: fix uv_thread_{get,set}priority error codes (Ryan Liptak)
* build: dedup sanitizer jobs using matrix strategy (Juan José Arboleda)
* doc: update ncurses link (Saúl Ibarra Corretgé)
* tcp: support customizing TCP_KEEPINTVL and TCP_KEEPCNT (Andy Pan)
* linux: fix -Wformat-truncation warning (Ben Noordhuis)
* src: fix nullptr dereference in uv__print_handles (jhnh204)
* build: make automake link libm on bsd-likes (Juan José Arboleda)
* include: remove unused macro undefs from uv.h (Juan José Arboleda)
* win: handle empty string in uv_get_process_title (Ben Noordhuis)
* win: use WSA_FLAG_NO_HANDLE_INHERIT in WSASocketW (chemodax)
* unix: handle possible `ENOMEM` in `uv__tcp_listen` (Juan José Arboleda)
* win: replace GetModuleHandleA with GetModuleHandleW (chemodax)
* qnx: add qnx 8 support (Deep C)
* mailmap: update email address for Richard Lau (Richard Lau)
* win: remove obsolete comment (Ben Noordhuis)
* unix: handle possible `ENOMEM` in `uv__pipe_listen` (Juan José Arboleda)
* unix: deduplicate uv_free_interface_addresses (Juan José Arboleda)
* test: pass correct string type to GetModuleHandleW (Ben Noordhuis)
* win: remove unnecessary inlining from fs.c (Ben Noordhuis)
* win: move uv__process_reqs to core.c (Ben Noordhuis)
* win: remove unnecessary inlining from header file (Ben Noordhuis)
* test: skip slow process title test on asan+macos (Ben Noordhuis)
* win: dissolve atomicops-inl.h (Ben Noordhuis)
* win: move uv__process_endgames to core.c (Ben Noordhuis)
* win: move uv__insert_pending_req to core.c (Ben Noordhuis)
* win: replace inline asm with compiler intrinsic (Ben Noordhuis)
* win,pipe: minimal fix to uv_read_cb->uv_read_start recursion bug (Jameson
  Nash)
* doc: make requirements work with newer python (Luca Saccarola)
* win: fix -Wcast-function-type warnings in winapi.c (Ben Noordhuis)
* win: fix -Wsign-compare warnings (Ben Noordhuis)
* test: simplify ASSERT_OK macro for static analysis (Jameson Nash)
* win: add arm64 machine type to uv_os_uname (wisemanny)
* win: use ProcessPrng (Ben Noordhuis)
* win: work around wine bug in uv_fs_{unlink,rmdir} (Keno Fischer)
* doc: fix return value for uv_pipe_connect2 (Sean Dewar)
* unix: fix udp sendmmsg fallback path (Ben Noordhuis)
* doc: add binding `C framework` uv_coroutine to LINKS.md (Lawrence Stubbs)
* linux: handle cgroups cpu.max with limit < period (Ben Noordhuis)
* doc: update link, repo name change to c-asio (Lawrence Stubbs)
* build(deps): bump actions/download-artifact from 4 to 5 (dependabot[bot])
* doc: remove nodeuv from LINKS.md (Ben Noordhuis)
* test: use relative paths for pipes and unix sockets (Emily)
* build(deps): bump actions/checkout from 4 to 5 (dependabot[bot])
* unix: improve uv__cpu_relax() on arm (Anton Kirilov)
* win: fix compiler warnings (Savas Sahin)
* unix: replace uv__io_t callback pointer with enum (Ben Noordhuis)
* test,win: fix -Wunused-function warnings (Ben Noordhuis)
* test,win: fix -Wcast-function-type warnings (Ben Noordhuis)
* test,win: fix -Wattributes warnings (Ben Noordhuis)
* win: shrink fd hash table from 2592k to 162k (Ben Noordhuis)
* unix: fix build on the bsds (Ben Noordhuis)
* netbsd: fix thread affinity compilation error (Santiago Gimeno)
* unix: remove UV__SIGNAL_EVENT dispatch from uv__io_cb (Juan José Arboleda)
* build: add -Werror when testing -Wflags (Jameson Nash)
* win: fix path size calculation (Ben Noordhuis)
* doc: correct uv_cancel return value (m0cg)
* unix,win: look up UV_THREADPOOL_SIZE with uv_os_getenv (moe li)
* build(deps): bump actions/setup-python from 5 to 6 (dependabot[bot])
* unix: fix uv__signal_loop_cleanup call in init (Jameson Nash)
* aix: fix nullptr check in uv__skip_lines (Ben Noordhuis)
* unix: add neoverse-v2 cpu identifier (green-br)
* test: make `thread_priority` robust against system default nice levels
 (Juan José Arboleda)
* unix,win: implement `uv_udp_open_ex` (Juan José Arboleda)
* aix: add stub function to satisfy linker (Ben Noordhuis)
* linux: add MSG_ERRQUEUE ipv4/ipv6 udp support (Juan José Arboleda)
* ibmi: add stub function to satisfy linker (Ben Noordhuis)
* darwin: better heuristic for available memory (Christian Guinard)
* build(deps): bump actions/download-artifact from 5 to 6 (dependabot[bot])
* build(deps): bump actions/upload-artifact from 4 to 5 (dependabot[bot])
* unix: fix use of uninitialized variable (Ben Noordhuis)
* doc: fix documentation for uv_utf16_to_wtf8() function (Gang Zhuo)
* win: rename minimal_windows10_version1709() for libuv's convention (Andy Pan)
* build(deps): bump actions/checkout from 5 to 6 (dependabot[bot])
* win: fix race in uv_fs_event_start() (Ben Noordhuis)
* unix: support nanosecond resolution in uv__fs_to_timespec (Ayush Kumar)
* win: handle sshfs-win quirk in uv_fs_readdir() (Ben Noordhuis)
* unix,win: fix leak in uv_os_environ error path (Ambuj Vashistha)
* test: add macros to run fs tests with io_uring (Santiago Gimeno)
* linux: fix uv_fs_ftruncate io_uring implementation (Santiago Gimeno)
* Update OS X reference to macOS in README (Bart Louwers)
* ci: update macos runner images (Ben Noordhuis)
* doc: add example usage for uv_sleep (Kartik Puri)
* ci: add macos-15-intel to matrix (Ben Noordhuis)
* win: Optimize file/directory delete. (chemodax)
* build(deps): bump actions/download-artifact from 6 to 7 (dependabot[bot])
* build(deps): bump actions/upload-artifact from 5 to 6 (dependabot[bot])
* test: run more fs tests using io_uring too (Santiago Gimeno)
* doc: add handle and request usage guidelines (Ben Noordhuis)
* unix: remove handle from queue on uv_spawn() error (Oblivionsage)
* doc: remove hp-ux from supported platforms list (Ben Noordhuis)
* unix,win: add f_frsize field to uv_statfs_t (Ben Noordhuis)
* test: fix -Wuninitialized-const-pointer warning (Ben Noordhuis)
* test: fix -Wstringop-overread warning (Ben Noordhuis)
* test: make pty test work under asan (Ben Noordhuis)
* win: readlink support for IO_REPARSE_TAG_LX_SYMLINK (Cody Tapscott)
* unix: fix partial read handling after POLLHUP (Ben Noordhuis)
* unix: factor out common i/o poll code (Ben Noordhuis)
* test: disable udp_reuseport test under qemu (Ben Noordhuis)
* test: disable tcp_reuseport test under qemu (Ben Noordhuis)
* unix,win: check nbufs argument is reasonable (Ben Noordhuis)
* win: refactor to support large statfs blocks (Santiago Gimeno)
* unix: remove sunpro references (Ben Noordhuis)
* idna: fix assert in wtf8_to_utf16 conversion (tobil4sk)
* aix,ibmi: fix test suite build breakage (Ben Noordhuis)
* unix: implement cpu_relax() for riscv64 (Han Gao)
* doc: add setuid warning to uv_exepath (Ben Noordhuis)
* unix: make OpenBSD uv_exepath work (mischief)
* win: fix uv_get_process_title (StefanStojanovic)
* unix,udp: fix -Wgnu-folding-constant warning (Saúl Ibarra Corretgé)
* cmake: add libuvConfigVersion.cmake file (Przemysław Sobala)
   2025-09-19 09:16:35 by Thomas Klausner | Files touched by this commit (1)
Log message:
libuv: bump PKGREVISION after logic fix
   2025-09-19 09:06:49 by matthew green | Files touched by this commit (2)
Log message:
fix the cpuset_t handling on netbsd.

sched_getaffinity_np() takes the cpuset_t* not a pointer to it.
it also takes a count (cpuset_size()), not the size of the pointer.
uv__cpu_count() also doesn't want a pointer to the pointer.

found my GCC 14.

i wonder what makes weird or breaks.
   2025-04-28 07:53:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
libuv: updated to 1.51.0

Version 1.51.0 (Stable)

Changes since version 1.50.0:

* win: fix leak in uv_os_tmpdir (Saúl Ibarra Corretgé)
* docs: fix RTD build (Saúl Ibarra Corretgé)
* win: lazy-load [GS]etThreadDescription symbols (Ben Noordhuis)
* linux: try preadv64/pwritev64 before preadv/pwritev (Ben Noordhuis)
* win: check cwd length before spawning a child process (Morten Engelhardt
  Olsen)
* macos,bsd: handle missing /dev/null in chroot env (Andrey)
* doc: fix README link text (Julio Jordán)
* win: fix order of FILE_STAT_BASIC_INFORMATION struct fields (Hüseyin Açacak)
* macos: increase child process stdio buffer size (Jinho Jang)
* doc: add C3 bindings to LINKS.md (Velikiy Kirill)
* unix: remove unnecessary errno.h include in poll.c (Juan José Arboleda)
* win: fix the inconsistency in volume serial number (Hüseyin Açacak)
* unix: add thread affinity support on openharmony (rainlow)
* unix: enable getrusage for SunOS (Paolo Insogna)
* unix,win: accept NAN/INFINITY as file timestamps (Ben Noordhuis)
* win: add ENABLE_VIRTUAL_TERMINAL_INPUT raw tty mode (Anna Henningsen)
* test: handle UV_ENOTSUP in platform_output (cjihrig)
* doc: fix rendering of threading.html (Tobias Nießen)
* unix,sunos: enable use of sendmmsg on Solaris and Illumos (Stacey Marshall)
* unix: handle out of memory in iface name copy (Ben Noordhuis)
* openbsd: do not error out if cpuspeed is not available (Robert Nagy)
* test: skip thread_name_threadpool on AIX/IBMi (Abdirahim Musse)
* aix,ibmi: fix undeclared identifiers (Richard Lau)
* unix,sunos: prefer SO_REUSEPORT for load balancing (Stacey Marshall)
* doc: free lib pointer before function return (mugitya03)
* test: link with libm (Juan José Arboleda)
* style: rename parameter to match definition (Mohammed Keyvanzadeh)
* test: support partial output lines in test runner (cjihrig)
* build: switch from c90 to c11 (Ben Noordhuis)
* linux: allow nul bytes in abstract socket address (Itay Bookstein)
* sunos: use pipe2 on solaris and illumos (Andy Pan)
* unix: remove TOCTOU issues from uv_pipe_chmod (Ben Noordhuis)
* unix: use pipe_fname if getsockname returns nothing (crupest)
* haiku: use uint32 instead of uint32_t (AE1020)
* doc: update thread pool stack size comment (Ben Noordhuis)
* unix: improve uv_loop_init OOM handling (Ben Noordhuis)
* test: merge uv_tcp_connect callbacks (Juan José Arboleda)
* test: skip multievent tests on macOS with TSAN enabled (Juan José Arboleda)
* linux: align CPU quota calculation with Rust (Juan José Arboleda)
* kqueue: improve fs event watcher OOM handling (Juan José Arboleda)
* sunos: improve fs event watcher OOM handling (Juan José Arboleda)
* build: shorten instructions for cmake build (Juan José Arboleda)