Skip to content

Releases: Kreyu/data-table-bundle

v0.25.2

14 Nov 15:13
Compare
Choose a tag to compare
v0.25.2 Pre-release
Pre-release

What's Changed

Fixes missing initial pagination data, displaying all records at once when page parameter is not given

Full Changelog: v0.25.1...v0.25.2

v0.25.1

14 Nov 10:23
Compare
Choose a tag to compare
v0.25.1 Pre-release
Pre-release

What's Changed

  • Fixed request handler to manually submit forms regardless of request method
  • Fixed "include all" export strategy not working
  • Fixed sort direction visible on non-sortable column in profiler tab
  • Fixed missing "total_count" array key in profiler tab
  • Changed data table url query parameters getter logic to accept nullable sorting data and use DataTableInterface getters instead of views
  • Changed initial pagination/sorting/filtration/personalization data getters to return null if initial nor persistence data is set

Full Changelog: v0.25.0...v0.25.1

v0.25.0

06 Nov 16:04
Compare
Choose a tag to compare
v0.25.0 Pre-release
Pre-release

What's Changed

  • Marked batch, personalization and state Stimulus controllers as lazy
  • Deprecated kreyu_data_table_form_aware block and data_table_form_aware function
  • Fixed state controller URL query parameters not updating dynamically on Turbo navigation visits, by moving it out of the frame
  • Fixed state controller replacing state with the same URL, breaking back button
  • Moved initialization logic out from the builder, fixing an issue with duplicate queries
  • Fixed "include all" export strategy not including all results

Full Changelog: v0.24.3...v0.25.0

v0.24.3

23 Oct 16:20
Compare
Choose a tag to compare
v0.24.3 Pre-release
Pre-release

What's Changed

Fixed action confirmation option throwing exception if callable is provided #139

Full Changelog: v0.24.2...v0.24.3

v0.24.2

22 Oct 13:20
1d9e15e
Compare
Choose a tag to compare
v0.24.2 Pre-release
Pre-release

What's Changed

Fixed base theme throwing error when used with Doctrine's EntityFilterType

Full Changelog: v0.24.1...v0.24.2

v0.24.1

17 Oct 09:21
22b5206
Compare
Choose a tag to compare
v0.24.1 Pre-release
Pre-release

What's Changed

This small release fixes data collector not collecting pagination and filtration data properly and throwing an exception in profiler

Full Changelog: v0.24.0...v0.24.1

v0.24.0

11 Oct 15:17
7e53a0c
Compare
Choose a tag to compare
v0.24.0 Pre-release
Pre-release

What's Changed

This release fixes regression after previous Profiler related changes #137 and improves the pagination "per page" selector.

Fixes and improves the integration with Profiler:

  • now it properly collects pagination data instead of always showing page 1 and 25 items per page
  • now it does not interfere with pagination controls nor current page results

Fixes and improves the "per page" selector:

  • now it properly displays currently selected choice
  • it does not lose other URL query parameters on change (e.g. filtration form)
  • submitting a filtration form no longer resets the per page

Caution

This release is not backwards compatible due to new method in the data table data collector interface:

namespace Kreyu\Bundle\DataTableBundle\DataCollector;

interface DataTableDataCollectorInterface extends DataCollectorInterface
{
+    public function collectPaginationData(DataTableInterface $dataTable, PaginationData $data): void;

Full Changelog: v0.23.0...v0.24.0

v0.23.0

05 Oct 15:32
cc07580
Compare
Choose a tag to compare
v0.23.0 Pre-release
Pre-release

What's Changed

  • Array source by @Kreyu in #134
  • Page size selectable by user by @Kreyu in #135
  • [BREAKING CHANGE] Pass row data as second argument of the "formatter" column option by @Kreyu in #136

Caution

This release includes breaking change. The definition of column's formatter option has changed, and now gets row data as second argument. For example:

// Before
'formatter' => function (string $fullName, ColumnInterface $column, array $options) {
    // ...
}

// After
'formatter' => function (string $fullName, User $user, ColumnInterface $column, array $options) {
    // ...
}

Full Changelog: v0.22.3...v0.23.0

v0.22.3

04 Oct 20:39
Compare
Choose a tag to compare
v0.22.3 Pre-release
Pre-release

What's Changed

  • Fix profiler tab throwing an error and disappearing for data tables with batch actions

Full Changelog: v0.22.2...v0.22.3

v0.22.2

03 Oct 11:13
9538f86
Compare
Choose a tag to compare
v0.22.2 Pre-release
Pre-release

What's Changed

  • Fix invalid loop break in DataTableFactory by @Kreyu in #133

Full Changelog: v0.22.1...v0.22.2