From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Hermes.metastack.local (172.16.0.8) by Hermes.metastack.local (172.16.0.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Mailbox Transport; Sat, 15 Apr 2023 08:54:02 +0100 Received: from Hermes.metastack.local (172.16.0.8) by Hermes.metastack.local (172.16.0.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 15 Apr 2023 08:54:02 +0100 Received: from exchange.romulus.metastack.com (172.16.0.21) by Hermes.metastack.local (172.16.0.8) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.2507.23 via Frontend Transport; Sat, 15 Apr 2023 08:54:02 +0100 Received: from romulus.metastack.com ([172.16.0.20]) by exchange.romulus.metastack.com (8.14.2/8.14.2) with ESMTP id 33F7rGio002074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 15 Apr 2023 08:53:16 +0100 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id 33F7r836002059 for ; Sat, 15 Apr 2023 08:53:09 +0100 Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 15 Apr 2023 09:53:07 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 390B7E0298; Sat, 15 Apr 2023 09:53:07 +0200 (CEST) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 23901E00A8 for ; Sat, 15 Apr 2023 09:53:02 +0200 (CEST) Received: from zcs-store1.inria.fr ([128.93.142.28]) by mail2-relais-roc.national.inria.fr with ESMTP; 15 Apr 2023 09:53:02 +0200 From: Florian Angeletti CC: caml-list Subject: [Caml-list] First alpha release of OCaml 5.1.0 Thread-Topic: First alpha release of OCaml 5.1.0 Thread-Index: DgmADWbEN2FcS450lticQIYxJTAHDw== Sender: "caml-list-request@inria.fr" X-MS-Exchange-MessageSentRepresentingType: 2 Date: Sat, 15 Apr 2023 08:53:01 +0100 Message-ID: <1683360478.6348093.1681545181983.JavaMail.zimbra@inria.fr> Keywords: Sent to dra-news@metastack.com,Spam: 1-2,Marked bulk,MetaStack - Lists,MetaStack List-Help: List-Subscribe: List-Unsubscribe: Reply-To: Florian Angeletti Content-Language: en-GB X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: Hermes.metastack.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-Network-Message-Id: 8a55e85c-d2e2-47b1-a352-08db3d869414 X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 x-scanned-by: MIMEDefang 2.65 on 62.31.23.242 x-originating-ip: [37.169.98.42] received-spf: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@sympa.inria.fr) identity=helo; client-ip=128.93.162.160; receiver=mail2-relais-roc.national.inria.fr; envelope-from="caml-list-owner@inria.fr"; x-sender="postmaster@sympa.inria.fr"; x-conformance=spf_only x-ironport-av: E=Sophos;i="5.99,199,1677538800"; d="scan'208,217";a="103203955" x-loop: caml-list@inria.fr x-no-archive: yes Content-Type: text/html; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0
Dear OCaml users,

Four months after the release of OCaml 5.0.0, the set of new features for t= he
future version 5.1.0 of OCaml has been frozen. I am thus happy to announce = the
first alpha release for OCaml 5.1.0 .

This alpha version is here to help fellow hackers join us early in our bug<= br> hunting and opam ecosystem fixing fun (see below for the installation instr= uctions).
You can see the progress on this front at https://github.com/ocaml/opam-rep= ository/issues/23669 .

If you find any bugs, please report them here:

  https://github.com/ocaml/ocaml/issues

Note that this early alpha version is missing two important fixes for the g= arbage
collector and Windows support. Those fixes will be available before the bet= a.
The full release is expected to happen in July.

If you are interested by the ongoing list of new features and bug fixes, th= e
updated change log for OCaml 5.1.0 is available at:

  https://github.com/ocaml/ocaml/blob/5.1/Changes

Happy hacking,
Florian Angeletti for the OCaml team.


Installation instructions
-------------------------
The base compiler can be installed as an opam switch with the following com= mands
on opam 2.1:

opam update
opam switch create 5.1.0~alpha1

For previous version of opam, the switch creation command line is slightly = more verbose:

opam update
opam switch create 5.1.0~alpha1 --repositories=3Ddefault,beta=3Dgit+htt= ps://github.com/ocaml/ocaml-beta-repository.git

If you want to tweak the configuration of the compiler, you can switch to t= he option variant with:

opam update
opam switch create <switch_name> ocaml-variants.5.1.0~alpha1+opti= ons <option_list>

where <option_list> is a comma separated list of ocaml-option-* packa= ges. For instance, for a flambda and no-flat-float-array switch:

opam switch create 5.1.0~alpha1+flambda+nffa ocaml-variants.5.1.0~a= lpha1+options ocaml-option-flambda ocaml-option-no-flat-float-array

The command line above is slightly more complicated for opam version anteri= or to 2.1:

opam update
opam switch create <switch_name> --packages=3Docaml-variants.5.1.0~al= pha1+options,<option_list> --repositories=3Ddefault,beta=3Dgit= 3;https://github.com/ocaml/ocaml-beta-repository.git

In both cases, all available options can be listed with "opam search o= caml-option".

The source code for the alpha is also available at these addresses:

 https://github.com/ocaml/ocaml/archive/5.1.0-alpha1.tar.gz
 https://caml.inria.fr/pub/distrib/ocaml-5.1/ocaml-5.1.0~alpha1.tar.gz=