Releases: Kreyu/data-table-bundle
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.
v0.19.1
What's changed
- the
ActionsColumnType
priority
option now defaults to-1
(previously0
). The data table builder no longer creates a column of this type with explicitly given priority, therefore, it can be configured using a column type extension #75 - the
DataTableBuilderInterface::ACTIONS_COLUMN_PRIORITY
constant is now deprecated, as this value is no longer related with the builder itself
Full Changelog: v0.19.0...v0.19.1
v0.19.0
What's Changed
- #30 Integration with Symfony Profiler by @alexandre-castelain in #90
- Fix using undefined targets in the batch script by @alexandre-castelain in #109
Full Changelog: v0.18.1...v0.19.0
v0.18.1
v0.18.0
What's Changed
There are no breaking changes in this release, unless your application is using a custom implementation of DataTableBuilderInterface
, because it now contains six new methods (due to #101).
Features
- add
EnumColumnType
by @bdecarne in #97 - add create methods to data table builder by @Kreyu in #101
- add
data_table_theme
Twig node by @Kreyu in #102
Documentation
- update usage section to include passing the query builder by @Kreyu in #83
- remove reference to old
TextFilterType
andNumberFilterType
classes by @alexandre-castelain in #84 - the attribute name for
FormActionType
was not correct by @alexandre-castelain in #87 - add reference page for
EnumColumnType
by @Kreyu in #99
Others
- chore(deps-dev): bump vite from 5.1.3 to 5.2.10 in /docs by @dependabot in #81
New Contributors
- @alexandre-castelain made their first contribution in #84
Full Changelog: v0.17.12...v0.18.0
v0.17.12
What's Changed
- Added Dutch translations by @mwansinck in #79
- Corrected translation string when no results are found by @mwansinck in #80
New Contributors
- @mwansinck made their first contribution in #79
Full Changelog: v0.17.11...v0.17.12