Skip to content

Upgrading typed_data 0.9 to 1

Breaking0.9.0 → 1.4.0Breaking1Platform3New2Changed2Fixed2Other5

Fetching 20 releases from GitHub…16 / 20
BreakingUpgrade verdict

1 breaking change and 3 platform requirement changes.

  • The constructor now asks for a more specific kind of list, but existing code keeps working at runtime.
  • You need Dart 3.5 or newer to use this version.
  • Require Dart 2.17.
  • Require Dart 3.4.
4 items need code or config changes

Dart SDK requirement changed in 1.4.0: >=1.0.0 <2.0.0 → ^3.5.0.

Breaking1
Changes the buffer constructor argument type of TypedDataBuffer from List<E> to TypedDataList<E>, a static breaking change that is a runtime no-op.
TypedDataBufferbufferTypedDataList<E>List<E>
Platform3
Requires Dart 3.5.
Require Dart 2.17.
Require Dart 3.4.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • changed: class Float32x4Buffer extends _TypedDataBuffer<Float32x4> → class Float32x4Buffer extends TypedDataBuffer<Float32x4>
  • changed: class Int32x4Buffer extends _TypedDataBuffer<Int32x4> → class Int32x4Buffer extends TypedDataBuffer<Int32x4>
  • changed: class Float32x4Buffer extends _TypedDataBuffer<Float32x4> → class Float32x4Buffer extends TypedDataBuffer<Float32x4>
  • changed: class Int32x4Buffer extends _TypedDataBuffer<Int32x4> → class Int32x4Buffer extends TypedDataBuffer<Int32x4>
  • added: class Float32Queue extends _FloatQueue<Float32List> implements QueueList<double>
  • added: class Float32x4Queue extends _TypedQueue<Float32x4, Float32x4List> implements QueueList<Float32x4>
  • added: class Float64Queue extends _FloatQueue<Float64List> implements QueueList<double>
  • added: class Int16Queue extends _IntQueue<Int16List> implements QueueList<int>
  • added: class Int32Queue extends _IntQueue<Int32List> implements QueueList<int>
  • added: class Int32x4Queue extends _TypedQueue<Int32x4, Int32x4List> implements QueueList<Int32x4>
  • added: class Int64Queue extends _IntQueue<Int64List> implements QueueList<int>
  • added: class Int8Queue extends _IntQueue<Int8List> implements QueueList<int>
  • added: class Uint16Queue extends _IntQueue<Uint16List> implements QueueList<int>
  • added: class Uint32Queue extends _IntQueue<Uint32List> implements QueueList<int>
  • added: class Uint64Queue extends _IntQueue<Uint64List> implements QueueList<int>
  • added: class Uint8ClampedQueue extends _IntQueue<Uint8ClampedList> implements QueueList<int>
  • added: class Uint8Queue extends _IntQueue<Uint8List> implements QueueList<int>
  • added: ctor Float32Queue([int? initialCapacity])
  • added: ctor Float32Queue.fromList(List<double> elements)
  • added: ctor Float32x4Queue([int? initialCapacity])
  • added: ctor Float32x4Queue.fromList(List<Float32x4> elements)
  • added: ctor Float64Queue([int? initialCapacity])
  • added: ctor Float64Queue.fromList(List<double> elements)
  • added: ctor Int16Queue([int? initialCapacity])
  • added: ctor Int16Queue.fromList(List<int> elements)
  • added: ctor Int32Queue([int? initialCapacity])
  • added: ctor Int32Queue.fromList(List<int> elements)
  • added: ctor Int32x4Queue([int? initialCapacity])
  • added: ctor Int32x4Queue.fromList(List<Int32x4> elements)
  • added: ctor Int64Queue([int? initialCapacity])
  • added: ctor Int64Queue.fromList(List<int> elements)
  • added: ctor Int8Queue([int? initialCapacity])
  • added: ctor Int8Queue.fromList(List<int> elements)
  • added: ctor Uint16Queue([int? initialCapacity])
  • added: ctor Uint16Queue.fromList(List<int> elements)
  • added: ctor Uint32Queue([int? initialCapacity])
  • added: ctor Uint32Queue.fromList(List<int> elements)
  • added: ctor Uint64Queue([int? initialCapacity])
  • added: ctor Uint64Queue.fromList(List<int> elements)
  • added: ctor Uint8ClampedQueue([int? initialCapacity])
  • added: ctor Uint8ClampedQueue.fromList(List<int> elements)
  • added: ctor Uint8Queue([int? initialCapacity])
  • added: ctor Uint8Queue.fromList(List<int> elements)