All repository summaries
12 active · 15 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
Windows symlink and junction support (merged):
Eio_posixon Windows now resolves symlinks, junctions, and reparse-point variants without sandbox escapes, using directory handles and C bindings for reparse buffers. Enables Forester to traverse forests containing symlinks. (#968, @avsm) -
Eio.Switch.remove_hook ~run:true(merged): New flag onEio.Switch.remove_hookthat executes the hook's cleanup actions immediately upon removal, replacing the manual remove-then-cleanup pattern. (#972, @talex5) -
Windows MDX test suite (open): Activates MDX-based tests on Windows using
mdx_skipfrom mdx 2.7.0+; several POSIX-dependent tests use a helper, with further conversion in progress. (#979, @avsm)
Compatibility and Releases
Eio_unix.System_infois now lazily collected (merged): System information is no longer gathered at startup; callers invoke agetfunction on demand. Reduces startup cost, particularly on Windows. The previous eager value remains accessible for compatibility. (#969, @talex5)
Fixes
-
Error propagation to daemon fibers (merged):
Eio.Switch.runnow records the switch error before cancelling daemon fibers, soFiber.await_cancelandSwitch.get_errorreport the actual exception rather than a hard-codedExit. (#978, @talex5; based on #961 by @vog) -
Unix socket file no longer deleted on failed
bind(merged):Eio.Net.listenon a Unix path registers the unlink hook only afterbindsucceeds, preventing a second (failing) listener from removing the first listener's socket file. Also cleans up Unix datagram sockets on close. (#971, @talex5; fixes #970) -
Trailing-slash sandbox escape in
eio_posix(merged): A trailing slash on the final path component no longer follows a symlink out of the sandbox. Operations on the target treat"foo/"as"foo/."; operations on the directory entry drop the slash, matchingeio_linux. (#967, @avsm) -
Unix-domain socket cleanup on explicit close (merged): Closing a Unix-domain socket immediately removes its file; previously the file was removed only when the enclosing switch finished, or not at all. Unlink failures are no longer reported as errors. (#977, @talex5)
ocaml/dune
PermalinkFeatures
-
Dune 3.25.0 released (2026-11-12). Key breaking changes: actions no longer see the shared install staging area on
PATH/OCAMLPATH; generated files are now read-only;:is rejected in context names. (release) -
RPC-backed rule plugins (merged 2026-11-13, requires
(lang dune 3.26)+(using plugin 0.1)). Projects define custom stanza forms via a small OCaml executable; Dune builds and invokes the plugin automatically. The existing site-plugin stanza is renamed to(dune_site.plugin ...). (#16760) -
dune tools envnow adds all dependency executables toPATH(merged 2026-11-12). A singleeval $(dune tools env)exposes every installed tool binary. Follow-up work proposes sanitising build-tree entries from rulePATHto preserve hermeticity. (#16901, #17004) -
GC defaults for compiler and Melange commands (merged 2026-11-13 / 2026-11-16). Dune-generated
ocamlc/ocamldepinvocations default tos=2Mand, on OCaml ≥ 5.5, a 128 MiB-equivalentXsmall_heap_limit. ExplicitOCAMLRUNPARAMoverrides are preserved. Measured 7–12 % wall-time reduction on release-profile builds. (#16914, #17022)
Fixes
-
Private CMI changes now rebuild consumers (merged 2026-11-10). Editing a module listed in
(private_modules ...)previously left consumers stale, causing "inconsistent assumptions over interface" errors until_buildwas deleted. (#16939, fixes #16071) -
Eager watch mode no longer reports diagnostics twice (merged 2026-11-10).
dune buildover RPC with an eager watch server printed each error once per goal; errors are now deduplicated across parallel goals. (#16900, fixes #15609) -
Workspace cache survives terminal hangup (merged 2026-11-16). SIGHUP is routed through the normal scheduler shutdown path, so the workspace database is persisted and the next build reuses completed rules. (#17064)
Compatibility and Releases
-
Dune 3.25.1 point release in progress (tracker opened 2026-11-14). Three regressions are being backported: dune-site path mismatch (#17031), parser-generator dialect collision (#17030), and Melange
.cmjvisibility withprivate_modules(#17020). (#17033, #17034) -
Proposal: remove user-facing sandbox types (opened 2026-11-10).
--sandbox copywill be removed and the(sandbox ...)rule field deprecated, as per-sandbox-type rules are non-portable and prevent transparent implementation improvements. (#16987)
ocaml/merlin
PermalinkFeatures
ocaml-indexgains--files-from FILEto read input file names from a file (one per line), avoiding E2BIG when aggregating indexes for many stanzas. Merged. (#2153)
Compatibility
GrowInside()in the Vim plugin mis-selects ranges aroundbegin…endblocks containing incomplete match arms (Vim 9.2, Merlin 5.8.1). Open. (#2159)
Fixes
case-analysisno longer raisesNot_foundwhen a module is only reachable through a dependency's CMI. Merged. (#2152)- Hover and destruct now report the correct type for wildcard constructor patterns (e.g.
A _showsint * stringinstead ofstring). Merged. (#2149) - Record-field completion forwards field attributes, restoring
deprecated: trueand documentation strings for annotated fields. Open. (#2160) - Locally bound names (parameters,
letbindings, match variables) no longer inherit documentation from enclosing items. Open. (#2154) - A dummy identifier replaces the empty string passed to
Ppxlib.Longident.parse, preventing a fatal crash during completion. Open. (#2158) complete-prefixandexpand-prefixnow pass caching references through their secondary pipeline, correcting cache-hit/miss reporting. Open. (#2156)
ocaml/ocaml
PermalinkFeatures
-
Head shapes and constructor unboxing (open): Extends
[@unboxed]to multi-constructor variant types via a new[@shape]attribute; enables the compiler to track block sizes and tags for representation decisions. #15227 -
Generative constructors (open): A new
[@generative]attribute compiles immutable constructors as mutable blocks, forbidding compiler sharing and unsharing to make==semantics precise for formal verification. #15297
Compatibility and Releases
- Warning 8 (partial-match) fatal by default (open, breaking):
ocamlcandocamloptwould treat an unhandled match case as a hard error; the toplevel keeps it as a warning. Marked backwards-incompatible. #15269
Fixes
-
Pattern matching fatal error (merged): Redundant cases with
or-patterns andwhenguards in a total match triggeredFatal error: Matching: impossible empty matrix. The compiler now rejects the redundant case instead of aborting. #15184 -
ocamlc -dsourceinfinite loop (merged): Printing special constructors ([],(),true,false) with arguments looped forever; list detection also dropped trailing expressions. Both fixed. #15303 -
String.take_first/take_last/drop_lastatmin_int(merged): Arithmetic overflow in then - 1/length s - ncomputation returned the whole string instead of"". The clamp now applies before the subtraction. #15277 -
Weak.blitquadratic cost on multi-key ephemerons (merged): A full clean of the destination ephemeron on every element copy made the operation O(n²). The check is now O(1), reducing worst-case iteration from 0.28 s to 0.0009 s in the benchmark. #15143 -
TSan support and POWER runtime bugs (merged):
--enable-tsanaborted on exceptions from C calls with stack arguments; a wrong TOC register incaml_runstack's epilogue caused SIGSEGV incaml_free_stackunder flambda. Both fixed. #15243
ocaml/ocaml-lsp
PermalinkFixes
-
ocaml-lsp-server 1.26.1 fails to build against stdune ≥ 3.25:
Stdune.Pid.of_intwas renamed toPid.of_int_exn(ocaml/dune#15225), and additional API changes inStdune.Env,Stdune.Spawn, andStdune.Iobreak the build. No installable 1.26.x exists for OCaml 5.4 once stdune 3.25 is in the switch. (#2236) -
Open PR backports the
Stdune.Pidremoval and replaces remaining stdune 3.25 API calls with standard-library equivalents (Sys.getenv_opt,In_channel.with_open_bin) to restore builds on stdune 3.22–3.25 for the 1.26.x line. Not yet merged. (#2237)
Compatibility and Releases
-
The break affects only the 1.26.x line (OCaml ≥ 5.4 < 5.5). Version 1.27.0 already removed the
Stdune.Piddependency but still callsUnix_env.getwith a string argument, so OCaml 5.5 users on stdune 3.25 also hit a type error. (#2236) -
A maintainer confirmed a compatibility release for OCaml 5.4 is planned; no release date is stated. (#2236)
ocaml/ocaml.org
PermalinkFeatures
-
A four-PR stack (#3974, #3975, #3976, #3990) moves package-state rebuilds into a separate
ocamlorg-package-builderprocess. Polls that find no new commits now exit in 0.08 s / 17 MB instead of 0.25 s / 128 MB. -
Release announcements for dune 3.25.0 and utop 2.18.0 were published on the platform releases page (#4009, #4012).
Fixes
- The LTS marker moved from OCaml 4.14.4 to 4.14.5, which includes six security fixes; homepage and installation instructions were updated (#4007).
Compatibility and Releases
-
The opam-repository pin moved to
ca403de(2026-11-13), bringing dream 1.0.0, caqti 3.1.0, mirage-crypto 2.4.1, ssl 0.8.1, and dune 3.25.0. The ssl 0.8.1 update resolves macOS CI failures on OpenSSL 4 (#4016). -
Three merged PRs remove ppx_stable, ppx_deriving.show, and odoc from the build; yaml and cohttp-lwt are now declared as direct dependencies (#3998, #3877, #4005).
-
The deployment Dockerfile strips the server binary, reducing the release-profile image from 80.9 MiB to 69.5 MiB (#4004).
-
The 2026-11-10 opam-health run recorded 110 new and 86 removed package versions across compilers 4.11–5.5 (#4011).
-
Issue #4006 (opened 2026-11-10) proposes moving the playground from OCaml 5.0.0 to 5.5 and replacing the unmaintained
js_top_workerwithjs_of_ocaml-toplevel. The issue was closed 2026-11-17, after this interval.
ocaml/odoc
PermalinkFeatures
-
{!modules: /library/ModuleName}path syntax is now accepted in cross-references. Merged in #1503 (2026-11-10). Part of the larger scope overhaul in #1516. -
#1516 (open, updated 2026-11-13) proposes limiting cross-reference resolution to the libraries a unit was compiled against. Canonical paths gain a
/library/Moduleprefix form. Aliases must not forward-reference libraries outside the dependency cone. -
#1501 (open, updated 2026-11-13) proposes a
{footnote ...}block for inline documentation, extending the parser and generators.
Fixes
-
#1511 (merged 2026-11-09) changes unit lookup to use the compilation-unit identifier rather than the display name, addressing one case of the duplicate-name problem in #1450.
-
#1465 (open, updated 2026-11-10) prunes
[@merlin.hide]subtrees when collecting source occurrences, eliminating spurious clickable links on ppx-generated tokens in rendered source pages.
Compatibility and Releases
- #1520 (open, active during interval) rebases odoc to OxCaml 5.4.0+ox9. The
odoc.opamconflicts clause will need updating; no backward-compatibility shims for older OxCaml versions are planned.
ocaml/opam
PermalinkFeatures
opam pin editnow prints the file's format errors before opening the editor, matchingopam showbehaviour. Previously, dropped fields were silently absent. (#7239, open)- Proposal for a
cpu-bitsinteger filter variable to express architecture bitness constraints (e.g.cpu-bits >= 64) without enumerating every 32-bit arch. Closed as duplicate of #4633. (#7234)
Fixes
- Corrected the bubblewrap repository URL in documentation and
bwrap.sh. (#7237, merged) - Replaced dead links in the manual pages; one link (
mccs.html) remains unresolvable. (#7236, opened; merged after interval) - Suppresses cmdliner's default exit-code list from opam man pages where opam's own codes are already documented. (#7238, open)
Compatibility and Releases
opam upgrade(no argument) does not fetch dev-pin sources, whileopam upgrade <pkg>does. A PR extends the single-package behaviour to the global command; design discussion ongoing. (#7231, open)- New documentation for sandboxing rules (bubblewrap) added; link corrections applied in review. (#7235, open)
ocaml/opam-repository
PermalinkFeatures
-
dune 3.25.0 (merged): Actions no longer see
_build/install/onPATH/OCAMLPATH; generated files are now read-only;:is rejected in context names. Requires explicit(deps (package …))for visibility. #31193 -
Frama-C 34.0~beta-Selenium (merged): Requires OCaml ≥ 5.2.0. Adds preliminary Windows support,
__attribute__((mode))partial support, and many API changes for plugin developers. #31236 -
dolmen 0.11 (merged): Adds SMT-LIB 2.7 support. Builtins are now hierarchical (one constructor per theory), a breaking change for pattern-matching code. #31151
-
websocket 2.18 (merged): Drops the
websocket-asyncbackend; requirescohttp ≥ 6.0.0. Fails connections with 1002 on RFC 6455-forbidden frames. #31124
Fixes
- conf-python-3 (merged): Restores the Homebrew
python@3.14lookup that a recent commit broke on macOS. #31158
Compatibility and Releases
-
opam-review CI workflow (merged): New GitHub Action posts lint results as a PR comment, checking naming policy, weak hashes,
x-maintenance-intentformat, and line endings. #31134 -
New packages:
forester 6.0(mathematical forest tool, tests disabled on Windows),nix-syntax 0.2.0(Nix expression parser, renamed fromflocamlper naming policy),xgboost 0.3.0(native libxgboost ≥ 3.0 bindings). #31231, #31137, #31152 -
imguiml-raylib 1.0.0 + raylib 2.4.2 (merged): Initial release of the imguiml-raylib binding; raylib 2.4.2 fixes a dune 3.25 version bound. #31212
ocsigen/js_of_ocaml
PermalinkFeatures
-
The compiler and runtime no longer emit holey arrays for dead block fields or runtime allocations. ocamlc runs 2–4% faster with 4% lower peak memory; fannkuch_redux improves 17%. #2609 (merged, @vouillon)
-
The default
switch_sizefor code generation rises from 60 to 256 cases; switches whose case values span more than 1000 are also split. QuickJS is the only engine measured slower. #2612 (merged) -
caml_bytes_get/set{16,32,64}unow read and write the underlyingUint8Arraydirectly instead of per-byte calls. The digestif benchmark, which stores state in bytes, was twice as slow before. #2608 (merged, @vouillon)
Compatibility and Releases
- A draft
portintflag representsintasi31 | ref to i64andnativeintasi64in Wasm output, making integers wire-compatible with 64-bit native OCaml. No stable API yet. #2617 (open draft, @rricard)
Fixes
-
With GADTs, a variable typed as an integer could be used as a reference in dead code, producing an invalid
ref.castor call on an i32 in Wasm output. The compiler now boxes such variables. #2615 (merged, @vouillon) -
Empty float arrays in Wasm output (constants, recursive dummies,
Float.Array.concat []) carried tag 254 instead of 0, diverging from native behaviour. The tag is now 0. #2594 (merged, @smjleo) -
Calls to functions stored in blocks are emitted as
M[i](x)instead ofM[i].call(null, x), restoring V8 inlining. Separate-compilation benchmarks improve 6–19%; whole-program--opt 3ocamlc is ~2% slower on node 22. #2613 (open, @hhugo)
oxcaml/opam-repository
PermalinkCompatibility and Releases
- Open PR: disable partial upgrades on Arch Linux in the opam-repository, addressing Arch's package-manager behaviour that conflicts with opam's upgrade workflow. Not yet merged. (#68, dra27-js)
oxcaml/oxcaml
PermalinkFeatures
-
#7941 (open): Adds type checking for
law?clauses in signatures and structures. Each clause must type-check as Boolean; translation reuses Translspec. -
#8042 (open): Stores law data in .cmx/.cmo files and introduces
ocamllawsto extract it. Data is optional (None when-extension lawsis disabled). -
PRs #8038 and #7979 (open): Push FDO counters through the Flambda-to-Cmm and Simplify passes. Counters survive inlining, specialisation, and deleted instructions via region-based collection.
-
#7949 (open): Adds
Static_block,Code_pointer, andOut_of_heap_data_pointermachtypes to Cmm. RemainingIntuses become truly integer. -
#8033 (open): Adds
-f<ext>/-fno<ext>compiler flags and--with-arm64-extensionsconfigure option for ARM64 (LSE, LRCPC2, CSSC). -
#7976 (open): Adds
-link-jsirfor whole-program JSIR compilation via JSOO. Chains entry blocks across modules and patches symbol references. -
#7953 (open): Adds
-Hxand-open-cmi-xflags to declare include directories for hidden dependencies whose .cmx files are guaranteed present.
Fixes
- #7998 (open): With
-flambda2-join-algorithm n-way, a correct program aborts on anInvalidthat Simplify replaces a live call with. The n-way join retains a code ID absent from one input, corrupting the callee set.
15 repositories · no changes
- janestreet/opam-repository
- ocaml-dune/spawn
- ocaml-multicore/domainslib
- ocaml-multicore/eio-trace
- ocaml-multicore/kcas
- ocaml-multicore/meio
- ocaml-multicore/ocaml-iomux
- ocaml-multicore/ocaml-uring
- ocaml-multicore/picos
- ocaml-multicore/saturn
- ocaml/RFCs
- ocaml/ocamlfind
- ocaml/opam-file-format
- oxcaml/js_of_ocaml
- oxcaml/merlin