Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Releases: dart-archive/collection

package:collection v1.19.0

13 Jun 23:32
9354f38
Compare
Choose a tag to compare
  • Adds shuffled to IterableExtension.
  • Shuffle IterableExtension.sample results.
  • Fix mergeSort when the runtime iterable generic is a subtype of the static
    generic.
  • CanonicalizedMap: added constructor fromEntries.
  • Mark "mixin" classes as mixin.
  • extension IterableIterableExtension<T> on Iterable<Iterable<T>>
    • Add flattenedToList as a performance improvement over flattened.
    • Add flattenedToSet as new behavior for flattening to unique elements.
  • Deprecate transitiveClosure. Consider using package:graphs.
  • Deprecate whereNotNull() from IterableNullableExtension. Use nonNulls
    instead - this is an equivalent extension available in Dart core since
    version 3.0.
  • Require Dart ^3.4.0

package:collection v1.18.0

26 Jul 01:04
0a2885a
Compare
Choose a tag to compare
  • CanonicalizedMap:
    • Added copy: copies an instance without recalculating the canonical values of the keys.
    • Added toMap: creates a Map<K,V> (with the original key values).
    • Added toMapOfCanonicalKeys: creates a Map<C,V> (with the canonicalized keys).
  • Fixes bugs in ListSlice.slice and ListExtensions.slice.
  • Update to package:lints 2.0.1.

v1.17.2

12 May 20:58
6abff47
Compare
Choose a tag to compare
  • Accept Dart SDK versions above 3.0.

v1.17.1

26 Jan 18:05
a566328
Compare
Choose a tag to compare
  • Require Dart 2.18
  • Improve docs for splitAfter and splitBefore.

1.14.10: Remove uses of `retype` (#95)

12 Jun 13:44
5c01f4e
Compare
Choose a tag to compare
  • Remove uses of retype.
  • Fix various bugs, mainly in tests.

1.14.9

20 Mar 17:15
d3db386
Compare
Choose a tag to compare
  • Fixed bugs where QueueList, MapKeySet, and MapValueSet did not adhere to
    the contract laid out by List.cast, Set.cast and Map.cast respectively.
    The returned instances of these methods now correctly forward to the existing
    instance instead of always creating a new copy.

1.14.7

13 Mar 00:37
9ad39ba
Compare
Choose a tag to compare
  • Only the Dart 2 dev SDK (>=2.0.0-dev.22.0) is now supported.
  • Added support for all Dart 2 SDK methods that threw UnimplementedError.

1.14.0

26 Mar 17:48
Compare
Choose a tag to compare

1.14.0

  • Add CombinedListView, a view of several lists concatenated together.
  • Add CombinedIterableView, a view of several iterables concatenated together.
  • Add CombinedMapView, a view of several maps concatenated together.