Skip to content

Releases: ocaml/dune

1.9.3

06 May 04:01
Compare
Choose a tag to compare

CHANGES:

1.9.2

02 May 16:13
Compare
Choose a tag to compare

CHANGES:

  • Put back library variants in development mode. We discovered a
    serious unexpected issue and we might need to adjust the design of
    this feature before we are ready to commit to a final version. Users
    will need to write (using library_variants 0.1) in their
    dune-project file if they want to use it before the design is
    finalized. (#2116, @diml)

  • Forbid to attach a variant to a library that implements a virtual
    library outside the current project (#2104, @rgrinberg)

  • Fix a bug where dune install would install man pages to incorrect
    paths when compared to opam-installer. For example dune now
    installs (foo.1 as man1/foo.1) correctly and previously that was
    installed to man1/man1/foo.1. (#2105, @aalekseyev)

  • Do not fail when a findlib directory doesn't exist (#2101, fix #2099, @diml)

  • [coq] Rename (coqlib ...) to (coq.theory ...), support for
    coqlib will be dropped in the 1.0 version of the Coq language
    (#2055, @ejgallego)

  • Fix crash when calculating library dependency closure (#2090, fixes #2085,
    @rgrinberg)

1.9.1

11 Apr 04:27
Compare
Choose a tag to compare

CHANGES:

  • Fix invocation of odoc to add previously missing include paths, impacting
    mld files that are not in directories containing libraries (#2016, fixes
    #2007, @jonludlam)

1.9.0

09 Apr 12:57
64382f8
Compare
Choose a tag to compare

CHANGES:

  • Warn when generated .merlin does not reflect the preprocessing
    specification. This occurs when multiple stanzas in the same directory use
    different preprocessing specifications. This warning can now be disabled with
    allow_approx_merlin (#1947, fix #1946, @rgrinberg)

  • Watch mode: display "Success" in green and "Had errors" in red (#1956,
    @emillon)

  • Fix glob dependencies on installed directories (#1965, @rgrinberg)

  • Add support for library variants and default implementations. (#1900,
    @TheLortex)

  • Add experimental $ dune init command. This command is used to create or
    update project boilerplate. (#1448, fixes #159, @shonfeder)

  • Experimental Coq support (fix #1466, @ejgallego)

  • Install .cmi files of private modules in a .private directory (#1983, fix
    #1973 @rgrinberg)

  • Fix dune subst attempting to substitute on directories. (#2000, fix #1997,
    @rgrinberg)

  • Do not list private modules in the generated index. (#2009, fix #2008,
    @rgrinberg)

  • Warn instead of failing if an opam file fails to parse. This opam file can
    still be used to define scope. (#2023, @rgrinberg)

  • Do not crash if unable to read a directory when traversing to find root
    (#2024, @rgrinberg)

  • Do not exit dune if some source directories are unreadable. Instead, warn the
    user that such directories need to be ignored (#2004, fix #310, @rgrinberg)

  • Fix nested (binaries ..) fields in the env stanza. Previously, parent
    binaries fields would be ignored, but instead they should be combined.
    (#2029, @rgrinberg)

  • Allow "." in c_names and cxx_names (#2036, fix #2033, @rgrinberg)

  • Format rules: if a dune file uses OCaml syntax, do not format it.
    (#2014, fix #2012, @emillon)

1.8.2

10 Mar 01:26
14b570b
Compare
Choose a tag to compare

CHANGES:

1.8.1

08 Mar 11:42
6b14924
Compare
Choose a tag to compare

CHANGES:

1.8.0

07 Mar 15:53
9204f6d
Compare
Choose a tag to compare

CHANGES:

  • Clean up watch mode polling loop: improves signal handling and error handling
    during polling (#1912, fix #1907, fix #1671, @aalekseyev)

  • Change status messages during polling to be one-line, so that the messages are
    correctly erased by ^K. (#1912, @aalekseyev)

  • Add support for .cxx extension for C++ stubs (#1831, @rgrinberg)

  • Add DUNE_WORKSPACE variable. This variable is equivalent to setting
    --workspace in the command line. (#1711, fix #1503, @rgrinberg)

  • Add c_flags and cxx_flags to env profile settings (#1700 and #1800,
    @gretay-js)

  • Format dune printenv output (#1867, fix #1862, @emillon)

  • Add the (promote-into <dir>) and `(promote-until-clean-into

    )` modes for `(rule ...)` stanzas, so that files can be promoted in another directory than the current one. For instance, this is used in merlin to promote menhir generated files in a directory that depends on the version of the compiler (#1890, @diml)
  • Improve error message when dune subst fails (#1898, fix #1897, @rgrinberg)

  • Add more GC counters to catapult traces (fix908, @rgrinberg)

  • Add a preprocessor shim for the let+ syntax of OCaml 4.08 (#1899,
    implements #1891, @diml)

  • Fix generation of .merlin files on Windows. \ characters needed
    to be escaped (#1869, @mlasson)

  • Fix 0 error code when $ dune format-dune-file fails. (#1915, fix #1914,
    @rgrinberg)

  • Configurator: deprecated query_expr and introduced query_expr_err which is
    the same but with a better error in case it fails. (#1886, @ejgallego)

  • Make sure (menhir (mode promote) ...) stanzas are ignored when
    using --ignore-promoted-rules or -p (#1917, @diml)

1.7.3

27 Feb 10:30
Compare
Choose a tag to compare

CHANGES:

  • Fix interpretation of META files containing archives with / in
    the filename. For instance, this was causing llvm to be unusable
    with dune (#1889, fix #1885, @diml)

  • Make errors about menhir stanzas be located (#1881, fix #1876,
    @diml)

1.7.2

21 Feb 06:00
Compare
Choose a tag to compare

CHANGES:

  • Add ${corrected-suffix}, ${library-name} and a few other
    variables to the list of variables to upgrade. This fixes the
    support for various framework producing corrections (#1840, #1853,
    @diml)

  • Fix $ dune subst failing because the build directory wasn't set. (#1854, fix
    #1846, @rgrinberg)

  • Configurator: Add warning to Pkg_config.query when a full package expression
    is used. Add Pkg_config.query_expr for cases when the full power of
    pkg-config's querying is needed (#1842, fix #1833, @rgrinberg)

  • Fix unavailable, optional implementations eagerly breaking the build (#1857,
    fix #1856, @rgrinberg)

1.7.1

13 Feb 11:57
0c5ff45
Compare
Choose a tag to compare

CHANGES: