From 9396db70361d4454cb837131ddc6ebaa1b4da7f0 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Wed, 13 Jun 2018 12:20:34 -0700 Subject: [PATCH] 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. --- CHANGELOG.md | 4 ++++ lib/src/path_set.dart | 2 -- pubspec.yaml | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) 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 @@ class PathSet extends IterableBase implements Set { void retainAll(Iterable elements) => _inner.retainAll(elements); - Set retype() => _inner.retype(); - void retainWhere(bool test(String element)) => _inner.retainWhere(test); Set union(Set 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 description: > A string-based path manipulation library. All of the path operations you know @@ -9,4 +9,4 @@ homepage: http://github.com/dart-lang/path 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"