charcoal-property 0.11.0
Complete commits list: 0.10.5...0.11.0
Breaking Changes:
- Removed deprecated accessor methods in favour of get-prefix variants
- Refactored validation methods to focus on values (i.e., files) directly (see new
parseValAsFileList()
) - Changed how default MIME types are defined to allow overriding in media-specific properties (see new
getDefaultAcceptedMimetypes()
)
Fixed:
- Edge case where MIME type resolution returns "inode/x-empty" or empty string
- Edge cases where a string is expected but a Translation object or an array is passed
- Support for validating/handling multilingual/multiple values
Added:
- Option fallbackFilename to customize generated filename (defaults to property label)