Acantepie Umbrella Versions Save

Umbrella framework

v6.1

2 years ago

Upgrade for php 8.0 / Sf 6.0

v5.0

2 years ago
  • Menu :
    • Add url() and target() methods on MenuBuilder
  • DataTable :
    • Remove load_url option, use load_route and load_route_params option instead
    • Remove toolbar_class option, use toolbar_template to override class of toolbar template instead
    • Rename DetailsHandleColumnType column by DetailsColumnType
    • Remove CheckboxColumnType column and RadioColumnType column, use select option instead (can be multi, single or false). Set option select will automatically add an internal column with checkbox or radio.
    • Add setRowSelectable method for builder to determine if a row can be selected or not.
    • Remove ManyColumnType column (hard to use / customize).
    • Remove tree_state option, use tree_expanded option instead (can be true or false)
    • Add suffix Type to adapter type class.
    • Add DataTableActionState utils, to retrieve datatable state from an action (i.e : filter used, rows selected, columns order, ...)
    • option table_class replaced by class (revert)
    • option class replaced by container_class (revert)
    • Add option stripe_class to define stripe class of rows (ex : odd, even). Class table-striped is not used any more by default (cause glitch if datatable has extra rows).
  • DataTable (removed feature) :
    • Remove DragHandleColumnType, RowReorder helper, rowreorder_route and rowreorder_route_params options and remove rowReorder js datatable plugin.
  • Remove Widget component => Replaced by lightweight but more configurable Datatable\Action component:
    • Method addWidget / removeWidget / hasWidget doesn't exist anymore on Datatable builder. Use addAction / removeAction / hasAction instead
    • Remove WidgetColumnType column, use ActionColumnType column instead.
  • Fix
    • prevent open multiple confirm modal
  • Routing : Replace route annotation on vendor by config file (bundle best practice)
    • To load admin routes, you have to import:
      • @UmbrellaAdminBundle/config/routes/profile.php instead of @UmbrellaAdminBundle/config/routes/user_profile.yaml
      • @UmbrellaAdminBundle/config/routes/user.php + @UmbrellaAdminBundle/config/routes/security.php instead of @UmbrellaAdminBundle/config/routes/user.yaml
      • @UmbrellaAdminBundle/config/routes/notification.php instead of @UmbrellaAdminBundle/config/routes/notification.yaml

v2.0

3 years ago
  • [UI] Update admin theme
  • [UI] Use bootstrap 5
  • [UI] Upgrade profile view
  • [UI] Use toastify instead of toastr (abandonned lib)
  • [UI] Add menu search
  • [Symfony] Update symfony 5.3
  • [Form] Remove AsyncEntity2Type to AutoCompletType, rework Autocomplete (inspired by EasyAdmin)
  • [Security] Clean User managment, use Symfony 5.3 password hasher and user identifier
  • [Twig] Remove poor logic twig extension used to format html attribute
  • [DataTable] Add DataTable selection mode
  • [DataTable] Add DataTable row expander