# Laravel DataTables Buttons Plugin CHANGELOG.

## v4.13.3 - 09-14-2021

- Fix FastExcel Integration: Use data as source. #138

## v4.13.2 - 09-14-2021

- Fix export with array values. #136
- Fix https://github.com/yajra/laravel-datatables-buttons/issues/135

## v4.13.1 - 07-01-2021

- Fix addScopes method pushing the array of scopes. #133

## v4.13.0 - 04-21-2021

- Allow passing of constructor arguments on make method helper. #131

## v4.12.2 - 04-10-2021

- Fix checking of custom export handler. #130
- Fix #129 and #127

## v4.12.1 - 04-03-2021

- Use same export data if export handler extends DataTablesExportHandler [#127](https://github.com/yajra/laravel-datatables-buttons/pull/127)
- Fix [#126](https://github.com/yajra/laravel-datatables-buttons/issue/126)

## v4.12.0 - 03-19-2021

- Add support for fast-excel when exporting to excel and csv. [#124](https://github.com/yajra/laravel-datatables-buttons/pull/124)

## v4.11.1 - 03-18-2021

- Fix class file ext.

## v4.11.0 - 03-18-2021

- Improve support for custom laravel-excel export class using collection. [#122](https://github.com/yajra/laravel-datatables-buttons/pull/122)

## v4.10.4 - 01-13-2021

- Reverts [#120] as it breaks several installations.

## v4.10.3 - 01-02-2021

- Request expects JSON [#120]

## v4.10.2 - 11-05-2020

- Set the start to 0 on export [#118], credits to @nmfzone.

## v4.10.1 - 10-31-2020

- Fix model namespace for Laravel 8.x [#117], credits to @luckys383.

## v4.10.0 - 09-09-2020

- Add support for Laravel 8.

## v4.9.3 - 07-07-2020

- Use Blade's helper to check for the first row [#111], credits to @AdrienPoupa.

## v4.9.2 - 06-13-2020

- Use app helper instead of resolve.
- Fix [#2351].

## v4.9.1 - 04-23-2020

- Fix BindingResolutionException when using Laravel 7.7.0 or greater [#105], credits to @singhofmarco.

## v4.9.0 - 04-03-2020

- Allow Laravel 7 [#102], credits to @barryvdh.

## v4.8.0 - 09-10-2019

- Extract html builder to own class. [#99]
- Add command to generate html builder `php artisan datatables:html`.
- Add `--builder` option on `make` command.

## v4.7.0 - 09-04-2019

- Add support Laravel 6.0 & remove deprecated functions. [#98], credits to @sangnguyenplus.

## v4.6.0 - 02-27-2019

- Add support for dataTable 9.0 / Laravel 5.8 [#89].

## v4.5.0 - 11-14-2018

- Add support for html 4.0

## v4.4.0 - 10-05-2018

- Add option to export only visible columns. [#78], credits to @FabienLucini
- Fix [#1558].

## v4.3.0 - 09-25-2018

- Allow customization of export and print columns. [#76]

## v4.2.0 - 09-05-2018

- Added hasScopes method. [#70], credits to @alfa6661

## v4.1.0 - 09-05-2018

- Add support for Laravel 5.7

## v4.0.0 - 08-15-2018

- Bump Laravel Excel to version 3.0

## v3.3.0 - 08-15-2018

- Implemented the 'exclude column from export' [#65], credits to @rylxes.

## v3.2.2 - 07-31-2018

- Keep original type in exportable array. [#67] credits to @FabienLucini.

## v3.2.1 - 02-21-2018

- Add reset to column search and icons to copy and colvis buttons [#59], credits to @Namoshek.

## v3.2.0 - 02-11-2018

- Add support for Laravel 5.6. [#57]

## v3.1.2 - 12-23-2017

- Change the default export filename [#49], credits to @ElfSundae.

## v3.1.1 - 11-23-2017

- Specify selected columns to avoid issues like [#19] and [yajra/laravel-datatables#1519](https://github.com/yajra/laravel-datatables/issues/1519). [#54]

## v3.1.0 - 10-27-2017

- Add export CSV with post as a method. [#41], credits to @jiwom
- Add export PDF with post as a method. [#42], credits to @jiwom
- Add export Excel with post as a method. [#43], credits to @jiwom

## v3.0.2 - 10-18-2017

- Fix ButtonsServiceProvider. [#39], credits to @ElfSundae
- Fix doc PR links.

## v3.0.1 - 10-05-2017

- Handle scopes stub folder config. [#37]
- Use default builder parameters from config. [#36]
- Use datatables() helper to create dataTable instance. [#35]
- Credits to @ElfSundae.

## v3.0.0 - 08-31-2017

- Drop support for `laravel-datatables-oracle:7.*`.
- Exclusive support for `laravel-datatables-oracle:8.*`.
- Change namespace from `Yajra\Datatables` to `Yajra\DataTables`.
- Use `snappy` as default pdf generator.
- Remove constructor dependencies. Create DataTable instance directly from `dataTable()` method.
- Method injections are now supported on the following methods:

```php
ajax(), dataTable(), query(), csv(), excel(), pdf(), printPreview()
```

- `DataTableContract` contract removed.
- `DataTableScopeContract` contract renamed to `DataTableScope`.
- `DataTableButtonsContract` contract renamed to `DataTableButtons`.

## v2.0.2 - 06-30-2017

- Fix min php requirements.
- Import data transformer that was removed from main package (v8.x).

## v2.0.1 - 06-28-2017

- Allow tests failure on PHP 5.6.

## v2.0.0 - 06-28-2017

- Add support for Laravel 5.5.
- Upgrade to laravel-datatables-html:~2.0

## v1.3.2 - 06-26-2017

- Use minifiedAjax by default. [#24]
- Update html package to min v1.4
- Fix random issues occurring due to long URL.
- Fix/Lessen IE compatibility issue due to long URL limitation.

## v1.3.1 - 05-28-2017

- Inline builder parameters and include `dom` on stub to assist new users. #20

## v1.3.0 - 04-20-2017

- Adding model-namespace, columns and action options to Generator [#12], credits to @lk77.
- Allow to add custom button actions (or disable already existing ones). #18, credits to @underdpt.

## v1.2.1 - 03-28-2017

- Do not require return from before callback closure. [#14]

## v1.2.0 - 03-28-2017

- Add html builder callback for code re-usability. [#13]

## v1.1.2 - 03-08-2017

- Fix url params js script.
- Fix https://github.com/yajra/laravel-datatables/issues/1049.

## v1.1.1 - 02-17-2017

- Remove config that is set on main repo.
- Docs, use ^1.1 when installing.

## v1.1.0 - 02-16-2017

- Add before and response callback.
- Fix and update datatables generator.
- Use phpunit 5.7 to match Laravel’s requirement.
- Add missing require illuminate/console.
- Refactor dataTable ajax response for reusability.
- Remove methods that are available on abstract class.

## v1.0.1 - 02-16-2017

- Fix ajax parameters when ? was used on based url.
- PR [#5], credits to @OzanKurt.

## v1.0.0 - 01-27-2017

- First stable release.

[#65]: https://github.com/yajra/laravel-datatables-buttons/pull/65
[#67]: https://github.com/yajra/laravel-datatables-buttons/pull/67
[#59]: https://github.com/yajra/laravel-datatables-buttons/pull/59
[#57]: https://github.com/yajra/laravel-datatables-buttons/pull/57
[#49]: https://github.com/yajra/laravel-datatables-buttons/pull/49
[#54]: https://github.com/yajra/laravel-datatables-buttons/pull/54
[#43]: https://github.com/yajra/laravel-datatables-buttons/pull/43
[#42]: https://github.com/yajra/laravel-datatables-buttons/pull/42
[#41]: https://github.com/yajra/laravel-datatables-buttons/pull/41
[#39]: https://github.com/yajra/laravel-datatables-buttons/pull/39
[#37]: https://github.com/yajra/laravel-datatables-buttons/pull/37
[#36]: https://github.com/yajra/laravel-datatables-buttons/pull/36
[#35]: https://github.com/yajra/laravel-datatables-buttons/pull/35
[#24]: https://github.com/yajra/laravel-datatables-buttons/pull/24
[#14]: https://github.com/yajra/laravel-datatables-buttons/pull/14
[#13]: https://github.com/yajra/laravel-datatables-buttons/pull/13
[#12]: https://github.com/yajra/laravel-datatables-buttons/pull/12
[#5]: https://github.com/yajra/laravel-datatables-buttons/pull/5
[#70]: https://github.com/yajra/laravel-datatables-buttons/pull/70
[#76]: https://github.com/yajra/laravel-datatables-buttons/pull/76
[#78]: https://github.com/yajra/laravel-datatables-buttons/pull/78
[#89]: https://github.com/yajra/laravel-datatables-buttons/pull/89
[#99]: https://github.com/yajra/laravel-datatables-buttons/pull/99
[#102]: https://github.com/yajra/laravel-datatables-buttons/pull/102
[#105]: https://github.com/yajra/laravel-datatables-buttons/pull/105
[#117]: https://github.com/yajra/laravel-datatables-buttons/pull/117
[#120]: https://github.com/yajra/laravel-datatables-buttons/pull/120

[#19]: https://github.com/yajra/laravel-datatables-buttons/issues/19
[#1558]: https://github.com/yajra/laravel-datatables/issues/1558
[#2351]: https://github.com/yajra/laravel-datatables/issues/2351
