Releases: Kreyu/data-table-bundle
v0.22.1
v0.22.0
What's Changed
- Completely overhauled integration with Symfony Profiler - see docs for more details
- Actions created by the
ActionsColumnType
now contains a valid reference to their data table - Columns created by the
CollectionColumnType
now contains a valid reference to their data table, and each nested column is now named by their index (0, 1, 2, etc.) instead of generic and non-unique__name__
- Two new data table events -
PRE_INITIALIZE
andPOST_INITIALIZE
Full Changelog: v0.21.4...v0.22.0
v0.21.4
This small update fixes the TransformDateRangeFilterData
class, that was generating incorrect date range.
Previously, the end-range date was always +1 day which won't work properly with BETWEEN operator. Now the end-range date is always modified to equal 23:59:59.999999
of the given day.
v0.21.3
v0.21.2
v0.21.1
v0.21.0
What's Changed
This release introduces various URL-oriented improvements, described in #117.
- base
DataTableType
now addsurl_query_parameters
variable to theDataTableView
with an array of URL parameters for the specific data table, which includes pagination, sorting and filtration data - improved URL generators for filter clearing buttons, column sorting and (new) pagination controls
- new
state
Stimulus controller in place of previouspersistence
to load the state of the data table - currently it addsurl_query_parameters
to URL in the browser
This fixes an issue described on #107 and improves overall experience by making the URLs more shareable when working with persistence.
Full Changelog: v0.20.1...v0.21.0
v0.20.1
v0.20.0
v0.19.2
This release disables entity manager clearing in Doctrine ORM result set factory - temporarily, until a better, non-breaking solution is found. Previous implementation was breaking applications that loaded entities into Doctrine's UnitOfWork, rendered the data tables, and then tried to access those entities - the result set factory was clearing on each batch, removing them from UoW.
Unfortunately, this means that the performance of large exports will be significantly worse, until a better solution for opt-in configurable clearing is implemented.