[new release] dune (15 packages) (3.9.0) #24013
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:
Validate file extension for
$ dune ocaml top-module. (Validate top-module input dune#8005, fixesdune ocaml top-modulecrashes when file doesn't have.mlextension or is directory dune#8004, @3Rafal)Include the time it takes to read/write state files when
--trace-fileisenabled (feature: trace loading/marshalling files dune#7960, @rgrinberg)
Add
dune showcommand group which is an alias ofdune describe. (create dune show command group dune#7946,@Alizter)
Include source tree scans in the traces produced by
--trace-file(feature: extend traces to include source scans dune#7937,@rgrinberg)
Cinaps: The promotion rules for cinaps would only offer one file at a time no
matter how many promotions were available. Now we offer all the promotions at
once (fix(cinaps): offer all promotions dune#7901, @rgrinberg)
Do not re-run OCaml syntax files on every iteration of the watch mode. This
is too memory consuming. (fix: do not re-run jbuild syntax dune files on every run dune#7894, fix
dune build -wmemory usage grows without bounds when using OCaml syntax in dune files dune#6900, @rgrinberg)Add
--alloption todune rpc statusto show all Dune RPC servers running.(rpc: dune rpc status --all dune#8011, fix Display all Running Dune Instances dune#7902, @Alizter)
Remove some compatibility code for old version of dune that generated
.merlinfiles. Now dune will never remove.merlinfiles automatically(fix: remove .merlin handling from the engine dune#7562)
Add
dune show envcommand and makedune printenvan alias of it. (feature: add dune show env and make dune printenv an alias of it dune#7985,@Alizter)
Add additional metadata to the traces provided by
--trace-filewhenever--trace-extendedis passed (Trace more data dune#7778, @rleshchinskiy)Extensions used in
(dialect)can contain periods (e.g.,cppo.ml). (dialects: allow extensions containing periods dune#7782,fixes Support multiple extensions in (dialect) patterns dune#7777, @nojb)
Allow
(include_subdirs qualified)to be used when libraries define a(modules ...)field (test: demonstrateinclude_subdirs qualifiedcrash with modules OSL dune#7797, fixes Crash when combining(include_subdirs qualified)and(modules :standard \ ...)dune#7597, @anmonteiro)$ dune describeis now a command group, so arguments to subcommands must bepassed after subcommand itself. (split describe into cmdliner subcommands dune#7919, @Alizter)
The
interfaceandimplementationfields of a(dialect)are now optional(Make the
interfaceandimplementationfields of a dialect optional dune#7757, @gpetiot)Add commands
dune show targetsanddune show aliasesthat display all theavailable targets and aliases in a given directory respectively. (feature: dune show targets and dune show aliases dune#7770,
grants Diagnose missing target errors dune#265, @Alizter)
Allow multiple globs in library's
(stdlib (internal_modules ..))(@anmonteiro, feat: allow multiple globs in library's (stdlib (internal_modules ...)) dune#7878)
Attach melange rules to the default alias (melange - add
melange.emittargets to@allalias as well by default dune#7926, @haochenx)In opam constraints, reject
(and)and(or)with no arguments at parsetime (fix(opam): cleanly reject argumentless (and)/(or) dune#7730, @emillon)
Compute digests and manage sandboxes in background threads (feature: enable async sandboxing/digests dune#7947,
@rgrinberg)
Add
(build_if)to the(test)stanza. When it evaluates to false, theexecutable is not built. (add: build_if in test stanza dune#7899, fixes enabled_if doesn't work in (test) dune#6938, @emillon)
Add necessary parentheses in generated opam constraints (
opam_constraint tresult should respect precedence dune#7682, fixes Opam constraints operator precedence is not honored. dune#3431,@Lucccyo)