Skip to content

charcoal-admin 0.29.0

Compare
Choose a tag to compare
@mcaskill mcaskill released this 14 Mar 22:49
· 65 commits to master since this release

Key Features

Improved model property validation feedback

The model property's label will be prepended, if missing, to the validator result message to provide context as to which data is invalid when saving changes.


What's new in 0.29.0?

Complete commits list: 0.28.2...0.29.0

Added

  • Method FeedbackContainerTrait::addFeedbackFromValidatable()
  • Method FeedbackContainerTrait::addFeedbackFromValidator()
  • Method FeedbackContainerTrait::addFeedbackFromValidatorResult()
  • Method AbstractSaveAction::isValidatable()
  • Method AbstractSaveAction::addFeedbackFromModel() (replaces addFeedbackFromValidation())
  • Method AbstractSaveAction::addFeedbackFromModelValidatorResult()

Removed

  • Method AbstractSaveAction::addFeedbackFromValidation()