Skip to content

Commit 7c5a1e1

Browse files
committed
Prepare 2.1.0 release
1 parent 6d53c3f commit 7c5a1e1

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.0
2+
3+
- Migrated to null-safety. ([#5](https://github.com/isoos/bit_array/pull/5) by [eugmes](https://github.com/eugmes)).
4+
15
## 2.0.0
26

37
**BREAKING CHANGES**

lib/src/composite_counter.dart

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,11 @@ class CompositeCounter {
151151
CompositeSet toMask({int minValue = 1}) {
152152
return CompositeSet(
153153
chunkBits: chunkBits,
154-
chunks: chunks
155-
.expand<BitSetChunk>((c) {
156-
final set = c.bitCounter.toMask(minValue: minValue);
157-
if (set.isEmpty) return [];
158-
return [BitSetChunk(c.offset, set)];
159-
})
160-
.toList());
154+
chunks: chunks.expand<BitSetChunk>((c) {
155+
final set = c.bitCounter.toMask(minValue: minValue);
156+
if (set.isEmpty) return [];
157+
return [BitSetChunk(c.offset, set)];
158+
}).toList());
161159
}
162160

163161
/// Updates the values to the maximum of the pairwise values with [other].

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: bit_array
22
description: >
33
A bit array (also known as BitMap, BitSet, BitString, or BitVector)
44
is an array data structure that compactly stores bits.
5-
version: 2.0.0
5+
version: 2.1.0
66
homepage: https://github.com/isoos/bit_array
77
author: Istvan Soos <istvan.soos@gmail.com>
88

0 commit comments

Comments
 (0)