From 16f1eb5c191cdb96ab8af9657ccffd6e57d98716 Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Fri, 3 Sep 2021 14:30:55 -0700 Subject: [PATCH 1/3] Update to dartdoc 3.0.0 --- CHANGELOG.md | 11 +++++++++++ dartdoc_options.yaml | 2 +- lib/src/version.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e47033a8da..b4673a4736 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 3.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 mostly work except constant + rendering. (#2655, #2770, #2768, #2766, #2763). +* BREAKING CHANGE: The old lookup code has been deleted, along with the + `--no-enhanced-reference-lookup` flag. (#2765) +* Deprecated uses of pub have been removed. (#2764) +* Some internal refactors to support NNBD migration. + ## 2.0.0 * BREAKING CHANGE: changes to dartdoc options API to prepare for NNBD migration (#2745, #2744). diff --git a/dartdoc_options.yaml b/dartdoc_options.yaml index 242689dbfc..5e293ce510 100644 --- a/dartdoc_options.yaml +++ b/dartdoc_options.yaml @@ -1,4 +1,4 @@ dartdoc: linkToSource: root: '.' - uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v2.0.0/%f%#L%l%' + uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v3.0.0/%f%#L%l%' diff --git a/lib/src/version.dart b/lib/src/version.dart index 0e58df3934..0ed1620d7d 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '2.0.0'; +const packageVersion = '3.0.0'; diff --git a/pubspec.yaml b/pubspec.yaml index 93b0d4a543..d3785252dd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dartdoc # Run `grind build` after updating. -version: 2.0.0 +version: 3.0.0 description: A non-interactive HTML documentation generator for Dart source code. homepage: https://github.com/dart-lang/dartdoc environment: From c9c65102dca80490f2ffe26fe248027f952d35dd Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Fri, 3 Sep 2021 14:32:12 -0700 Subject: [PATCH 2/3] assume #2772 will land --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4673a4736..05b8760a93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ deleted interfaces in templates and a change in class hierarchy. (#2770) * The experimental 'constructor-tearoffs' feature has been partially implemented in dartdoc and should mostly work except constant - rendering. (#2655, #2770, #2768, #2766, #2763). + rendering. (#2655, #2772, #2770, #2768, #2766, #2763). * BREAKING CHANGE: The old lookup code has been deleted, along with the `--no-enhanced-reference-lookup` flag. (#2765) * Deprecated uses of pub have been removed. (#2764) From 058044e4b9b3f244e8af2675d59a17190fe30efd Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Tue, 7 Sep 2021 08:41:11 -0700 Subject: [PATCH 3/3] punt on 2772 until next release --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05b8760a93..19d700216e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ * 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 mostly work except constant - rendering. (#2655, #2772, #2770, #2768, #2766, #2763). + 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-lookup` flag. (#2765) * Deprecated uses of pub have been removed. (#2764)