Add a --duniverse-mode to ocaml-mdx rule so that the generated rules work within a duniverse
Allow to import arbitrary files (not only .ml/.mli ones) into code blocks using the file label. (#203, #207, @voodoos)
Allow to set the --non-deterministic option through the MDX_RUN_NON_DETERMINISTIC env variables (#208, @NathanReb)
Add support for OCaml 4.10 (#204, @kit-ty-kate)
Infer syntax kind when --syntax is not set, and add 'markdown' as an alias to 'normal' (#222, @gpetiot)
Add ocaml-mdx deps command to be used by dune to compute file and dir dependencies of an mdx file. (#217, @voodoos)
Add new delimiters syntax using comments for partial OCaml files include (#212, @voodoos).
Changed
Do not unset INSIDE_DUNE when executing shell commands by default (#224, @NathanReb)
Fixed
Fix a bug that could cause ocaml-mdx test to crash on some include in toplevel code blocks (#202, @trefis)
Removed
Remove the direction option, only synchronize from .ml to .md files (#214, @gpetiot)
1.5.0 (2019-11-29)
Added
Add a --output/-o option to the test subcommand to allow specifying a different output file to write the corrected to, or to write it to the standard output (#194, @NathanReb)
Migrate to OCaml 4.08 AST to add support for let* bindings (#190, @gpetiot)
Add --syntax option to rule subcommand to allow generating rules for cram tests (#177, @craigfe)
Add a require-package label to explicitly declare dune package dependencies of a code block (#149, @Julow)
Add an unset- label to unset env variables in shell blocks (#132, @clecat)
Changed
Format rules generated by ocaml-mdx rule using dune format-dune-file (#184, @NathanReb)
Run promotion of markdown files before .ml files in generated dune rules (#140, @clecat)
Fixed
Use module_presence information on Env.summary to prevent fetching absent modules from the toplevel env (#186, @clecat)
Remove trailing whitespaces at the end of toplevel or bash evaluation lines (#166, @clecat)
Improve error reporting of ocaml-mdx test (#172, @Julow)
Rule: Pass the --section option to test (#176, @Julow)
Remove trailing whitespaces from shell outputs and toplevel evals (#166, @clecat)
Remove inappropriate empty lines in generated dune rules (#163, @Julow)
Fix ignored skip label in ocaml-mdx pp (#1561, @CraigFe)
Fix synchronization of new parts from markdown to .ml (#156, @Julow)
Fix ignored [@@@parts ...] markers within module definitions (#155, @Julow)
Fix a bug in internal OCaml version comparison that lead to crashes in some cases (#145, @gpetiot)
Promote to empty .ml file when using to-ml direction (#139, @clecat)
Apply --force-output to .ml file as well (#137, @clecat)
Fix a bug preventing .corrected files to be written in some cases (#136, @clecat)
Add compatibility with 4.09.0 (#133, @xclerc)
Removed
Remove the output subcommand as it was very specific to RealWorldOCaml needs (#195, @NathanReb)
Remove the infer-timestamp direction (#171 @Julow)
1.4.0 (2019-06-11)
Add --force-output option to force generation of diff file (#118 @clecat)
Support OCaml 4.08.0 (#121 @xclerc)
README and documentation fixes (#122 #118 @andreypopp @clecat @samoht)
Use latest ocaml-migrate-parsetree interfaces (@avsm)
1.3.0 (2019-03-01)
Updated readme file with the new features: dune rules, named environment and ocaml versions, Some grammar correction too (@gpetiot, #101, aantron, #102)
Better lexer error messages (@avsm, #103)
Added cram syntax parsing (@trefis, #106)
Renamed mdx to ocaml-mdx to avoid conflicts/for more precision (@clecat, #110, #115)