All repository summaries
11 active · 11 unchanged
ocaml-multicore/eio
PermalinkFeatures
Compatibility
Fixes
- Eio eio_posix connect: merged fix #981 stops treating
EAGAINas a connection in progress, so a full Unix-domain backlog now fails instead of returning an unconnected socket. - Eio Windows device paths: merged fix #995 resolves DOS device names such as
NULin unrestricted paths, restoringFilename.nulland Forester 6.0. - Eio Windows command lines: merged fix #983 reports an oversized command line as "argument list too long" instead of letting Windows silently truncate it.
- Eio getnameinfo: merged fix #980 wraps the
Not_foundraised byUnix.getnameinfoin anEio.Ioexception, so handlers forEio.Iocatch it.
Releases
- Eio v1.7: released 2026-11-16. Adds
Eio.Fiber.List.partition_map,Eio.Switch.remove_hook,Eio_unix.System_info,Eio_unix.set_signal, andPath.sync_dir.
ocaml-multicore/ocaml-uring
PermalinkFeatures
-
ocaml-uring
Msghdr.treuse: a message header created withMsghdr.create_recvcan now be passed torecv_msgrepeatedly, with each receive overwriting the prior data, file descriptors and address. See ocaml-uring #175. -
API cleanup: the deprecated
Uring.peekandMsghdr.createfunctions are removed, and the sender address is now stored inside the message header rather than a separate allocation. See #168.
Compatibility
Proposals
- I/O length clamping: an open change would clamp I/O lengths to the 32-bit field the submission queue entry can hold, and reject negative lengths. See #171.
Fixes
-
Uring.waitsignal handling: a signal arriving after a submission now interruptswaitand returnsNone, instead of being swallowed and then triggering an assertion. See #179. -
statxbuffer: thestatxresult buffer is now zero-initialised, soUring.Statx.sizereports0before a query rather than stale stack data. See #180. -
Path handling: paths containing NUL bytes are rejected instead of silently truncated, and the path length is treated as an unsigned size to avoid misbehaviour with very long paths. See #172 and #176.
-
Buffer count limit: submitting more than
iov_maxbuffers now raisesInvalid_argumentbefore anything is queued. See #173.
ocaml-multicore/saturn
Permalinkocaml/RFCs
PermalinkFeatures
-
OCaml RFCs: the structured diagnostics RFC was merged on 19 Nov, formalising a versioning and backward-compatibility policy for machine-readable compiler output (errors, warnings, debug dumps,
-config, toplevel) in S-expression or JSON. The compiler-side implementation was already merged separately; this RFC pins the update rules tools can rely on. -
Versioning policy: minor diagnostic versions may only refine schemas into subtypes (add record fields, expand constructor arguments); major versions may delete deprecated fields or add new variant constructors. At most one diagnostic version change per compiler minor release, with a
metadatafield carrying the version and avalidflag so consumers can detect schema drift at runtime. -
Tool integration: the RFC lists five requirements drawn from dune and Merlin developers: output must be redirectable to separate files, parsable without ad-hoc lexers, version-pinnable, format-agnostic, and derivable from
compiler-libsso external tools can generate their own schemas.
ocaml/merlin
Permalinkocaml/ocaml-lsp
PermalinkFixes
Open pull requests in OCaml LSP target code-action correctness and server lifecycle:
- Extract local in conditionals: #2241 keeps the new binding inside the nearest
if/elsebranch rather than hoisting it before the conditional. - Extract function: #2242 wraps the extracted call in parentheses so the result compiles as a single expression.
- Combine cases: #2240 preserves literal
|in right-hand sides and splits only at the case arrow, avoiding corruption of strings and function bodies. - Mark as unused: #2248 rewrites
~xto~x:_xfor labelled parameters so call sites likef ~x:1still compile. - Document edits with U+FEFF: #2244 treats a mid-document zero-width no-break space as a regular character, keeping the server's text in sync with the editor.
- Server early exit: #2252 allows the server to shut down cleanly when
ocamlformat-rpcis absent and the editor exits before initialisation. - Let-syntax highlighting: #2238 reports that custom
let-syntax loses semantic highlighting after upgrading to 1.28.1; disabling semantic highlighting in VS Code works around it.
Compatibility
- 1.26.x with Dune 3.25: #2237 backports fixes so the 1.26 line (OCaml 5.4) builds with
stdune3.25.
ocaml/odoc
PermalinkFeatures
-
Odoc strikethrough markup: Documentation comments now accept
{~text}to render struck-through text. Merged in #1515, closing issue #1498. -
Strikethrough rendering: HTML emits
<s>, Markdown emits~~text~~, and LaTeX emits\sout(requires theulempackage). Man pages render the text plainly, as groff has no strikethrough macro. -
Block quotes: A draft adds syntax for block quotes in documentation comments. Open in #1525.
-
Kind abbreviations: A proposal adds rendering and links for OxCaml kind abbreviations, including a
{!kind:xyz}reference form. Open in #1467.
Fixes
-
Odoc import resolution:
odoc compilenow resolves an import only to a unit whose digest matches the recorded one, avoiding links to a same-named unit from a different library. Merged in #1502. -
OxCaml unboxed records: Dropped the always-false
mutable_flag from unboxed record fields, since the compiler rejects mutable unboxed labels. Merged in #1522.
Compatibility
ocaml/opam
PermalinkFeatures
Compatibility
- opam 2.6 backport: the
--cli=2.6fix is being backported to the 2.6 branch for the upcoming 2.6.2 release (#7242).
Fixes
- opam
--cli=2.6: opam 2.6.0 and 2.6.1 rejected--cli=2.6even though--helplisted it as the default; the supported-versions list now includes 2.6 (#7229). - opam documentation links: dead links in the manual, FAQ, and solver pages are updated to working URLs (#7236).
- opam builtin-0install reinstall: a fix is proposed to add
-changedto the fixup criteria so repeatedopam reinstallruns produce the same solution (#7241, #7240). - opam reinstall from empty directory: a bug is reported where reinstalling a non-pinned package with a
remove:field can build from an empty directory, causing the install to fail (#7250).
ocaml/opam-repository
PermalinkFeatures
- Eio 1.7: adds Windows process spawning, symlink support, and
Eio_unix.System_info. Breaking:import_socket_streamno longer works on files or pipes. (Eio) - Eio test helpers: new packages
eio-chaos,eio-fs, andeio-net(0.1.0) provide in-memory filesystems, networks, and fault injection for testing Eio programs. (eio-chaos) - New packages:
brr0.1.0 (browser toolkit),obook1.0.0 (order book),querty0.1.0 (query build system),owl-rllib0.1 (reinforcement learning), andppx_devtools0.1 (expect tests) were added. (brr, obook, querty, owl-rllib, ppx_devtools)
Compatibility
- Index 1.7.0: requires OCaml 5.0 or later. Statistics are now recorded per domain, and
Platform.Srequires newProgressandFmt_ttymodules. (Index) - Lwt 6.1.3 and 5.10.2: fix a crash in
Lwt.canceland a signal-handlererrnooverwrite. 5.10.2 backports these fixes to the 5.10 line. (Lwt) - Frama-C 34.0~beta: now requires OCaml 5.2.0 or later. Adds partial GCC
modeattribute support and preliminary Windows support. (opam-repository)
Fixes
- Build fixes:
conf-bisonandconf-flexnow match the correctos-familyvalues, andjst-config0.14.1-1/0.15.1-1 fix a GCC 14gettidlink error. (opam-repository) - opam-review: a new CI workflow posts lint and policy results as a comment on each pull request, giving submitters faster feedback. (opam-repository)
ocsigen/js_of_ocaml
PermalinkFeatures
Js_of_ocaml: Binaryen's wasm-opt is now optional for wasm_of_ocaml. Without it, the compiler emits a missing-wasm-opt warning and uses its own optimization passes instead. (#2571)
Js_of_ocaml: float formatting is up to 16× faster for integers and 5× faster for random values; the Wasm runtime parses short decimal floats without calling JavaScript. (#2631)
Js_of_ocaml: Int64.to_string of a 19-digit value drops from about 22 µs to 435 ns; Int64.div and Int64.of_string are also much faster. (#2640)
Js_of_ocaml: Random.float and Random.int are about 5× faster in the JS runtime, with output identical to native. (#2630)
Js_of_ocaml: the JS compiler now uses OCaml 5.6 bytecode hints to access bigarrays of known kind directly and compare int64 values with dedicated primitives. (#2628)
Fixes
Js_of_ocaml: Float.erf and Float.erfc now use a port of fdlibm's implementation, reducing error from up to 1e-7 to under 3 ulps. (#2635)
Js_of_ocaml: fixes double rounding in Float.fma, float32 operations, and Float32.of_string, which could produce a wrong last bit. (#2632)
Js_of_ocaml: js_of_ocaml-toplevel now declares a dependency on js_of_ocaml-ppx, so worker_lwt_client is no longer silently skipped when the ppx is not installed first. (#2627)
oxcaml/opam-repository
PermalinkCompatibility
OxCaml installation: an open issue reports that opam install oxcaml-compiler fails on systems without rsync installed. The reporter suggests documenting this dependency in the README; the issue remains open with no resolution yet.
Fixes
OxCaml CI on Arch Linux: a merged pull request switches the test runner from pacman -Sy to pacman -Syu, preventing partial package upgrades that could break the build environment. This affects only the project's automated tests, not end-user installations.