cool_bedrock 3.0.0
cool_bedrock: ^3.0.0 copied to clipboard
A bedrock package providing the blueprints and abstract definitions necessary to build a scalable and maintainable Dart/Flutter application.
3.0.0 #
โ ๏ธ Breaking changes #
- Minimum Dart SDK is now
>=3.13.0 equatableupgraded to^3.0.0:Entity,Params,IssueandCodablenow extendEquatableinstead of using a mixin, andCodable.serializeris now typed asCodec<dynamic, dynamic>
๐ Bug fixes #
JsonStringCodable.deserializenow parses the incomingStringdirectly instead of pushing its UTF-16 code units through the UTF-8 decoder: every character aboveU+007Fwas corrupted or made the payload fail with aFormatExceptionCodable.encodingis informative forStringpayloads (the transport already decoded them); onlyJsonBytesCodableuses it to decode bytes- The
ArgumentErrorraised byJsonBytesCodable.deserializeandJsonStringCodable.deserializenow names the decoded payload type instead of the input container (which always reportedStringorUint8List), and derives that name with type patterns instead ofruntimeTypebecause type names are not contractually stable in obfuscated or minified release builds
๐ฆ Dependencies #
metaupgraded to^1.19.0andtestto^1.32.0
๐งน Internal #
- Analysis options migrated to
package:coolint/dart.yamland updated tocoolint3.0.0 - Constructors migrated to the primary constructor syntax
unnecessary_await_in_returnlint disabled: it is deprecated since Dart 3.13 and contradictsasync_return_with_no_await- Documentation references fixed and the README examples updated to the current API
1.0.1 #
- โ๏ธ Example and documentation
- โ๏ธ Test coverage
1.0.0 2025-12-2 #
- Initial version.
Added #
- Entity abstract
- Params abstract
- Case, Usecase, UsecaseHandle, OneWayUseCase, OneWayFailureUseCase abstract
- Issue, Failure, RepositoryError, DataSourceException, UsecaseException added
- Service added
- Codable abstract and implementations
- Observer abstract for classes added