All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for Laravel 11.x
- Support for Laravel 10.x
- Support for PHP 8.2
- Drop support EoL PHP and Laravel versions (Laravel 8.x and below, PHP 7.x and below)
- If you are using Laravel 9.x, you will need to upgrade to v9.33 (ref)
- Support for Laravel 9.x
- Support for PHP 8
- Support for Laravel 8.x
- Make custom column ordering work again.
- Support for Laravel 7.x
- Support for Multi-column sorting #81 (@helissonms)
- Support for Laravel 6.x
** IMP - ** If you're upgrading from v1.*.* to v2, please make the following method calls static and accept the eloquent object of the record as a parameter:
- laratablesRowClass()
- laratablesRowData()
- All the methods which customize column values in your datatables.
- Issue with a few static methods when using custom class to specify Laratables methods #42 (@CJau777)
- Replace array destructuring shorthand with list() method to support version before PHP 7.1 #61
- Allow support for fetching unlimited number of records (#43)
- New config option
max_limit
to limit max number of records per query
- Update method name as to get column for
MorphTo
relationships
- Support for Laravel 5.8
- Allow order by raw statements
- CONTRIBUTING file
- .gitattributes file
- Internal: Initialize search and select columns as an array
- Allow specifying non-searchable columns in config file #26 (@sharifzadesina)
- Tests
- Separate searchable columns #21 (@mirabdolbaghi)
- Separate class for
laratables
methods #7 (@shadoWalker89)
- A feature to modify the query with
recordsOf()
method (@cvsouth) - Note about the non-support of nested relationships.
- Changelog file
- Link to online demo of the package - https://laratables.freshbits.in.
- Additional check for Carbon\Carbon instance in RecordsTransformer #10 (@felipesp88)
- Parse limit and offset values as integers #9 (@felipesp88)
- Proper doc blocks #11 (@cvsouth)