Skip to content

Commit ed5ea6d

Browse files
committed
Minor Updates To Change Log and Docs
1 parent 95213bf commit ed5ea6d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org).
1111

1212
- Data Validations will be stored by worksheet, not cell. Index can be one or more cells or cell ranges. [Issue #797](https://github.com/PHPOffice/PhpSpreadsheet/issues/797) [Issue #4091](https://github.com/PHPOffice/PhpSpreadsheet/issues/4091) [Issue #4206](https://github.com/PHPOffice/PhpSpreadsheet/issues/4206) [PR #4240](https://github.com/PHPOffice/PhpSpreadsheet/pull/4240)
1313
- Conditional Formatting adds Priority property and handles overlapping ranges better. [Issue #4312](https://github.com/PHPOffice/PhpSpreadsheet/issues/4312) [Issue #4318](https://github.com/PHPOffice/PhpSpreadsheet/issues/4318) [PR #4314](https://github.com/PHPOffice/PhpSpreadsheet/pull/4314)
14-
- Csv Reader will no longer auto-detect Mac line endings by default. Prior behavior can be explicitly enabled via `setTestAutoDetect(true)`, and it will not be possible at all with Php9+. [Issue #4092](https://github.com/PHPOffice/PhpSpreadsheet/issues/4092) No PR yet.
15-
- Html Writer will now use "better boolean" logic. Booleans will now be output by default as TRUE/FALSE rather than 1/null-string. Prior behavior can be explicitly enabled via `setBetterBoolean(false)`. No PR yet.
16-
- Xlsx Writer will now use false as the default for `forceFullCalc`. This affects writes with `preCalculateFormulas` set to false. Prior behavior can be explicitly enabled via `setForceFullCalc(null)`.
14+
- Csv Reader will no longer auto-detect Mac line endings by default. Prior behavior can be explicitly enabled via `setTestAutoDetect(true)`, and it will not be possible at all with Php9+. [Issue #4092](https://github.com/PHPOffice/PhpSpreadsheet/issues/4092) [PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
15+
- Html Writer will now use "better boolean" logic. Booleans will now be output by default as TRUE/FALSE rather than 1/null-string. Prior behavior can be explicitly enabled via `setBetterBoolean(false)`. [PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
16+
- Xlsx Writer will now use false as the default for `forceFullCalc`. This affects writes with `preCalculateFormulas` set to false. Prior behavior can be explicitly enabled via `setForceFullCalc(null)`.[PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
1717
- Deletion of items deprecated in Release 3. See "removed" below.
1818

1919
### Added

docs/topics/reading-and-writing-to-file.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ even if pre-calculated is set to false
173173
```php
174174
$writer->setForceFullCalc(false);
175175
```
176-
In a future release, the property's default may change to `false` and that statement may no longer be required.
176+
Starting with Release 4.0.0, the property's default is changed to `false` and that statement is no longer be required. The property can be set to `null` if the old behavior is needed.
177177

178178
#### Office 2003 compatibility pack
179179

@@ -594,6 +594,9 @@ You can suppress testing for Mac line endings as follows:
594594
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv();
595595
$reader->setTestAutoDetect(false);
596596
```
597+
Starting with Release 4.0.0, the property defaults to `false`,
598+
so the statement above is no longer needed. The old behavior
599+
can be enabled by setting the property to `true`.
597600

598601
### \PhpOffice\PhpSpreadsheet\Writer\Csv
599602

0 commit comments

Comments
 (0)