Skip to content

Commit

Permalink
Merge pull request #11 from MacareuxDigital/release/0.9.2
Browse files Browse the repository at this point in the history
Release 0.9.2
  • Loading branch information
biplobice authored Dec 6, 2024
2 parents 0ed06bb + 16b6267 commit 3c87328
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Release Notes
## [0.9.1 (Oct 2, 2024)]
## [0.9.2] - Dec 6, 2024
- [Added] Ability to configure export batch size in `concrete.export.csv.batch_size` config

## [0.9.1] - Oct 2, 2024
- Fixed the use of export options for date formatting

## [0.9.0 (Aug 18, 2022)]

## [0.9.0] - Aug 18, 2022
- Initial Release
2 changes: 1 addition & 1 deletion controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Controller extends Package
/**
* @var string package version
*/
protected $pkgVersion = '0.9.1';
protected $pkgVersion = '0.9.2';

/**
* {@inheritdoc}
Expand Down
3 changes: 3 additions & 0 deletions src/User/Exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public function __construct(Writer $writer, array $columns, Repository $config,
$this->groupRepository = $groupRepository;
$this->entityManager = $entityManager;
$this->attributeCategory = $userCategory;
if ($config->get('concrete.export.csv.batch_size') !== null) {
$this->setUnloadDoctrineEveryTick($config->get('concrete.export.csv.batch_size'));
}
}

public function setUnloadDoctrineEveryTick(int $value): void
Expand Down

0 comments on commit 3c87328

Please sign in to comment.