caml-list - the Caml user's mailing list
 help / Atom feed
From: Florian Angeletti <>
To: caml-list <>
Subject: [Caml-list] OCaml 4.12.0, first beta release
Date: Fri, 15 Jan 2021 08:59:12 +0100 (CET)
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 3063 bytes --]

Dear OCaml users, 

The release of OCaml 4.12.0 is close. 
The set of new features has been stabilized, and core opam packages already 
work with this release. After three alpha releases, we have created a first 
beta version to help you adapt your software to the new features ahead of the 
release. Compared to the last alpha, this beta contains only three new bug fixes 
and one change to the standard library. 

The base compiler can be installed as an opam switch with the following commands 

opam update 
opam switch create 4.12.0~beta1 --repositories=default,beta=git+ 

If you want to tweak the configuration of the compiler, you can pick configuration options with 

opam update 
opam switch create <switch_name> --packages=ocaml-variants.4.12.0~beta1+options,<option_list> --repositories=default,beta=git+ 

where <option_list> is a comma separated list of ocaml-option-* packages. For 
instance, for a flambda and afl enabled switch: 

opam switch create 4.12.0~beta1+flambda+afl --packages=ocaml-variants.4.12.0~beta1+options,ocaml-option-flambda,ocaml-option-afl --repositories=default,beta=git+ 

All available options can be listed with "opam search ocaml-option". 

The source code is available at these addresses: 

If you want to test this version, you may want to install the alpha opam repository 


opam repo add alpha git:// 

This alpha repository contains various packages patched with fixes in the 
process of being upstreamed. Once the repository installed, these patched 
packages will take precedence over the non-patched version. 

If you find any bugs, please report them here: 

Happy hacking, 

-- Florian Angeletti for the OCaml team. 

Changes from the third alpha release 

## Postponed features 

- #9533, #10105, #10127 : Added String.starts_with and String.ends_with. 
(Bernhard Schommer, review by Daniel Bünzli, Gabriel Scherer and 
Alain Frisch) 

## Additional bug fixes 

- #9096, #10096: fix a 4.11.0 performance regression in classes/objects 
declared within a function 
(Gabriel Scherer, review by Leo White, report by Sacha Ayoun) 

- #10106, #10112: some expected-type explanations where forgotten 
after some let-bindings 
(Gabriel Scherer, review by Thomas Refis and Florian Angeletti, 
report by Daniil Baturin) 

- #9326, #10125: Gc.set incorrectly handles the three `custom_*` fields, 
causing a performance regression 
(report by Emilio Jesús Gallego Arias, analysis and fix by Stephen Dolan, 
code by Xavier Leroy, review by Hugo Heuzard and Gabriel Scherer) 

[-- Attachment #2: Type: text/html, Size: 3485 bytes --]

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15  7:59 Florian Angeletti [this message]
2021-01-27  7:47 ` [Caml-list] OCaml 4.12.0, second " Florian Angeletti
2021-02-17  8:27   ` [Caml-list] OCaml 4.12.0, first release candidate Florian Angeletti

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror

AGPL code for this site: git clone public-inbox