Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ocaml_version.ml
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ module Releases = struct
v4_09; v4_10; v4_11; v4_12; v4_13;
v4_14; v5_0; v5_1; v5_2; v5_3; v5_4 ]

let recent = [ v4_08; v4_09; v4_10; v4_11; v4_12; v4_13; v4_14; v5_0; v5_1; v5_2; v5_3; v5_4 ]
let recent = [ v4_11; v4_12; v4_13; v4_14; v5_0; v5_1; v5_2; v5_3; v5_4 ]
let significant =
let last_two = match List.rev all with
| a :: b :: _ -> [b; a] | _ -> [] in
List.sort_uniq compare ([ v4_08; v4_11; v4_14; v5_2 ] @ last_two)
List.sort_uniq compare ([ v4_11; v4_14; v5_2 ] @ last_two)

let latest = v5_4

Expand Down
4 changes: 2 additions & 2 deletions ocaml_version.mli
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ module Releases : sig

val significant : t list
(** [significant] is an enumeration of OCaml releases against which packages are
regularly tested. This includes a curated base set from the 4.x series,
regularly tested. This includes a curated base set from the 4.x series,
plus the last two releases from {!all}. *)

val unreleased_betas : t list
Expand All @@ -475,7 +475,7 @@ module Releases : sig
(** [latest] is the most recent stable release of OCaml. *)

val recent : t list
(** [recent] are the stable OCaml releases since 4.08, with each at the latest patch level.
(** [recent] are the stable OCaml releases since 4.11, with each at the latest patch level.
This is the set that is most reliably tested in the opam package repository. *)

val recent_with_dev : t list
Expand Down