quiver 2.0.0-dev.1.0
quiver: ^2.0.0-dev.1.0 copied to clipboard
A set of utility libraries for Dart
2.0.0-dev.1.0 - 2018-07-18 #
- BREAKING CHANGE: This version requires Dart SDK 2.0.0-dev.61 or later.
1.0.0 - 2018-07-18 #
- BREAKING CHANGE: StreamBuffer has been changed from implementing
StreamConsumer<T>toStreamConsumer<List<T>>. Users ofStreamBuffer<List<T>>can simply change declarations toStreamBuffer<T>. In cases where the generic type is already not a list type, inputs to the list may need to be wrapped in a list.
0.29.0+1 - 2018-03-29 #
- BREAKING CHANGE: This version requires Dart SDK 2.0.0-dev.30 or later. Bugfixes will be backported to the 0.28.x series for Dart 1 users.
- New: BiMap now includes a real implementation of
addEntries,get entries,map,removeWhere,update, andupdateAll. - New: DelegatingIterable now includes a real implementation of
followedBy, and accepts theorElseparameter onsingleWhere. - New: DelegatingList now includes real implementations of
operator +,indexWhere, andlastIndexWhere. - New: LruMap now includes a real implementation of
addEntries,get entries,removeWhere,update, andupdateAll. - New: The map returned by
Multimap.asMap()now includes real implementations ofget entriesandremoveWhere. This class also has "real" implementations ofaddEntries,map,update, andupdateAll, which just throw anUnsupportedError, as inserts and updates are not allowed on map views. - New: The list keys of
ListMultimapnow include real implementations ofoperator +,indexWhere, andlastIndexWhere. - New: The iterable keys of
ListMultimapandSetMultimapnow include a real implementation offollowedBy, and accept theorElseparameter onsingleWhere.
0.29.0 - 2018-03-28 #
- BREAKING CHANGE: Deleted
createTimerandcreateTimerPeriodic, which were deprecated in 0.26.0. - BREAKING CHANGE: Deleted
reverse, which was deprecated in 0.25.0. - BREAKING CHANGE: Deleted
FutureGroup, which was deprecated in 0.25.0. - BREAKING CHANGE:
InfiniteIterable.singleWherenow throwsUnsupportedError.
0.28.2 - 2018-03-24 #
- Fix: Eliminate a bug where
LruMaplinkage is incorrectly preserved when items are removed.
0.28.1 - 2018-03-22 #
- Remove use of
Maps.mapToStringinLruMap. - Add
@visibleForTestingannotation inAvlTreeSet.
0.28.0 - 2018-01-19 #
- BREAKING CHANGE: The signature of
MultiMap'supdatestub has changed fromV update(K key, C update(C value), {C ifAbsent()})toC update(K key, C update(C value), {C ifAbsent()}).
0.27.0 - 2018-01-03 #
- BREAKING CHANGE: all classes that implement
Iterable,List,Map,Queue,Set, orTimernow implement stubs of upcoming Dart 2.0 methods. Any class that reimplements these classes also needs new method implementations. The classes with these breaking changes include:HashBiMap,DelegatingIterable,DelegatingList,DelegatingMap,DelegatingQueue,DelegatingSet,LinkedLruHashMap,TreeSet, andAvlTreeSet. - Fix: Use FIFO ordering in
FakeAsync. PR #265
0.26.2 - 2017-11-16 #
- Fix: re-adding the most-recently-used entry to a
LinkedLruHashMappreviously introduced a loop in the internal linked list. - Fix: when removing an entry in the middle of the
LinkedLruHashMap, the recency list was not correctly re-linked.
0.26.1 - 2017-11-16 #
0.26.0 - 2017-11-01 #
- BREAKING CHANGE: eliminated deprecated
flip. Replaced byreversein 0.25.0. - BREAKING CHANGE: eliminated deprecated
repeat. Deprecated in 0.25.0. Callers should useString's*operator. - BREAKING CHANGE:
collect,concat,doWhileAsync,enumerate,extent,forEachAsync,max,merge,min,reduceAsync, andzipare now type parameterized. Depending on the inferred value of each type parameter, the return type of each function may change in existing code. - BREAKING CHANGE:
Optional's==operator now takes into accountT, the type of the value. This changes, e.g.Optional<int>.absent()to no longer be equal toOptional<String>.absent(). - BREAKING CHANGE: stronger generics added in
CacheandMapCache. - Deprecated:
reversein thestringslibrary. No replacement is provided. - Deprecated:
createTimer,createTimerPeriodicin theasynclibrary. These were originally written to support FakeTimer, which is superseded by FakeAsync. - New: Added
isLeapYear,daysInMonth,clampDayOfMonthAPIs in thetimelibrary. - Multimap is now backed by a LinkedHashMap rather than HashMap.
- Multimap: added
containsto know if an association key/value exists.
0.25.0 - 2017-03-28 #
- BREAKING CHANGE: minimum SDK constraint increased to 1.21.0. This allows use of async-await and generic function in Quiver.
- BREAKING CHANGE: eliminated deprecated
FakeTimer. - BREAKING CHANGE:
StreamBuffer<T>now implementsStreamConsumer<T>as opposed toStreamConsumer<T|List<T>>. - Deprecated:
FutureGroup. Use the replacement inpackage:asyncwhich requires aclose()call to trigger auto-completion when the count of pending tasks drops to 0. - Deprecated:
repeatin thestringslibrary. Use the*operator on the String class. - Deprecated: in the strings library,
fliphas been renamedreverse.flipis deprecated and will be removed in the next release. - Iterables:
enumerateis now generic. - Collection: added
indexOf.
0.24.0 - 2016-10-31 #
- BREAKING CHANGE: eliminated deprecated
nullToEmpty,emptyToNull. - Fix: Strong mode: As of Dart SDK 1.21.0,
Set.differencetakes aSet<Object>parameter.
0.23.0 - 2016-09-21 #
- Strings:
nullToEmpty,emptyToNulldeprecated. Removal in 0.24.0. - BREAKING CHANGE: eliminated deprecated multimap
toMap. - BREAKING CHANGE: eliminated deprecated
pad*,trim*string functions.
0.22.0 - 2015-04-21 #
- BREAKING CHANGE:
streamsandasynclibraries have been merged into oneasynclibrary - BREAKING CHANGE: Pre-1.8.0 SDKs are no longer supported.
- Quiver is now strong mode compliant
- New:
Optionalnow implementsIterableand its methods are generic (using temporary syntax) - New:
isNotEmptyandisDigitinstrings.dart - New:
Multimap.fromIterable - Fix: Change
TreeSearchfromclasstoenum. - Fix:
fake_async.darttimers are now active while executing the callback
0.21.4 - 2015-05-15 #
- Add stats reporting for fake async tests. You can query the number of
pending microtasks and timers via
microtaskCount,periodicTimerCount,nonPeriodicTimerCount.
0.21.3+1 - 2015-05-11 #
- Switch from unittest to test.
0.21.3 - 2015-03-03 #
- Bugfix: fixed return type on some methods (e.g.
whereofIterables returned by Multimap.
0.21.2 - 2015-03-03 #
- Bugfix: fix drifting times in
Metronome. - Add
LruMapto quiver/collection. - Un-deprecate Glob; feedback was that package:glob was not a suitable replacement in many cases. Key reasons: dependency on dart:io and significantly poorer performance.
0.21.1 - 2015-02-05 #
- Add optional start param to
Glob.allMatches()to match superclass method signature. - Add optional start param to
Patternreturned bymatchesAny()to match superclass method signature. - Deprecate Glob. Use package:glob. Will be removed in 0.22.0.
0.21.0+3 - 2015-02-04 #
- Travis CI integration support added.
- Document that the deprecated functions
padLeft,padRight,trimLeft,trimRightwill be removed in 0.22.0.
0.21.0+2 - 2015-02-04 #
- Fix hanging
FakeAsyncunit test.
0.21.0+1 - 2015-02-03 #
- Replace
equalsTesterdependency onunittestwith finer-grained dependency onmatcher. pathis now a dev dependency.
0.21.0 - 2015-02-02 #
- Multimap:
toMap()is deprecated and replaced withasMap().toMap()will be removed in v0.22.0. - Cleanup method signatures that were inconsistent with the core library.
- Added
areEqualityGroupsmatcher for testingoperator==andhashCode. - CONTRIBUTING.md added.
0.20.0 - 2014-12-10 #
- Multimap: better
toString()on returned collections. - Multimap: Bugfix: support edits on empty value collections.
- Multimap: Added missing return statment in
fold. - Added isEmpty() in
strings. - Added max SDK constraint <2.0.0
- Minor updates to README.md.
- CHANGELOG.md added
0.19.0+1 - 2014-11-12 #
- Corrected version constraint suggestion in README.md.