[new release] dune (15 packages) (3.15.0) #25615
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fast, portable, and opinionated build system
CHANGES:
Added
Add link flags to to
ocamlmklib
for ctypes stubs (Add link flags ocamlmklib when using ctypes stubs. dune#8784, @frejsoya)Remove some unnecessary limitations in the expansions of percent forms in
install stanza. For example, the
%{env:..}
form can be used to select filesto be installed. (fix: remove expansion limitation dune#10160, @rgrinberg)
Allow artifact expansion percent forms (
%{cma:..}
,%{cmo:..}
, etc.) inmore contexts. Previously, they would be randomly forbidden in some fields.
(fix: allow looking up artifacts everywhere dune#10169, @rgrinberg)
Allow
%{inline_tests}
in more contexts (fix: allow inline test expansion everywhere dune#10191, @rgrinberg)Remove limitations on percent forms in the
(enabled_if ..)
field oflibraries (feature: remove limitations on [enabled_if] on libraries dune#10250, @rgrinberg)
Support dialects in
dune describe pp
(feat(describe): support dialects in describe pp dune#10283, @emillon)Allow defining executables or melange emit stanzas with the same name in the
same folder under different contexts. (eif: fix name collision in same folder for exes and melange emits dune#10220, @rgrinberg, @jchavarri)
Fixed
coq: Delay Coq rule setup checks so OCaml-only packages can build in hybrid
Coq/OCaml projects when
coqc
is not present. Thanks to @vzaliva for thetest case and report (fix(coq): delay boot type detection dune#9845, fixes regression on missing Coq dune#9818, @rgrinberg, @ejgallego)
Fix conditional source selection with
select
onbigarray
in OCaml 5(fix:
select
withbigarray
in OCaml 5 dune#10011, @moyodiallo)melange: fix inconsistency in virtual library implementation. Concrete
modules within a virtual library can now refer to its virtual modules too
(fix(melange): depend on selected impl when setting up JS rules for virtual lib dune#10051, fixes Inconsistent behaviour for virtual libraries using melange mode dune#7104, @anmonteiro)
melange: fix a bug that would cause stale
import
paths to be emitted whenmoving source files within
(include_subdirs ..)
(fix(melange): track immediate.cmj
deps as dependencies of JS rules dune#10286, fixes Melange: moving modules inside a library with include_subdirs leads to broken paths dune#9190,@anmonteiro)
Dune file formatting: output utf8 if input is correctly encoded (fix: handle utf8 characters in the dune files(#9728) dune#10113,
fixes Synopsis & description characters are escaped dune#9728, @moyodiallo)
Fix expanding dependencies and locks specified in the cram stanza.
Previously, they would be installed in the context of the cram test, rather
than the cram stanza itself (fix: use the correct expander for cram stanzas dune#10165, @rgrinberg)
Fix bug with
dune exec --watch
where the working directory would always beset to the project root rather than the directory where the command was run
(Exec watch mode spawns processes with initial cwd dune#10262, @gridbugs)
Regression fix: sign executables that are promoted into the source tree
(fix(codesign): run hook for promoted executables dune#10263, fixes Dune 3.11 introduces regression on macOS with regarding to executable promotion dune#9272, @emillon)
Fix crash when decoding dune-package for libraries with
(include_subdirs qualified)
(fix: decoding dune-package crashes with (include_subdirs qualified) dune#10269, fixes Error in generated dune-package file dune#10264, @emillon)Changed
--react-to-insignificant-changes
option. (fix: remove the --react-to-insignificant-changes option dune#10083, @rgrinberg)