[ANN] DkML 2.1.1

Use https://ocaml.org/install if you are a first-time user (the install steps haven’t changed).

The upgrade steps and release notes are available at DkML 2.1.1 · DkML / Distributions / DkML · GitLab. For those who are on 2.1.0, the upgrade is the following in PowerShell:

1..6 | % {  @("bash","sh","with-dkml","ocamllsp","git","opam","dune","ocamlrun") | % { taskkill /F /IM "$_.exe" }; Start-Sleep 1 }
winget upgrade dkml

Major Changes

  • The opam repository is fixed to commit 6c3f73f42890cc19f81eb1dec8023c2cd7b8b5cd for stability. If you need a new version of a package and can’t wait for the next version of DkML, you can pin that package’s url (recommended) or float the opam repository with opam repository set-url default git+https://github.com/ocaml/opam-repository.git#main.
  • Windows SDK 10.0.22621.0 and VC 17.8 (14.38) added to allowed list. This supports Visual Studio 2022, especially for GitLab CI.
  • New supported package: tiny_httpd

Patches

Package What Issue
base_bigstring.v16.0 Implement memmem for Windows https://github.com/janestreet/base_bigstring/issues/6
core_kernel.v0.16.0 MSVC fix didn’t make it to 0.16.0 https://github.com/janestreet/core_kernel/pull/107

Upgraded Packages

Package From To
dune (et al) 3.12.1 3.15.0
ocaml 4.14.0 4.14.2
ocamlformat (et al) 0.25.1 0.26.1
odoc 2.2.0 2.4.1
odoc-parser 2.0.0 2.4.1
lsp (et al) 1.16.2 1.17.0
mdx 2.3.0 2.4.1
ctypes (et al) 0.19.2-windowssupport-r7 0.19.2-windowssupport-r8
tiny_httpd 0.16

Thanks to OCaml Software Foundation for sponsoring DkML!

1 Like