Releases: locomotivemtl/charcoal-property
Releases · locomotivemtl/charcoal-property
charcoal-property 0.6.2
- Fix issue on php7.2
- Improve handling of config path
charcoal-property 0.6
setDependencies is now protected
0.5.2
Fixed saving of l10n file using data URI
0.5.1: Various Improvements
Highlights:
- Fixed method signature of
AbstractProperty::displayVal()
in extended classes - Cleanup
PropertyField
methods - Added
StorablePropertyTrait::fieldNames()
- Improved unit tests for
StorablePropertyTrait
,PropertyField
,IdProperty
0.5: Added Model Structure Property
Moved metadata/modeling from StructureProperty
to new ModelStructureProperty
.
This allows the base StructureProperty
to serve its initial use case (miscellaneous data dumps; e.g.: a "raw data" property or a "log" model).
Breaking Change:
- Switch to
"type": "model-structure"
if a structure property has metadata or a model settings
Highlights:
- Improved parsing of structure vals to better use the models they are bound to
- Added support for saving nested properties when saving the structure property
- Added customizable "sql_type" to pick among the TEXT data types
0.4.4: Improved Selectable Properties
Highlights:
- Added
sqlEncoding
to base properties, to allowutf8mb4
when necessary - Formatting of choice structure moved from
choice()
toparseChoice()
- Revised
SelectableProperty
mixin: - Added
addChoices()
,hasChoices()
,choiceLabel()
- Added
parseChoices()
andparseChoice()
for use in subclasses - Cleaned up method documentation;
- Updated
LangProperty
andObjectProperty
:- Added
ObjectProperty::pagination()
to limit selectable choices - Moved preparation of collection loader (filters and orders) from
ObjectProperty::choices()
andhasChoices()
to newObjectProperty::collectionModelLoader()
- Added
- Improved
ContainerIntegrationTrait
- Updated unit tests for selectable properties
0.4.3: Updated Unit Tests
Highlights:
- Added
StorablePropertyTrait::createPropertyField()
- Added
AbstractProperty::l10nIdent()
- Refactored unit tests to use a
ContainerProvider
andContainerIntegrationTrait
charcoal-property 0.4.2
- Add filesystem to HTMLProperty.
0.4.1
Highlights:
- Fixed branch-alias (0.4)
- Integrated Flysystem with
FileProperty
- Added prototype model getter to
StructureProperty
charcoal-property 0.4
- Migrate to charcoal-translator
- Many fixes to FileProperty
- Support effects in Image Property