v1.2.2
-
CI:
.github/workflows/dart.yml: updated GitHub Actionsactions/checkoutfrom v3 to v6 andcodecov/codecov-actionfrom v3 to v6.
-
BytesBuffer:- Added
writeNullableandreadNullablemethods to write/read nullable objects with a presence boolean flag. - Added
writeJSONandreadJSONmethods to serialize/deserialize JSON-encodable objects as strings. - Reformatted constructor parameter formatting for consistency.
- Minor formatting and whitespace fixes.
- Added
-
Tests (
data_serializer_bytes_buffer_test_base.dart):- Improved formatting and style consistency.
- Added comprehensive tests for
writeNullable/readNullablecovering null, non-null, custom objects, and sequential values. - Added comprehensive tests for
writeJSON/readJSONcovering maps, lists, primitives, sequential values, and equivalence to direct JSON encode/decode. - Added more explicit expectations and improved test readability.
-
pubspec.yaml:- Updated Dart SDK constraint to
>=3.10.0 <4.0.0. - Updated dependencies:
collectionto^1.19.1lintsto^5.1.1testto^1.31.1coverageto^1.15.0pathto^1.9.1
- Updated Dart SDK constraint to