dataforge_base 0.6.4
dataforge_base: ^0.6.4 copied to clipboard
Base package for dataforge containing models, parser, and writer.
0.6.2 #
Changed #
- Make generated
copyWithimplementation classes public (e.g.,_ClassNameCopyWith->ClassNameCopyWith). - Make
copyWithclass constructors public to allow instantiation across files for nestedcopyWithsupport.
0.6.1-dev.1 #
Changed #
- Refined
copyWithsingle-field update methods to use internalcall()method, ensuring all fields are correctly preserved.
0.6.1-dev.0 #
- copyWith Null Handling: Improved null handling for non-nullable primitive types (String, int, double, bool)
- Provides default values instead of throwing
TypeErrorwhen null is passed - String:
'', int:0, double:0.0, bool:false
- Provides default values instead of throwing
0.6.0 #
- Bug Fixes:
- Fixed DateTime converter padding logic that could produce incorrect dates
- Now correctly handles 10-digit (seconds) and 13-digit (milliseconds) timestamps
- Throws
FormatExceptionfor ambiguous timestamp lengths
- New Features:
- Added circular dependency detection
- Added structured logging with
DataforgeLogger
- Performance:
- Code generation optimized with
@pragma('vm:prefer-inline')
- Code generation optimized with
- Stable release
0.6.0-dev.4 #
- Optimize generated code performance by adding
@pragma('vm:prefer-inline').
0.6.0-dev.2 #
- Fix type casting mismatch for
doublefields incopyWithby enabling smart casting fromint(vianum).
0.6.0-dev.1 #
- Fix
readObjectcall arguments to pass value directly instead of map and key.
0.6.0-dev.0 #
- Refine nested
copyWithAPI: use chained getter syntax (e.g.,.$address.street) and remove flat accessor syntax.
0.5.0 #
- Initial release.
- Extracted core logic (models, parser, writer) from
dataforge_generator.