Skip to content

Releases: ocamllibs/stdcompat

v19

15 Jul 16:51
Compare
Choose a tag to compare
  • 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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

Version 13

22 Feb 19:58
Compare
Choose a tag to compare
  • Add: stdcompat.h, provides prototype for caml_alloc_initialized_string for OCaml <4.06.0 (already defined in a C library linked with stdcompat.{cma,cmxa}).

  • Fix: module Format was not exported

  • Fix: remove reference to suppressed module Sort

  • Fix: reference to the native plugin (.cmxs) in META

Release version 12

09 Feb 14:36
Compare
Choose a tag to compare
  • Support for OCaml 4.10.0

  • Support for Windows

  • Added Bytes.unsafe_blit_string, Filename.quote_command, List.concat_map, List.find_map, Sys.Immediate64

  • Equality Lexing.lexbuf = Stdcompat.Lexing.lexbuf is available even for OCaml <4.02.0 (before the introduction of bytes)

Release version 11

30 Sep 23:18
Compare
Choose a tag to compare
  • caml_alloc_initialized_string is now available for OCaml 4.05.0

  • Added Printexc.to_string_default and Printexc.use_printers

Release version 10

26 Jun 15:22
Compare
Choose a tag to compare
  • New C stub with definition of caml_alloc_initialized_string for OCaml <4.05.0

  • Fix: Printexc is no longer opaque

  • Generate -bin-annot .cmt files for OCaml >=4.00.0