Skip to content

Releases: google/built_collection.dart

Update pub package description

16 Jan 08:14
7bf1786
Compare
Choose a tag to compare
Merge pull request #127 from davidmorgan/update-description

Release 3.0.1.

Changes for Dart 2

08 Jan 08:51
b3269cc
Compare
Choose a tag to compare

Add new methods that will appear in Dart 2. They are currently not implemented.

This is a breaking change for libraries that implement their own built collections, hence the major version increase. Most users will not need to make any changes.

Revert changes for Dart 2

08 Jan 08:39
fd0e30d
Compare
Choose a tag to compare

Changes for Dart 2 will be re-released as v3.0.0.

They don't make any differences for most users, but for libraries that implement their own built collections, the changes were breaking. So they need a major version increase.

Fix changes for Dart 2

21 Dec 15:02
e094ed2
Compare
Choose a tag to compare

Previous release had some issues.

Prepare for Dart 2; add methods to Iterable

21 Dec 14:24
67b9a06
Compare
Choose a tag to compare

They are currently not implemented.

Allow different Set and Map bases

04 Dec 12:28
f440a2f
Compare
Choose a tag to compare

BuiltSet and BuiltMap now allow you to specify the underlying collection type. For example, you can construct a BuiltSet using a SplayTreeSet. This results in a set that is always in sorted order instead of preserving insertion order. Another useful possibility is to use a HashSet, which leads to a random order but improves performance over the default.

See SetBuilder.withBase and MapBuilder.withBase.

Separate interfaces

20 Nov 15:38
d6b49a8
Compare
Choose a tag to compare

Split collection classes into abstract interfaces and concrete, private, implementations. This allows new implementations of the interfaces. Note that this change is invisible unless you rely on the exact runtimeType of the collections.

Fix null checking

16 Nov 12:57
966de49
Compare
Choose a tag to compare

Fix a bug whereby ListBuilder and MapBuilder allowed nulls to be introduced via map and expand.

Allow quiver 0.26

09 Nov 09:17
1e653a9
Compare
Choose a tag to compare
Merge pull request #109 from davidmorgan/bump-quiver

Allow quiver 0.26.

Make addIterable generic

17 Oct 15:27
Compare
Choose a tag to compare

This allows the types of functions passed in to be inferred. Without this, the analyzer will start to complain unless you type them explicitly.