Releases: ocaml/dune
1.9.3
1.9.2
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 toopam-installer
. For example dune now
installs(foo.1 as man1/foo.1)
correctly and previously that was
installed toman1/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
1.9.0
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 theenv
stanza. Previously, parent
binaries
fields would be ignored, but instead they should be combined.
(#2029, @rgrinberg) -
Allow "." in
c_names
andcxx_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
1.8.1
1.8.0
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
andcxx_flags
to env profile settings (#1700 and #1800,
@gretay-js) -
Add the
)` 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)(promote-into <dir>)
and `(promote-until-clean-into -
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 introducedquery_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
1.7.2
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. AddPkg_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)