Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit 0c1f323

Browse files
domesticmousekwalrath
authored andcommitted
Upgrade to Dart 2.7 (#645)
* Add changelog entry for 3.3.5
1 parent 5cbc172 commit 0c1f323

File tree

17 files changed

+22
-18
lines changed

17 files changed

+22
-18
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dart:
99
# SDK version to prevent errors when using Stagehand from inside VSCode's
1010
# Dart and Flutter plugins. For more detail, please see:
1111
# https://github.com/dart-lang/stagehand/issues/617
12-
- 2.5.0
12+
- 2.7.0
1313
- dev
1414

1515
cache:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.3.5
2+
3+
- Updated minimum Dart SDK to 2.7 in stagehand tool and templates.
4+
15
## 3.3.5-dev
26

37
- Internal cleanup.

lib/src/generators/console_full.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/generators/package_simple.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/generators/server_shelf.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/generators/web_angular.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/generators/web_simple.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/generators/web_stagexl.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: >
77
A scaffolding generator for your Dart projects. Stagehand helps you get set
88
up!
99
# After changing the version, run `pub run build_runner build`.
10-
version: 3.3.5-dev
10+
version: 3.3.5
1111
homepage: https://github.com/dart-lang/stagehand
1212

1313
environment:
@@ -17,7 +17,7 @@ environment:
1717
# https://github.com/dart-lang/stagehand/issues/617
1818
#
1919
# Also make sure this minimmum sdk version is reflected in `.travis.yml`.
20-
sdk: '>=2.5.0 <3.0.0'
20+
sdk: '>=2.7.0 <3.0.0'
2121

2222
# Add the bin/stagehand.dart script to the scripts pub installs.
2323
executables:
@@ -27,7 +27,7 @@ dependencies:
2727
args: ^1.5.0
2828
http: ^0.12.0
2929
path: ^1.6.0
30-
pedantic: ^1.8.0
30+
pedantic: ^1.9.0
3131
usage: ^3.4.0
3232

3333
dev_dependencies:

templates/console-full/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A sample command-line application.
44
# homepage: https://www.example.com
55

66
environment:
7-
sdk: '>=2.5.0 <3.0.0'
7+
sdk: '>=2.7.0 <3.0.0'
88

99
#dependencies:
1010
# path: ^1.6.0

templates/package-simple/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A starting point for Dart libraries or applications.
44
# homepage: https://www.example.com
55

66
environment:
7-
sdk: '>=2.5.0 <3.0.0'
7+
sdk: '>=2.7.0 <3.0.0'
88

99
#dependencies:
1010
# path: ^1.6.0

templates/server-shelf/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A web server built using the shelf package.
44
# homepage: https://www.example.com
55

66
environment:
7-
sdk: '>=2.5.0 <3.0.0'
7+
sdk: '>=2.7.0 <3.0.0'
88

99
dependencies:
1010
args: ^1.5.0

templates/web-angular/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A web app that uses AngularDart Components
44
# homepage: https://www.example.com
55

66
environment:
7-
sdk: '>=2.5.0 <3.0.0'
7+
sdk: '>=2.7.0 <3.0.0'
88

99
dependencies:
1010
angular: ^5.3.0

templates/web-simple/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: An absolute bare-bones web app.
44
#homepage: https://www.example.com
55

66
environment:
7-
sdk: '>=2.5.0 <3.0.0'
7+
sdk: '>=2.7.0 <3.0.0'
88

99
#dependencies:
1010
# path: ^1.6.0

templates/web-stagexl/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A simple StageXL web app.
44
#homepage: https://www.example.com
55

66
environment:
7-
sdk: '>=2.5.0 <3.0.0'
7+
sdk: '>=2.7.0 <3.0.0'
88

99
dependencies:
1010
stagexl: ^1.4.0

test/validate_templates.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void _testGenerator(stagehand.Generator generator, Directory tempDir) {
156156
expect(pubspecContent, containsPair('description', isNotEmpty));
157157

158158
expect(
159-
pubspecContent, containsPair('environment', {'sdk': '>=2.5.0 <3.0.0'}));
159+
pubspecContent, containsPair('environment', {'sdk': '>=2.7.0 <3.0.0'}));
160160

161161
// Run package tests, if `test` is included.
162162
var devDeps = pubspecContent['dev_dependencies'];

0 commit comments

Comments
 (0)