logd_toon 0.1.7
logd_toon: ^0.1.7 copied to clipboard
Tab-Oriented Object Notation (TOON) formatter, encoder, and file handler satellite package for logd.
0.1.7 #
- Requires logd ^0.10.6.
- Minimum Dart SDK is now 3.10.0 (the previous 3.6.0 floor could not be resolved because of dependency requirements)
- Maintenance: Update repository, issue tracker, documentation, and raw asset URLs to reflect account migration to
pccria.
0.1.5 #
- Documentation: Use absolute raw asset URLs for README visual diagrams to ensure proper rendering on pub.dev.
0.1.4 #
- Documentation: Added official high-DPI hero branding and TOON vs JSON token reduction comparison diagram.
0.1.3 #
- Memory Safety & Buffer Optimization:
- Optimized
ToonEncoder.extractPreambleto scan an initial 8KB window (sublistView) rather than allocating and decoding multi-megabyte/gigabyte byte buffers in full into UTF-16 memory.
- Optimized
- Normalization & Validation:
- Added Windows CRLF line ending normalization (
\r\nand\rto\n) inToonFormatterandToonPrettyFormatterbefore line splitting, preventing trailing carriage returns from corrupting TOON row values. - Added strict validation for
delimiter(rejecting empty or newline characters) andmaxDepth(>= 1).
- Added Windows CRLF line ending normalization (
- Dependency Alignment: Updated minimum
logddependency constraint to^0.10.2.
0.1.2 #
- Dependency Resolution: Tightened
logddependency constraint to^0.10.0to prevent ambiguous import collisions during dependency resolution.
0.1.1 #
logdv0.10.x Support: Widened dependency constraint tologd: '>=0.9.7 <0.11.0', enabling seamless compatibility withlogdv0.10.0's pure semantic engine.- Clean Imports (No Shims): Removed obsolete
hideclauses from documentation and examples as legacy TOON shims have been permanently deleted inlogdv0.10.0. - Documentation: Updated migration guide to reflect permanent removal of core shims in
logdv0.10.0+.
0.1.0 #
- Initial Release: Satellite package release of
logd_toon. - Core Components: Introduced
ToonFormatter,ToonEncoder, andToonFileHandlerfor highly optimized tab-oriented logging. - Controls & Dialects: Added support for
explicitSchema, dialect controls (ToonDialect.strictvsToonDialect.compact), object depth limits, and map key sorting. - Bug Fixes:
- Fixed a critical isolate-boundary bug where
LoggerSerializationRegistrywould silently overwrite TOON serializers with deprecated core shims. - Fixed preamble extraction bug in
ToonEncoder.extractPreamblethat truncated early on colons. - Hardened context ingestion in
ToonFormatterto safely handle raw strings or non-map objects.
- Fixed a critical isolate-boundary bug where
- Testing & Stability: Established a robust 27-test suite validating isolate-safe serialization, encoder escaping rules, file handlers, and null-emission behaviors (
\N). - Documentation: Added comprehensive guides covering TOON architecture, dialect comparisons, throughput benchmarks, and a v0.9.6 migration guide.
- Examples: Included standard examples (
example/main.dart) alongside advanced patterns (example/extra/) for file rotation, depth clamping, and schema evolution.