浏览代码

bump to 1.6.0. fix compatibility issue

Luke Freeman 5 年之前
父节点
当前提交
2c06f63e19
共有 5 个文件被更改,包括 14 次插入11 次删除
  1. 4 0
      CHANGELOG.md
  2. 2 2
      README.md
  3. 4 5
      example/ios/Flutter/flutter_export_environment.sh
  4. 1 1
      lib/src/router.dart
  5. 3 3
      pubspec.yaml

+ 4 - 0
CHANGELOG.md

@@ -1,3 +1,7 @@
+# 1.6.0
+- Flutter `>= 1.13.0` is required due to Flutter compatibility issues
+- Dart `>= 2.6.0` is required
+
 # 1.5.2
 - Remove dependency on `dart:io`
 - 1.5.x and lower now only supports Flutter versions `< 1.13.0` 

+ 2 - 2
README.md

@@ -3,7 +3,7 @@
 
 The brightest, hippest, coolest router for Flutter.
 
-[![Version](https://img.shields.io/badge/version-1.5.2-blue.svg)](https://pub.dartlang.org/packages/fluro)
+[![Version](https://img.shields.io/badge/version-1.6.0-blue.svg)](https://pub.dartlang.org/packages/fluro)
 [![Build Status](https://travis-ci.org/theyakka/fluro.svg?branch=master)](https://travis-ci.org/theyakka/fluro)
 [![Coverage](https://codecov.io/gh/theyakka/fluro/branch/master/graph/badge.svg)](https://codecov.io/gh/theyakka/fluro)
 
@@ -25,7 +25,7 @@ See CHANGELOG for all breaking (and non-breaking) changes.
 You should ensure that you add the router as a dependency in your flutter project.
 ```yaml
 dependencies:
- fluro: "^1.5.2"
+ fluro: "^1.6.0"
 ```
 
 You can also reference the git repo directly if you want:

+ 4 - 5
example/ios/Flutter/flutter_export_environment.sh

@@ -1,11 +1,10 @@
 #!/bin/sh
 # This is a generated file; do not edit or check into version control.
-export "FLUTTER_ROOT=/opt/flutter"
-export "FLUTTER_APPLICATION_PATH=/Users/luke/Development/yakka/fluro/fluro-lib/example"
-export "FLUTTER_TARGET=/Users/luke/Development/yakka/fluro/fluro-lib/example/lib/main.dart"
+export "FLUTTER_ROOT=/home/luke/Development/.sdks/flutter"
+export "FLUTTER_APPLICATION_PATH=/home/luke/Development/yakka/fluro/fluro-flutter/example"
+export "FLUTTER_TARGET=lib/main.dart"
 export "FLUTTER_BUILD_DIR=build"
 export "SYMROOT=${SOURCE_ROOT}/../build/ios"
-export "FLUTTER_FRAMEWORK_DIR=/opt/flutter/bin/cache/artifacts/engine/ios"
+export "FLUTTER_FRAMEWORK_DIR=/home/luke/Development/.sdks/flutter/bin/cache/artifacts/engine/ios"
 export "FLUTTER_BUILD_NAME=1.0.0"
 export "FLUTTER_BUILD_NUMBER=1"
-export "TRACK_WIDGET_CREATION=true"

+ 1 - 1
lib/src/router.dart

@@ -38,7 +38,7 @@ class Router {
     return _routeTree.matchRoute(path);
   }
 
-  bool pop(BuildContext context) => Navigator.pop(context);
+  void pop(BuildContext context) => Navigator.pop(context);
 
   ///
   Future navigateTo(BuildContext context, String path,

+ 3 - 3
pubspec.yaml

@@ -2,12 +2,12 @@ name: fluro
 description: >
   Fluro is a Flutter routing library that adds flexible routing options like wildcards, named
   parameters and clear route definitions.
-version: 1.5.2
+version: 1.6.0-dev
 homepage: https://github.com/theyakka/fluro
 
 environment:
-  sdk: ">=2.1.0 <3.0.0"
-  flutter: ">=1.5.0 <1.13.0"
+  sdk: ">=2.6.0 <3.0.0"
+  flutter: ">=1.13.0 <1.16.0"
 
 dependencies:
   flutter: