CRUDlex v0.12.0 Release Notes
Release Date: 2017-08-22 // over 6 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
- Attention: Switched from the own abstraction "FileProcessorInterface" to the library Flysystem for file handling, API changes: