Skip to content

@paveljanda paveljanda released this May 25, 2019 · 30 commits to master since this release

Bump V6!

IMG_2014

Diff: v5.7.2...v6.0.0

Features

  • Using Nette v3
  • Using PHP 7.2 including strinct types

BC Breaks:

  • Changed method name: Ublaboo\DataGrid\Column\Column::addAttributes() -> ::addCellAttributes():
    • Ublaboo\DataGrid\Column\Action::addAttributes() -> ::addCellAttributes()
    • Ublaboo\DataGrid\Column\ColumnDateTime::addAttributes() -> ::addCellAttributes()
    • Ublaboo\DataGrid\Column\ColumnLink::addAttributes() -> ::addCellAttributes()
    • Ublaboo\DataGrid\Column\ColumnNumber::addAttributes() -> ::addCellAttributes()
    • Ublaboo\DataGrid\Column\ColumnStatus::addAttributes() -> ::addCellAttributes()
    • Ublaboo\DataGrid\Column\ColumnText::addAttributes() -> ::addCellAttributes()
    • Ublaboo\DataGrid\Column\MultiAction::addAttributes() -> ::addCellAttributes()
  • Changed method name and method parameters:
    • Ublaboo\DataGrid\Column\Action::setConfirm(some mixed thing) -> ::setConfirmation(IConfirmation $confirmation)
      • There are 2 IConfirmation implementations: StringConfirmation and CallbackConfirmation
  • Names of template variables changed from snake_case to camelCase:
    • $columns_visibility -> $columnsVisibility
    • $original_template -> $originalTemplate
    • etc ...
  • Changed method parameter:
    • Ublaboo\DataGrid\Column\Column::setSort(array $sort) -> ::setSort(string $sort) (Before: ['status' => 'ASC'], after: 'ASC')
  • Dropped coffescritpt/sass assets -> using only JS/CSS assets now
Assets 2
You can’t perform that action at this time.