Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.31 KB

UPGRADE.md

File metadata and controls

45 lines (28 loc) · 1.31 KB

UPGRADE Guide

High Impact Changes

Medium Impact Changes

Low Impact Changes

Upgrading To master From v2.2.1

Note

We strive to document every potential breaking change. However, as some of these alterations occur in lesser-known sections of Bagisto, only a fraction of them may impact your application.

DataGrid

The Webkul\DataGrid\DataGrid Class

Impact Probability: Medium

  1. Moved the DataGridExport class to the DataGrid package and enhanced the new exporter class with the WithQuery interface instead of WithView. This change reduces the need for temporary file creation.

  2. We have removed the exportFile properties and all its associated method i.e. setExportFile and getExportFile,

- protected mixed $exportFile = null;
- public function setExportFile($format = 'csv')
- public function getExportFile()
  1. We have removed two methods: processPaginatedRequest and processExportRequest.
- $this->processPaginatedRequest();
- $this->processExportRequest();
  1. Removed all the events from the setter methods to avoid duplicate dispatching.