All repository summaries
12 active · 15 unchanged
ocaml/dune
PermalinkFeatures
-
%{melange.emit:...}artifact variable (Dune 3.25). References the output directory of amelange.emitstanza and its dependencies. Closes #8327. Merged in #15751. -
(flags ...)field inocamllexandocamlyaccstanzas (Dune 3.25). Accepts the ordered-set language with variable expansion; forwarded to the parser generator. Enables(flags -ml)for code-based automata. Merged in #15907.
Compatibility and Releases
-
Dune language version bumped to 3.25. The project's own
dune-projectand generated opam files now target 3.25. Merged in #15919. -
Version bound for
(warnings (duplicate_deps …))corrected to 3.22. The warning was introduced in 3.22 but the bound stated 3.18, producing overly permissive opam constraints. Merged in #15696.
Fixes
-
Disabled
installstanza no longer pollutes@all. Aninstallstanza gated byenabled_ifno longer adds its files to the directory's@allalias in disabled contexts. Fixes multi-context builds that previously failed with "No rule found." Merged in #15895, closes #15825. -
Melange JS emission now stages installed
.cmj/.cmidependencies. Previously,.cmj/.cmifiles underlib/<pkg>/melange/were missed by the sandbox, causingmelcto fail. Merged in #15949, closes #14820. -
dune pkguses SHA-256 for source archives lacking a checksum. Replaces MD5, which is deprecated by opam. Merged in #15824. -
Git patch filenames containing spaces are no longer truncated. The
---/+++header parser now disambiguates unquoted filenames with spaces. Merged in #15781.
ocaml/merlin
PermalinkFeatures
- Proposal (open): #2072 by let-def integrates LRgrep to generate declarative syntax-error messages in Merlin's preprocessor. The change is additive; existing parser behaviour is unchanged. Updated 2026-08-12; still open.
- The PR adds a
make lrgrep-coveragetarget that emitscoverage.md, listing grammatical constructs lacking error messages. This gives maintainers a concrete gap report for incremental coverage work. - Undated discussion in the thread notes upstream OCaml compiler interest in the same LRgrep approach; the Merlin integration is positioned as a testbed before a compiler-level merge. No dated decision is recorded.
Evidence note: The PR was created 2026-05-23 and updated 2026-08-12. All comments lack timestamps, so their placement within the 2026-08-10 – 2026-08-17 window cannot be confirmed. No merge, close, or release event occurred in the interval.
ocaml/ocaml
PermalinkFeatures
Runtime_events.User.writeno longer allocates in steady state; the per-domain write-buffer cache is now a single atomic slot in DLS. Merged 2026-08-12. (#14984)- Frame-pointer support added for the POWER backend (
ppc64le); the allocation pointer moves from r31 to r23 and outgoing-argument space is reserved inIstackoffset. Merged 2026-08-12. (#14505) - New C API
caml_result_find_exceptionreturns a pointer to the exception payload in acaml_result, or NULL. Merged 2026-08-13. (#14814) - Proposal to emit native
Atomic.exchangeandAtomic.compare_and_setinstructions on all five backends when the stored value is statically immediate; benchmarks show ~2–3× speedup on amd64 single-domain. Open. (#14980) - Proposal to reimplement
Weak.Make(weak hashsets) with open-addressing and linear probing; alt-ergo-free is 30% faster in one benchmark. Open. (#14979)
Fixes
Weak.get_copyshallow-duplicates continuations, producing two handles to the same fiber and causing segfaults on double-continue. Proposal treats continuations like custom values (no copy). Open. (#14988)current_ring_total_sizein the runtime-events ring buffer is a 32-bitint; atOCAMLRUNPARAM=e=21,d=128the computed size exceeds 2 GiB, truncates, and the ring becomes unusable. Fix changes the type tosize_t. Open. (#14999, #15000)
Compatibility and Releases
- Proposal to enable LFS (
_FILE_OFFSET_BITS=64) and 64-bittime_t(_TIME_BITS=64) by default on all 32-bit targets via Autoconf; disable with--disable-largefile/--disable-year2038. Affects only 32-bit builds. Open. (#14997)
ocaml/ocaml-lsp
PermalinkFeatures
- Odoc document links in editor (open, by N1ark): Implements
textDocument/documentLinkanddocumentLink/resolveso odoc references ({!t},{{:url} text},@see) render as clickable links in the editor. Cross-module and stdlib references resolve once the project is built. #2139
Compatibility and Releases
- Code actions for
Unbound module/Unbound value(open, by ulugbekna): Proposes quick-fixes to create the missing file, qualify the reference, or open the module. Updated 2026-08-16 with import-fix design notes referencing TypeScript prior art. #494
Fixes
-
Unused-code quick fixes now match Merlin diagnostics (merged, by dayangac): Classifies diagnostics by warning number (e.g.
Warning 33: unused open B.) instead of bare substrings, making "Remove unused open/type/module/constructor/case/rec" and "Mark as unused" actions reachable in normal builds. #2117 -
Create-counterpart action checks client capabilities (merged, by dayangac): The "open related source" code action now offers file creation only when the client advertises both
workspaceEdit.documentChangesand thecreateresource operation; otherwise it offers only the open action for an existing file. #2115 -
Alert payloads no longer trigger destructive code actions (merged, by rgrinberg): The unused-code matcher rejects arbitrary diagnostic text (e.g. a deprecation warning containing "unused open"), preventing accidental module removal. #2141
-
Position encoding mismatch with UTF-16 clients (open, by panglesd): When the client negotiates UTF-16 (e.g. VS Code), Merlin's UTF-8 positions are not converted, placing diagnostics and semantic tokens at wrong offsets for multi-byte characters. #2138
ocaml/ocaml.org
PermalinkFeatures
-
i18n-aware case-insensitive search (open, not merged): PR #3739 replaces
String.lowercase_asciiwithUucp.Case.Foldacross seven call sites (package search, academic institution search, opam user search, platform release tag matching). Searching "école" will match "ÉCOLE"; three ASCII-only sites remain unchanged. Resolves #2444. -
OCaml Workshop 2026 schedule published: PR #3740 (merged 2026-08-11) adds the full workshop schedule to the site.
Fixes
Ecosystem Content
-
New OCaml Planet post indexed: PR #3743 (merged 2026-08-15) picks up "A concurrency model for OCaml" by erratique.
-
OxCaml 5.2.0-minus39 opam packaging noted: PR #3738 (merged 2026-08-12) indexes a post by anil on updating to the OxCaml 5.2.0-minus39 opam packaging, alongside OCaml Weekly News 11 Aug 2026.
ocaml/odoc
PermalinkFeatures
include functorsupport for OxCaml: items included via a functor are displayed with their functor origin rather than a generated module path. Open PR, ongoing. #1452
Compatibility and Releases
Fixes
odoc_driverstdlib detection: uses Findlib's own path inference instead of hardcoding$prefix/lib/ocaml, fixing$prefix/lib64layouts. Requires ocamlfind ≥ 1.9.8. Open PR. #1474 · #1477odoc_driversource lookup for Duneinclude_subdirs qualifiedwrapper modules: intermediate-directory.ml-genfiles are not resolved to installed.mlpaths. Open issue; a partial fix exists in a fork. #1475- Multi-line link reformatting in generated documentation. Open PR; tests fail on OCaml < 4.13 due to missing
String.fold_left. #1439
ocaml/opam
PermalinkFixes
opam init --reinitno longer exits with code 10 and prompts a retry after upgrading from a 2.1 root. Merged 2026-08-12.- Generated PowerShell init script contained
if Test-Path …without required parentheses; #7070 (open) emits valid syntax and adds a Windows reftest. - #7073 (open) disables
git gc/maintenance on repositories opam manages, reducing errors with recent git versions.
Features
Compatibility and Releases
ocaml/opam-file-format
Permalinkocaml/opam-repository
PermalinkFeatures
-
affect 0.0.0 (new package, merged): Streamlined concurrency model for OCaml, first release supported by an OCaml Software Foundation grant. #30469
-
dune-rpc-eio 0.1.0 (new package, merged): Eio client for dune's RPC build socket; supports spawning/attaching to a dune server, building, running tests, and reading diagnostics. #30453
-
prometheus 1.4 (merged): Splits Lwt-typed metrics into a new
prometheus-lwtpackage; core Lwt functions are deprecated with a migration path. Synchronous timing helpers added to core. #30452 -
bisect_ppx_ng 3.0.0 (new package, opened): Fork of
bisect_ppxadding OCaml 5.5 support under a new maintainer. PR opened 2026-08-11; merge occurred outside this interval. #30463
Fixes
-
sqlite3 5.4.2 (merged): Fixes OCaml GC rooting across runtime-released SQLite calls, preventing premature finalization of statement and database wrappers. #30475
-
jsont 0.3.0 (merged, breaking):
Jsont.{int,int64}encoding range narrowed to [−2⁵³+1, 2⁵³−1]; values at the old boundaries now encode as strings.Jsont.legacy_{int,int64}provided for migration. #30485
Compatibility and Releases
-
mirage-crypto-rng-* deprecated (merged): All
mirage-crypto-rng-*packages exceptmirageandmkernelvariants are marked deprecated. #30478 -
AI-generated responses policy (ongoing): Proposed governance rule requiring human replies on package-submission PRs after the initial (possibly bot-generated) submission. Still in discussion. #30367
ocsigen/js_of_ocaml
PermalinkCompatibility and Releases
- Open proposal – #2409 (let-def): adds stubs and adaptations so js_of_ocaml builds against the
5.5.0+introcamlopam switch (an OCaml compiler variant that instruments values for runtime printing). The PR was updated 2026-08-10 but remains open; no merge or release is indicated. An undated comment sketches a prototype-based metadata design for the JS backend, but its timestamp cannot be confirmed within this interval.
oxcaml/opam-repository
PermalinkFixes
- #60 (open, by shunueda): Updates the
dune-ignorepatch foroxcaml-compilerafter an upstream implementation change invalidated the existing patch. Applies to the-ox2variant only; other variants not yet addressed.
oxcaml/oxcaml
PermalinkFeatures
-
Vox specification stack (6 PRs, closed 2026-08-14, moved to fork): introduces refinement types
t{ p }, an SMT-LIB solver layer with a z3 backend, aBigintmodule for specification arithmetic, and comonadic/monadic mode axes for totality, logicality, and erasure. All pieces are inert (no typing rules discharged yet); the stack establishes representation, substitution, and.cmiround-tripping. Stack #6796 · #6787 · #6788 · #6789 · #6790 · #6791 -
SSA intermediate representation between Cmm and CFG, controlled by
-use-ssa(temporarily on by default). A reducer framework supports SSA-to-SSA transforms; aCfg_comparevalidator checks register-equivalence against the legacy pipeline. Forced off under-llvm-backend. #5810 (open, updated 2026-08-14) -
Mode variable subsumption makes signature mode variables rigid during moregen, preventing a less mode-polymorphic implementation from being accepted against a more polymorphic signature (a prior soundness gap that caused
Partial_application_mode_mismatch_in_lambdaat runtime). Now a staticSignature mismatch. #6279 (open, updated 2026-08-17) -
Addressable kinds add an idempotent
addressableoperator to the kind system, distinguishing kinds whose boxed representation is a block (pointer-takeable) from tagged immediates. Enablesptr_ofonbits8 addressableboxes while rejectingint8#boxes. #6712 (open, updated 2026-08-13) -
Faulting safepoints replace compare-and-branch poll points with a double load through a
PROT_NONEtrigger page; a SIGSEGV handler rewrites the context into a GC-entry call. Saves 6–12 bytes per poll on AMD64; adds ~1.2 µs per triggered interrupt. Default where supported;--disable-faulting-safepointsopts out. #6551 (open, updated 2026-08-13) -
Heap extension API (
caml_add_extent) registers external memory as GC-managed blocks with a free callback; unloading of metaprogramming CUs treats each unloadable unit as a scannable heap region with explicit dependency edges, unloading code and data when unmarked at end of major cycle. #6248 · #5960 (both open, updated 2026-08-13) -
Match-in-match: umbrella issue #4405 closed 2026-08-13. New proposals opened 2026-08-10: remove the replay history by materialising let-bindings post-specialisation (#6742) and specialise continuations whose handler ends with an apply-cont to unblock match-in-match triggering (#6741).
-
Loop elimination experiment (stacked on the SSA IR): induction-variable finding, termination proof, and dead-IV proof eliminate empty
forloops entirely. Requires-cfg-merge-blocks. #5840 (open, updated 2026-08-12)
15 repositories · no changes
- janestreet/opam-repository
- ocaml-dune/spawn
- ocaml-multicore/domainslib
- ocaml-multicore/eio
- 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
- oxcaml/js_of_ocaml
- oxcaml/merlin