[new release] dune (15 packages) (3.12.0) #24862
Closed
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:
Introduce
$ dune ocaml doc
to open and browse documentation. (feature: introduce [$ dune ocaml doc] dune#7262, fixesdune doc dune#6831, @EmileTrotignon)
dune cache trim
now accepts binary byte units:KiB
,MiB
, etc. (feature: add KiB,MiB,GiB and TiB values dune#8618,@Alizter)
No longer force colors for OCaml 4.03 and 4.04 (refactor: remove color settings for 4.03 and 4.04 dune#8778, @rgrinberg)
Introduce new experimental odoc rules (New odoc rules dune#8803, @jonjudlam)
Introduce the
runtest_alias
field to thecram
stanza. This allowsremoving default
runtest
alias from tests. (@rgrinberg, feature(cram): allow overriding default alias dune#8887)Do not ignore libraries named
bigarray
when they are defined in conjunctionwith OCaml 5.0 (fix: ignore [bigarray] correctly dune#8902, fixes Local libraries named bigarray are incorrectly removed dune#8901, @rgrinberg)
Dependencies in the copying sandbox are now writeable (fix: make copying sandbox files writeable dune#8920, @rgrinberg)
Absent packages shouldn't prevent all rules from being loaded (fix: load rules even if some packages aren't found dune#8948, fixes
dune shouldn't require dependencies to be installed in order to run
@fmt
dune#8630, @rgrinberg)Correctly determine the stanza of menhir modules when
(include_subdirs qualified)
is enabled (@rgrinberg, fix(menhir): include_subdirs qualified dune#8949, fixes(include_subdirs qualified)
clashes with nested Menhir parsers dune#7610)Display cache location in Dune log (Show dune cache location info in log dune#8974, @nojb)
Re-run actions whenever
(expand_aliases_in_sandbox)
changes (fix: include expand aliases in digest dune#8990,@rgrinberg)
Rules that only use internal dune actions (
write-file
,echo
, etc.) cannow be sandboxed. (fix: allow internal dune actions to be sandboxed dune#9041, fixes rfc(engine): sandbox only when needed rather than throwing an error dune#8854, @rgrinberg)
Do not re-run rules when their location changes (fix: remove [loc] from rule digest dune#9052, @rgrinberg)
Correctly ignore
bigarray
on recent version of OCaml (fix: properly ignore bigarray if it shouldn't exist dune#9076, @rgrinberg)Add
test_
prefix to default test name indune init project
(Addtest_
prefix to default test name indune init project
dune#9257, fixesdune init project foo
gives poor default name for test dune#9131, @9sako6)Add
coqdoc_flags
field tocoq
field ofenv
stanza allowing the settingof workspace-wide defaults for
coqdoc_flags
. (feature(coq): coqdoc_flags in env stanza dune#9280, fixescoqdoc_flags
inenv
stanza dune#9139, @Alizter)[coq rules] Be more tolerant when coqc --print-version / --config don't work
properly, and fallback to a reasonable default. This fixes problems when
building Coq projects with
(stdlib no)
and likely other cases. (fix: failing coq --config dune#8966, fix[Coq]
(stdlib no)
broken since 3.8.0 dune#8958, @Alizter, reported by Lasse Blaauwbroek)Dune will now run at a lower framerate of 15 fps rather than 60 when
INSIDE_EMACS
. (dune_console: make refresh rate configurable and default INSIDE_EMACS to 15 dune#8812, @Alizter)dune-build-info: when
version=""
is found in aMETA
file, we now returnNone
as a version string (fix(pkg): handle empty package version dune#9177, @emillon)Dune can now be built and installed on Haiku (feature: Haiku support dune#8795, fix unable to bootstrap on Haiku dune#8551, @Alizter)
Mark installed directories in
dune-package
files. This fixes(package)
dependencies against packages that contain such directories. (feat: record installed directories in dune-package dune#8953, fixes
(package) dependencies do not work when directory targets are used dune#8915, @emillon)