Releases: locomotivemtl/charcoal-property
Releases · locomotivemtl/charcoal-property
charcoal-property 0.8.4
Complete commits list: 0.8.3...0.8.4
Summary:
- Add method
AbstractProperty::parseValAsMultiple()
to decouple transformation into array - Add method
AbstractProperty::parseValAsL10n()
to decouple use of the Translator - Add missing validation methods ("min", "max", "required") on
NumberProperty
- Fixed method
PasswordProperty::save()
; thepassword_hash()
function can not rehash a password that is already hashed
charcoal-property 0.8.3
Merge pull request #9 from locomotivemtl/timestamp-datetime Improve DateTimeProperty::dateTimeVal to support timestamp
charcoal-property 0.8.1
- File property and Audio property improvements
- More camelcase fixes.
charcoal-property 0.8.0
BREAKING
- Following the changes in charcoal-config (0.10.0), use
getFoo()
for getters instead offoo()
. - Access properties with ArrayAccess.
charcoal-property 0.7.4.2
Default to json editor input (in admin) for structure properties.
charcoal-property 0.7.1.1
Revert. Re-enable filterPropertyMetadata().
charcoal-property 0.7.1
General
- Explicitly require ext-pdo, ext-fileinfo and ext-SimpleXML in composer
- Code and comments fixes
- Unit tests++
Core
- Added parseVal() and parseOne() to PropertyInterface
- Remove unused "filterPropertyMetadata" method in DescribablePropertyTrait
- Move the "sqlEncoding" property and getter/setter to StorablePropertyTrait
- Provide the (empty) "sqlExtra()" method by default in StorablePropertyTrait
- Remove all unnecessary call to sqlExtra in Property classes
Custom properties
- Remove unsupported (non-working) color modes in ColorProperty
- Fix DateTime logic (value could never be a string)
- Sanitize email in EmailProperty
- Fix typo / validation of allowed objects in MultiObjectProperty
- Fix NumberProperty validation (add min / max)
- Fix sprite validation and improve display options of SpriteProperty
- Add "allowHtml" flag to StringProperty
- BREAKING: false by default
- HtmlProperty's allowHtml is always true
- Allow "long" text (LONGTEXT sql type) for TextPropery
- Sanitize url in UrlProperty
charcoal-property 0.7.0
Key Features
Upgraded to locomotivemtl/charcoal-core v0.4.x:
New Metadata Loader and Metadata Config classes
What's new in 0.7.0?
Dependencies
Added
- Dependency to psr/cache (used by
ObjectProperty
) AbstractProperty::metadataClass()
method as per changes toDescribableTrait
[charcoal‑[email protected]]ModelStructureProperty::structureMetadataClass()
methodStructureModel
class as preferred alternative toModel
Changed
AbstractProperty::createMetadata()
method to use new::metadataClass()
method [charcoal‑[email protected]]ModelStructureProperty::createStructureMetadata()
method to use new::structureMetadataClass()
methodModelStructureProperty::loadStructureMetadata()
method to improve operationsModelStructureProperty
class to use newStructureModel
class
charcoal-property 0.6.4
- Fix PDO param type on multiple objects
charcoal-property 0.6.3
Typo in 0.6.2