Thicket thicket
ocaml
REPOS 27
W22.2025 · 26 May – 1 Jun

All repository summaries

14 active · 13 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Features

  • opam-repository (oxcaml / mdx): adds mdx 2.5.0 support for the OxCaml experimental compiler, requiring changes to the AST and types it exposes. Merged 2025-05-27. #56

Compatibility and Releases

  • opam-repository (ppx_deriving / OxCaml): ongoing patch to make ppx_deriving compile with the OxCaml compiler; does not yet add support for new OxCaml extensions. Open since 2025-05-13. #49

Fixes

  • opam-repository (utop): corrects a Failure("id") crash triggered when defining a module containing a variant type. Merged 2025-05-28; resolves issue #58. #59
  • opam-repository (base): base v0.17.2 fails to compile under OCaml 5.2.0+flambda2 (syntax error in shadow_stdlib.mli). Workaround: install base.v0.18~preview.130.33+516. #60

ocaml-multicore/eio

Permalink

Fixes

  • Eio Fiber.any fix (PR #806): proposes returning a computed value over immediate cancellation when a parent cancel is detected. Opened 2025-05-27; merged outside this interval.

  • Eio nested Fiber.any race (issue #805): reports that a nested Fiber.any loses its computed value when the outer call is cancelled before the inner call completes. Filed 2025-05-26; still open.

  • Eio Domain_manager fiber-local state (issue #807): reports that domains spawned via Domain_manager.run do not inherit fiber-local values from the calling fiber, contrary to the thread-safe-value contract in the docs. Filed 2025-05-29; still open.

ocaml/dune

Permalink

Features

  • Dune format-dune-file: PR opened proposing that the command use the Dune language version of the current project when formatting, rather than a fixed version. This would allow honouring project-specific formatting settings. (#11865, by nojb)

ocaml/merlin

Permalink

Features

  • Merlin outline (PR #1936): outline generation now includes object expressions nested inside let bindings. This aligns merlin's outline with ocaml-lsp's existing behaviour. Merged 2025-05-27.

Compatibility and Releases

  • Merlin OCaml 5.4 upgrade (PR #1938): open PR upgrading merlin and ocaml-lsp to OCaml 5.4. Preview releases 5.4.2~5.4preview and 1.22.1~5.4preview were published to opam.
  • Merlin merlin-domains branch (PR #1909): upstreams lyrm changes to the merlin-domains branch. A label-completion test is marked TODO after removal of laziness in Mpipeline.for_completion. Merged 2025-05-27.

Fixes

  • Merlin Graph.add crash (PR #1935): fixes a crash on large files with OCaml 5.3 where merlin stopped working entirely. An extra Env.add_type in solve_constructor_annotation was incorrectly added to the type graph. Merged 2025-05-27; closes issue #1913.
  • Merlin record-field destructuring (PR #1436): a fix for destructuring record fields in patterns was closed without merging on 2025-05-30. The underlying issue remains unresolved.

ocaml/ocaml

Permalink

Features

  • Transparent ascription: Proposal splits module aliases into static and dynamic variants, introducing [@@static_alias] and [@@dynamic_alias] attributes. Dynamic aliases are subtypes of static ones. (#14064)
  • Hashtbl: Proposal adds find_and_remove and find_and_replace, returning the previous binding alongside the mutation. Avoids a separate find_opt call. (#14060)
  • Type alias deprecation: Proposal introduces [@@deprecated_repr] on type aliases to warn callers that rely on the concrete representation before the type becomes abstract. (#14054)

Compatibility and Releases

  • Multicore runtime: Open issue reports a TSan data race in ephe_clean_minor during concurrent minor-GC collection of weak/ephemeron arrays. Reproduced on 5.3.0. (#14061)

Fixes

  • ocamldebug: Merged fix inverts BUILD_PATH_PREFIX_MAP to locate source files in installed packages. Restores pre-Dune-3.0 debugging behaviour for switch-installed libraries. (#14063)
  • Gc.Memprof: Proposal moves the statmemprof update to after the minor-GC barrier, preventing blocks promoted by other domains from being marked collected prematurely. (#14057)
  • Gc.Memprof: Proposal allows start to replace an active per-domain profile without stopping other domains. Adds is_sampling to query the current domain's sampling state. (#14053)
  • Module alias checking: Proposal moves invalid-alias detection from subtyping to the destructive-constraint merge point. Catches aliases to functor parameters and recursive modules that previously slipped through. (#14066)

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1529): outline generation is delegated to Merlin, replacing the in-house implementation. Symbol positions and item kinds (e.g. instance variables) change; the PR was still open during this interval.

Compatibility and Releases

  • ocaml-lsp (PR #1534): removes Tuple and Variant from the local Json type and pins the constraint to Yojson 3. Opened 2025-05-30; not yet merged within this interval.

Fixes

  • ocaml-lsp (issue #1533): semantic tokens misclassify the range of ( + ) as @lsp.type.namespace.ocaml. Reported by ddickstein; still open.
  • ocaml-lsp (issue #1526): inlay hints are absent for let bindings inside function-parameter bodies. A comment notes rebuilding from main resolves it; a release was planned for early June.

Proposals

  • ocaml-lsp (issue #1532): proposes adding a field to the ocamllsp/typeEnclosing response to distinguish value types from module types, enabling correct client-side rendering.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org: adds a dedicated page describing the OCaml Infrastructure services available to users and organizations. Merged 2025-05-28. #3107
  • ocaml.org: publishes a post on portable lock directories in Dune Package Management, explaining cross-platform dependency resolution. Merged 2025-05-29. #3113
  • ocaml.org: enables PostHog heatmaps to measure how far visitors scroll on pages. Merged 2025-05-29. #3141

Proposals

  • ocaml.org build: PR proposes migrating the build to Dune Package Management, replacing opam-based dependency management. Opened 2025-05-26, currently stalled. #3132
  • ocaml.org docs: issue reports that opam switch create with a plain name does not default to the default compiler as the getting-started guide states. Opened 2025-05-31. #3143

Fixes

  • ocaml.org build: updates the Dockerfile to use a backup opam mirror after download.camlcity.org became unavailable, restoring the build pipeline. Merged 2025-05-27. #3130

Compatibility and Releases

  • Dune 3.19.0: release announcement added to the changelog; described as the last version of Dune. Merged 2025-05-26. #3129
  • ocaml.org scraper: updated to use OCaml 5.2.0 for package documentation generation. Merged 2025-05-28. #3137

ocaml/ocamlfind

Permalink

Compatibility and Releases

  • ocamlfind 1.9.5 / 1.9.6: Source archives on download.camlcity.org are unreachable, breaking opam fetches and CI builds that pin these versions. A commenter reports download2.camlcity.org serves the 1.9.5 tarball but returns 403 for 1.9.6. Issue #108 (opened 2025-05-26) is marked a duplicate of the earlier #98; both remain open with no maintainer response in the supplied data.

ocaml/odoc

Permalink

Fixes

  • odoc 3.0.0: assertion failure in html/link.ml when building odoc 2.0.0 documentation with odoc 3.0.0. Open bug report. #1345
  • odoc 3.0.0: assertion failure in cpath.ml when building documentation for lascar 0.7.0. Open bug report. #1346
  • odoc: odoc_driver raises Invalid_argument on a cmi_only_lib directory when building docs for camlp5. Open bug report. #1347

Compatibility and Releases

  • odoc: request for a minor release including patches from #1328, which were omitted from 3.0.0 and are required for cmdliner 2.0.0 compatibility. Open issue. #1348

ocaml/opam

Permalink

Fixes

opam CI: bumps the opam-repository SHA in GitHub Actions to resolve a checksum failure for base.v0.17.1 during source fetching. Merged 2025-05-28. #6524

opam --depext-only: proposed fix so the flag returns a non-zero exit code when a dependency conflict is detected, rather than silently returning 0. Open, not yet merged. #6516

Compatibility and Releases

opam 2.4.0~alpha3~dev: version string bumped to mark the next development cycle. Merged 2025-05-28. #6512

ocaml/opam-repository

Permalink

Fixes

  • bin_prot 0.17.0: build failures on OpenSUSE and FreeBSD resolved via #27836. Issues #26005 and #27646 closed 2025-05-31.

  • cca 0.7: fails to compile on a fresh opam switch due to missing Mirage modules. Fix proposed in #27954; issue #27952 still open.

New packages

  • dream-inertia 0.0.1: new package submission flagged for referencing an undefined variable. Issue #27955 opened 2025-05-29, unresolved at interval end.

Compatibility and Releases

  • OCaml 5.4.0: release-readiness tracking issue #27916 remains open, listing platform tools and ecosystem packages pending verification.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml Dom_html: PR #2017 adds window.matchMedia and MediaQueryList bindings. Opened, not yet merged.

  • js_of_ocaml Wasm_of_ocaml: PR #2022 uses the JS String Builtins proposal for constant strings instead of the launcher script. Opened, not yet merged.

  • js_of_ocaml compiler: PR #2027 makes inlining and DCE passes reach fixpoint in fewer iterations, reducing build time. Opened; resolves issue #2020.

Fixes

  • js_of_ocaml compiler: PR #2018 ensures inner closures are inlined before their enclosing closure, fixing a recursive-cycle ordering issue. Merged.

  • js_of_ocaml compiler: PR #2021 prevents the double-translation effects pass from leaving unused blocks. Merged.

Compatibility and Releases

  • js_of_ocaml Wasm_of_ocaml: PR #2026 adds --effects disabled to avoid JSPI stack-switching cost when targeting Node 25. Opened, not yet merged.

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin 5.2.0minus-9: Merges the msupport_parsing patch onto the 5.2.0minus-9 magic-number branch, restoring editor parsing support for that compiler version. #145

oxcaml/oxcaml

Permalink

Compatibility and Releases

  • OxCaml runtime4: building runtime4 from main with gcc 15.1.1 fails on conflicting C type declarations for caml_get_public_method and caml_set_oo_id; gcc 14 compiles successfully. A comment (undated) points to #12577 as a possible upstream patch. Issue #4033 remains open.
13 repositories · no changes