v0.28.0
Pre-releaseWhat's Changed
This release focuses on improving the columns and their built-in types.
Column types improvements
All built-in column types contains a link to the type reference page in the documentation:
Options are now defined using the OptionsResolver
's fluent methods with short description:
This makes them more readable and faster to check for available options by simply navigating to definition.
Column types inheritance
Before, multiple built-in column types were using each other as their parent. This made it impossible to properly define a column type extension without side effects. Therefore, following built-in column types are now using base ColumnType
as their parent directly:
DateColumnType
no longer usesDateTimeColumnType
as its parentDatePeriodColumnType
no longer usesDateTimeColumnType
as its parentDateTimeColumnType
no longer usesTextColumnType
as its parentEnumColumnType
no longer usesTextColumnType
as its parentLinkColumnType
no longer usesTextColumnType
as its parentLinkColumnType
no longer usesTextColumnType
as its parentMoneyColumnType
no longer usesNumberColumnType
as its parentNumberColumnType
no longer usesTextColumnType
as its parent
This may be a breaking change for applications that relied on the old inheritance, for example, in the type extensions.
Priority and visibility of columns
The ColumnInterface
previously held priority and visibility properties with their getters and setters. Those methods were moved:
ColumnConfigInterface::getPriority()
ColumnConfigInterface::isVisible()
ColumnConfigBuilderInterface::setPriority()
ColumnConfigBuilderInterface::setVisible()
This should not affect most of the applications, unless those methods were accessed manually.
Fixes to column-related getters in DataTable
class
Fixed getColumns
, getVisibleColumns
, getHiddenColumns
and getExportableColumns
methods from DataTable
class returning columns in incorrect order and visibility when using personalization
Removed deprecations
- Removed previously deprecated
setName
,setOptions
andsetOption
methods in column builder. - Removed previously deprecated
FormColumnType
.