Releases: realworldocaml/mdx
Releases · realworldocaml/mdx
2.5.0
CHANGES:
Added
- Support OCaml 5.3 (#457, @anmonteiro, @samoht, @voodoos)
- Support multiple version labels in block headers. The block is active if all
the version formulaes are satisfied (#458, @samoht)
Fixed
- Avoid infinite loop in lexer on unclosed code block (#444, @edwintorok)
- Fix support for skipped blocks in mli and mld files (#462, @samoht)
2.4.1
2.4.0
2.3.1
CHANGES:
Added
-
Add
os_type
label to enable/disable based onSys.os_type
(#433,
@polytypic) -
Make MDX compatible with OCaml 5.1 (#435, @polytypic and @kit-ty-kate)
Changed
- Vendored the odoc-parser library, removing the need to have it
as a dependency. (#430, @jonludlam)
2.3.0
CHANGES:
Added
- Added support for
mld
files (#423, @jonludlam)
Changed
- Switch to using the parser that toplevel uses (found in a mutable
ref
, instead of always the official OCaml parser). This allows
Camlp5's parser to be used with MDX. (#417, @chetmurthy)
2.2.1
2.2.0
CHANGES:
Added
- Report all parsing errors in Markdown files (#389, @NathanReb)
Changed
Fixed
- Fixed compatibility with Cmdliner 1.1.0 (#371, @Leonidas-from-XIV)
- Report errors and exit codes of toplevel directives (#382, @talex5,
@Leonidas-from-XIV) - Fix block locations in error reporting (#389, @NathanReb)
- Include the content of the line that features the
part-end
MDX directive in
the output, before that line would've been dropped (#374, #387,
@Leonidas-from-XIV) - Handle EINTR signal on waitpid call by restarting the syscall. (#409, @tmcgilchrist)
- Fix parsing of multiline toplevel phrases in .mli files (#394, #397,
@Leonidas-from-XIV)
Removed
- Removed warning about missing semicolons added in MDX 1.11.0 and the
automatic insertion of semicolons in the corrected files introduced in MDX
2.0.0. (#398, @Leonidas-from-XIV)
2.1.0
CHANGES:
Added
- Add support for adding language tags and metadata labels in
mli
files.
(#339, #357, @Julow, @Leonidas-from-XIV) - Add support for running non-deterministic tests in
dune
MDX 0.2 stanza by
setting theMDX_RUN_NON_DETERMINISTIC
environment variable. (#365,
#366, @Leonidas-from-XIV)
2.0.0
CHANGES:
Added
- Add trailing
;;
to the output of toplevel phrases that were missing it.
(#346, @Leonidas-from-XIV) - Make MDX compatible with OCaml 4.14 (#356, @NathanReb)
Fixed
- Use the same output as the normal toplevel. Mdx used to carry an unsafe patch
to work around a bug fixed in OCaml 4.06 and that patch would change the
printed types in some corner cases. (#322, @emillon)
Removed
- Dropped compatibility with older OCaml versions. The minimal supported range
is 4.08 to 4.13 now (#345, @Leonidas-from-XIV) - Do not install deprecated
mdx
binary anymore (#274, @gpetiot) - Remove deprecated
rule
command (#312, @gpetiot) - Remove support for
require-package
label, use themdx
stanza in dune
instead. This label was only used for therule
command and can now be
safely removed. (#363, @Leonidas-from-XIV)