Skip to content

v0.28.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Kreyu Kreyu released this 23 Feb 19:05
· 4 commits to main since this release
83930f5

What'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:

image

Options are now defined using the OptionsResolver's fluent methods with short description:

image

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 uses DateTimeColumnType as its parent
  • DatePeriodColumnType no longer uses DateTimeColumnType as its parent
  • DateTimeColumnType no longer uses TextColumnType as its parent
  • EnumColumnType no longer uses TextColumnType as its parent
  • LinkColumnType no longer uses TextColumnType as its parent
  • LinkColumnType no longer uses TextColumnType as its parent
  • MoneyColumnType no longer uses NumberColumnType as its parent
  • NumberColumnType no longer uses TextColumnType 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 and setOption methods in column builder.
  • Removed previously deprecated FormColumnType.