readme updates
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cd7ca4..8e54714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,38 +1,49 @@ -## 2.0.0-nullsafety - * Upgrade to sound null safety - * Require Dart 2.12.0-0 +## 2.0.0-nullsafety.0 + +- Upgrade to sound null safety +- Require Dart 2.12.0-0 ## 1.0.3 - * Require Dart 2.0.0. - * Fixed Tuple7's operator==. + +- Require Dart 2.0.0. +- Fixed Tuple7's operator==. ## 1.0.2 - * Prepare for Dart 2 stable. + +- Prepare for Dart 2 stable. ## 1.0.1 - * Fix all strong-mode warnings and errors. + +- Fix all strong-mode warnings and errors. ## 1.0.0 - * Remove _hash function and use quiver_hashcode package instead. + +- Remove \_hash function and use quiver_hashcode package instead. ## 0.4.0 - * Add fromList factory constructor. - * Add Tuple6 and Tuple7 classes. + +- Add fromList factory constructor. +- Add Tuple6 and Tuple7 classes. ## 0.3.0 - * Add toList method. + +- Add toList method. ## 0.2.0 - * Rename PersistentTuple classes to Tuple; remove Tuple classes. - * Rename each iN item to itemN. - * Rename setIN to withItemN. + +- Rename PersistentTuple classes to Tuple; remove Tuple classes. +- Rename each iN item to itemN. +- Rename setIN to withItemN. ## 0.1.2 - * Fix a bug in == operator of PersistentTuple classes. + +- Fix a bug in == operator of PersistentTuple classes. ## 0.1.1 - * Add operator == and hashCode to classes, so that tuples may be used as - keys in hashes. + +- Add operator == and hashCode to classes, so that tuples may be used as + keys in hashes. ## 0.1.0 - * Initial release. + +- Initial release.
diff --git a/README.md b/README.md index a898b43..8e33daf 100644 --- a/README.md +++ b/README.md
@@ -1,16 +1,16 @@ -[](https://travis-ci.org/google/tuple.dart/) +[](https://github.com/google/tuple.dart/actions?query=branch%3Amaster) ## Usage example ```dart -const t = const Tuple2<String, int>('a', 10); +const t = Tuple2<String, int>('a', 10); print(t.item1); // prints 'a' print(t.item2); // prints '10' ``` ```dart -final t1 = const Tuple2<String, int>('a', 10); +const t1 = Tuple2<String, int>('a', 10); final t2 = t1.withItem1('c'); // t2 is a new [Tuple2] object with item1 is 'c' and item2 is 10. ```
diff --git a/pubspec.yaml b/pubspec.yaml index 824b160..7c2e1aa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -2,7 +2,7 @@ version: 2.0.0-nullsafety.0 description: Tuple data structure -homepage: https://github.com/google/tuple.dart +repository: https://github.com/google/tuple.dart environment: sdk: '>=2.12.0-0 <3.0.0'