Releases: ocamllibs/stdcompat
v19
-
Compatibility with OCaml 5.0
-
Add
String.{hash, seeded_hash}
-
Restore compatibility with OCaml 3.07, and fix order execution for
Set
andMap.{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
-
Support for OCaml 4.14 with
- Lot of new functions in
Seq
Uchar.utf_decode
and coIn_channel and
Out_channel` modulesSys.{development_version, ocaml_release}
- Lot of new functions in
-
Add
Stdlib.{acosh,asinh,atanh}
missing from 4.13 andStdlib.__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 ifEnd_of_file
has been reached
(behavior introduced in 4.03) -
Add dependency for generating
.cmt
files
(reported by Sabyrzhan Tasbolatov)
v17
-
Fix: missing prototype for caml_alloc_initialized_string in stdcompat.h
-
Fix: linking with stdcompat__stubs in bytecode
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
-
Support for OCaml 4.12.0 with
Sys.{mkdir, rmdir}
{Set,Map}.to_rev_seq
Either
moduleList.{partition_map, compare, equal}
Hashtbl.rebuild
Format.pp_print_seq
-
VERSION
file was missing in distributed archive
Release 14
-
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
andocamlfind
packages
Version 13
-
Add:
stdcompat.h
, provides prototype forcaml_alloc_initialized_string
for OCaml <4.06.0 (already defined in a C library linked withstdcompat.{cma,cmxa}
). -
Fix: module
Format
was not exported -
Fix: remove reference to suppressed module
Sort
-
Fix: reference to the native plugin (
.cmxs
) inMETA
Release version 12
-
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
-
caml_alloc_initialized_string
is now available for OCaml 4.05.0 -
Added
Printexc.to_string_default
andPrintexc.use_printers
Release version 10
-
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