packagist maatwebsite/excel 3.1.14
v3.1.14

latest releases: 3.1.x-dev, 3.1.55, 3.1.54...
4 years ago

Version 3.1.14

Additions:

  • Support queued view export (#2203)
  • Proxy failures in queue to failed() method in export class (#2250)
  • Can set headers on responsable exports too

Fixes:

  • Ensure that opis superclosure always has the same security provider (#2257)
  • Add original file extension to temporary filename (#2224)
  • Don't load entire spreadsheet into memory when using Before/After import events

Possible BC

BeforeImport and BeforeExport events no longer automatically have access to the underlying spreadsheet object. This was removed because having access to the spreadsheet object was causing memory exhaustion errors in queued solutions.

Even though not recommend, if you still want to access the spreadsheet instance, you'll have to call readSpreadsheet() in your event:

$event->getDelegate()->readSpreadsheet();

Be aware of the possible memory issues this can give. When calling readSpreadsheet the entire file is loaded into memory. It might be smart to attach a ReadFilter to the PhpSpreadsheet first before calling this method to limit the amount of rows being loaded into memory.

Don't miss a new excel release

NewReleases is sending notifications on new releases.