Skip to content

Commit 3d31d1c

Browse files
committed
Release 0.8.1
1 parent 3ef3fcf commit 3d31d1c

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55
## [Unreleased]
66
Nothing yet.
77

8+
## [0.8.1] - 2024-02-24
9+
### Added
10+
- Support PHPoffice v2 (#330)
11+
12+
### Changed
13+
- Adding empty string as a value and making column search parameter optional in request body (#323)
14+
- Upgrade to PHPunit v11
15+
- Fix deprecations in test suite
16+
817
## [0.8.0] - 2023-12-05
918
### Breaking
1019
- All interfaces and classes are now fully typed, this will likely require modifications in any custom extensions
@@ -180,7 +189,8 @@ or break any applications.
180189
### Added
181190
- Basic functionality
182191

183-
[Unreleased]: https://github.com/omines/datatables-bundle/compare/0.8.0...master
192+
[Unreleased]: https://github.com/omines/datatables-bundle/compare/0.8.1...master
193+
[0.8.1]: https://github.com/omines/datatables-bundle/compare/0.8.0...0.8.1
184194
[0.8.0]: https://github.com/omines/datatables-bundle/compare/0.7.2...0.8.0
185195
[0.7.2]: https://github.com/omines/datatables-bundle/compare/0.7.1...0.7.2
186196
[0.7.1]: https://github.com/omines/datatables-bundle/compare/0.7.0...0.7.1

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"friendsofphp/php-cs-fixer": "^v3.40.0",
4141
"mongodb/mongodb": "^1.17",
4242
"ocramius/package-versions": "^2.8",
43-
"phpoffice/phpspreadsheet": "^2.0",
43+
"phpoffice/phpspreadsheet": "^1.29.0 || ^2.0",
4444
"phpstan/extension-installer": "^1.3.1",
4545
"phpstan/phpstan": "^1.10.55",
4646
"phpstan/phpstan-doctrine": "^1.3.54",
4747
"phpstan/phpstan-phpunit": "^1.3.15",
4848
"phpstan/phpstan-symfony": "^1.3.6",
49-
"phpunit/phpunit": "^10.5.5",
49+
"phpunit/phpunit": "^11.0.3",
5050
"ruflin/elastica": "^6.2|^7.3.1",
5151
"symfony/browser-kit": "^6.3|^7.0",
5252
"symfony/css-selector": "^6.3|^7.0",

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ini name="intl.error_level" value="0"/>
99
<ini name="memory_limit" value="-1"/>
1010
<env name="SHELL_VERBOSITY" value="-1"/>
11-
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0&amp;verbose=0&amp;ignoreFile=./tests/known-deprecations"/>
11+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0&amp;verbose=1&amp;ignoreFile=./tests/known-deprecations"/>
1212
<env name="KERNEL_CLASS" value="\Tests\Fixtures\AppKernel"/>
1313
</php>
1414
<testsuites>

tests/Fixtures/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ doctrine:
3333
orm:
3434
auto_generate_proxy_classes: '%kernel.debug%'
3535
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
36+
enable_lazy_ghost_objects: true
37+
3638
auto_mapping: true
3739
report_fields_where_declared: true
3840
query_cache_driver:

tests/Unit/Adapter/DoctrineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testSearchCriteriaProvider(): void
5151
$qb = $this->createMock(QueryBuilder::class);
5252
$qb
5353
->method('expr')
54-
->will($this->returnCallback(function () { return new Query\Expr(); }));
54+
->willReturnCallback(function () { return new Query\Expr(); });
5555

5656
/* @var QueryBuilder $qb */
5757
(new SearchCriteriaProvider())->process($qb, $state);

0 commit comments

Comments
 (0)