Drop implementation of `retype` (#42)
Technically it's possible that there exists a reference using `PathSet`
and calling `retype` but the liklihood is very small and since we're in
the `-dev` versions of the SDK it's not worth marking this a breaking
change.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 61e1788..42731ad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.6.1
+
+* Drop the `retype` implementation for compatibility with the latest SDK.
+
## 1.6.0
* Add a `PathMap` class that uses path equality for its keys.
diff --git a/lib/src/path_set.dart b/lib/src/path_set.dart
index 98f08a9..e3b9461 100644
--- a/lib/src/path_set.dart
+++ b/lib/src/path_set.dart
@@ -73,8 +73,6 @@
void retainAll(Iterable<Object> elements) => _inner.retainAll(elements);
- Set<T> retype<T>() => _inner.retype<T>();
-
void retainWhere(bool test(String element)) => _inner.retainWhere(test);
Set<String> union(Set<String> other) => _inner.union(other);
diff --git a/pubspec.yaml b/pubspec.yaml
index a9a4cdb..ece564f 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: path
-version: 1.6.0
+version: 1.6.1
author: Dart Team <misc@dartlang.org>
description: >
A string-based path manipulation library. All of the path operations you know
@@ -9,4 +9,4 @@
dev_dependencies:
test: ">=0.12.0 <0.13.0"
environment:
- sdk: ">=2.0.0-dev.35.0 <2.0.0"
+ sdk: ">=2.0.0-dev.62.0 <2.0.0"