Skip to content

Releases: google/built_collection.dart

Test fix

03 Sep 07:49
Compare
Choose a tag to compare
  • Test fix for new analyzer hint.

Remove obsolete restrictions

10 Jun 15:42
Compare
Choose a tag to compare

5.1.0

  • Allow collections with nullable types, for example BuiltList<T?>.
  • Allow key/value types to be dynamic. This can be useful occasionally, and
    with Dart 2 and null safety it's much harder to use dynamic by accident.

Stable null safe release

09 Feb 09:38
Compare
Choose a tag to compare
v5.0.0

Release 5.0.0.

Null safe `built_collection`

17 Nov 10:47
Compare
Choose a tag to compare
Pre-release
  • Migrate to NNBD.
  • Deps on package:collection and package:quiver have been removed.
  • Multimap builders no longer have addAll methods that accept multimaps from quiver. But, the constructors still work with quiver multimaps.

Add an example

01 Jan 16:31
Compare
Choose a tag to compare
  • Add an example folder with some example code.

Internal cleanup

31 Dec 15:43
Compare
Choose a tag to compare
  • Internal: cleanup for pedantic v1.9.0 lints.

Extension methods

15 Nov 10:25
Compare
Choose a tag to compare
  • Add extensions methods: List.build, Set.build, Map.build,
    Iterable.toBuiltList and Iterable.toBuiltSet. Requires SDK 2.6.0.
  • Cleanup: remove unnecessary new and const.

Bug fix to `ListMultimapBuilder.[]`

12 May 19:37
Compare
Choose a tag to compare
  • Bug fix: ListMultimapBuilder.[] no longer ignores modifications under some
    circumstances.

Bug fix to `ListBuilder` `first` and `last`

06 May 13:35
Compare
Choose a tag to compare
  • Bug fix: ListBuilder first and last setters can no longer modify the
    underlying collection.

Performance improvements

02 Apr 08:07
Compare
Choose a tag to compare
  • Add benchmark for VM and dart2js.
  • Stop doing explicit type checks on elements; in Dart 2 these are implied.
  • Modify methods on ListBuilder and SetBuilder that take Iterable
    elements so they only iterate over the iterable once. Improves performance
    when the iterable are slow/lazy.