cldf 1.1.0
cldf: ^1.1.0 copied to clipboard
A Dart implementation of the Crushlog Data Format (CLDF) for climbing data exchange.
Changelog #
1.1.0 #
Added #
- Flexible media model support with new
MediaandFlexibleMediaItemclasses MediaSourceenum extended with:local,cloud,referencevaluesRouteCharacteristicsenum for route protection types (trad/bolted)- New fields in models:
Tag: Added requiredisPredefinedfieldLocation: Addedstarred(bool) andcreatedAt(DateTime?) fieldsSector: AddedisDefault(bool),createdAt(DateTime?), andapproach(String?) fieldsRoute: AddedrouteCharacteristics(RouteCharacteristics?) andgearNotes(String?) fieldsSession: AddedisOngoing(bool) field with default value of false
- Comprehensive test coverage for all model updates
Changed #
MediaItem.idchanged from String to int for consistencyTag.categorychanged from required to optionalLocation.countrychanged from required to optionalProtectionRatingenum updated to match schema values: bombproof, good, adequate, runout, serious, xRockTypeenum updates:- Changed
tufftovolcanicTuff - Added: dolomite, slate, gabbro, andesite, chalk
- Changed
SessionTypeenum added: multiPitch, boardSessionMediaSourceenum maintains backward compatibility with legacy values
Fixed #
- Schema synchronization issues between Dart and Java implementations
- Type consistency across all CLDF components
1.0.0 #
- Initial release
- Full support for CLDF 1.0.0 specification
- Read and write CLDF archives
- JSON serialization/deserialization for all models
- Type-safe Dart models
- Archive creation with automatic checksums