dartdoc
A non-interactive HTML documentation generator for Dart source code.
9.0.9
114K downloads/mo
#1072 most downloaded on pub.dev
dart-lang/dartdoc
What this package is like to depend on
Last release 14 days ago
10 Aug 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 202 of 211 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
211 releases · first in 2015
10 releases in the last 12 months
see the full history below
Release timeline
211 releases · Apr 2015 to Aug 2026
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 60 of 211-
9.0.910 Aug 2026 -
9.0.807 Jul 2026Release notes
Open source →- Fix a
RangeErrorcaused by string offset drift when parsing@docImportin files with\r\nline endings.
Release notes
Open source →- Fix a
RangeErrorcaused by string offset drift when parsing@docImportin files with\r\nline endings.
- Fix a
-
9.0.706 Jul 2026Release notes
Open source →- Add built-in CSS styling for the
<callout-box>HTML tag. - Add a copy button to all fenced code blocks in generated documentation.
Release notes
Open source →- Add built-in CSS styling for the
<callout-box>HTML tag. - Add a copy button to all fenced code blocks in generated documentation.
- Add built-in CSS styling for the
-
9.0.601 Jul 2026Release notes
Open source →- Require analyzer 13.0.2 APIs.
- Introduce the {@example} directive for embedding external files, with support for extracting specific code blocks via #region tags.
Release notes
Open source →- Require analyzer 13.0.2 APIs.
- Introduce the {@example} directive for embedding external files, with support for extracting specific code blocks via #region tags.
-
9.0.515 Jun 2026Release notes
Open source →- Cache
ElementTypeinstantiations inPackageGraph, improving overall
speed by ~6.2% on large packages. - Fix canonicalization for explicit top-level getters and prioritize
{@canonicalFor}tags over the local public library shortcut. - Fix link generation for remote and re-exported symbols
- Require analyzer 12.0.0 APIs.
Release notes
Open source →- Cache
ElementTypeinstantiations inPackageGraph, improving overall speed by ~6.2% on large packages. - Fix canonicalization for explicit top-level getters and prioritize
{@canonicalFor}tags over the local public library shortcut. - Fix link generation for remote and re-exported symbols
- Require analyzer 12.0.0 APIs.
- Cache
-
9.0.403 Mar 2026Release notes
Open source →- Fix a bug where experiment flags passed via command-line were ignored.
- Support specifying experimental features in
dartdoc_options.yaml. - Document using the public name for private named parameters.
- Deprecate the
--use-categoriesoption. - Gracefully handle missing library elements during comment reference lookup, emitting an
internal-errorwarning instead of crashing. - Require analyzer 10.2.0 APIs.
Release notes
Open source →- Fix a bug where experiment flags passed via command-line were ignored.
- Support specifying experimental features in
dartdoc_options.yaml. - Document using the public name for private named parameters.
- Deprecate the
--use-categoriesoption. - Gracefully handle missing library elements during comment reference lookup, emitting an
internal-errorwarning instead of crashing. - Require analyzer 10.2.0 APIs.
-
9.0.318 Feb 2026Release notes
Open source →- Require analyzer 10.1.0 APIs.
- Remove usage of
EmbedderYamlLocatorandEmbedderSdk.new, internal
analyzer APIs which were removed in analyzer 10.1.0. - Significant improvements to canonicalization logic:
- elements documented in their intended libraries via
@canonicalForoverrides are now correctly placed in their respective directories. - improved SDK interlinking to ensure elements re-exported from standard libraries (like
dart:core) generate absolute remote links when appropriate. - fixed a bug where property accessors (getters/setters) were incorrectly compared during canonical library lookups.
- refined scoring heuristics with definitive tie-breakers for standard SDK schemes and defining libraries.
- elements documented in their intended libraries via
Release notes
Open source →- Require analyzer 10.1.0 APIs.
- Remove usage of
EmbedderYamlLocatorandEmbedderSdk.new, internal analyzer APIs which were removed in analyzer 10.1.0. - Significant improvements to canonicalization logic:
- elements documented in their intended libraries via
@canonicalForoverrides are now correctly placed in their respective directories. - improved SDK interlinking to ensure elements re-exported from standard libraries (like
dart:core) generate absolute remote links when appropriate. - fixed a bug where property accessors (getters/setters) were incorrectly compared during canonical library lookups.
- refined scoring heuristics with definitive tie-breakers for standard SDK schemes and defining libraries.
- elements documented in their intended libraries via
-
9.0.216 Jan 2026 -
9.0.112 Jan 2026Release notes
Open source →- Deprecate the
typeAsHtmlwarning - Require analyzer 9.0.0 APIs.
- Use logging infrastructure in AOT compiler.
Release notes
Open source →- Deprecate the
typeAsHtmlwarning - Require analyzer 9.0.0 APIs.
- Use logging infrastructure in AOT compiler.
- Deprecate the
-
9.0.009 Oct 2025Release notes
Open source →- Remove the deprecated
missingCodeBlockLanguagewarning. - Remove the deprecated
templates-diroption. - Remove the deprecated
nodocoption. - Remove the deprecated
include-externaloption. - Refactor 404 error page to use div instead of p for search form.
- Require analyzer 8.1.1 APIs.
- Many internal migrations for analyzer APIs.
Release notes
Open source →- Remove the deprecated
missingCodeBlockLanguagewarning. - Remove the deprecated
templates-diroption. - Remove the deprecated
nodocoption. - Remove the deprecated
include-externaloption. - Refactor 404 error page to use div instead of p for search form.
- Require analyzer 8.1.1 APIs.
- Many internal migrations for analyzer APIs.
- Remove the deprecated
-
8.3.423 May 2025Release notes
Open source →- The URL for category pages now uses category name instead of
category
displayName. - Require analyzer 7.4.4 APIs.
- The URL for category pages now uses category name instead of
category
-
8.3.325 Feb 2025Release notes
Open source →- Require Dart 3.6 or later.
- Require analyzer 7.3.0 APIs.
- Update the design of GitHub-flavored Markdown alerts for improved accessibility and to better match GitHub and other Dart sites.
- Many internal migrations for analyzer APIs.
-
8.3.230 Dec 2024Release notes
Open source →- Fix a LateInitializationError by not depending on PackageGraph.objectClass.
-
8.3.117 Dec 2024Release notes
Open source →- Require Dart 3.5 or later.
- Append the href of each library with a slash. (#3940)
- Compress generated css by configuring sass output style. (#3919)
- Generate included css using sass. (#3917)
- Correct links to remote, canonical libraries (#3912)
- Use web 1.1. (#3915)
-
8.3.022 Oct 2024Release notes
Open source →- The URL for library pages has moved "<em>library-name</em>-library.html" to "index.html" in the same directory. A redirecting file is left in the previous location. (#3895)
- Display extension members on the extended type's page, when the extended type is nullable. (#3908)
-
8.2.110 Oct 2024Release notes
Open source →- When calculating the "directory name" of an anonymous library, strip the
enclosing package's lowercase name. This should only affect documentation
generated with the
--auto-include-dependenciesflag, like the Flutter SDK. (#3883) - Add basic support for the "Enhanced Parts" Dart language feature.
- Require analyzer 6.10.0 APIs. (#3899)
- When calculating the "directory name" of an anonymous library, strip the
enclosing package's lowercase name. This should only affect documentation
generated with the
-
8.2.013 Sep 2024Release notes
Open source →- Include extension members on the extended type's page. Each extension
instance method, getter, setter, and operator that is applicable on a type or
one of a type's subtypes, is displayed on that type's page. For example, the
Queue<E>class implements theIterable<E>class, so the Queue page showselementAtOrNull(a method provided by theIterableExtensions<T>extension, which extendsIterable<T>),nonNulls(a getter provided by theNullableIterableExtensions<T extends Object>extension, which extendsIterable<T?>), andwait(a getter provided by theFutureIterable<T>extension, which extendsIterable<Future<T>>). (#3863) - Require analyzer 6.9.0 APIs. (#3874)
- Fix search which is not using canonical libraries as enclosing elements. (#3877)
- Deduplicate exported members in categories. (#3867)
- Include extension members on the extended type's page. Each extension
instance method, getter, setter, and operator that is applicable on a type or
one of a type's subtypes, is displayed on that type's page. For example, the
-
8.1.004 Sep 2024Release notes
Open source →- Fix many library sidebars, and search. (#3865)
- Make getters and setters actually look like their declarations. (#3858)
- Display indirectly 'Implemented types' via extended and mixed-in types. (#3855)
- Add mixins with superclass constraints to the 'Implementers' list. (#3844)
- Deduplicate 'Implemented types' in cases of multiple inheritance (#3848)
- Display 'Available extensions' in more, correct, places. (#3852)
- Fix 'Available extension' logic so that, for example, the
FutureIterableextension appears on theListpage. (#3846) - Trim blank lines from generated renderers; may slightly reduce output size. (#3857)
- Remove extraneous parens from function-types. (#3856)
- Fix referrable information on broken link messages. (#3854)
-
8.0.1422 Aug 2024Release notes
Open source →- Library elements are now deduplicated in Dartdoc's model. This should be a no-op with regards to generated docs, but noting here in case an issue crops up. (#3838)
- Add tests supporting the new Dart 'wildcards' feature.
- Fix links in the sidebar of extension type pages. (#3831)
-
8.0.1302 Aug 2024Release notes
Open source →- Fix an issue around referencing elements not explicitly included in a package's documentation. (#3825)
-
8.0.1218 Jul 2024Release notes
Open source →- Allow
markdown-alertclass names in HTML sanitization. (#3820) - Require package
web: '>=0.5.1 <2.0.0'.
- Allow
-
8.0.1108 Jul 2024Release notes
Open source →- Fix the slash key (
/) not focusing the search box. (#3810) - Start using resolution of doc-imports (via
/// @docImport). (#3805) - Make
ContainerAccessor.isInheriteda final field. - Make
PackageGraph.analysisContexta private field.
- Fix the slash key (
-
8.0.1001 Jul 2024Release notes
Open source →- Un-deprecate the
--resources-diroption. (#3782) - Remove support for
[this]as a comment reference. Referring to the containing element can be written asthis [Foo], and referring to 'this' can just be written as`this`. (#3765) - Stop displaying constructors meeting a few attributes: generative
constructors of
abstract final,abstract interface, andsealedclasses. (#3796 and #3804) - Strip
@docImportdirectives from library documentation. (#3803) - Combine the two implementations of "library canonicalization." This should be a no-op. (#3781)
- Simplify
Library.allModelElements, but should be a no-op. (#3793) - Support the
--statsflag for the 'doc sdk' task (dart tools/task.dart doc sdk --stats). (#3791) - Make
CommentReferenceParser.codeRefprivate. (#3771) - Make
PackageGraph.allLibrariesprivate. (#3792) - Remove the unnecessary Privacy mixin. (#3794)
- Un-deprecate the
-
8.0.914 May 2024Release notes
Open source →- Deprecate the
missingCodeBlockLanguagewarning. This is replaced with themissing_code_block_language_in_doc_commentlint rule. (#3743) - Properly sort unnamed libraries. (#3746)
- Correctly link comment references for types specified in a function's return type's type arguments. (#3768).
- Require
analyzer: ^6.5.0. (#3763)
- Deprecate the
-
8.0.9+127 Jun 2024 -
8.0.827 Mar 2024Release notes
Open source →- More support for documenting a package with macro applications. (#3712)
- Remove support for
@example. (#3715) - Migrate client code from
dart:htmltopackage:web. (#3610) - Improve the formatting of parameter lists, to look more like
dart formatoutput. (#3731)
-
8.0.711 Mar 2024Release notes
Open source →- Generate documentation for static members of enums. (#3697)
- Display an extension's extended type in a few places. (#3708)
- Minimal support for documenting a package with macro applications. (#3687)
- Deprecate the
--nodocoption. (#3690) - Deprecate the
--resources-diroption. (#3696) - Deprecate the
--include-externalsoption. (#3694) - Remove the warning regarding unresolved exports; these are handled by the analyzer. (#3711)
-
8.0.628 Feb 2024Release notes
Open source →- Add troubleshooting information when the sidebars failed to load. (#3643)
- Deprecate the
--templates-diroption. (#3667) - In the "implementers" section of a class/mixin, include extension types that "implement" said class/mixin. (#3658)
- Add the "implementers" section to the extension type page. (#3682)
- Display the exact type of an extension type's representation, not any erasure of an extension type. (#3685)
- Reduce the time to document with a few improvements. (#3659, #3660)
- Correct the "constant initializer" view of some enums. (#3669)
- Render generic type parameters in function-typed parameters. (#3670)
- Stop warning on a missing constructor; dartdoc expects code to be valid. (#3674)
- Do not require the
FLUTTER_ROOTenv variable when documenting a package that requires Flutter. (#3688)
-
8.0.531 Jan 2024 -
8.0.426 Jan 2024Release notes
Open source →- Remove explicit library names. (#3609)
- No longer write the dartdoc version into generated HTML files.
- Add support for GitHub Markdown alert syntax.
- Add support for external links to dartdoc categories. (#3617)
- Fix index.json parsing when packageRank is missing. (#3616)
- Stop double wrapping nullable records. (#3608)
- Require Dart 3.2.0 or later.
- Require
analyzer: ^6.4.0.
-
8.0.313 Dec 2023Release notes
Open source →- Remove
--formatflag that allows for generating Markdown-formatted docs. (#3535) - Generate docs for extension type constructors.
- Remove
-
8.0.208 Dec 2023Release notes
Open source →- Remove @hideConstantImplementations fully. (#3593)
- Remove Class assert for ClassTypedef. (#3595)
-
8.0.101 Dec 2023Release notes
Open source →- The deprecated public APIs will be removed in the next major release.
- Deprecate options.dart. (#3591)
- Deprecate public exports in lib/dartdoc.dart. (#3589)
-
8.0.021 Nov 2023Release notes
Open source →- Apply
@hideConstantImplementationsby default. (#3576) - Remove unused parameter in zone thing. (#3581)
- Add some progress bars for time-intensive tasks. (#3579)
- Privatize almost all elements in package_builder. (#3580)
- Privatize several members on PackageGraph (#3578)
- Correct looping bug in library discovery (#3574)
- Remove @image directive. (#3568)
- Privatize
packageName,name,libraryName, andspecialFileUriinSpecialClass. (#3569) - Privatize
PackageMeta.pathContext. (#3572) - Remove
@samplesdirective. (#3567) - Remove
@apidirective. (#3566) - Improve display text for libraries. (#3552)
- Remove
ElementType.canHaveParameters. (#3563) - Privatize
ElementTypesubclass constructors. (#3560) - InheritingContainer:
hasPublicInheritedMethods,inheritedFields,publicInheritedFields,publicInheritedMethodsare only visible for testing. (#3559) - Display inherited elements for extension types. (#3556)
- Remove
DefinedElementType.elementandDefinedElementType.isParameterType. (#3558) - Make
TypeImplementing.directInterfacesprivate. (#3555) - Display extension type super interfaces. (#3554)
- Display extension type constructors. (#3550)
- Apply
-
7.0.226 Oct 2023Release notes
Open source →- Remove support for the deprecated
newprefix in comment references. (#3529) - Remove
ModelComment.staticElement,ModelNode.commentRefs,PackageWarningDefinition,packageWarningsByName,packageWarningDefinitions,AliasedElementType.aliasedParameters, andGenericTypeAliasElementType. - Privatize
ModelNode.element,ModelNode.resourceProvider,PackageWarning.template,PackageWarning.warnablePrefix, andPackageWarning.referredFromPrefix. - The
missingExampleFileandunknownHtmlFragmentflags can now be included or ignored with options. - Fix canonicalization scoring when library shares package name. (#3551)
- Remove support for the deprecated
-
7.0.119 Oct 2023Release notes
Open source →- Add back missing search bar to left sidenav on narrow screens.
- Remove unused warning:
noDefiningLibraryFound Canonicalization.scoreCanonicalCandidatesis nowcalculateCanonicalCandidate, and returns one Library. (#3520)- Print errors without associated elements; in particular this is errors generated during the final validation stage. (#3532)
- Reduce logging when documenting multiple packages. (#3522)
- ScoredCandidate is made private. (#3520)
- Canonicalization now implements Warnable; Warnable no longer implements Canonicalization; Warnable now implements Documentable and Locatable; Documentable is now a mixin; DocumentationComment now subtypes Canonicalization.
- Library.inheritanceManager is now static. (#3516)
-
7.0.011 Oct 2023Release notes
Open source →- Require
analyzer: ^6.3.0. - Remove all
@deprecatedelements. - Fix sidebar links in leaf pages. (#3510)
- Do not hide stack trace of DartdocFailures. (#3505)
- Rank libraries lower than classes and class modifiers.
- Remove deprecated
<nodoc>syntax. - Deprecate the
{@example}directive. - Remove support for the four-argument
{@animation}directive format. - Remove old options,
dropTextFromandhideSdkText. - Rename Feature to Attribute, to avoid confusion with language features. The corresponding template partials are also renamed. (#3499)
- Some support for extension types is enabled.
- Move all grinder tasks to package:args commands.
- Remove
Canonicalization.canonicalLibraryandCategory.canonicalLibraryandPackage.canonicalLibrary. - Make
Category.categoryDefinitionandLibrary.exportedInLibrariesprivate.
- Require
-
6.3.007 Jun 2023Release notes
Open source →- Add a hideImplementations directive to disable showing constant implementations alongside one-line docs on class pages (#3398)
- Update highlight.js to 11.8.0 for Dart 3 syntax highlight support. (#3416)
- Split sidebars out into separate HTML files (#3384)
- Update several required dependency versions, switch to Dart language version 3.0, and several internal refactors. (various)
-
6.2.227 Apr 2023Release notes
Open source →- Add chips to class pages for class modifiers (#3401)
- Fix a case where dartdoc was not properly handling extension method resolution. (#3393)
-
6.2.124 Mar 2023Release notes
Open source →- Do not show induced modifiers from analyzer in class headers. (#3371)
- Drop support for final, interface, and sealed mixins. (#3369)
- Display an error message instead of crashing on wrong data type in
dartdoc_options.yaml. (#3372)
-
6.2.003 Mar 2023Release notes
Open source →- 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)
-
6.1.513 Dec 2022Release notes
Open source →- Fix remote linking in Dart 2.18. (#3267)
- Fix arrow key functions in search. (#3271)
- Don't show
nullin search results with topics. (#3273) - Remove annotations from the features section of each element. (#3268)
-
6.1.407 Dec 2022Release notes
Open source →- Fix using the Enter key in the search bar, on Flutter. (#3256)
- Make many Strings in DocumentationComment non-nullable. (#3243)
- Differentiate between enums and mixins and classes, in container titles and descriptions. (#3258)
- Weigh enums the same as classes in search results. (#3260)
-
6.1.309 Nov 2022Release notes
Open source →- Deprecate
lib/src/model/model.dartas public API. (#3208) - Remove 300 font weights, for improvements in dark mode. (#3213)
- Do not display a constant implementation value for enums with a default constructor. (#3216)
- Simplify
Accessor.overriddenElement; in this change,InheritingContainer.inheritenceChainis now aList<InheritingContainer>andInheritingContainer.expandInheritenceChainis now anIterable<InheritingContainer>. #3220 - Make
ModelElement.elementa getter; subclasses provide the field. #3217 - Switch all references from 'pub.dartlang.org' to 'pub.dev'. #3229
- Support displaying record types. #3233
- Make
ContainerMember.canonicalEnclosingContainerlate final. #3234 - Move
Warnable.enclosingElementto ModelElement. #3236 - Make
Accessor.documentationCommentlate final non-nullable. #3240 - Make
Inheritable.isOverridelate final non-nullable. #3235 - Make
Inheritable.inheritanceaList<InheritingContainer>. #3235 - Deprecate
ModelElement.isExecutable,ModelElement.isLocalElement,ModelElement.isPropertyAccessor,ModelElement.isPropertyInducer,ModelElement.isAsynchronous,ModelElement.isStatic. #3218 - Make
ModelElement.annotationsa List,ModelElement.filePathnon-nullable,ModelElement.enclosingElementaModelElement?. #3218 - Bump analyzer to 5.2.0.
--max-file-countand--max-total-sizecommand-line arguments to limit file system resource use.
- Deprecate
-
6.1.229 Sep 2022Release notes
Open source →- Reduce memory usage by much more extensive use of non-growable Lists, and constant empty lists. (#3151 and #3154)
- Make
Warnable.packagenon-nullable. (#3155) - Refactor the various
Rendererclasses. Specifically add abstractElementTypeRendererHtmlandElementTypeRendererMdclasses which implement some shared calculations. (#3163) - Deprecate
ElementTypeRenderer.wrapNullability. (#3163) - Simplify
referenceChildrenimplementations by using fewerIterable<MapEntry>s.explicitOnCollisionWithnow returns aMap<String, CommentReferable>instead of aIterable<MapEntry<String, CommentReferable>>. (#3157) - Make many
referenceChildrenfields late final non-nullable. (#3157) - Remove
sync*fromGetterSetterCombo.allAccessors. (#3157) - Make
GetterSetterCombo.documentationComment,ContainerAccessor.enclosingElement,ContainerAccessor.overriddenElementeach late final non-nullable. (#3157 and #3167) - Remove
ModelElement.allParameters. (#3166) - Remove extra
?character sometimes printed in function types. (#3177) - Remove broken search typeahead hint feature. (#3179)
- Overhaul the style of the mini search results. (#3181 and #3197)
- Add support for GitHub's light/dark mode image syntax. (#3182)
- Fix the slash focusing search feature. (#3183)
- Fix 'Return' key behavior in search. (#3185 and #3195)
- Add support for unnamed libraries. (#3189)
- Fix handling of a typedef pointing to a typedef pointing to a function. (#3193)
- Make two regular expressions on DocumentationComment static; should save memory. (#3194)
-
6.1.113 Sep 2022Release notes
Open source →- Fix corrupted HTML of features. (#3147)
- Adjust menu button color according to theme. (#3153)
- Deprecate
ModelElement.linkedParamsNoMetadataOrNames. (#3143) - Make
Extension.typeParameterslate final non-nullable. (#3150) - Allow analyzer 5.0.0. (#3160)
-
6.1.007 Sep 2022Release notes
Open source →- Trim the implementation source code of fields to improve rendering.
- Display various "features" of an element (like "read-only" or "final" or "inherited") as badges.
- Introduce a toggle for a "Dark Mode" style.
- Bump markdown to 6.0.0.
- Bump analyzer to 4.6.0.
- Introduce a search results page. This allows linking to a page of search results, and a full screen view of all results for a search.
- Introduce a search fallback, in the case of no results, using the search feature at https://dart.dev/search.
- Display whether a method is
static, on its page.
-
6.0.102 Aug 2022Release notes
Open source →- Allow
Parameter.enclosingElementto be nullable. - Deprecate
PackageMeta.description,PackageMeta.repository,PackageMeta.getLicenseContents,PackageMeta.getChangelogContents. - Deprecate public access to
allBeforeFirstNewline,allAfterLastNewline,findFreeHangingGenericsPositions,ReferenceChildrenLookup, andchildLookups. - Make
Mixin.superclassConstraints,ModelElement.libraryandModelElement.packagenon-nullable late final. - Make
ModelElement.elementnon-nullable. - Remove
ElementType.returnedFrom,MatchingLinkResult.warn. - Rename
DartdocGeneratorBackendtoGeneratorBackendBase. Add a typedef to preserve old behavior. - Make
ContainerMember.enclosingElementaContainer. - Deprecate MarkdownDocument's unnamed constructor.
- Fix the search box's height constraint.
- Move to analyzer ^4.3.1.
- Allow
-
6.0.006 Jul 2022Release notes
Open source →- BREAKING CHANGE: Make
DartdocGeneratorBackend.sidebarForContainer,DartdocGeneratorBackend.sidebarForLibraryprivate. - BREAKING CHANGE: Change several fields from being nullable to late, final,
and non-nullable in the
Extension,InheritingContainer, andTopLevelContainerclasses. - BREAKING CHANGE: Make
InheritingContiner.enclosingElementnon-nullable. - BREAKING CHANGE: Remove unused elements:
InheritingContainer.publicConstructors,InheritingContainer.unnamedConstructor,TopLevelContainer.publicExceptions. - Remove the parameter from
initEmptyGenerator. - Fix up/down arrow feature in search box. Thanks @klr981!
- Require Dart 2.17.0
- BREAKING CHANGE: Make
-
5.1.218 May 2022Release notes
Open source →- Include
lib/resources/docs.dart.js.map - Reintroduce query param search. (#3026)
- Include
-
5.1.118 May 2022Release notes
Open source →- Include
lib/resources/docs.dart.js - Optimize compiled Dart web code with
-04. (#3028)
- Include
-
5.1.017 May 2022Release notes
Open source →- Support new enhanced enums feature.
- Removed superfluous
[...]links. (#2928) - Fix
categoryOrderoption. (#2965) - Display categorized extensions. (#2975)
- Add annotations to extensions.
- Move to analyzer 3.4.0.
- Minor improvements to performance. (#2946, #2968, #2972, #2974, #2999, #3000)
- Mustachio: Remove parameters which are unused in AOT renderers. (#2943)
- Mustachio: Deduplicate AOT partial renderers. (#2978)
- Mustachio: Allow whitespace after section and partial delimiters. (#2964)
- Fixed the
{@youtube}directive to respect the provided width and height. (#3030)
-
5.0.122 Feb 2022 -
5.0.010 Feb 2022Release notes
Open source →- Migrate to null safety.
- BREAKING CHANGE: Many breaking changes to dartdoc API, as part of the broad migration to null safety.
- Add a
resources-diroption to support documenting withdart doccompiled AOT from within the Dart SDK directory. (#2857) - When rendering to templates, stop calling
toStringon String objects. (#2900) - Update README to discuss
dart doc. (#2898) - Add some performance statistics. (#2938)
- Remove functionality to run
dart pub get(orflutter pub get) as part ofdart doc. This command needs to be run before runningdart doc. (#2930) - Move to analyzer 3.1.0.
-
4.1.025 Oct 2021Release notes
Open source →- 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)
-
4.0.004 Oct 2021Release notes
Open source →- BREAKING CHANGE: Refactors to support NNBD and adapt to new analyzer changes
are technically semver breaking. If you make extensive use of the
documentationCommentgetter 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)
- BREAKING CHANGE: Refactors to support NNBD and adapt to new analyzer changes
are technically semver breaking. If you make extensive use of the
-
3.1.020 Sep 2021Release notes
Open source →- 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)
-
3.0.007 Sep 2021Release notes
Open source →- 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.
-
2.0.023 Aug 2021Release notes
Open source →- 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)
-
1.0.209 Aug 2021Release notes
Open source →- Fix where extensions header in library sidebar linked to the wrong place. (#2717)
- Fix concurrency issues in tool execution and parallelize optimally for the number of cores in the system. (#2730)
- Display message if tool snapshotting fails. (#2731)