Skip to content

charcoal-property 0.11.0

Compare
Choose a tag to compare
@mcaskill mcaskill released this 15 Apr 18:07
· 10 commits to master since this release
436d742

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)