Releases: Kreyu/data-table-bundle
v0.25.2
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
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
What's Changed
- Marked
batch
,personalization
andstate
Stimulus controllers as lazy - Deprecated
kreyu_data_table_form_aware
block anddata_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
v0.24.2
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
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
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
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
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