CRUDlex v0.12.0 Release Notes

Release Date: 2017-08-22 // over 4 years ago
    • Attention: Switched from the own abstraction "FileProcessorInterface" to the library Flysystem for file handling, API changes:
      • All implementations of the FileProcessorInterface are gone now
      • The class "MimeTypes" is gone now
      • DataFactoryInterface::createData now needs a League\Flysystem\FilesystemInterface as last parameter
      • The constructor of MySQLData now takes a FilesystemInterface instead of a FileProcessorInterface
      • ServiceProvider::init now takes only two parameters: $crudFileCachingDirectory, Container $app
      • AbstractData::shouldExecuteEvents is now public
      • AbstractData::createFiles, ::updateFiles, ::deleteFile, ::deleteFiles and ::renderFile are moved to an own class: FileHandler
    • ๐Ÿšš Attention: Moved the event handling to an own class and so the API changed
    • โž• Added a caching mechanism for the parsing of the CRUD YAML files
    • โž• Added the possibility to group entities in the navigation bar, thanks to https://github.com/dmaciel
    • โž• Added an optional hideId parameter for references and many relations so the id is hidden in the reference buttons, thanks to https://github.com/jmfayard
    • Optimistic locking can now be turned off per entity
    • ๐Ÿฑ Attention: Prefixed the name of the route for static assets from "static" to "crudStatic" just like the other routes
    • โž• Added documentation about the routes added by ControllerProvider
    • Attention: Changed the following routes from "match" to just "get", so only HTTP GET is allowed on them:
      • crudList
      • crudShow
      • crudRenderFile
    • โž• Added documentation about how to optimize serving the static content
    • ๐Ÿšš Attention: Moved the events code up to the abstract data class which changed the signatures a bit
    • "before" "delete" Events of cascade deleted children are now properly taken into account
    • โž• added @var annotations to class members for better IDE usage
    • ๐Ÿ’… switched code formatting from Javaish style to the PSR-2 standard
    • โšก๏ธ Updated dependencies:
      • "silex/silex": "~2.2"
      • "doctrine/dbal": "~2.5"
      • "symfony/twig-bridge": "~3.2"
      • "symfony/yaml": "~3.3"
      • "symfony/translation": "~3.3"
      • "symfony/intl": "~3.3"
      • "symfony/browser-kit": "~3.3"
      • "symfony/css-selector": "~3.3"
      • "eloquent/phony": "~1.0"
      • Quill Editor v1.3.1
      • flatpickr v3.0.7