See full changelog
-
Fix configurator when using the MSVC compiler (#6538, fixes #6537, @nojb)
-
Fix running the RPC server on windows (#6721 fixes #6720, @rgrinberg)
Read the latest releases and updates from the OCaml ecosystem.
Fix configurator when using the MSVC compiler (#6538, fixes #6537, @nojb)
Fix running the RPC server on windows (#6721 fixes #6720, @rgrinberg)
Normal
syntax to Markdown
to better explain what the syntax is
and moved it to Mdx.Syntax
(#412, @Leonidas-from-XIV)part-end
MDX directive in
the output, before that line would've been dropped (#374, #387,
@Leonidas-from-XIV)On behalf of the ocaml-lsp team, Iβm pleased to announce ocaml-lsp-server versions 1.15.0-4.14
and 1.15.0-5.0
for OCaml 4.14 and 5.0, respectively. This is the first time we release ocaml-lsp supporting two compiler versions. We look forward to your feedback.
Enable semantic highlighting support by default (#933)
Support connecting over pipes and socket. Pipes on Windows aren't yet supported (#946)
More about communication channels in LSP specification.
Re-enable ocamlformat-rpc
for formatting code snippets (but not files and
not on Windows) (#920, #939)
One needs to have installed either ocamlformat
package version > 0.21.0 or,
otherwise, ocamlformat-rpc
package. Note that previously ocamlformat-rpc
came in a standalone OPAM package, but since ocamlformat
version > 0.21.0,
it comes within ocamlformat
package.
Add custom ocamllsp/hoverExtended
request (#561)
Support utf-8 position encoding clients (#919)
More about position encoding in LSP specification.
Show unwrapped module alias types on hovering over module names. This is due
to upgrading to merlin 4.7 and using merlin's verbosity=smart
by default
(#942)
Respect the client's completion item resolve and preSelect capabilities (#925, #936)
Disable polling for dune's watch mode on Windows and OCaml 4.14.0 (#935)
Fix semantic highlighting of "long identifiers," e.g., Foo.Bar.x
(#932)
Fix syncing of document contents:
@toplevel_printer
annotated printers for functors (#378 @metavinek)Oops, we went looking but didn't find the changelog for this release π
Feedback on this post is welcomed on Discuss!
We are pleased to announce the minor release of opam 2.1.4.
This opam release consists of backported fixes:
dose3 >= 6.1
and base64 >= 3.1.0
are now required (#5357)Opam installation instructions (unchanged):
From binaries: run
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --version 2.1.4"
or download manually from the Github "Releases" page to your PATH. In this case, don't forget to run opam init --reinit -ni
to enable sandboxing if you had version 2.0.0~rc manually installed or to update you sandbox script.
From source, using opam:
opam update; opam install opam-devel
(then copy the opam binary to your PATH as explained, and don't forget to run opam init --reinit -ni
to enable sandboxing if you had version 2.0.0~rc manually installed or to update your sandbox script)
From source, manually: see the instructions in the README.
We hope you enjoy this new minor version, and remain open to bug reports and suggestions.
We are pleased to announce the minor release of opam-publish 2.2.0.
This opam-publish release consists of the following breaking change:
and the following fixes:
Additions
--as-json
for the HTML renderer that emits HTML
fragments (preamble, content) together with metadata (table of contents,
breadcrumbs, whether katex is used) in JSON format. (@sabine, #908){m ... }
and {math ... }
tags. (@giltho, @gpetiot, #886)Bugfixes
Oops, we went looking but didn't find the changelog for this release π
(??)
custom prefix operator.
(#1507, fixes #1506)enclosing
command result (#1512)verbosity=smart
mode for type enclosing that only expand
modules' types (#1374, @ulugbekna)enclosing
command (#1512)Fix status line enabled when ANSI colors are forced. (#6503, @MisterDA)
Fix build with MSVC compiler (#6517, @nojb)
Do not shadow library interface modules (#6549, fixes #6545, @rgrinberg)
Dear dune users, It is my pleasure to announce that dune 3.6.0 is now available on opam π. Here's the changelog - I reused the same classification as in the previous announce for dune 3.5.0. Thanks again to all the contributors including bug reporters.
This lists features of the βduneβ executable itself. Upgrading dune will bring in these changes. We consider these changes safe, but it is difficult to define what a breaking change is for a command-line tool (for example, some error messages change). It is important to note that just upgrading the dune executable is not supposed to change how dune interprets existing projects. If just upgrading dune breaks compilation, it is a bug in dune, please report it!
$ dune ocaml top-module
subcommand to load modules directly without sealing them behind the signature. (#5940, @rgrinberg)$ dune external-lib-deps
under $ dune describe external-lib-deps
. (#6045, @moyodiallo)dune promotion
group: dune promote
is moved to dune promotion apply
(the former still works) and the new dune promotion diff
command can be used to just display the promotion without applying it. (#6160, fixes #5368, @emillon)subdir
(#6404, fixes #3502, @rgrinberg)CLICOLOR
and CLICOLOR_FORCE
to enable/disable/force ANSI colors. (#6340, fixes #6323, @MisterDA)._build/.rpc/dune
on windows to allow rpc clients to connect using the build directory. (#6329, @rgrinberg)This lists changes if you opt into the new (lang dune 3.6)
version in your dune-project file. For this too, these are changes that we consider safe, but they can require changes to your dune files. For example, sandboxing is enabled in more places, which means that you might have to be more precise in expressing your dependencies. Please reach out on the issue tracker if you have trouble fixing your dune file or if something does not seem to be possible anymore.
(glob_files <glob>)
and (glob_files_rec <glob>)
terms to the files
field of the install
stanza (#6250, closes #6018, @gridbugs)Byte_complete
binaries to be installable (#4837, @AltGr, @rgrinberg):standard
in the (modules)
field of the coq.pp
stanza (#6229, fixes #2414, @Alizter)(deps %{bin:...})
(#6326, @anmonteiro)(package ..)
set from depending on private libraries that don't belong to a package (#6385, fixes #6153, @rgrinberg)pkg-config
because we aren't tracking its external dependencies (#6052, @rgrinberg)Fix random requests failing after switching documents (#904, fixes #898)
Do not offer related diagnostic information unless the user enables in client capabilities (#905)
Do not offer diagnostic tags unless the client supports them (#909)
Do not attach extra data to diagnostics unless the client supports this (#910)
Use /bin/sh instead of /bin/bash. This fixes ocamllsp on NixOS
Fix various server crashes when opening non OCaml/Reason files. Files such as dune, cram, etc. would cause the server to crash. (#884, fixes #871)
Ignore unknown tags in merlin configuration to improve forward compatibility with Dune. (#883)
I'd like to announce the release of dune 3.5.0 on opam. This release is packed with fixes and new features, that are described below with a description of what this means for project maintainers.
This lists features of the "dune" executable itself. Upgrading dune will bring in these changes. We consider these changes safe, but it is difficult to define what a breaking change is for a command-line tool (for example, some error messages change). It is important to note that just upgrading the dune executable is not supposed to change how dune interprets existing projects. If just upgrading dune breaks compilation, it is a bug in dune, please report it!
clear-on-rebuild-and-flush-history
(#6065, @rgrinberg)(license)
(#6114,
fixes #6103, @emillon)(promote (until-clean))
when
--ignore-promoted-rules
(or -p
) is passed. (#6010, fixes #4401, @emillon)dune ocaml
. (#6038, @emillon,
#6169, @shonfeder)This is technically a subset of above section. For M1 mac users, dune 3.5.0 is the first version which will correctly support dune-build-info
.
This lists changes if you opt into the new (lang dune 3.5)
version in your dune-project
file. For this too, these are changes that we consider safe, but they can require changes to your dune
files. For example, sandboxing is enabled in more places, which means that you might have to be more precise in expressing your dependencies. Please reach out on the issue tracker if you have trouble fixing your dune file or if something does not seem to be possible anymore.
runtime_deps
field in the cinaps
stanza to specify runtime
dependencies for running the cinaps preprocessing action (#6175, @rgrinberg)dirs
field in the install
stanza to install entire
directories (#5097, fixes #5059, @rgrinberg)(include <file>)
term to the include_dirs
field for adding
directories to the include paths sourced from a file. (#6058, fixes #3993,
@gridbugs)(extra_objects ...)
field in (executable ...)
and (library ...)
stanzas (#6084, fixes #4129, @gridbugs)mode_specific_stubs
that allows the
specification of different flags and sources for foreign stubs depending on
the build mode (#5649, @voodoos)Foo__
when building a library Foo
(#6126, @rgrinberg)ODOC_SYNTAX
and will rerun accordingly (#6010, fixes
#1117, @emillon)These changes, associated with (lang dune 3.5)
, are specific to coq
.
%{coq:...}
macro for accessing data about the configuration about Coq.
For instance %{coq:version}
(#6049, @Alizter)(stdlib no)
.
(#6165 #6164, fixes #6163, @ejgallego @Alizter @LasseBlaauwbroek)Findlib
).(coq.theory ...)
stanza will now ensure that for each declared (plugin ...)
, the META
file for it is built before calling coqdep
. This enables
the use of the new Findlib
-based loading method in Coq 8.16; however as of
Coq 8.16.0, Coq itself has some bugs preventing this to work yet. (#6167 ,
workarounds #5767, @ejgallego)On behalf of the ocamllsp team, I'm pleased to announce version 1.14.0. This release contains a new code action to help you inline definitions thanks to @jfeser. We look forward to your feedback.
Code action for inlining let bindings within a module or expression. (#847)
Tag "unused code" and "deprecated" warnings, allowing clients to better display them. (#848)
Refresh merlin configuration after every dune build in watch mode (#853)
Respect showDocument
capabilities. Do not offer commands or code actions
that rely on this request without client support. (#836)
Fix signatureHelp on .mll files: avoid "Document.dune" exceptions
Feedback on this post is welcomed on Discuss!
We are pleased to announce the minor release of opam 2.1.3.
This opam release consists of backported fixes:
opam init
and opam init --reinit
when the jobs
variable has been set in the opamrc or the current config. (#5056)opam var
no longer fails if no switch is set (#5025)--switch <sw>
fails instead of writing an invalid switch-config
file (#5027)opam pin
(#5046)and improvements:
opam list --installable
queries combined with other filters (#4311)--available
, --installable
) (#4999)opam list --conflicts-with
when combined with other filters (#4999)opam show
by as much as 300% when the package to show is given explicitly or is unique (#4997)(#4172)You can also find API changes in the release note.
Opam installation instructions (unchanged):
From binaries: run
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --version 2.1.3"
or download manually from the Github "Releases" page to your PATH. In this case, don't forget to run opam init --reinit -ni
to enable sandboxing if you had version 2.0.0~rc manually installed or to update you sandbox script.
From source, using opam:
opam update; opam install opam-devel
(then copy the opam binary to your PATH as explained, and don't forget to run opam init --reinit -ni
to enable sandboxing if you had version 2.0.0~rc manually installed or to update your sandbox script)
From source, manually: see the instructions in the README.
We hope you enjoy this new minor version, and remain open to bug reports and suggestions.
Oops, we went looking but didn't find the changelog for this release π
.ml
, .mli
, etc.) (#795)On behalf of the dune team, Iβm pleased to announce the release of version 3.4.0.
Bug fixes, a couple new features, better hints and error messages - I won't restate what's in the changelog below. Thanks to everyone involved in this release!
Make dune describe
correctly handle overlapping implementations
for virtual libraries (#5971, fixes #5747, @esope)
Building the @check
alias should make sure the libraries and executables
don't have dependency cycles (#5892, @rgrinberg)
[ctypes] Add support for the errno
parameter using the errno_policy
field
in the ctypes settings. (#5827, @droyo)
Fix dune coq top
when it is invoked on files from a subdirectory of the
directory containing the associated stanza (#5784, fixes #5552, @ejgallego,
@rlepigre, @Alizter)
Fix hint when an invalid module name is found. (#5922, fixes #5273, @emillon)
The (cat)
action now supports several files. (#5928, fixes #5795, @emillon)
Dune no longer uses shimmed META
files for OCaml 5.x, solely using the ones
installed by the compiler. (#5916, @dra27)
Fix handling of the (deps)
field in (test)
stanzas when there is an
.expected
file. (#5952, #5951, fixes #5950, @emillon)
Ignore insignificant filesystem events. This stops RPC in watch mode from
flashing errors on insignificant file system events such as changes in the
.git/
directory. (#5953, @rgrinberg)
Fix parsing more error messages emitted by the OCaml compiler. In particular, messages where the excerpt line number started with a blank character were skipped. (#5981, @rgrinberg)
env stanza: warn if some rules are ignored because they appear after a wildcard rule. (#5898, fixes #5886, @emillon)
On Windows, XDG_CACHE_HOME is taken to be the FOLDERID_InternetCache
if
unset, and XDG_CONFIG_HOME and XDG_DATA_HOME are both taken to be
FOLDERID_LocalAppData
if unset. (#5943, fixes #5808, @nojb)
odoc-parser.2.0.0
(#2123, @gpetiot)
odoc-parser
{m ...}
available in doc-comments{math ...}
available in doc-commentsAllow cancellation of workspace symbols requests (#777)
Fix unintentionally interleaved jsonrpc IO that would corrupt the session (#786)
Ignore SIGPIPE
. (#788)
Fix a bad interaction between inferred interfaces and promotion code actions in watch mode (#753)
Fix URI parsing (#739 fixes #471 and #459)
bench
binary is not distributed anymore to avoid name collisions (#2104, @gpetiot)indicate-multiline-delimiters
(#2116, @gpetiot).ocp-indent
files (#2103, @gpetiot)max-indent = 2
(#2099, @gpetiot)|
under keyword instead of parenthesis (#2102, @gpetiot)Oops, we went looking but didn't find the changelog for this release π
lwt_logs