Releases: aantron/luv
Releases · aantron/luv
Luv 0.5.14
Luv 0.5.13
Breaking
Luv.Resource.free_memory
andLuv.Resource.total_memory
now return options, in accordance with a clarification in libuv (#153).- Filename in callback of
Luv.FS_event.start
can 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_size
asLuv.System_info.cpumask_size
,uv_thread_setaffinity
asLuv.Thread.setaffinity
,uv_thread_getaffinity
asLuv.Thread.getaffinity
(#153). - Expose
UV_ENODATA
as`ENODATA
(#153). - Expose
uv_metrics_info
asLuv.Metrics.info
(#153). - Expose
uv_thread_getcpu
asLuv.Thread.getcpu
(#153). - Expose
uv_get_available_memory
asLuv.Resource.available_memory
(#153). - Expose
uv_os_get_passwd2
as?uid
parameter ofLuv.Passwd.get_passwd
(#153). - Expose
uv_os_get_group
asLuv.Passwd.get_group
(#153). - Expose
uv_clock_gettime
asLuv.Time.clock_gettime
(#153). - Expose
uv_pipe_bind2
anduv_pipe_connect2
as?no_truncate
parameters ofLuv.Pipe.bind
andLuv.Pipe.connect
(#154). - Expose
EUNATCH
as`EUNATCH
(#154). - Expose UTF-16/WTF-8 conversion functions in new module
Luv.String
(#155). - Expose
uv_thread_setpriority
asLuv.Thread.setpriority
anduv_thread_getpriority
asLuv.Thread.getpriority
(#158). - Expose
UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME
as?windows_file_path_exact_name
parameter ofLuv.Process.spawn
(#158).
Luv 0.5.12
Breaking
Luv.Passwd.t.uid
andLuv.Passwd.t.gid
are nowunsigned long
s, in accordance with a change in libuv (#147).
Additions
- Upgrade vendored libuv to 1.44.2 (#147).
- Expose
uv_available_parallelism
asLuv.System_info.available_parallelism
(#147).
Bugs fixed
uv_buf_t::len
is asize_t
(Christiano Haesbaert, #133).- Parse
host:
config correctly during build (reported by Pablo Meier and Matthieu Gosset, #138). - Define
CAML_NAME_SPACE
before 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_EOVERFLOW
as `EOVERFLOW (#118). - Expose
UV_ESOCKTNOSUPPORT
as `ESOCKTNOSUPPORT (#118). - Expose
uv_try_write2
asLuv.Stream.try_write2
(#118).
Bugs fixed
- Define
sa_family_t
on MinGW (#113, David Scott).
Luv 0.5.8
Bugs fixed
- Socket addresses:
sa_family_t
has 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
uname
checks (#101, reported by @RiderALT). - Tests: time values should not be converted to OCaml
int
s 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_pipe
asLuv.Pipe.pipe
(#100). - Expose
uv_socketpair
asLuv.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
SOMAXCONN
might 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_spawn
arguments 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_in
asLuv.Timer.get_due_in
(#81). - Expose
UV_UDP_MMSG_FREE
as`MMSG_FREE
(#81).