Releases: dart-lang/dartdoc
Releases · dart-lang/dartdoc
v0.28.0
- Fix a crash when a Dart library doesn't have the .dart suffix (#1897)
- Fix a crash when a Dart file is loaded with an unresolvable
prefix import in analyzer (#1896) - Do not execute tools to generate documentation for non-canonical
elements that have canonical counterparts. This eliminates
"duplicate" tool runs that serve no purpose for generated docs
or macro loading. (#1898) - Fix a minor problem where invalid command line parameters could
generate an ugly exception (#1895) - Remove internal copy of mustache4dart and depend on the mustache
package. Many minor changes to templating as a result. (#1894) - Breaking change to warning handling. Many new command line options
and dartdoc_options.yaml settings can constrain and configure
how warnings are interpreted by dartdoc, and whether they are fatal.
The old --show-warnings flag has been removed. (#1891, #1343, #1412, #1480) - Fix a crash when loading README.md files that have invalid UTF-8.
(#1890, #1889) - Early implementation of experiment flags for Dart tools, based
on the analyzer (#1884)
v0.27.0
- Several dartdoc project infrastructure changes, including coverage
support. (#1869, #1878, #1879, #1881, #1882) - Fixed many issues that made mobile/small screen usage of dartdoc
impossible. Mobile users should now be able to do basic browsing and
searching in API docs. (#1873, #908, #1048, #1348, #1469) - Support import prefix resolution in dartdoc. (#1875, #1402).
v0.26.1
- Fix bug that accidentally caused dartdoc to create (and overwrite with)
multiple snapshots in parallel for a single tool (#1861, #1862) - Refactor comment reference handling for performance and readability (#1863)
- Simplify temp file creation and reduce the amount of filesystem churn
for tools (#1865) - Reenable testing for flutter plugin doc generation (This requires
a Flutter SDK with flutter/flutter#25243 to work with tools enabled).
Flutter plugin doc generation now requires your flutter installation to have
'flutter update-packages' run on it before it will work.
v0.26.0
- Remove crossdart support (#1856)
- Launch helper tools and construct PackageGraphs asynchronously (#1849)
- Refactor Dartdoc to avoid use of analyzer's computeNode, and prevent it from holding
on to fully resolved ASTs from analyzer (#1851, #1857, #1858) - Dartdoc no longer attempts to report analysis errors but assumes they will be non-fatal
and carries on (#1845) - Add command line flag to allow disabling tools (#1853)
v0.25.0
0.25.0
- Fix crash if a code reference ambiguously referred to a parameter of
an optional function parameter (#1835, #1841) - Allow annotations that return the dynamic type (#1834, #1840)
- Better error messages in the case of a package with no documentable
libraries (#1832) - Fix a problem where the reexport tagger could trigger stack overflow
if a library exported itself (#1832, #1838) - Performance-related refactorings to return some of the performance lost
with macro templates in private libraries (#1828, #1829, #1831, #1837) - Fix several Flutter problems (#1819)
- Fix assertion failure if macros are defined in packages with no public
libraries - Allow declaring macro templates in private libraries
- Avoid circular dependency in finding special objects
- Populate reference cache with child elements of mixins (fixes ~45 links
inside Flutter)
- Fix assertion failure if macros are defined in packages with no public
- Added support for automatic snapshotting of external tools (i.e. for {@tool}
directives) written in Dart. (#1820) - Changes to reduce use of internal APIs in analyzer (#1817, #1825)
- Template text now appears where it is defined in addition to where it is
referenced (#1812) - Change placeholder string in search box to 'Search API Docs'
- Fix some instances where macros were not being resolved correctly (#1811)
- Macro templates now appear where they are defined in addition to where
they are referenced (#1810)
v0.24.1
v0.24.0
v0.23.1
v0.23.0
- Document covariant parameters and fields (#1782)
- Implement new-style mixin support for Dart 2.1 (#1765)
- Remove direct dependency on front_end package (#1780)
- Travis/testing and grinder script changes (#1777, #1771)
- Captions on class pages now use nouns consistently (#1767)
- Minor changes to categories style (#1761)
v0.21.1
- Fix a problem where category ordering specified in categories option
was not obeyed. Reintroduce categoryOrder option to solve this problem.