Repository navigation
v1.1.3
-
lib/src/async_task_base.dart:_AsyncExecutorSingleThread.execute(used withparallelism: 0and on the Web): marks the task as submitted immediately,
as theIsolateexecutor does, so a repeatedAsyncExecutor.executeof the same task no longer executes it twice.AsyncTask: a throwingOnFinishAsyncTasktrigger now logs its own error (was logging the task error).
-
lib/src/async_task_shared_data.dart:SerializableData.copyGeneric: fixedInt16ListandFloat64Listcopies (were creating anInt8List/Float32Listand failing).SerializableData.copyGeneric,serializeGeneric,deserializeGeneric:MapEntrynow keeps itsvalue(thekeywas used for both).SerializableData.deserializeGeneric:dynamic/Objecttypes return the value as is,
allowing the deserialization of untypedList,Set,IterableandMapEntryelements.
-
lib/src/async_task_extension.dart:ListDoubleExtension.toFloat64x2List: fixed index computation (was failing for lists with more than 2 values).
-
lib/src/async_task_shared_pointer.dart:SharedPointerAddress.serialize: fixed the order of the serialized fields, matchingdeserialize.
-
lib/src/async_task_channel.dart:AsyncTaskChannelconstructor: uses a private initializing formal (the named parameter is stillmessageHandler).
-
Removed library names (
library;) and fixed dartdoc references. -
dart formatwith the Dart 3.13 style. -
Tests:
- New
async_task_executor_test.dart(VM and Web),async_task_isolate_test.dart(VM) andasync_task_shared_data_test.dart. - Close all executors at the end of the tests.
- New
-
pubspec.yaml:- Updated SDK constraint to
^3.13.0. - Updated dependencies:
async_extensionto ^1.2.23ffito ^2.2.0
- Updated dev_dependencies:
lintsto ^6.1.0testto ^1.33.0dependency_validatorto ^5.1.0coverageto ^1.16.0vm_serviceto ^15.4.0
- Updated SDK constraint to
-
.github/workflows/dart.yml:actions/checkout@v7.codecov/codecov-action@v7.