Releases: google/built_collection.dart
Releases · google/built_collection.dart
Add BuiltIterable interface
BuiltIterable is now available for when you want to accept a BuiltList or a BuiltSet.
Use real generic syntax
Merge pull request #99 from davidmorgan/generics-syntax Use real generic syntax.
Add operator[] to ListBuilder and MapBuilder
This makes it possible to do inline updates like
list = list.rebuild((b) => b[0]++);
map = map.rebuild((b) => b['key']++);
Allow quiver 0.25.
Merge pull request #95 from davidmorgan/release-1-3-0 Allow quiver 0.25.
Minor change to BuiltSet
Widen parameter of BuiltSet.difference and BuiltSet.intersection to BuiltSet to match Set.
Add asList, asSet, asMap methods
Also update for compatibility with SDK 1.21.0 which changes the Set.difference method.
Relax type checks based on strong mode guarantees
From 1.1.0, please make sure code using built_collection passes strong mode checks:
https://github.com/dart-lang/dev_compiler/blob/master/STRONG_MODE.md
For example, this used to need a runtime check:
new BuiltList((b) => b..add('not an int'))
Now it can be caught via static analysis, so the runtime check has been removed to improve performance.
Allow quiver 0.23.
Merge pull request #74 from davidmorgan/upgrade-quiver Allow quiver 0.23.
Strong mode clean.
Merge pull request #72 from davidmorgan/release-strong-mode Release 1.0.5.
Add reference identity check to equals operators.
Merge pull request #70 from davidmorgan/release-faster-equals Release 1.0.4