Skip to content

Releases: pointybeard/symphony-section-builder

0.1.6

23 Feb 07:16
Compare
Choose a tag to compare

Changed

  • Showing result count when running bin/diff
  • Passing section handle to call of AbstractField::loadFromElementName() in Lib\Diff
  • Added sectionHandle argument to AbstractField::loadFromElementName() method.
  • Updated AbstractField::loadFromElementName() to use sectionHandle in SQL, ensuring the correct field is retrieved (i.e. not just the first found with elementName)

Fixed

  • Fixed example in --usage for bin/export

Added

  • Added phpunit/phpunit and moved symphonycms/symphony2 to require-dev composer definition.

0.1.4

02 Dec 12:22
Compare
Choose a tag to compare

Added

  • Added test data for import and diff
  • Added symphonycms/symphony-2 and pointybeard/php-cli-lib to composer
  • Added --help information
  • Using CLILib for parsing arguments and displaying messages in bin/diff, bin/import, and bin/export

Changed

  • Changed AbstractTableModel::isFlagSet() from protected to public
  • Added extra checks to Select model hasAssociations(), associationParentSectionId(), and associationParentSectionFieldId() methods to ensure 'dynamicOptions' is an instance of Property before trying to test the value
  • Renamed DiffRecord to Record 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()