[new release] dune (15 packages) (3.13.0~alpha1) #25067
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:
Do not ignore
(formatting ..)
settings in context or workspace files(refactor: introduce simpler env stanza db dune#8447, @rgrinberg)
Add command
dune cache clear
to completely delete all traces of the Dunecache. (Add
dune cache clear
command dune#8975, @nojb)Fixed a bug where Dune was incorrectly parsing the output of coqdep when it
was escaped, as is the case on Windows. (fix(coq): unescape \: to : dune#9231, fixes dune does not recognise paths starting with
C:/
as absolute on Windows dune#9218, @Alizter)Copying mode for sandboxes will now follow symbolic links (fix: copy sandboxes should copy symlinks as well dune#9282, @rgrinberg)
Forbid the empty
(binaries ..)
field in theenv
stanza in the workspacefile unless language version is at least 3.2.
[coq] Fix bug in computation of flags when composed with boot theories.
([coq] Correctly handle composed stdlib after coq lang 0.8 dune#9347, fixes [coq] Composition with (boot) theories is not working in Dune 3.8 dune#7909, @ejgallego)
Fixed a bug where the
(select)
field of the(libraries)
field of the(test)
stanza wasn't working properly. (fix: dir_contents from select library dep in test stanza dune#9387, fixes select doesn't work in test stanza dune#9365, @Alizter)Allow to disable Coq 0.8 deprecation warning ([coq] Allow to disable Coq language deprecation warning. dune#9439, @ejgallego)
Fix handling of the
PATH
argument todune init proj NAME PATH
. Anintermediate directory called
NAME
is no longer created ifPATH
issupplied, so
dune init proj my_project .
will now initialize a project inthe current working directory. (fix(init): correct behavior of PATH argument for
dune init project
dune#9447, fixes Initialize new project in current directory dune#9209, @shonfeder)Allow
OCAMLFIND_TOOLCHAIN
to be set per context in the workspace filethrough the
env
stanza. (fix(pkg): allow OCAMLFIND_TOOLCHAIN to be set per context dune#9449, @rgrinberg)Experimental doc rules: Correctly handle the case when a package depends upon
its own sublibraries (Fix for #9456 dune#9461, fixes Incorrect dependency handling in new odoc rules. dune#9456, @jonludlam)
Resolve various public binaries to their build location, rather than to where
they're copied in the
_build/install
directory (fix: resolve installed binaries to local paths dune#9496, fixes [coq] Composition with (boot) theories hangs with a cycle in Dune > 3.7 when coq lang > 0.6 dune#7908,@rgrinberg).
Menhir: generate
.conflicts
file by default. Add new field to the(menhir)
stanza to control the generation of this file:(explain <blang expression>)
. Introduce(menhir (flags ...) (explain ...))
field in the(env)
stanza, delete(menhir_flags)
field. All changes are guarded undera new version of the Menhir extension, 3.0. (Add (explain) field to (menhir) stanza dune#9512, @nojb)
Correctly ignore warning flags in vendored projects (refactor: introduce inherited fields in stanza db dune#9515, @rgrinberg)
Directory targets can now be caches. (Cache directory targets dune#9535, @rleshchinskiy)
Remove warning 30 from default set for projects where dune lang is at least
3.13 (Remove warning 30 from the standard set. dune#9568, @gasche)
It is now possible to use special forms such as
(:include)
and variables%{read-lines:}
in(modules)
and similar fields. Note that thedependencies introduced in this way (ie the files being read) must live in a
different directory than the stanza making use of them. (Allow expansion in
(modules)
field dune#9578, @nojb)Use watch exclusions in watch mode on MacOS (fix: use standard_watch_exclusions with fsevents dune#9643, fixes dune build -w exclusion does not work in Mac OS dune#9517,
@PoorlyDefinedBehaviour)
Fix merlin configuration for
(include_subdirs qualified)
modules (fix: correctly output -open flags in merlin dune#9659,fixes
(include_subdirs qualified)
leads to some spurious ocaml-lsp errors dune#8297, @rgrinberg)Fix handling of
enabled_if
in binary install stanzas. Previously, we'dignore the result of
enabled_if
when evaluating%{bin:..}
(fix: optional binaries handling dune#9707,@rgrinberg)
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)ctypes: fix an error where
(ctypes)
with no(function_description)
wouldcause an error trying refer to a nonexistent
_stubs.a
dependency (fix(ctypes): only function descriptions have stubs dune#9302,fix ctypes: missing rule for stubs when only using a type description dune#9300, @emillon)