Skip to content

Commit d6999cc

Browse files
committed
Bump to 1.4.0 and write changelog
1 parent d919a62 commit d6999cc

File tree

2 files changed

+85
-1
lines changed

2 files changed

+85
-1
lines changed

CHANGES.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,87 @@
1+
1.4.0
2+
-----
3+
4+
Changes
5+
6+
- All parsing errors are now recoverable warnings (#238).
7+
- Page titles are now level-0 headings (`{0 ...}`), and top-level sections
8+
within a page are level-1 headings (`{1 ...}`) (#217, Rizo Isrof).
9+
- Don't render definitions of externals (#275, Nik Graf).
10+
- Disable programming ligatures (#248).
11+
- Rename `--root-uri` option to `--xref-base-uri` (#223, Rizo Isrof).
12+
- Deprecate redundant reference kind annotations (#246).
13+
14+
Additions
15+
16+
- Preliminary compatibility with the current 4.08 beta releases (#309, Jon
17+
Ludlam).
18+
- Paragraph headings (`{4 ...}`) and subparagraph headings (`{5 ...}`) (#217,
19+
Rizo Isrof).
20+
- `odoc support-files-targets` command (#232).
21+
- Recommend [`bsdoc`](https://ostera.github.io/bsdoc/docs/BsDoc/) for using
22+
odoc with BuckleScript (#269, Leandro Ostera).
23+
24+
Bugs fixed
25+
26+
- Improve breadcrumbs on `.mld` pages (#293, Daniel Buenzli).
27+
- Display tables of contents in nested module and class pages (#261, Rizo
28+
Isrof).
29+
- Uncaught exception when parsing references to operators with `-` in them,
30+
such as `@->` (#178).
31+
- Incorrect parsing of references to operators with `.` in them, such as `*.`
32+
(#237).
33+
- Assertion failure when processing optional arguments in an `.ml` file with a
34+
type annotation, when that type annotation uses an alias of `'a option`
35+
(#101).
36+
- Assertion failure when two modules with the same name are found by odoc (#148,
37+
Jon Ludlam).
38+
- Verbatim blocks (`{v ... v}`) can now only be terminated if the `v}` is
39+
immediately preceded by whitespace (#71, reported Daniel Buenzli).
40+
- Wrong column numbers for errors reported in comments (#227, #253).
41+
- Restore parsing of ocamldoc-style reference kind annotations (#244).
42+
- Ordinary `type` keyword instead of `and` rendered in HTML for
43+
mutually-recursive types (#105, reported @Fourchaux).
44+
- `nonrec` keyword not rendered (#249).
45+
- `and` not rendered for mutually-recursive modules, classes, and class types
46+
(#251).
47+
- Outer comment attached to a module rendered when the module is included (#87,
48+
Jon Ludlam).
49+
- Polymorphic variant constructor documentation not rendered (#176, reported
50+
@steinuil).
51+
- Variant constructor and record field documentation styled differently (#260,
52+
Jon Ludlam).
53+
- Sloppy keyword markup in HTML output (#319).
54+
- Rendering of multiple `constraint` clauses (#321).
55+
- Incorrect order of functor arguments (#261, Rizo Isrof).
56+
- `odoc html` option `-o` now creates the output directory if it does not exist
57+
#171, #264 Rizo Isrof).
58+
- `odoc html-targets` output now includes path prefix given through `-o` option
59+
(#173, Rizo Isrof).
60+
- Allow `-I` and `-o` options to refer to non-existent directories (#32, #170,
61+
Daniel Buenzli).
62+
- Make `odoc compile-targets` match `odoc compile` (#273, Daniel Buenzli).
63+
- `odoc compile-deps` does not work on `.cmt` files (#162, Daniel Buenzli).
64+
- `odoc html-deps` now scans for `.odoc` files recursively (#307, Daniel
65+
Buenzli).
66+
- `odoc html-targets` ignores stop comments (#276, Daniel Buenzli).
67+
- `odoc html-targets` and `odoc html-deps` segfault on `.mld` pages (#277, #282,
68+
Daneil Buenzli).
69+
- `--theme-uri` option not propagated to some subpages (#318, Thomas Refis).
70+
- Binary files not opened in binary mode (#281, Ulrik Strid).
71+
72+
Build and development
73+
74+
- Always print backtraces for unhandled exceptions (3d10feb).
75+
- CI on macOS (#216, Leandro Ostera).
76+
- Test runner improvements (#266, Rizo Isrof).
77+
- Fix esy builds in Travis (#301, Jon Ludlam).
78+
- Don't require `make` in the esy build (#308, Leandro Ostera).
79+
- Get rid of some large GADTs (#292, Jon Ludlam).
80+
- Remove dependency on `bos` (#305, Daniel Buenzli).
81+
- Remove dependency on `rresult` (#306, Daniel Buenzli).
82+
- Remove dependency on `bisect_ppx`, previously present in development
83+
checkouts (#316).
84+
185
1.3.0
286
-----
387

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "odoc",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"description": "The OCaml/Reason Documentation Generator",
55
"repository": "https://github.com/ocaml/odoc",
66
"authors": [

0 commit comments

Comments
 (0)