v0.1.10
What's Changed
π New Features
- Media Metadata Enrichment: Replaced the basic
generateUUIDsfunction with a comprehensive set of media handling helpers that enrich media field values (PhotoField,VideoField,SignatureField) with additional metadata includingmime_type,original_filename, timestamps (attached_at_client,signed_at_client,captured_at_client), and stable media IDs (ed0816d) - Dual Field Key Lookup: Media field values are now resolved by checking both
data_nameandkeyfield identifiers, improving compatibility with different schema configurations (ed0816d) - Field Key Mode Support: Added
resolveFieldOutputKeyandresolveRepeatableOutputKeyhelpers that respect afieldKeyModesetting, allowing output records to usedata_name-based keys when configured (ed0816d) - Media Field Preservation: Added
MEDIA_PRESERVED_FIELDSlist andcopyMediaFields/preserveMediaValueutilities to ensure existing media metadata (checksums, URLs, upload status, etc.) is preserved and not overwritten during enrichment (ed0816d)
π Bug Fixes
- Signature Field Detection:
SignatureFieldenrichment now also triggers when anasset_idis present (not only whendatais set), fixing cases where pre-uploaded signatures were not assigned an ID (ed0816d)
π§ Maintenance
- UUID Version: Removed the
uuidv4import; media IDs now consistently useuuidv7for time-ordered identifiers (ed0816d) - form0-core: Updated
form0-coredependency from0.1.19to0.1.20(ed0816d)
Full Changelog: v0.1.9...v0.1.10