Releases: dart-lang/dartdoc
Releases · dart-lang/dartdoc
v6.2.1
v6.2.0
- Add basic support for Dart 3.0 features, including records and class
modifiers. (#3340, #3354) - Stop generating a null-safety badge for elements in a null-safe library.
(#3295) - Use a sun icon for switching to the light theme. (#3309)
- Standardize the search icon style to a new SVG. (#3302)
- Remove CSS classes no longer used in dartdoc generated content. (#3302)
- Fix an issue where we created a temporary directory when performing a dry run.
(#3333)
v4.1.0
- Move to analyzer 2.7.0. (#2845)
- The library interface is now explicitly marked as experimental via meta.
- Experimental feature: HTML output from markdown rendering,
{@tool}and
{@inject-html}is sanitized when hidden option--sanitize-htmlis passed. - Refactor of ModelElement and ElementType constructors. Technically breaking
but known users of the API do not attempt to construct these types by hand.
(#2828, #2829) - Move to recommended set of hints in linter and correct some small errors
in regexps. (#2833)
v4.0.0
4.0.0
- BREAKING CHANGE: Refactors to support NNBD and adapt to new analyzer
changes are technically semver breaking. If you make extensive use of
thedocumentationCommentgetter onModelElementor other deep
structural elements in dartdoc or custom templates, they could break
dependent code. (#2819, #2818, #2817, #2806, #2798) - BREAKING CHANGE: Remove a large number of long-standing deprecated
symbols in dartdoc. (#2821) - Fix a problem where certain comment reference strings could
crash the parser. (#2813, #2808) - Fix an assert in canonicalization for enums. (#2812)
v3.1.0
- This version supports the Dart language feature constructor tearoffs,
pending completion by other tools. - Allow embedded type parameters in comment references. (#2772)
- Add testing for constructor tearoff constant rendering. (#2780)
- Do not crash on package not found, instead provide a more useful
explanation for users. (#2781, #2778) --allow-warnings-in-packagesno longer also applies to errors.
The--allow-errors-in-packagesflag should now work as intended.
(#2785)- Some additional deprecations preparing for NNBD. (#2784)
v3.0.0
- BREAKING CHANGE: Refactor of Class, Enum, and Mixin types result in some
deleted interfaces in templates and a change in class hierarchy. (#2770) - The experimental 'constructor-tearoffs' feature has been partially
implemented in dartdoc and should work in simple cases. (#2655, #2770,
#2768, #2766, #2763). - BREAKING CHANGE: The old lookup code has been deleted, along with the
--no-enhanced-reference-lookupflag. (#2765) - Deprecated uses of pub have been removed. (#2764)
- Some internal refactors to support NNBD migration.
v2.0.0
- BREAKING CHANGE: changes to dartdoc options API
to prepare for NNBD migration (#2745, #2744). - Fix unbound type reference in extension method comment
reference creating a null dereference (#2741, #2740) - Update to analyzer 2.0. (#2734)
- Fix comment references on generic typedefs in new
lookup code. (#2755, #2756)
v1.0.2
v1.0.1
v1.0.0
1.0.0
- BREAKING CHANGE: Enable the enhanced lookups by default.
Some formerly invalid doc references will no longer be
ignored and now generate warnings, and some ambiguous
references may change where they point. As a fallback,
allow a--no-enhanced-reference-lookupbut this will
be removed soon so please file bugs if you need to use this.
(#2705) - Use the Mustachio AOT compiler for default templates. (#2677)
- Unhide the
--formatoption so users can discover
the markdown support (#2703) - Internal refactors of tool/dartdoc code. (#2686, 2669)
- Many changes to improve compliance on the new lookup code.
(#2709, #2707, #2706, #2703, #2702, #2700, #2691, #2687, #2684,
#2682, #2673, #2672, #2671) - Update favicon to match dart.dev. (#2681)
- Runtime and AOT renderer fixes for Mustachio. (#2697,
#2674, #2676, #2670, #2697) - Fix several problems with head analyzer. (#2680, #2687)
- The favicon has been updated to match dart.dev. (#2681)
- A variety of internal refactoring changes.