# OCaml 4.11.0, second beta release

**URL:** <https://discuss.ocaml.org/t/ocaml-4-11-0-second-beta-release/6063>\
**Category:** Ecosystem\
**Created:** [July 7, 2020, 7:55am UTC](https://discuss.ocaml.org/t/ocaml-4-11-0-second-beta-release/6063 "2020-07-07T07:55:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![octachron](https://avatars.discourse-cdn.com/v4/letter/o/49beb7/32.png) [@octachron](https://discuss.ocaml.org/u/octachron)\
**Post date:** [July 7, 2020, 7:55am UTC](https://discuss.ocaml.org/t/ocaml-4-11-0-second-beta-release/6063/1 "2020-07-07T07:55:03Z")

</div>

The release of OCaml 4.11.0 is approaching.  
As one step further in this direction, we have published a second beta  
release. This new release fixes an MSVC-specific runtime issue.

The compatibility of the opam ecosystem with OCaml 4.11.0 is currently quite  
good with only 7 packages not currently available, and it should be possible to  
test this beta without too much trouble.

The source code is available at these addresses:

[https://github.com/ocaml/ocaml/archive/4.11.0+beta2.tar.gz](https://github.com/ocaml/ocaml/archive/4.11.0+beta2.tar.gz)  
[https://caml.inria.fr/pub/distrib/ocaml-4.11/ocaml-4.11.0+beta2.tar.gz](https://caml.inria.fr/pub/distrib/ocaml-4.11/ocaml-4.11.0+beta2.tar.gz)

The compiler can also be installed as an OPAM switch with one of the  
following commands:

```bash
opam switch create ocaml-variants.4.11.0+beta2 --repositories=default,beta=git+https://github.com/ocaml/ocaml-beta-repository.git

```

or

```bash
opam switch create ocaml-variants.4.11.0+beta2+<VARIANT> --repositories=default,beta=git+https://github.com/ocaml/ocaml-beta-repository.git

```

where you replace \<VARIANT\> with one of these: afl, flambda, fp, fp+flambda

We would love to hear about any bugs. Please report them here:  
[https://github.com/ocaml/ocaml/issues](https://github.com/ocaml/ocaml/issues)

If you are interested by the list of new features, and the on-going list  
of bug fixes the updated change log for OCaml 4.11.0 is available at:

[https://github.com/ocaml/ocaml/blob/4.11/Changes](https://github.com/ocaml/ocaml/blob/4.11/Changes)

Compared to the previous beta release, the exhaustive list of changes  
is as follows:

### Runtime

- [#9714](https://github.com/ocaml/ocaml/issues/9714), [#9724](https://github.com/ocaml/ocaml/issues/9724): Use the C++ alignas keyword when compiling in C++.  
Fixes a bug with MSVC C++ 2015/2017. Add a terminator to the  
`caml_domain_state` structure to better ensure that members are  
correctly spaced.  
(Antonin Décimo, review by David Allsopp and Xavier Leroy)

### Manual and documentation

- [#8644](https://github.com/ocaml/ocaml/issues/8644): fix formatting comment about @raise in stdlib’s mli files  
(Élie Brami, review by David Allsopp)

- [#9712](https://github.com/ocaml/ocaml/issues/9712): Update the version format to allow “~”.  
The new format is “major.minor[.patchlevel][(+|~)additional-info]”,  
for instance “4.12.0~beta1+flambda”.  
This is a documentation-only change for the 4.11 branch, the new format  
will be used starting with the 4.12 branch.  
(Florian Angeletti, review by Damien Doligez and Xavier Leroy)
