CRUDlex v0.10.0 Release Notes

Release Date: 2016-09-18 // about 5 years ago
  • 🚀 Released: 2016-09-18

    • ➕ Added a new data type implementing a many-to-many relationship called "many", sponsored by italic
    • Switched to SemVer
    • ➕ Added validation of the entity definition YAML file
    • 🤡 Replaced handwritten mocks with Phony
    • 🚚 Moved the mime type reading into an own class
    • ➕ Added a meaningful exception if invalid field names are given in "fieldList" or "filter"
    • Attention: The minimum PHP version is now 5.5
    • ⚡️ Attention: Updated to Silex 2.0
    • Attention: Switched from PSR-0 to PSR-4
    • Attention: The field entity.field.reference.table is not needed anymore
    • Attention: Renamed entity definition YAML fields:
      • setitems -> items
      • filepath -> path
      • fixedvalue -> value
    • 🚚 Attention: Moved the following functions from the ServiceProvider to Twig extensions:
      • arrayColumn -> Twig Filter arrayColumn
      • getLanguageName -> Twig Filter languageName
      • formatFloat -> Twig Filter float
      • basename -> basename
      • formatDate -> formatDate
      • formatDateTime -> formatDateTime
    • Attention: Replaced the following functions of the class EntityDefinition with getSubTypeField:
      • getReferenceNameField
      • getReferenceEntity
    • Attention: Replaced the following functions of the class EntityDefinition with getField:
      • getDescription
      • getFloatStep
      • getItems
      • getValue
      • getPath
      • isUnique
      • isRequired
    • Attention: Replaced the following functions of the class EntityDefinition with setField:
      • setDescription
      • setFloatStep
      • setItems
      • setValue
      • setPath
      • setUnique
      • setRequired
    • Switched to a flag-sprites.com generated css sprite for the language flags
    • ⚡️ Updated dependencies:
      • "silex/silex": "~2.0"
      • "symfony/twig-bridge": "~3.1"
      • "philiplb/valdi": "0.10.0"
      • "symfony/yaml": "~3.1"
      • "symfony/translation": "~3.1"
      • "symfony/intl": "~3.1"
      • "symfony/browser-kit": "~3.1"
      • "symfony/css-selector": "~3.1"
      • "eloquent/phony": "~0.13"
      • Bootstrap 3.3.7
    • Switched to the array shorthand
    • Correctly saving null if not required date time fields are not filled