Skip to content

1.2.0

Compare
Choose a tag to compare
@rgrinberg rgrinberg released this 14 Sep 12:31
· 10647 commits to main since this release

CHANGES:

  • Ignore stderr output when trying to find out the number of jobs
    available (#1118, fix #1116, @diml)

  • Fix error message when the source directory of copy_files does not exist.
    (#1120, fix #1099, @emillon)

  • Highlight error locations in error messages (#1121, @emillon)

  • Display actual stanza when package is ambiguous (#1126, fix #1123, @emillon)

  • Add dune unstable-fmt to format dune files. The interface and syntax are
    still subject to change, so use with caution. (#1130, fix #940, @emillon)

  • Improve error message for dune utop without a library name (#1154, fix
    #1149, @emillon)

  • Fix parsing ocamllex stanza in jbuild files (#1150, @rgrinberg)

  • Highlight multi-line errors (#1131, @anuragsoni)

  • Do no try to generate shared libraries when this is not supported by
    the OS (#1165, fix #1051, @diml)

  • Fix Flags.write_{sexp,lines} in configurator by avoiding the use of
    Stdune.Path (#1175, fix #1161, @rgrinberg)

  • Add support for findlib.dynload: when linking an executable using
    findlib.dynload, automatically record linked in libraries and
    findlib predicates (#1172, @bobot)

  • Add support for promoting a selected list of files (#1192, @diml)

  • Add an emacs mode providing helpers to promote correction files
    (#1192, @diml)

  • Improve message suggesting to remove parentheses (#1196, fix #1173, @emillon)

  • Add (wrapped (transition "..message..")) as an option that will generate
    wrapped modules but keep unwrapped modules with a deprecation message to
    preserve compatibility. (#1188, fix #985, @rgrinberg)

  • Fix the flags passed to the ppx rewriter when using staged_pps (#1218, @diml)

  • Add (env var) to add a dependency to an environment variable.
    (#1186, @emillon)

  • Add a simple version of a polling mode: dune build -w keeps
    running and restarts the build when something change on the
    filesystem (#1140, @kodek16)

  • Cleanup the way we detect the library search path. We no longer call
    opam config var lib in the default build context (#1226, @diml)

  • Make test stanzas honor the -p flag. (#1236, fix #1231, @emillon)

  • Test stanzas take an optional (action) field to customize how they run (#1248,
    #1195, @emillon)

  • Add support for private modules via the private_modules field (#1241, fix
    #427, @rgrinberg)

  • Add support for passing arguments to the OCaml compiler via a
    response file when the list of arguments is too long (#1256, @diml)

  • Do not print diffs by default when running inside dune (#1260, @diml)

  • Interpret $ dune build dir as building the default alias in dir. (#1259,
    @rgrinberg)

  • Make the dynlink library available without findlib installed (#1270, fix
    #1264, @rgrinberg)