Releases: aantron/luv
Releases · aantron/luv
Luv 0.5.14
Luv 0.5.13
Breaking
Luv.Resource.free_memoryandLuv.Resource.total_memorynow return options, in accordance with a clarification in libuv (#153).- Filename in callback of
Luv.FS_event.startcan beNone, in accordance with a clarification in libuv (#155). - Rename fields of
Luv.Time.timeval(dbd4e43).
Additions
- Upgrade libuv to 1.48.0, including 1.47.0, 1.46.0, 1.45.0 and io_uring support (#153, #154, #155, #158).
- Expose
uv_cpumask_sizeasLuv.System_info.cpumask_size,uv_thread_setaffinityasLuv.Thread.setaffinity,uv_thread_getaffinityasLuv.Thread.getaffinity(#153). - Expose
UV_ENODATAas`ENODATA(#153). - Expose
uv_metrics_infoasLuv.Metrics.info(#153). - Expose
uv_thread_getcpuasLuv.Thread.getcpu(#153). - Expose
uv_get_available_memoryasLuv.Resource.available_memory(#153). - Expose
uv_os_get_passwd2as?uidparameter ofLuv.Passwd.get_passwd(#153). - Expose
uv_os_get_groupasLuv.Passwd.get_group(#153). - Expose
uv_clock_gettimeasLuv.Time.clock_gettime(#153). - Expose
uv_pipe_bind2anduv_pipe_connect2as?no_truncateparameters ofLuv.Pipe.bindandLuv.Pipe.connect(#154). - Expose
EUNATCHas`EUNATCH(#154). - Expose UTF-16/WTF-8 conversion functions in new module
Luv.String(#155). - Expose
uv_thread_setpriorityasLuv.Thread.setpriorityanduv_thread_getpriorityasLuv.Thread.getpriority(#158). - Expose
UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAMEas?windows_file_path_exact_nameparameter ofLuv.Process.spawn(#158).
Luv 0.5.12
Breaking
Luv.Passwd.t.uidandLuv.Passwd.t.gidare nowunsigned longs, in accordance with a change in libuv (#147).
Additions
- Upgrade vendored libuv to 1.44.2 (#147).
- Expose
uv_available_parallelismasLuv.System_info.available_parallelism(#147).
Bugs fixed
uv_buf_t::lenis asize_t(Christiano Haesbaert, #133).- Parse
host:config correctly during build (reported by Pablo Meier and Matthieu Gosset, #138). - Define
CAML_NAME_SPACEbefore including OCaml headers (Antonin Décimo, #139). - Register references to callbacks in trampolines that allocate (reported by Thomas Leonard, #145). The way this bug was fixed requires OCaml 4.03.
Luv 0.5.11
Luv 0.5.10
Bugs fixed
- Shim error constant values out of range on 32-bit platforms (#123, reported by Jerry James).
Luv 0.5.9
Additions
- Upgrade vendored libuv to 1.42.0 (#118).
- Expose
UV_EOVERFLOWas `EOVERFLOW (#118). - Expose
UV_ESOCKTNOSUPPORTas `ESOCKTNOSUPPORT (#118). - Expose
uv_try_write2asLuv.Stream.try_write2(#118).
Bugs fixed
- Define
sa_family_ton MinGW (#113, David Scott).
Luv 0.5.8
Bugs fixed
- Socket addresses:
sa_family_thas different size on different platforms (#111, #112, diagnosed by David Scott). - Don't install vendored libuv headers when building against system libuv (follow-on to #94, suggested by Andy Li and @code-ghalib).
- Tests: relax
unamechecks (#101, reported by @RiderALT). - Tests: time values should not be converted to OCaml
ints before comparison; affects 32-bit systems (#102, reported by @RiderALT). - Tests: provide at least one buffer to
writev-style TCP writing interface (#106, reported by Olaf Hering).
Luv 0.5.7
Additions
- Upgrade vendored libuv to 1.41.0 (#100).
- Expose
uv_pipeasLuv.Pipe.pipe(#100). - Expose
uv_socketpairasLuv.TCP.socketpair(#100). - Expose
UV_PRIORITY_*constants in moduleLuv.Resource.Priority(#98). - Install headers for the vendored libuv in the opam switch (#83).
- Ability to link with a system or other external libuv (#94, Andy Li).
- Ability to link against older versions of libuv than the vendored one; the minimum libuv version is 1.3.0, though several functions will return
ENOSYS; see notes in README (#97).
Bugs fixed
SOMAXCONNmight not fit into an OCaml (31-bit) integer on 32-bit platforms (#85, reported by Aleksandr Kuzmenko).- During
Luv.Process.spawn, the OCaml GC was collectinguv_spawnarguments before they were used (#87, Bryan Phelps). - Write outside bounds of data structure during
Luv.Thread_pool.queue_c_work(#93, Jerry James).
Luv 0.5.6
- Upgrade libuv to 1.40.0 (#81).
- Expose
uv_timer_get_due_inasLuv.Timer.get_due_in(#81). - Expose
UV_UDP_MMSG_FREEas`MMSG_FREE(#81).