You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+42-2Lines changed: 42 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com)
6
6
and this project adheres to [Semantic Versioning](https://semver.org).
7
7
8
-
## TBD - 3.4.0
8
+
## TBD - 3.5.0
9
9
10
10
### Added
11
11
@@ -15,17 +15,57 @@ and this project adheres to [Semantic Versioning](https://semver.org).
15
15
16
16
- Nothing yet.
17
17
18
+
### Moved
19
+
20
+
- Nothing yet.
21
+
18
22
### Deprecated
19
23
20
24
- Nothing yet.
21
25
26
+
### Fixed
27
+
28
+
- Add support for `<s>` tag when converting HTML to RichText. [Issue #4223](https://github.com/PHPOffice/PhpSpreadsheet/issues/4223)[PR #4224](https://github.com/PHPOffice/PhpSpreadsheet/pull/4224)
29
+
30
+
## 2024-11-10 - 3.4.0
31
+
32
+
### Security Fix
33
+
34
+
- Several security patches.
35
+
36
+
### Added
37
+
38
+
- Add Dynamic valueBinder Property to Spreadsheet and Readers. [Issue #1395](https://github.com/PHPOffice/PhpSpreadsheet/issues/1395)[PR #4185](https://github.com/PHPOffice/PhpSpreadsheet/pull/4185)
- IReader::SKIP_EMPTY_CELLS - use its alias IGNORE_EMPTY_CELLS instead.
49
+
- Worksheet::getProtectedCells was deprecated in release 2, but was not properly documented, and not removed in release 3. Use getProtectedCellRanges instead.
50
+
- Writer/Html::isMpdf property was deprecated in release 2, but was not properly documented, and not removed in release 3. Use instanceof Mpdf instead.
51
+
22
52
### Moved
23
53
24
54
- Nothing yet.
25
55
26
56
### Fixed
27
57
28
-
- Nothing yet.
58
+
- Xls Writer Condtional Rules Applied to Whole Rows or Columns. [Issue #3185](https://github.com/PHPOffice/PhpSpreadsheet/issues/3185)[PR #4152](https://github.com/PHPOffice/PhpSpreadsheet/pull/4152)
- Check strictNullComparison outside of loops. [PR #3347](https://github.com/PHPOffice/PhpSpreadsheet/pull/3347)
61
+
- SUMIFS Does Not Require xlfn. [Issue #4182](https://github.com/PHPOffice/PhpSpreadsheet/issues/4182)[PR #4186](https://github.com/PHPOffice/PhpSpreadsheet/pull/4186)
62
+
- Image Transparency/Opacity with Html Reader Changes. [Discussion #4117](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4117)[PR #4142](https://github.com/PHPOffice/PhpSpreadsheet/pull/4142)
63
+
- Option to Write Hyperlink Rather Than Label to Csv. [Issue #1412](https://github.com/PHPOffice/PhpSpreadsheet/issues/1412)[PR #4151](https://github.com/PHPOffice/PhpSpreadsheet/pull/4151)
64
+
- Invalid Html Due to Cached Filesize. [Issue #1107](https://github.com/PHPOffice/PhpSpreadsheet/issues/1107)[PR #4184](https://github.com/PHPOffice/PhpSpreadsheet/pull/4184)
65
+
- Excel 2003 Allows Html Entities. [Issue #2157](https://github.com/PHPOffice/PhpSpreadsheet/issues/2157)[PR #4187](https://github.com/PHPOffice/PhpSpreadsheet/pull/4187)
66
+
- Changes to ROUNDDOWN/ROUNDUP/TRUNC. [Issue #4213](https://github.com/PHPOffice/PhpSpreadsheet/issues/4213)[PR #4214](https://github.com/PHPOffice/PhpSpreadsheet/pull/4214)
67
+
- Writer Xlsx ignoredErrors Before Drawings. [Issue #4200](https://github.com/PHPOffice/PhpSpreadsheet/issues/4200)[Issue #4145](https://github.com/PHPOffice/PhpSpreadsheet/issues/4145)[PR #4212](https://github.com/PHPOffice/PhpSpreadsheet/pull/4212)
68
+
- Allow ANCHORARRAY as Data Validation list. [Issue #4197](https://github.com/PHPOffice/PhpSpreadsheet/issues/4197)[PR #4203](https://github.com/PHPOffice/PhpSpreadsheet/pull/4203)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,11 @@ If you would like to contribute, here are some notes and guidelines:
4
4
5
5
- All new development should be on feature/fix branches, which are then merged to the `master` branch once stable and approved; so the `master` branch is always the most up-to-date, working code
6
6
- If you are going to submit a pull request, please fork from `master`, and submit your pull request back as a fix/feature branch referencing the GitHub issue number
7
+
- Install (development) dependencies by running `composer install` inside your PhpSpreadsheet clone.
7
8
- The code must work with all PHP versions that we support.
8
9
- You can call `composer versions` to test version compatibility.
9
10
- Code style should be maintained.
10
-
-`composer style` will identify any issues with Coding Style`.
11
+
-`composer style` will identify any issues with Coding Style.
11
12
-`composer fix` will fix most issues with Coding Style.
12
13
- All code changes must be validated by `composer check`.
13
14
- Please include Unit Tests to verify that a bug exists, and that this PR fixes it.
@@ -39,7 +40,10 @@ This makes it easier to see exactly what is being tested when reviewing the PR.
39
40
2. Tag subject must be the version number, eg: `1.2.3`
40
41
3. Tag body must be a copy-paste of the changelog entries.
41
42
3. Push the tag with `git push --tags`, GitHub Actions will create a GitHub release automatically, and the release details will automatically be sent to packagist.
42
-
4.Github seems to remove markdown headings in the Release Notes, so you should edit to restore these.
43
+
4.By default, Github remove markdown headings in the Release Notes. You can either edit to restore these, or, probably preferably, change the default comment character on your system - `git config core.commentChar ';'`.
43
44
44
-
> **Note:** Tagged releases are made from the `master` branch. Only in an emergency should a tagged release be made from the `release` branch. (i.e. cherry-picked hot-fixes.)
45
+
> **Note:** Tagged releases are made from the `master` branch. Only in an emergency should a tagged release be made from the `release` branch. (i.e. cherry-picked hot-fixes.) However, there are 3 branches which have been updated to apply security patches, and those may be tagged if future security updates are needed.
You can override the current binder when setting individual cell values by specifying a different Binder to use in the Cell's `setValue()` or the Worksheet's `setCellValue()` methods.
562
566
```php
563
567
$spreadsheet = new Spreadsheet();
568
+
// Old method using static property
564
569
Cell::setValueBinder(new AdvancedValueBinder());
570
+
// Preferred method using dynamic property since 3.4.0
0 commit comments