Skip to content

Releases: ocamllibs/stdcompat

Bugfix release of stdcompat for OCaml 5.3

20 Aug 08:23

Choose a tag to compare

First release of stdcompat supporting OCaml 5.3's standard library

07 Aug 09:18

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 20.1...21.0

20.1

01 Apr 07:44

Choose a tag to compare

Full Changelog: 20.0...20.1

stdcompat updated to support OCaml 5.2

25 Mar 15:40

Choose a tag to compare

What's Changed

New Contributors

It's goal is more to get used to the release process than for anything else.

A new version scheme is introduced, where the maor version number will be increased each time a new version of the OCaml compiler is supported. The minor release number is used if several releases of stdcompat need to happen for the same version of the OCaml compiler, e.g. if our release 20.0 is buggy we will release 20.1.

Full Changelog: v19...20.0

v19

15 Jul 16:51

Choose a tag to compare

v19
  • Compatibility with OCaml 5.0

  • Add String.{hash, seeded_hash}

  • Restore compatibility with OCaml 3.07, and fix order execution for
    Set and Map.{iter, fold, filter_map} on OCaml 3.07

  • Updated port to dune
    (Marek Kubica, #16,
    #19
    with contribution from Kate,
    #21)

  • Add support for flambda2
    (Guillaume Bury, #14)

  • Prevent replacing /dev/null/ by a regular file when ./configure is
    run as root
    (reported by Marc Chevalier, ocaml/ocaml#11302)

v18

09 Feb 17:42

Choose a tag to compare

v18
  • Support for OCaml 4.14 with

    • Lot of new functions in Seq
    • Uchar.utf_decode and co
    • In_channel and Out_channel` modules
    • Sys.{development_version, ocaml_release}
  • Add Stdlib.{acosh,asinh,atanh} missing from 4.13 and Stdlib.__FUNCTION__ missing from 4.12

  • Add module Unit missing from 4.08

  • Add module Random, with new functions introduced from 4.13

  • Filename.chop_suffix checks that suffixes match and fails otherwise
    (behavior introduced in 4.14)

  • Buffer.add_channel adds data read from the channel even if End_of_file has been reached
    (behavior introduced in 4.03)

  • Add dependency for generating .cmt files
    (reported by Sabyrzhan Tasbolatov)

v17

04 Oct 13:55

Choose a tag to compare

v17
  • Fix: missing prototype for caml_alloc_initialized_string in stdcompat.h

  • Fix: linking with stdcompat__stubs in bytecode

v16

09 Jul 13:23

Choose a tag to compare

v16
  • Support for OCaml 4.13.0 with

    • Seq.{concat, concat_map}
    • {Int{32, 64}, Nativeint}.{min, max}
    • Array.{fold_left_map, find_opt, find_map, split, combine}
    • Bytes.{fold_left, fold_right, for_all, exists, starts_with, ends_with,
      split_on_char}
    • String.{fold_left, fold_right, for_all, exists, starts_with, ends_with,
      get_{u,}int8, get_{{u,}int16,int32,int64}{_ne,_be,_le}}
    • Format.{pp_print_either, pp_print_bytes, print_bytes}
  • Add module Atomic

  • Fix {Array,Bytes,List,More,String}Labels modules

  • Fix: equality between Stdcompat.Lexing.lexbuf and Lexing.lexbuf types
    even for OCaml <4.02 (the equality was not preserved since the type of
    lex_buffer was syntactically different, string instead of bytes)

Release 15

17 Feb 11:55

Choose a tag to compare

  • Support for OCaml 4.12.0 with

    • Sys.{mkdir, rmdir}
    • {Set,Map}.to_rev_seq
    • Either module
    • List.{partition_map, compare, equal}
    • Hashtbl.rebuild
    • Format.pp_print_seq
  • VERSION file was missing in distributed archive

Release 14

10 May 11:34

Choose a tag to compare

  • Support for OCaml 4.11.0 with

    • Array.{for_all2, exists2}
    • Lexing.{set_position, set_filename}
    • List.{filteri, fold_left_map}
    • Printexc.{default_uncaught_exception_handler, Slot.name}
    • Seq.{cons, append, unfold}
    • {Set,Map}.filter_map
    • Printf.{ibprintf, ikbprintf}
  • More efficient implementation of Set functions

  • Support for version mismatch between ocamlc and ocamlfind packages