All repository summaries
13 active · 14 unchanged
janestreet/opam-repository
PermalinkCompatibility and Releases
expect_test_sexp_diffis absent from the public opam release, yet tests forincremental,incr_map, andppx_cssdepend on it;expect_test_graphvizmay also be missing forincremental. Opened by smuenzel as issue #76 on 2026-08-31; still open with no resolution recorded in this interval.
ocaml-multicore/eio
PermalinkFeatures
-
Process.Envmodule (#930, merged 2026-09-05): Typed helpers for reading and setting environment variables, with case-insensitive name comparison on Windows. Pairs with theEio.Vars.taddition toStdenv(#923, merged after this interval) to give portable Eio code access to the process environment without linkingEio_unix. -
Anonymous pipe fix for Windows (#929, opened 2026-09-01, in progress): Addresses a failing pipe-transfer test in
eio_windowsCI. Still open at interval end.
Fixes
- Windows path qualification (#931, opened 2026-09-03):
NtCreateFilereceives unqualified absolute paths, raisingUnix.ENOENTon valid files. Prepending the\\??\\NT prefix resolves the failure. Issue closed after this interval; no fix merged within it.
ocaml/dune
PermalinkFeatures
-
include_subdirs qualified+(per_module ...)(Dune language 3.25): Dotted module references (e.g.Foo.Bar) are now accepted inper_modulefields. Previously the name was rejected as an invalid module name. Merged in #15633; closes #15578. -
Action plugin
dynamic-runover RPC: The temporary-file handshake is replaced by Dune RPC. The plugin process stays alive while Dune builds newly discovered dependencies, preserving process state. Exposed asDune_rpc.V1.Action_plugin. Merged in #16256. -
dune describe workspaceMelange targets (open): PR #16300 addsmelange.emititems andmelange.libraryentries to the output. Addresses #16299.
Compatibility and Releases
- Action plugin
write_fileremoved (breaking): Thewrite_fileAPI and target-set validation are removed fromdune-action-plugin. Dynamic actions may now appear in rules with directory targets. Merged in #16329; closes #16268. Thedune-globpackage is merged intodune-action-pluginasDune_action_plugin.V1.Glob(#16328).
Fixes
-
dune build @opamafter file deletion: A deleted generated OPAM file no longer prevents regeneration. The diff action now runs in a sandbox so the stale build-tree copy is excluded. Merged in #16234; fixes #16233 (regression in 3.24). -
Context env-var precedence in
dune exec: Variables from a(context ...)stanza now correctly override workspace-levelenvvars, matching documented behaviour. Merged in #16290. -
opam_solver crash on non-boolean
commandfilter: The solver no longer crashes when an opam file (e.g.ocamlsdl.0.9.1) uses a non-boolean value in thecommandfilter field. Merged in #16313. -
Melange virtual-library dependencies: Imported Melange vlib CMJs are now read via
melobjinfofor precise implementation dependencies, with CMT and conservative fallbacks retained. Merged in #16272. -
Merlin configuration lookup: Exact and copy-line matches across a configuration group are selected before falling back to filename-without-extension lookups. Merged in #16194.
ocaml/merlin
PermalinkFeatures
-
LRgrep error-message integration (open proposal, updated 2026-09-06): Adds declarative syntax-error specifications via
parse_errors.lrgrepand amake lrgrep-coveragetarget. Currently additive; long-term goal is to replace the existing parser error-recovery pipeline. #2072 -
Locate fix for cursor on a different declaration (open proposal, active review): When
locateis invoked with an explicit identifier while the cursor sits on another declaration, the lookup no longer short-circuits with "Already at definition point." Reviewers request the fix live inlocate.mlrather than in context detection. #2118
Compatibility and Releases
-
Truncated error messages on OCaml 5.04 (open, labelled good first issue): With Merlin 5.7.1-504, multi-line compiler errors (e.g. functor-arity mismatches) display only the final line in the
*merlin-errors*buffer. #2080 -
:MerlinOccurrencesProjectWideKeyError (open): The Vim command crashes with a PythonKeyErrorwhen the definition line is absent frompreview_lines_by_file. A sort fix is suggested in the issue. #1832 -
Asynchronous completion for Vim 8 / Neovim (open feature request): The current synchronous
omnifunccall blocks the UI for several seconds per keystroke. An async source compatible with asyncomplete or nvim-completion-manager is requested, with the blocking path retained as a Vim 7 fallback. #726 -
Type-directed API search (closed 2026-08-31): The request for Coq-style
SearchPatternqueries (e.g. "which functions produce typeM.t?") is closed without implementation. #459
Fixes
-
Stack overflow on mutually recursive types (closed 2026-08-31): Hovering or running
merlin-type-enclosingon types liketype a = A | B of int * b and b = a listno longer overflows the stack. Resolved by #1805. #1755, #822 -
Rename with label punning (closed 2026-08-31): Renaming a
letbinding used as a punned label (let arg = () in f ~arg) previously produced invalid code. The issue is closed; the comment directs users toocaml-eglot-renamefor correct behaviour. #1354
ocaml/ocaml
PermalinkFeatures
Int.popcount,Int.leading_zeros,Int.trailing_zerosare now C primitives with nativeclz/ctzemission on amd64 and arm64; 20 M-call benchmarks show 2–3× speedup over the prior pure-OCaml implementations. (#15018, open)- Nested record definitions allow inline record types in record fields (
type t = { a : { b : int } }), with projected type paths (t.a) usable in annotations. Arbitrary nesting depth is supported. (#14527, open)
Compatibility and Releases
- OCaml 5.5.1 released: type-system bug fix for module-dependent functions, security fixes for integer overflows in
Marshaland bytecode loading, various runtime fixes, and restored cloning support on macOS. (release)
Fixes
- A regression in 5.5.0 on Windows caused a non-yielding thread to starve all other threads in its domain indefinitely; the fix corrects the backup-thread handle check in the Win32 runtime. Merged to 5.5 and trunk. (#15029, #15034)
Unix.selecton Win32 returned wrong descriptors when a socket appeared in multiple fd lists or a descriptor was duplicated within one list; the fix replaces index-based mapping with handle-set lookups. (#15025, merged)- The POWER backend rejected functions with frames exceeding 32 KB because stack offsets exceeded the 16-bit immediate field; offsets now split via
addis/lihelpers. (#15021, merged) Float.round,Float.trunc,Float.ceil,Float.floornow emit native instructions on arm64 and power instead of calling out to C. (#15017, merged)- Translcore no longer uses GADT local equations introduced by a partial match to infer parameter kinds, fixing a miscompilation where a conditionally-typed argument was translated with an unconditional kind. (#15035, open)
ocaml/ocaml-lsp
PermalinkFeatures
- Merged: Construct completions now emit LSP snippets with ordered tab stops for snippet-capable clients (e.g.
(B ${1:_})$0). Plain completions are preserved when snippets are unsupported or parsing fails. #2198 - Open: Secondary whole-call completions for functions with ≥2 labelled/optional arguments, inserting
target ~name:_ ?limit:_ _with tab-through placeholders. Awaiting review. #2199
Fixes
- Merged:
textDocument/publishDiagnosticsrelated locations now use zero-based LSP line numbers instead of the compiler's one-based values. Fixes #2145. #2163 - Merged: Inline code-action skips edit construction when no recognized uses exist or all are shadowed, preventing a stack-overflow crash on malformed bindings. #2041
- Merged: Destruct-line splits only top-level
|alternatives, preserving nested or-patterns such as((B | C), _)as valid match cases. #2194 - Merged: Rename snapshots all open documents before dispatching the Merlin query, eliminating a race where a concurrent
didChangeproducedInvalid_argument("index out of bounds"). #2062 - Merged:
textDocument/referencesnow honoursReferenceContext.includeDeclaration = false, removing the declaration occurrence from results. #2164 - Merged: Dune promotion tracking is keyed by diagnostic identity; overlapping promotions for the same source no longer trigger an assertion that aborts the diagnostic batch and disconnects the RPC instance. #2089
ocaml/ocaml.org
PermalinkFeatures
- opam 2.5.2 announcement published. The announcement page for opam 2.5.2 was merged into the site content. (#3712, merged 2026-09-01, by kit-ty-kate)
- New OCaml Planet feed: gilwath.com. Added with
publish_all: falseso the scraper's "caml" keyword filter keeps only OCaml posts from this mixed OCaml/Scala blog. (#3760, merged 2026-08-31)
Compatibility and Releases
- Flaky CI: unreleased hilite git pin.
ocamlorg.opampins hilite to a commit past v0.5.0 with no 0.6.0 tag in opam-repository, causing intermittenthilite.markdown not foundfailures on ubuntu. Fix requires an upstream hilite 0.6.0 release. (#3759, open) - MirageOS feed repair closed without merge. The opt-in
river ~repairflag (self-closing HTML void elements) was blocked on unreleased tarides/river#17. PR closed 2026-09-02. (#3756)
Fixes
- Dead dinosaure feed (blog.osau.re) disabled. Domain no longer resolves; 23 archived posts continue to render via the retained source entry. (#3760, merged 2026-08-31)
- Dead lthms feed (soap.coffee) disabled. DNS record removed; 21 archived posts still render. Opened within this interval; merged 2026-09-08 (outside interval). (#3763)
- Out-of-date XenServer job listings removed. Two Cloud Software Group positions now 404 on careers.cloud.com. (#3764, merged 2026-09-02)
ocaml/odoc
PermalinkFeatures
- Memoize docstring parsing (open): #1480 caches parsed doc-comment ASTs, reducing
odoc_driveruser CPU by ~13% and.odoc/.odoclfile sizes by 18–23% on ppx_template-heavy OxCaml code. - Compress odoc/odocl payloads (open): #1486 enables payload compression when the compiler supports it, producing files roughly 4–5× smaller. Builds on #1479 (drop id wrapper, ~30% disk reduction) and #1375.
- Build shape reducer once (open): #1487 shares the shape-reducer cache across calls, reducing allocation during documentation generation.
Compatibility
- OCaml 5.5 requires the #1489 fix for correct optional-argument type rendering; without it, generated docs show
???for optional parameter types.
Fixes
odoc_driverstdlib detection in$prefix/lib64(closed): #1477 reported that opam on openSUSE installs stdlib underlib64, causing "Couldn't find the following modules: Stdlib" warnings. Resolved by #1474.- OCaml 5.5 optional argument rendering (open): #1489 unwraps the new
TPolyconstructor so optional arguments no longer render as?arg:???. - Extended open support (open): #1482 fixes two related issues in extended-open handling.
- Canonical chain search (open): #1483 corrects canonical-chain resolution so
@canonicaltags work in wrapper modules that do not re-export all library modules.
ocaml/opam
PermalinkCompatibility and Releases
- opam 2.6.0~beta2 released (2026-08-31). Binaries signed by the opam dev team; see blog post for upgrade instructions. Release
- Dependency lockfile updated:
spdx_licenses→ 3.28.0,menhir(drops OCaml < 4.08),patch(handwritten-patch fix),checkseum(clang warning fixes).decompressnot updated—32-bit integer overflow in its hash magic. #7116 (merged)
Features
- Proposal: split opam-file linting into "important" (format errors) and "cosmetic" (missing license/description) checks so
opam installandopam showsuppress cosmetic warnings. Reduces clutter for local pins. #7118 (open). - Proposal: integrate
opam-auditsoopam updaterefreshes a vulnerability database andopam installwarns (or refuses without--ignore-security-issues) when a package has known CVEs. #7113 (open, by @hannesm). - Clarification:
opam updatedoes not re-fetch tarball URLs pointing at a git branch; usegit+https://…#branchsyntax for branch tracking. #7122 (closed 2026-09-01).
Fixes
opam pinno longer recursively scans the entire project directory for extra-files metadata. Fixes a 2.6 performance regression;opam updatemeasured ~8% faster. #7101 (merged), closes #7098.- Documentation for
conflictsversion formulas corrected: conjunctions are allowed inside filters ({>= "3" & < "4"}) but not between atoms. #7082 (merged, by @RyanGibb). OpamProcess.create_process_envmis-handles empty string arguments when invoking a Cygwin binary on Windows. Fix proposed. #7128 (open), fixes #6714.
ocaml/opam-repository
PermalinkFeatures
- OCaml 5.5.1 released. Restores compiler cloning on macOS; fixes a type-system bug with module-dependent functions, two runtime overflows, and a musl/Intel runtime bug. Strongly advised for all 5.5.0 users. (#30637)
- tyxml 5.0.0 merged with breaking changes:
hiddenandcontenteditablenow take enumerated arguments; URL attributes useXml.uri; SVG output drops the 1.1 doctype;Wrapped_functionsgains four required methods. Requires OCaml ≥ 4.08, dune ≥ 3.18, ppxlib ≥ 0.36. (#30641) - ocp-indent 1.10.0 adds
--checkand--strictflags, explicit support for effect syntax, labeled tuples, external types, and OCaml 5.5let inconstructs. OCaml lower bound raised to 4.11. (#30631) - New packages merged: kube 0.1.3 (Kubernetes client), json-pointer 1.0 (RFC 6901/6902/8620), tdmrep 1.0 (W3C TDM Reservation), caps 0.1.0 (capability types), binaryen 0.38.0 + libbinaryen 132.0.0, topup 0.1.3 (OCaml toplevel as MCP server), owebview 0.1.0, obs-eio 0.1.0 + obs-prometheus-eio 0.1.0. (#30662, #30656, #30616, #30627, #30654, #30658, #30602, #30577, #30595, #30596)
Fixes
- odbc.3.0 and misuja.0.0.0 receive OCaml < 5.0 upper bounds; both use
alloc_tuple/alloc_customwithout thecaml_prefix, which is rejected since OCaml 5.0. (#30663, #30661) - cstruct 6.3.0 fixes indexing and subview offset handling in
filter_map,reverse_tail,cuts, andfind/find_sub. h1 1.1.1 fixes a websocket frame-length bug. kdf 1.1.1 enforces the RFC 5869 length bound in HKDF expand. (#30651, #30612, #30601)
Compatibility and Releases
- wire 1.3.0 introduces breaking API changes:
Wire.Codec.is_fixedreplaced bywire_size_opt;Wire.uinttakes anintwidth;Wire.sizeof_thissemantics change;wire_size_at/get/setnow raise on missing?env. (#30609) - ucharset 0.2.0 is 64-bit only (fails at load on 32-bit); removes
Lookup.mem_charandto_list; renamesPartition.block_oftoblock_of_opt; changes hash values. (#30632) - opam 2.6.0~beta2 (8 packages) merged. x-ci-accept-failures now applies to Windows CI (
msys2,cygwinvariants). FreeBSD CI timeout issue filed for 120-min runner limit. (#30603, #28856, #30659)
ocsigen/js_of_ocaml
PermalinkFixes
-
The JS printer emits a non-breaking space after
staticin all four class-element positions (method, field, accessor, static block) instead of a breakable space. Previously everystaticclass element was split across two lines in compact output, causing JavaScriptCore 17 (Safari 17) to misparse the class body and leaveMlInt64.UNSIGNED_MAXundefined. #2421 (opened 2026-09-06; merged 2026-09-08, after this interval). -
The fix affects any generated bundle that links
runtime/js/int64.jsand is consumed by Safari 13.4–17.x, the range listed inECMASCRIPT.md. Safari 18.5 and Node parse the old output correctly; the issue is a JavaScriptCore 17 bug, not a spec violation. #2420 (opened 2026-09-06, closed 2026-09-08).
Compatibility and Releases
- In pretty-print mode a
staticmethod that previously wrapped to a second line now stays on one line; the parser-printer round-trip test was updated to match. No other pretty-mode output changes. #2421.
oxcaml/opam-repository
PermalinkCompatibility and Releases
-
Merged: upstream dune ≥ 3.24.2, eio ≥ 1.4, and mdx ≥ 2.6.0 are now installable alongside OxCaml via opam guards. Dune 3.24's
%{deps}expansion (ocaml/dune#15156) breaksbonsai_web; dune is pinned to 3.22.2+ox as a workaround. (#59, avsm) -
Closed (superseded by #59): mdx 2.6.0 confirmed OxCaml-compatible; the standalone patch was unnecessary once the guard-based approach landed. (#55, dra27-js)
-
Open: zarith 1.14+ox install on the
minus39toolchain. A comment notes the change breaksbignumdue to aQ.comparedifference; a fix is in progress. (#61, avsm) -
Open (updated in interval): oxcaml-compiler
dune-ignorepatch no longer applies after an upstream implementation change. Fix targets the-ox2variant only; other variants pending. (#60, shunueda)
oxcaml/oxcaml
PermalinkFeatures
-
SSA intermediate representation (merged): A new SSA IR sits between Cmm and CFG, with a reducer framework for SSA-to-SSA transforms, aggressive dead-code elimination, and a
Cfg_comparevalidator that checks register-equivalence against the legacy pipeline. Controlled by-use-ssa(temporarily on by default). #5810 -
Link-time optimization prototype (merged): The Reaper now serialises whole-program solutions to
.ltosolfiles, computes calling-convention changes and slot offsets at solve time, and rebuilds from the stored solution rather than re-solving. A draft LTO branch tracks further work. #6964, #7030, #7082, #6895 (open) -
Functional mode polymorphism (merged): Mode variables are now first-class in type inference, with generalisation, instantiation, and subsumption. Enabled via
-extension mode_polymorphism_alpha; subsumption prevents a soundness hole where a less-polymorphic implementation was accepted against a more polymorphic signature. #5483, #6279 -
Static functors (open): Introduces "templates" whose arguments exist at both compile-time and runtime, enabling compile-time functor application with fracturing and eval. Currently restricted to single-argument functors; partial application planned in follow-up. #6846
-
Experimental compiler fuzzer (open): A random-program generator covering a subset of OxCaml. Already discovered double-rounding bugs in
blambdafloat32/int64 conversions. #6933, #7064 -
Datalog-based CFG validators (merged): Adds
-cfg-eliminate-dead-code-validate,-cfg-dominators-validate, and-cfg-liveness-validateflags that independently recompute pass invariants via the internal Datalog engine (Z3 fallback), providing a cross-check on the CFG stage. #7076 -
Metaprogramming unit unloading (open): A nine-PR stack adds runtime support for GC-reclaimable JIT-compiled units: code blocks are donated to the major heap, the mark phase tracks code pointers via frame descriptors, and the loader activates/deactivates units. #7050
-
Atomic primitives for unboxed types (merged): New
%unsafe_atomic_*_ptrand%unsafe_atomic_*_ext_ptrfamilies operate on block pointers and externally-managed memory. Byte-offset-based primitives eliminate a redundant shift+tag on everyidx_atomicaccess. Thecaml_domain_alonefast-path is removed to prevent non-atomic stores. #6802, #6831, #6747, #6937 (open)
Fixes
-
Reaper miscompilation in
-Oclassic(merged): When all arguments of a tupled function are unused, the tupled argument was deleted, causing a segfault in thecaml_tuplifywrapper. The reaper now preserves the tuple accessors. The-Oclassicreaper path was reverted and re-landed with this fix. #7072, #7075 -
Allocation pointer bug on stack overflow (merged): The SEGV-to-
caml_raise_stack_overflowpath failed to save%r15, corrupting recently-allocated values. A regression test with--disable-stack-checksis included. #7020 (merged 9/10, outside interval—omitted)
Compatibility and Releases
- Magic numbers bumped to 586 for the 5.4.0-ox7 release. #7019