From c0daa17896a26bfc3a4ddc2a7a59a0060312cc4f Mon Sep 17 00:00:00 2001 From: rmconsole-readonly-wk Date: Tue, 26 Feb 2019 22:12:46 +0000 Subject: [PATCH 1/2] over_react_codemod_1.1.0 --- lib/src/executables/dart2_upgrade.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/executables/dart2_upgrade.dart b/lib/src/executables/dart2_upgrade.dart index a5bc2ba1..1b6fb826 100644 --- a/lib/src/executables/dart2_upgrade.dart +++ b/lib/src/executables/dart2_upgrade.dart @@ -43,7 +43,7 @@ const _helpFlag = '--help'; const _helpFlagAbbr = '-h'; const _changesRequiredOutput = """ To update your code, switch to Dart 2.1.0 and run the following commands: - pub global activate over_react_codemod ^1.0.1 + pub global activate over_react_codemod ^1.1.0 pub global run over_react_codemod:dart2_upgrade --backwards-compat Then, review and commit the changes. """; diff --git a/pubspec.yaml b/pubspec.yaml index b09362b0..94d6ed06 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: over_react_codemod -version: 1.0.2 +version: 1.1.0 homepage: https://github.com/Workiva/over_react_codemod description: > From 82414b2fad8626fd34541f899c083d3f58bcbae9 Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Tue, 26 Feb 2019 15:14:11 -0700 Subject: [PATCH 2/2] Add bug fix from #26 to changelog. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c9ac112..72b07495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ - `// ignore: uri_has_not_been_generated` comments that precede a `.over_react.g.dart` part directive are removed +- Fix a bug that could result in overlapping patches being suggested, which + would cause the `dart2_upgrade` codemod to exit early unsuccessfully. + ## [1.0.2](https://github.com/Workiva/over_react_codemod/compare/1.0.1...1.0.2) - Provide additional output from the `dart2_upgrade` codemod in the following