- Bugfix #22: Exception on table without pagination.
- Bugfix #21: Option max_pages caused execution timeout.
- Bugfix #20: DateFilter::isActive should not use strlen for DateTime object.
- New: The TableBundle is now symfony3 compatible.
- New: Support for Propel ORM library via
PropelQueryBuilderDataSource
. Thanks to purrucker! - New component "Selection": You can add a selection column to your table and define buttons. The table can be asked for the clicked button and the selected rows.
- New: Added options
html_asc
andhtml_desc
to order component to create own html views for ordered columns. - New: Added possibility to give the choice of lines per page to the user in form of a select input.
- New: Security validation for columns. Set a callable or a string or array of roles for controlling, which user can see which columns.
- New: The used version is visible at the toolbar.
- New: All components can raise hints at runtime (e.g. for configuration). This hints are visible at the profiler.
- Improvements for time measurement: Created a more fine-grained structure with measurements for building (table, filters, views), options resolving, data loading and some more. Also removed the measurements for rendering, because twig measurement includes this.
- Bugfix #21: Option max_pages caused execution timeout.
- Bugfix #20: DateFilter::isActive should not use strlen for DateTime object. v1.2.3 ===
- Bugfix on filter component: Boolean Filter
false
option is not working.
- Improvements for the WebProfiler: Finer measurement of render times (for table and for filters).
- Bugfix: Table did not set filter values.
- Bugfix: Support for EntityDataSource::__contruct with entity and callback as parameters, without alias (alias added in 1.2).
- New: Profiler Component! Called tables and their duration of building, fetching data and rendering can be viewed at the symfony toolbar and the profiler. Further will details about the table (options and columns), the components (filter, filter options, pagination options and order options) be displayed at the profiler view.
- New: Create tables without table type from controller, by calling the new table type builder.
- New: Added parameter for table options, passed to TableFactory::createTable, when creating a table from table type.
- New: Added method Table::handleRequest for passing manipulated requests to tables.
- New: Added option template for declare the name of the template, the table is rendered by. This options gives you more control for creating own templates.
- Removed deprecation calls from options resolver, called in filter and table component.
- The filter options can now set from twig template by passing a second parameter to filter_widget, filter_row and filter_label methods.
- Methods using the OptionsResolverInterface are deprecated now. The TableType, PaginationTypeInterface, OrderTypeInterface and FilterTypeInterface have new methods, working with the OptionsResolver.
- There is a new column named TwigColumn, which will render a twig template.
- The UrlColumn will now display the content of the given property for default.
- Options for all table components (table, order, pagination, filter) can be global configured at the config.yml. Each table type can overwrite these config, of course.
- The TableType is now specified by an interface (TableTypeInterface), not just an abstract class (AbstractTableType).
- Updated the README
- Fixed a bug at the UrlColumn