Releases: pointybeard/symphony-section-builder
Releases · pointybeard/symphony-section-builder
0.1.6
Changed
- Showing result count when running
bin/diff
- Passing section handle to call of
AbstractField::loadFromElementName()
inLib\Diff
- Added
sectionHandle
argument toAbstractField::loadFromElementName()
method. - Updated
AbstractField::loadFromElementName()
to usesectionHandle
in SQL, ensuring the correct field is retrieved (i.e. not just the first found withelementName
)
Fixed
- Fixed example in
--usage
forbin/export
Added
- Added
phpunit/phpunit
and movedsymphonycms/symphony2
to require-dev composer definition.
0.1.4
Added
- Added test data for import and diff
- Added
symphonycms/symphony-2
andpointybeard/php-cli-lib
to composer - Added
--help
information - Using
CLILib
for parsing arguments and displaying messages inbin/diff
,bin/import
, andbin/export
Changed
- Changed AbstractTableModel::isFlagSet() from protected to public
- Added extra checks to Select model
hasAssociations()
,associationParentSectionId()
, andassociationParentSectionFieldId()
methods to ensure 'dynamicOptions' is an instance ofProperty
before trying to test the value - Renamed
DiffRecord
toRecord
and placed inside/Diff
folder. Updated Diff class to reflect this change - Throwing exception if model for field type cannot be located when attempting to import
- Changed self to static when calling getFieldMappings() in the constructor. This ensures custom properties in the child class are set initialised correctly
- Throwing exception if unable to find field ID from provided element name in
AbstractField::loadFromElementName()
- Throwing exception if unable to load field from provided ID in
AbstractField::loadFromId()