From 8e911ed3cc0a4d685c89e8a9e04a1eea4f887031 Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Fri, 20 Aug 2021 10:36:54 -0700 Subject: [PATCH 1/2] Prepare for dartdoc 2.0.0 --- CHANGELOG.md | 7 +++++++ dartdoc_options.yaml | 2 +- lib/src/version.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9a32e1a3c..a68007035c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 2.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). + ## 1.0.2 * Fix where extensions header in library sidebar linked to the diff --git a/dartdoc_options.yaml b/dartdoc_options.yaml index 1f6e65ac2c..242689dbfc 100644 --- a/dartdoc_options.yaml +++ b/dartdoc_options.yaml @@ -1,4 +1,4 @@ dartdoc: linkToSource: root: '.' - uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v1.0.2/%f%#L%l%' + uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v2.0.0/%f%#L%l%' diff --git a/lib/src/version.dart b/lib/src/version.dart index b0e99a53ed..0e58df3934 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '1.0.2'; +const packageVersion = '2.0.0'; diff --git a/pubspec.yaml b/pubspec.yaml index d9d6e1e6b6..7610241635 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dartdoc # Run `grind build` after updating. -version: 1.0.2 +version: 2.0.0 description: A non-interactive HTML documentation generator for Dart source code. homepage: https://github.com/dart-lang/dartdoc environment: From 731448ef14d27309a41837331b984a61bfdb74cd Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Mon, 23 Aug 2021 09:26:07 -0700 Subject: [PATCH 2/2] Update changelog for additional bugfix --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a68007035c..e47033a8da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,9 @@ 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). +* Update to analyzer 2.0. (#2734) +* Fix comment references on generic typedefs in new + lookup code. (#2755, #2756) ## 1.0.2