- The type of the
buffer
constructor argument toTypedDataBuffer
is nowTypeDataList<E>
(instead ofList<E>
). While this is breaking change statically there was a runtime cast that makes this change a no-op in practice. - Require Dart 3.5
- Added package topics to the pubspec file.
- Require Dart 2.17.
- Switch to using
package:lints
. - Populate the pubspec
repository
field.
- Stable release for null safety.
- Update SDK constraints to
>=2.12.0-0 <3.0.0
based on beta release guidelines.
- Add typed queue classes such as
Uint8Queue
. These classes implement bothQueue
andList
with a highly-efficient typed-data-backed implementation. Theirsublist()
methods also return typed data classes. - Update min Dart SDK to
2.4.0
.
- Set max SDK version to
<3.0.0
, and adjust other dependencies.
- Undo unnecessary SDK version constraint tweak.
- Expand the SDK version constraint to include
<2.0.0-dev.infinity
.
- Fix all strong-mode warnings.
- Fix a bug where
TypedDataBuffer.insertAll
could fail to insert some elements of anIterable
.
- Optimize
insertAll
with anIterable
argument and no end-point.
-
Add
start
andend
parameters to theaddAll()
andinsertAll()
methods for the typed data buffer classes. These allow efficient concatenation of slices of existing typed data. -
Make
addAll()
for typed data buffer classes more efficient for lists, especially typed data lists.
- ChangeLog starts here