All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.3.0 - 2023-10-23
3.2.0 - 2023-07-22
- [#631] Drop support for older versions of doctrine orm and mongodb-odm (@jordisala1991)
3.1.1 - 2023-01-02
- [#621] Missing alias for ExporterInterface (@pkameisha)
3.1.0 - 2023-01-02
- [#618] Added ExporterInterface; (@pkameisha)
- [#618] Added implementation ExporterInterface by Exporter. (@pkameisha)
3.0.0 - 2022-07-27
- No significant changes
3.0.0-alpha-1 - 2022-06-14
- [#587] Support for PHP 7.4 (@VincentLanglet)
See UPGRADE-3.0.md for all changes
2.13.0 - 2022-06-10
- [#595] Passing an instance of
Doctrine\DBAL\Driver\Connection
toDoctrineDBALConnectionSourceIterator::__construct()
(@VincentLanglet)
2.12.0 - 2022-05-24
- [#581] PropelCollectionSourceIterator (@VincentLanglet)
- [#580] Deprecated custom bundle file for flex recipe. (@jordisala1991)
- [#583] Support for PHP 7.3 (@VincentLanglet)
2.11.0 - 2022-02-13
- [#573] Some typehint from SourceIteratorInterface to \Iterator to allow using this library without deprecation. (@VincentLanglet)
2.10.1 - 2022-01-03
- [#567] SourceIteratorInterface unresolvable generics (@VincentLanglet)
2.10.0 - 2022-01-02
- [#560] Added class
XlsxWriter
that uses "phpoffice/phpspreadsheet" as suggested package. (@willemverspyck) - [#560] Default the XLSX export is not enabled. You can enable it by adding "xlsx" to "default_writers" in configuration. (@willemverspyck)
- [#560] Added tests for the
XlsxWriter
class. (@willemverspyck)
- [#565] AbstractTypedWriterTestCase (@VincentLanglet)
- [#562] DBAL v3 compatibility (@VincentLanglet)
2.9.1 - 2021-11-12
- [#550] Fixed compatibility with doctrine/dbal ^2.13 (@jordisala1991)
2.9.0 - 2021-11-06
- [#540] Added compatibility with Doctrine DBAL 3. (@jordisala1991)
- [#517] Added support for Symfony 6. (@jordisala1991)
- [#535] Clear document manager every 100 results to improve ODM iterator performances (@nicolas-joubert)
- [#532]
SourceIteratorInterface
(@VincentLanglet)
- [#533] Added missing conflict with doctrine/orm < 2.8 (@VincentLanglet)
2.8.0 - 2021-09-21
- [#519]
SourceIteratorInterface
is not generic anymore (@VincentLanglet)
- [#519] Doctrine/orm deprecation (@VincentLanglet)
- [#518] Fixed deprecations with Symfony 5.4 (@jordisala1991)
- [#514]
AbstractPropertySourceIterator::$iterator
phpdoc (@VincentLanglet)
- [#518] Removed support for Symfony 5.2 (@jordisala1991)
2.7.0 - 2021-06-27
- [#485] Clear entity manager every 100 results to improve ORM iterator performance (@EmmanuelVella)
2.6.2 - 2021-04-09
- [#475] Allow
AbstractPropertySourceIterator::getValue()
to returnbool|int|float
value (@VincentLanglet)
2.6.1 - 2021-03-26
- [#465] Restrict
SourceIteratorInterface
template (@VincentLanglet)
2.6.0 - 2021-03-24
- [#463] Added template typehint for SourceIteratorInterface (@VincentLanglet)
2.5.2 - 2021-03-21
2.5.1 - 2021-02-15
2.5.0 - 2021-01-04
- [#424] Support for PHP8 (@VincentLanglet)
2.4.1 - 2020-10-09
2.4.0 - 2020-10-09
- [#371] Add the ability to call the
rewind()
method multiple times forDoctrineDBALConnectionSourceIterator
,DoctrineODMQuerySourceIterator
,DoctrineORMQuerySourceIterator
(@VincentLanglet) - [#375] Added conflict with
doctrine/mongodb-odm
<1.3 (@franmomu) - [#345] Added
Sonata\Exporter\Bridge\Symfony\SonataExporterBundle
(@phansys) - [#345] Added
Sonata\Exporter\Bridge\Symfony\SonataExporterSymfonyBundle
alias in order to fix Symfony Flex autodiscovery (@phansys)
- [#345] Deprecated
Sonata\Exporter\Bridge\Symfony\Bundle\SonataExporterBundle
in favor ofSonata\Exporter\Bridge\Symfony\SonataExporterBundle
(@phansys)
- [#380] Memory leaks in Doctrine source iterators (@ossinkine)
2.3.0 - 2020-07-13
- [#343] Added support for array and traversable in
DoctrineORMQuerySourceIterator
,DoctrineODMQuerySourceIterator
andPropelCollectionSourceIterator
(@VincentLanglet)
2.2.0 - 2020-03-17
- Compatibility with Symfony 5
2.1.0 - 2020-02-06
- Exceptions extending
\RuntimeException
now do so indirectly throughSonata\Exporter\Exception\RuntimeException
- Fix deprecation for symfony/config 4.2+
2.0.1 - 2019-01-26
- Fixed wrong namespace usage
2.0.0 - 2018-12-15
- parameter and return type hints
- The namespace was changed from
Exporter
toSonata\Exporter
. - Many classes have been made final.
- Symfony 2.3 to 2.7 support dropped
- php < 7.2 support
1.10.0 - 2018-12-11
- Added support for exporting
DateInterval
values
1.9.1 - 2018-07-04
- Made
sonata.exporter.exporter
service public
1.9.0 - 2018-05-10
- Added support for custom terminators with
CsvWriter
class
- CsvWriter actually uses the escape parameter.
1.8.0 - 2017-11-30
- Allow
\DateTimeImmutable
values - It is now allowed to install Symfony 4
- Support for old versions of PHP and Symfony.
1.7.1 - 2017-02-09
- \Exporter\Exporter::addWriter is now public as needed by the related bundle
1.7.0 - 2016-08-17
- Added some
Exporter::getAvailableFormats
to retrieve the list of the formats of the registered writers.
1.6.0 - 2016-08-01
- Added
Exporter\Exporter
class to provide a SymfonyStreamedResponse
. - Added a
sonata.exporter.exporter
service to deprecate the one defined in the admin bundle
- Deprecate
Test\Writer\AbstractTypedWriterTestCase
in favor ofTest\AbstractTypedWriterTestCase
1.5.0 - 2016-06-16
MimeTypedWriterInterface
can be implemented to indicate the suitableContent-Type
header and format for a writer.
- Rename
lib
folder tosrc
and make this project PSR-4 compliant.
1.4.0 - 2015-06-09
- Add possibility to set custom tag names on
XmlSourceIterator
- Replaced deprecated
PropertyAccess::getPropertyAccessor()
methodPropertyAccess::createPropertyAccessor()
.
- Symfony 2.2 support dropped.
1.2.2 - 2013-05-02
- Add new argument in method \Exporter\Writer\SitemapWriter::generateSitemapIndex to handle absolute URL.