Skip to content

Releases: Kreyu/data-table-bundle

v0.30.2

24 Apr 17:20
cef7d92
Compare
Choose a tag to compare
v0.30.2 Pre-release
Pre-release

What's Changed

  • fix: render raw separator if separator_html is true by @RafaelKr in #211

New Contributors

Full Changelog: v0.30.1...v0.30.2

v0.30.1

18 Apr 07:56
Compare
Choose a tag to compare
v0.30.1 Pre-release
Pre-release

What's Changed

  1. Fixed BooleanColumnType not rendering since 0.30.0 due to missing translation key #210

Full Changelog: v0.30.0...v0.30.1

v0.30.0

16 Apr 16:07
Compare
Choose a tag to compare
v0.30.0 Pre-release
Pre-release

What's Changed

  1. Improved translation of the column values (#209 #206):
    • added value_translation_key option to ColumnType for more complex use-cases,
    • fixed value_translation_parameters not used in built-in themes,
    • added support for automatic translation of the values that implement the Symfony's translatable contract,
    • added documentation section about translating the column values - see docs
  2. Added the separator_html option to CollectionColumnType. Setting this option to true will render the value given in separator option as HTML. This allows providing separators like <br/> or <hr/> (#207).
  3. The separator option in CollectionColumnType now accepts values that implement the Symfony's translatable contract (#207).
  4. Added a "demo applications" section to documentation, open for community examples and demos ❤️ (#111)

Full Changelog: v0.29.2...v0.30.0

v0.29.2

02 Apr 19:48
Compare
Choose a tag to compare
v0.29.2 Pre-release
Pre-release

What's Changed

  1. Fixed CollectionColumnType with non-scalar values in collections #203

Full Changelog: v0.29.1...v0.29.2

v0.29.1

27 Mar 12:59
Compare
Choose a tag to compare
v0.29.1 Pre-release
Pre-release

What's Changed

  1. Fixed missing btn-icon class in Tabler theme when using FormActionType with icon, but without label

Full Changelog: v0.29.0...v0.29.1

v0.29.0

27 Mar 12:14
Compare
Choose a tag to compare
v0.29.0 Pre-release
Pre-release

What's Changed

  1. Fixed template inheritance in column header, value and action blocks #201
  2. Actions can define theme-specific variants to change how they are rendered:
// Before ☹️
// - renders with "btn btn-primary btn-danger foo" classes
// - "btn-primary" comes from theme and cannot be removed
// - final color of the button is determined by which class is defined first in the stylesheet
$builder->addRowAction('delete', ButtonActionType::class, [
    'attr' => [
        'class' => 'btn-danger foo',
    ],
]);

// After 😎
// - renders with proper "btn btn-danger foo" classes
// - backwards compatible
// - concatenates with custom classes in attr option
$builder->addRowAction('delete', ButtonActionType::class, [
    'variant' => 'danger',
    'attr' => [
        'class' => 'foo',
    ],
]);

For more details and full explanation, see action variants documentation.

Full Changelog: v0.28.4...v0.29.0

v0.28.4

21 Mar 11:18
ab9e7b1
Compare
Choose a tag to compare
v0.28.4 Pre-release
Pre-release

What's Changed

  1. Restored default label of ActionsColumnType, removed by mistake in 0.28. Before 0.28 it was "Actions" and this was removed by mistake, and automatically added column was using __actions as label.
  2. Removed unnecessary divs between actions in Bootstrap 5 theme. Previously, making action not visible was still rendering a div, making a visible gap between actions

Full Changelog: v0.28.3...v0.28.4

v0.28.3

21 Mar 08:54
Compare
Choose a tag to compare
v0.28.3 Pre-release
Pre-release

What's Changed

Fixed incorrect behavior when unchecking rows in batch actions. Previously, the FormActionType wasn't properly keeping track of the unchecked rows.

v0.28.2

02 Mar 22:01
5b2693d
Compare
Choose a tag to compare
v0.28.2 Pre-release
Pre-release

What's Changed

  • Fix: DateColumnType error after upgrade to 0.28.x #197
  • Fix: Using the state controller without UX Turbo logs error to console #195

Full Changelog: v0.28.1...v0.28.2

v0.28.1

27 Feb 20:02
Compare
Choose a tag to compare
v0.28.1 Pre-release
Pre-release

What's Changed

  • Fixed empty URL query parameters result in Stimulus error in console #194 #193

Full Changelog: v0.28.0...v0.28.1