Skip to content

Releases: Kreyu/data-table-bundle

v0.22.1

22 Sep 14:52
Compare
Choose a tag to compare
v0.22.1 Pre-release
Pre-release

What's Changed

  • Fix personalization modal does not close on submit, throwing error to the console #129

Full Changelog: v0.22.0...v0.22.1

v0.22.0

21 Sep 20:30
Compare
Choose a tag to compare
v0.22.0 Pre-release
Pre-release

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 and POST_INITIALIZE

Full Changelog: v0.21.4...v0.22.0

v0.21.4

12 Sep 07:54
Compare
Choose a tag to compare
v0.21.4 Pre-release
Pre-release

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

06 Sep 11:48
Compare
Choose a tag to compare
v0.21.3 Pre-release
Pre-release

feat: add second and third argument to LinkColumnType href option callback (see docs)

fix: Twig >= 3.12 node tag parameter deprecation, php-cs-fixer fix

v0.21.2

05 Aug 20:04
Compare
Choose a tag to compare
v0.21.2 Pre-release
Pre-release

What's Changed

Fixed sort url generator not clearing existing sort parameters, making it impossible to clear the sorting (RE: #121)

Full Changelog: v0.21.1...v0.21.2

v0.21.1

31 Jul 21:44
Compare
Choose a tag to compare
v0.21.1 Pre-release
Pre-release

What's changed

Fixed an incorrect parameter name for the urlQueryParameters value of the state Stimulus controller (RE: #119)

Full Changelog: v0.21.0...v0.21.1

v0.21.0

30 Jul 16:06
7cadde7
Compare
Choose a tag to compare
v0.21.0 Pre-release
Pre-release

What's Changed

This release introduces various URL-oriented improvements, described in #117.

  • base DataTableType now adds url_query_parameters variable to the DataTableView 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 previous persistence to load the state of the data table - currently it adds url_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

24 Jul 21:30
Compare
Choose a tag to compare
v0.20.1 Pre-release
Pre-release

This small release fixes #115 - the Doctrine ORM alias resolver now properly supports multiple select clauses inside a single select() or addSelect() method calls.

Full Changelog: v0.20.0...v0.20.1

v0.20.0

20 Jul 21:40
0bb54a0
Compare
Choose a tag to compare
v0.20.0 Pre-release
Pre-release

What's Changed

  • Fix TraceableDataTableFactory not creating properly named data tables by @Kreyu in #112
  • Persistence Stimulus controller to automatically append filtration form data to URL by @Kreyu in #113

Full Changelog: v0.19.2...v0.20.0

v0.19.2

17 Jul 10:54
5f2d1fe
Compare
Choose a tag to compare
v0.19.2 Pre-release
Pre-release

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.